sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Christopher Stevens <chris@christopherstevens.cc>
To: Christopher Stevens <chris@christopherstevens.cc>,
	sox-users@lists.sourceforge.net
Subject: Re: Enabling LADSPA When Building a SOX Binary
Date: Tue, 04 Jul 2017 00:44:29 +0000	[thread overview]
Message-ID: <CAFHRK0e3KgY6y4iRqXeA-kneHK8ha-9K-1d_Gsp4fFh8hfCyPw@mail.gmail.com> (raw)
In-Reply-To: <CAFHRK0ckC0qC6aCNJHerZbRPZrFk0O29cTjZ6CJPq1bJNn_2Rg@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 2468 bytes --]

Progress, hitting a final wall perhaps:

It seems like everything is in order for enabling ladspa. Awesome! The last
challenge I'm having is using a choice ladspa plugin to bring pitch to my
currently narrative thank you song voices with the vocoder plugin found
here:

http://www.sirlab.de/linux/download_vocoder_ladspa.html

Installation was pretty straightforward:

wget http://www.sirlab.de/linux/download/vocoder-ladspa-0.4.tgz
tar zxf vocoder-ladspa-0.4.tgz
cd vocoder-0.4
#edit INSTALL_PLUGINS_DIR in Makefile to taste, then
make
make install

Eric,
It looks like the example I originally found from 2012 was written by you
(cool!):
https://sourceforge.net/p/sox/patches/92/

When I attempt to run this, I'm thinking some things have changed since
then as I see errors (or I'm likely doing something wrong to start):

sox -M formant.wav carrier.wav \
-b 16 result.wav rate 44100 \
ladspa vocoder 16 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Result:

sox FAIL rate: usage: ...

Edit (rate to --rate):

sox -M formant.wav carrier.wav \
-b 16 result.wav --rate 44100 \
ladspa vocoder 16 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1

Result:

sox FAIL formats: can't open input file `1': No such file or directory

If I run this:

analyseplugin vocoder

The ports hint to me that I'm using it out of order within SOX perhaps?

Plugin Name: "Vocoder"
Plugin Label: "vocoder"
Plugin Unique ID: 1441
Maker: "Achim Settelmeier (adapted to LADSPA by Josh Green)"
Copyright: "None"
Must Run Real-Time: No
Has activate() Function: Yes
Has deactivate() Function: No
Has run_adding() Function: No
Environment: Normal or Hard Real-Time
Ports: "Formant" input, audio
"Carrier" input, audio
"Output" output, audio
"Number of bands" input, control, 1 to 16, integer
"Band 1 Level" input, control, 0 to 1
"Band 2 Level" input, control, 0 to 1
"Band 3 Level" input, control, 0 to 1
"Band 4 Level" input, control, 0 to 1
"Band 5 Level" input, control, 0 to 1
"Band 6 Level" input, control, 0 to 1
"Band 7 Level" input, control, 0 to 1
"Band 8 Level" input, control, 0 to 1
"Band 9 Level" input, control, 0 to 1
"Band 10 Level" input, control, 0 to 1
"Band 11 Level" input, control, 0 to 1
"Band 12 Level" input, control, 0 to 1
"Band 13 Level" input, control, 0 to 1
"Band 14 Level" input, control, 0 to 1
"Band 15 Level" input, control, 0 to 1
"Band 16 Level" input, control, 0 to 1

Thanks much for your work on this project. Also, thanks again for taking a
look at this thread!

Kind regards,

Chris

[-- Attachment #1.2: Type: text/html, Size: 6719 bytes --]

[-- Attachment #2: Type: text/plain, Size: 202 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 158 bytes --]

_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

  reply	other threads:[~2017-07-04  0:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-03  4:07 Enabling LADSPA When Building a SOX Binary Christopher Stevens
2017-07-03  5:31 ` Eric Wong
2017-07-03 11:31   ` Christopher Stevens
2017-07-03 17:16     ` Eric Wong
2017-07-03 19:42       ` Christopher Stevens
2017-07-04  0:44         ` Christopher Stevens [this message]
2017-07-05 12:11           ` Christopher Stevens
2017-07-05 14:24             ` Frank Williams
2017-07-06  1:01               ` Christopher Stevens
2017-07-06 20:02                 ` Christopher Stevens
2017-07-10 19:41                   ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://lists.sourceforge.net/lists/listinfo/sox-users

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFHRK0e3KgY6y4iRqXeA-kneHK8ha-9K-1d_Gsp4fFh8hfCyPw@mail.gmail.com \
    --to=sox-users@lists.sourceforge.net \
    --cc=chris@christopherstevens.cc \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/sox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).