Re: implementing loudspeaker crossovers using Sox + LADSPA plugins

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I appreciate your thoughts on this, Doug and Erich!

I'm testing on a Beaglebone Black running Debian Stretch.  

I found a ridiculously simple solution to the input sharing issue, at least
in terms of the availability of a signal to SoX.  By changing SoX input from
'hw:1,0' to 'dsnoop:1,0' ALSA does not lock up the source.

So, this runs:
sox --buffer 1024 -r 48000 -c 2 -t alsa dsnoop:1,0 -t alsa plug:filter1
ladspa ACDf 21 1 0 240 0.707 0 0 ladspa ACDf 21 1 0 240 0.707 0 0

But unfortunately this does not, giving the attached result:
sox -V3 -M \
   “| sox -t alsa dsnoop:1,0 -p remix 1v1 ladspa ACDf 21 1 0 240 0.707 0 0
ladspa ACDf 21 1 0 240 0.707 0 0” \
   “| sox -t alsa dsnoop:1,0 -p remix 1v1 ladspa ACDf 22 1 0 240 0.707 0 0
ladspa ACDf 22 1 0 240 0.707 0 0” \
   “| sox -t alsa dsnoop:1,0 -p remix 2v1 ladspa ACDf 21 1 0 240 0.707 0 0
ladspa ACDf 21 1 0 240 0.707 0 0” \
   “| sox -t alsa dsnoop:1,0 -p remix 2v1 ladspa ACDf 22 1 0 240 0.707 0 0
ladspa ACDf 22 1 0 240 0.707 0 0” \
   -t alsa plug:testout4 remix -m 1,2 3,4

sox:      SoX v14.4.1
sox FAIL sox: Not enough input filenames specified

sox FAIL ladspa: usage: MODULE [PLUGIN] [ARGUMENT...]
sox FAIL ladspa: usage: MODULE [PLUGIN] [ARGUMENT...]
sox FAIL ladspa: usage: MODULE [PLUGIN] [ARGUMENT...]
sox FAIL ladspa: usage: MODULE [PLUGIN] [ARGUMENT...]

Doug, if we got as far as having unsynchronized signals, there are delay
filters in the ACDf LADSPA filter set and also most crossover paths can be
made (nearly) symmetrical anyway.  :)

TIA for any and all ideas!

Frank





--
View this message in context: http://sox.10957.n7.nabble.com/implementing-loudspeaker-crossovers-using-Sox-LADSPA-plugins-tp5464p5715.html
Sent from the SoX mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users




[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux