Enabling LADSPA When Building a SOX Binary

Christopher Stevens <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <CAFHRK0fSmT7N+rYJcjnYmGD1ytMuZJcWrk7-NLyRX6NBWumCGA@mail.gmail.com>
Hello SOX gurus,
I'm attempting to build an Amazon Linux binary of SOX with LADSPA plugin
support, starting with helpful instructions found here for the SOX part:
http://marcelog.github.io/articles/static_sox_transcoding_lambda_mp3.html

I was able to follow the instructions with minor tweaks and also found a
great introduction on installing LADSPA here:
http://archive.oreilly.com/pub/a/linux/2001/02/02/ladspa.html

So far I've made some progress... I think, with this:

====
sudo su
wget http://www.ladspa.org/download/ladspa_sdk.tgz
tar zxf ladspa_sdk.tgz
cd ladspa_sdk/src
#update all "-mkdirhier" to "mkdir -p" in makefile, then:
make
make install
export LADSPA_PATH=/usr/lib/ladspa
====

After that, I run the configure file when preparing to build SOX. I'm
getting this output in terminal:

====
...
BUILD OPTIONS
Debugging build............no
Distro name ...............not specified!
Dynamic loading support....no
Pkg-config location........$(libdir)/pkgconfig
Play and rec symlinks......yes
Symlinks enabled...........yes

OPTIONAL DEVICE DRIVERS
ao (Xiph)..................no
alsa (Linux)...............no
coreaudio (Mac OS X).......no
sndio (OpenBSD)............no
oss........................yes
pulseaudio.................no
sunaudio...................no
waveaudio (MS-Windows).....no

OPTIONAL FILE FORMATS
amrnb......................no
amrwb......................no
flac.......................no
gsm........................yes (in-tree)
lpc10......................yes (in-tree)
mp2/mp3....................no
 id3tag....................no
 lame......................no
 mad.......................no
 twolame...................no
oggvorbis..................no
opus.......................no
sndfile....................no
wavpack....................no

OTHER OPTIONS
ladspa effects.............no
magic support..............no
png support................no
OpenMP support.............yes, -fopenmp
...
====

Note how ladspa effects is set to "no". I can confirm that there are a few
default ones in LADSPA_PATH; sine.so, noise.so, filter.so, etc.

Do you have an idea how I can include LADSPA support in my binary? I've
never used a related plugin with SOX. If I could get this to work on Amazon
Linux, I can create cool vocal effects for my automated-ish music project.

If you could help me succeed, I'll respond with a customized, automated
thank you song from my project. :D

Many thanks in advance!

Kind regards,

Chris

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Sox-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sox-users
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.