Re: implementing loudspeaker crossovers using Sox + LADSPA plugins

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

 



francolargo <francolargo@xxxxxx> wrote:
> 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.

Good to know! (I'm not too familiar with non-basic-playback ALSA stuff)

> 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

Alright...

> 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

Your email shows “smart quotes”, is that from your email client?
If not and the smart quotes are in your original script,
it could be screwing up parsing at the shell level.
They should be a normal double quote: "
And in the above case, a single-quote (') works, too.

> 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...]

------------------------------------------------------------------------------
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