sox-users@lists.sourceforge.net unofficial mirror
 help / color / mirror / code / Atom feed
* Dynamically modify sox effects?
@ 2019-02-05 18:49 Robi Pires
  2019-02-13  8:08 ` Eric Wong
  0 siblings, 1 reply; 4+ messages in thread
From: Robi Pires @ 2019-02-05 18:49 UTC (permalink / raw)
  To: sox-users


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

Hello, is there a way I can dynamically modify sox effects while sox is
running? I want to have a way to add effects to my voice (pitch
modulation/reverb/etc.) and pipe that to OBS and Mumble. Is there another
application that does this?

The current command I am using is:
  sox -t pulseaudio default -t pulseaudio null reverb pitch ...
Then I record from Null Source using pavucontrol.

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

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



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dynamically modify sox effects?
  2019-02-05 18:49 Dynamically modify sox effects? Robi Pires
@ 2019-02-13  8:08 ` Eric Wong
  2019-02-13 14:23   ` Rafal Maszkowski
  2019-02-13 22:30   ` Peter P.
  0 siblings, 2 replies; 4+ messages in thread
From: Eric Wong @ 2019-02-13  8:08 UTC (permalink / raw)
  To: sox-users

Robi Pires <daddynoooooo@gmail.com> wrote:
> Hello, is there a way I can dynamically modify sox effects while sox is
> running? I want to have a way to add effects to my voice (pitch
> modulation/reverb/etc.) and pipe that to OBS and Mumble. Is there another
> application that does this?

Not natively in sox.  I use separate processes for
decoding/effects/playback and manage the command pipelines and
sox processes.

I wrote/use dtas (duct-tape audio suite) to do pipes and process
management:

	git clone https://80x24.org/dtas.git

Specifically dtas-player; which allows YAML files pointing to
ruby (or shell) scripts which can be edited and auto-reloaded
via inotify (see examples/splitfx.sample.yml ).

You may also use dtas-sourceedit or dtas-sinkedit to edit
the commands used for sources/sinks independently (which
affects all files you play).  I made the splitfx YAML stuff
later to have per-file effects.

Some basic docs are in the Documentation/ directory; but it's
been a while since I updated it...  I use dtas every single day
for the past few years for general music listening :)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dynamically modify sox effects?
  2019-02-13  8:08 ` Eric Wong
@ 2019-02-13 14:23   ` Rafal Maszkowski
  2019-02-13 22:30   ` Peter P.
  1 sibling, 0 replies; 4+ messages in thread
From: Rafal Maszkowski @ 2019-02-13 14:23 UTC (permalink / raw)
  To: sox-users

On Wed, Feb 13, 2019 at 08:08:02AM +0000, Eric Wong wrote:
> Robi Pires <daddynoooooo@gmail.com> wrote:
> > Hello, is there a way I can dynamically modify sox effects while sox is
> > running? I want to have a way to add effects to my voice (pitch
> > modulation/reverb/etc.) and pipe that to OBS and Mumble. Is there another
> > application that does this?
> Not natively in sox.  I use separate processes for
> decoding/effects/playback and manage the command pipelines and
> sox processes.

Since several years I use a solution which should be finally ported to
the recent SoX version as a separate program but I lack time to do it.
My current solution is a patch to run SoX full screen, interactively,
with ability to modify speed and volume and jump through the recording
easily with simple key-strokes. Other interactive modifications could be
added easily in the code. Not many formats are seekable in this version,
I use WAV.


How the window with my interactive SoX looks like:

        sox Version 12.17.9, interactive sox v. 20070202rzm
        ftp://sunsite.icm.edu.pl/private/rzm/patches/
`1234567890-=<- speeds 0.5 - 3.2              f v             gain +-0.5 dB
up down         speed +-0.1 times             p[ause]
'               prev speed                    ^L              redraw
<- { [ ] } ->   back/forw by 1, 4, 30 s       t[ag begin] T[ag end]
b[egin] e[nd]   of file                       < >             prev/next tag
B[egin] q[uit]  prev/next file                d[elete tag]    up to 5 s ago
Q[uit]          full stop                     D[elete tag]    last before cursor

Time      0:27:08  45.2%        total:   1:00:01                      file time:   2:27:09
Speed:   3.0    Gain:   -18.0 dB                                      delay:    3 19:49:17
rm20070218020001.wav -> /dev/dsp

__________________________________________________________________________________________
                                      O
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Instruction and source:
ftp://ftp.icm.edu.pl/private/rzm/patches/
interactive_sox.README                  description
sox.20050917.tar.bz2                    original sources from CVS
sox.20050917.rzm-2014-05-07-all.diff    all current interative sox patches until the date specified; includes b-e tags time diff printing
sox.20050917-inst8-9.diff               lowered optimization fixes a crash, Dec 2014


R.
-- 
„Walczy on z całym zapamiętaniem przeciwko intelektowi” - z akt personalnych prof. A. Baeumlera


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dynamically modify sox effects?
  2019-02-13  8:08 ` Eric Wong
  2019-02-13 14:23   ` Rafal Maszkowski
@ 2019-02-13 22:30   ` Peter P.
  1 sibling, 0 replies; 4+ messages in thread
From: Peter P. @ 2019-02-13 22:30 UTC (permalink / raw)
  To: sox-users

* Eric Wong <normalperson@yhbt.net> [2019-02-13 09:25]:
> Robi Pires <daddynoooooo@gmail.com> wrote:
> > Hello, is there a way I can dynamically modify sox effects while sox is
> > running? I want to have a way to add effects to my voice (pitch
> > modulation/reverb/etc.) and pipe that to OBS and Mumble. Is there another
> > application that does this?
CDP, which since a few years is an open source software and available
for all three major operating systems.
https://www.composersdesktop.com/
and
http://www.unstablesound.net/cdp.html

Its syntax is quite similar to sox and the two make good command line
companions. CDP has the ability to read in a textfile in place of some
command line arguments. These textfiles are breakpoint files and contain
time-value pairs which you write yourself.


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-02-13 22:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-05 18:49 Dynamically modify sox effects? Robi Pires
2019-02-13  8:08 ` Eric Wong
2019-02-13 14:23   ` Rafal Maszkowski
2019-02-13 22:30   ` Peter P.

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