Re: Enabling LADSPA When Building a SOX Binary

Eric Wong <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <20170710194108.GA15244@whir>
Christopher Stevens <[email protected]> wrote:
> SUCCESS! LADSPA goodness is happening.

Great to know!

> Steps to make it work:
> ====
> #where my plugins live
> export LADSPA_PATH=/home/ec2-user/plugins
> 
> #ensure formant (mono voice) and carrier (mono pitch) audio files are set
> to the vocoder plugin's requirements
> sox formant.wav -b 16 formant1b.wav gain -1 rate 44100 dither -s
> sox carrier.wav -b 16 carrier1b.wav gain -1 rate 44100 dither -s
> 
> #merge mono formant and carrier into a single audio stereo file left and
> right channel
> sox -M formant1b.wav carrier1b.wav formant_carrier.wav
> 
> #apply ladspa plugin via ladspa utilities directly
> #!!! I'm stuck on how to make this work as part of sox, this gets the job
> done directly though
> applyplugin formant_carrier.wav final.wav vocoder vocoder 16 1 1 1 1 1 1 1
> 1 1 1 1 1 1 1 1 1

Did you try:

sox -M formant1b.wav carrier1b.wav \
	 -b16 final.wav rate 44100 \
	ladspa vocoder 16 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

At least I had that working when I made the following change for 14.4.2:

https://bogomips.org/mirrors/sox.git/patch?h=58ab5ac87b86c897d9edd0cf6e8e98c0d6162bfb 

It's not in older versions, though.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.