sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: sox-users@lists.sourceforge.net
Subject: Re: Enabling LADSPA When Building a SOX Binary
Date: Mon, 10 Jul 2017 19:41:08 +0000	[thread overview]
Message-ID: <20170710194108.GA15244@whir> (raw)
In-Reply-To: <CAFHRK0fj=zxeNbL+9vV7rS8K=DGA88zFx4huGHU9e9bbnVzKgw@mail.gmail.com>

Christopher Stevens <owntheweb@gmail.com> 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
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users

      reply	other threads:[~2017-07-10 19:41 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
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 [this message]

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=20170710194108.GA15244@whir \
    --to=sox-users@lists.sourceforge.net \
    /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).