Re: [ecasound] Ecasound-list Digest, Vol 99, Issue 1

From: Joel Roth <joelz@email-addr-hidden>
Date: Wed Apr 26 2017 - 12:35:16 EEST

On Wed, Apr 26, 2017 at 04:38:14AM -0400, Avery Chester wrote:
> Thanks! I'll have to give that a shot. I also should have worded that
> better.
> What if I wanted to use seperate effects on seperate knobs? For example one
> knob is a flanger and the other is a reverb?

Hi Avery,

I think if you put the -km controller immediately after
effect you want to control, you will get the behavior you
want using multiple effects with one or more controllers.

That is the command-line way to do it. It can also be
accomplished using interactive commands (see 'man
ecasound-iam') In that case, you choose a chain, choose a
chain operator, and add a controller to it.

Have fun,

Joel
 
> Thank you again for the help.
>
> On Wed, Apr 26, 2017 at 4:15 AM, <
> ecasound-list-request@email-addr-hidden> wrote:
>
> > Send Ecasound-list mailing list submissions to
> > ecasound-list@email-addr-hidden
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > https://lists.sourceforge.net/lists/listinfo/ecasound-list
> > or, via email, send a message with subject or body 'help' to
> > ecasound-list-request@email-addr-hidden
> >
> > You can reach the person managing the list at
> > ecasound-list-owner@email-addr-hidden
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Ecasound-list digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: Multiple little wav files, played when the user chooses
> > (Peter Billam)
> > 2. Re: Multiple little wav files, played when the user chooses
> > (Jeanette C.)
> > 3. Re: Multiple little wav files, played when the user chooses
> > (rocco)
> > 4. Playback Speed (Michael Hodges)
> > 5. Re: Playback Speed (rocco)
> > 6. Install error (rmgls)
> > 7. Multiple Midi CC Controllers in a single command Line?
> > (Avery Chester)
> > 8. Re: Multiple Midi CC Controllers in a single command Line?
> > (Jeanette C.)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sun, 05 Feb 2017 10:40:50 +1100
> > From: Peter Billam <pjb@email-addr-hidden>
> > Subject: Re: [ecasound] Multiple little wav files, played when the
> > user chooses
> > To: ecasound-list@email-addr-hidden
> > Message-ID: <389435707b0b645bda75180929137a4d@email-addr-hidden>
> > Content-Type: text/plain; charset=US-ASCII; format=flowed
> >
> > Greetings. Thanks for your replies.
> >
> > Joel wrote:
> > > One nontrivial way around this limitation would be
> > > to dispatch audio routes among multiple Ecasound engines
> > > all patched together by JACK.
> >
> > Jeanette wrote:
> > > you can play things in a loop, that would restrict the playback
> > > to certain times. You could work with an ea-effect on all the
> > > chains and raising the volume of the desired chain, when it is
> > > chosen and the start of the input comes round.
> >
> > Is there a way of being told when the start of the input
> > comes round, or it just down to knowing how long the loop is
> > and taking integer multiples of that ?
> >
> > Another way would be to put the .wav files together into the notes
> > of an SF2 SoundFont, and play them with timidity or fluidsynth.
> > The SF2 format is a bit off-purpose, but it could be coerced.
> > Or using Gravis .pat files (with timidity) might be simpler.
> >
> > All of these feel a bit artificial; the multiple-processes
> > approach seems like the easiest to get working.
> > I could keep the processes running and send signals to them
> > to avoid avoid process-startup latency, if that was an issue.
> >
> > Applications could be eg: sound effects for an stage-show
> > (telephone, doorbell, passing car, dog bark etc)
> > or audio messages for an houseful of Internet-of-Things things,
> > or improvising electronic music, with various sine-tones and
> > sound-effects fading in and out...
> >
> > Thanks,
> > Peter Billam
> >
> > PS Indeed, chainsetup! not chainset: chainsetup, chainsetup.
> >
> > http://www.pjb.com.au pj@email-addr-hidden (03) 6278 9410
> > "Follow the charge, not the particle." -- Richard Feynman
> > from The Theory of Positrons, Physical Review, 1949
> >
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Sun, 5 Feb 2017 01:00:41 +0100 (CET)
> > From: "Jeanette C." <julien@email-addr-hidden>
> > Subject: Re: [ecasound] Multiple little wav files, played when the
> > user chooses
> > To: Peter Billam <pjb@email-addr-hidden>
> > Cc: ecasound-list@email-addr-hidden
> > Message-ID: <alpine.LNX.2.20.1702050058490.8482@email-addr-hidden>
> > Content-Type: text/plain; format=flowed; charset=US-ASCII
> >
> > Hi Peter,
> > this is really sampler territory. So applications like fluidsynth or
> > timidity
> > are much better suited to this particular usecase. Have you looked at SFZ?
> > It's open, it's based on simple plain text file configurations and it works
> > with LinuxSampler.
> >
> > That is of course if you don't want to try your lua bindings to Ecasound
> > with
> > that particular project. :) Good luck in any case! <3
> >
> > Best wishes,
> >
> > Jeanette
> >
> > --------
> > When you need someone, you just turn around and I will be there <3
> >
> >
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Sat, 4 Feb 2017 18:18:24 -0700
> > From: rocco <rocco556@email-addr-hidden>
> > Subject: Re: [ecasound] Multiple little wav files, played when the
> > user chooses
> > To: ecasound-list@email-addr-hidden
> > Message-ID: <05df117d-a83f-044e-bdf9-58deaea15da0@email-addr-hidden>
> > Content-Type: text/plain; charset=windows-1252; format=flowed
> >
> > On 02/03/2017 07:47 PM, Peter Billam wrote:
> > > So I can imagine a toy app which takes a dozen or so little .wav files
> > > each connected to its own chain, with a dozen little buttons that
> > > the user can push to play the corresponding .wav file.
> >
> > I just tried this and it works flawlessly...
> >
> > I pasted three sounds into one long WAV file
> > (WAV is best format to use for the commands we are going to issue)
> >
> > The file is:
> > play.wav
> >
> > These are the beginning and end times for each pasted sound:
> > bark 0.000 to 0.832
> > meow 0.832 to 1.892
> > laugh 1.892 to end
> >
> > In a shell, I CD'd to the directory where play.wav is
> >
> > I issued the command:
> >
> > ecasound -z:nointbuf -z:nodb -c -a:1 -i:play.wav -o:alsa,hw:0
> >
> > '-c' runs ecasound in an interactive shell so you can issue commands to
> > ecasound
> >
> > '-z:nointbuf' AND '-z:nodb' are VERY IMPORTANT. With these flags set,
> > each sound will play INSTANTANEOUSLY
> >
> > To play 'bark' I issue the commands:
> > ecasound ('h' for help)> cs-set-position 0
> > ecasound ('h' for help)> cs-set-length 0.832
> > ecasound ('h' for help)> t
> >
> > To play 'meow', I issue the commands:
> > ecasound ('h' for help)> cs-set-position 0.832
> > ecasound ('h' for help)> cs-set-length 1.892
> > ecasound ('h' for help)> t
> >
> > To play 'laugh', I issue the commands:
> > ecasound ('h' for help)> cs-set-position 1.892
> > ecasound ('h' for help)> cs-set-length -1
> > ecasound ('h' for help)> t
> >
> > From the ecasound-iam man page:
> > cs-set-length ?seconds?
> > Sets processing time in seconds (doesn?t have to be an integer value).
> > A special-case value of ?-1? will set the chainsetup length according to
> > the longest input object.
> >
> > Being that it's just one WAV file, the disconnect when you issue
> > 'cs-set-length' is unnoticeable. And as I mentioned, with '-z:nointbuf'
> > AND '-z:nodb' set, each sound will play instantaneously
> >
> > I created three buttons in a tcl/tk app that did the above. Each sound
> > plays instantaneously and I can even interrupt an already playing sound
> > and the old sound stops and the new sound will play instantaneously.
> > When pressing buttons 'rapped fire' they play flawlessly. 'meow' goes
> > "me-me-me-me-me-me-me-meow".
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 4
> > Date: Tue, 21 Mar 2017 18:07:34 -0400
> > From: Michael Hodges <mhodges@email-addr-hidden>
> > Subject: [ecasound] Playback Speed
> > To: ecasound-list@email-addr-hidden
> > Message-ID: <488F8231-2C81-4263-9186-06BEFA989942@email-addr-hidden>
> > Content-Type: text/plain; charset=us-ascii
> >
> > Greetings. First post. I loved digging into Ecasound during research
> > into a project last year. I could automate volume changes over time using
> > -ea levels and a series of volume levels and time points.
> >
> > Is there a playback speed control that I could change and (theoretically)
> > do something similar to my changes in -ea to speed up and slow down
> > playback at certain points?
> >
> >
> > Thanks
> >
> > Michael
> >
> >
> > ------------------------------
> >
> > Message: 5
> > Date: Sat, 25 Mar 2017 13:58:51 -0700
> > From: rocco <rocco556@email-addr-hidden>
> > Subject: Re: [ecasound] Playback Speed
> > To: ecasound-list@email-addr-hidden
> > Message-ID: <64d675c2-7c18-7e26-d80f-c4764e2d2d5b@email-addr-hidden>
> > Content-Type: text/plain; charset=windows-1252; format=flowed
> >
> > On 03/21/2017 03:07 PM, Michael Hodges wrote:
> > > Greetings. First post. I loved digging into Ecasound during research
> > into a project last year. I could automate volume changes over time using
> > -ea levels and a series of volume levels and time points.
> > >
> > > Is there a playback speed control that I could change and
> > (theoretically) do something similar to my changes in -ea to speed up and
> > slow down playback at certain points?
> > >
> > >
> > > Thanks
> > >
> > > Michael
> >
> > I've been working with ecasound for many years now and haven't run into
> > a way of doing that. But there are some linux programs that can do what
> > you're looking to do. I think one of them is called 'soundstretch'. I
> > believe there's others also.
> >
> > Rocco
> >
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 6
> > Date: Mon, 17 Apr 2017 11:17:43 +0200
> > From: rmgls <rmgls@email-addr-hidden>
> > Subject: [ecasound] Install error
> > To: ecasound-list@email-addr-hidden
> > Message-ID: <B5EA6ED5-C886-477A-AF81-2468CBDE59F8@email-addr-hidden>
> > Content-Type: text/plain; charset=us-ascii
> >
> > hello Kai,
> >
> > i have this problem with ecasound: (up-to-date)
> > compiling from source on osx 10.12.x:
> > after configure and make as usual: sudo make install ...
> > even with --enable-force-python-package-site=/opt/local/lib/python2.7
> > in configure, the install tries to install the framework
> > in /System/Frameworks, which is not permitted at all.
> > the frameworks must be installed in /Library/Frameworks which stand for
> > all applications.
> >
> > Please can you tell me how to solve this issue?
> >
> > Thanks in advance.
> >
> > Raoul MEGELAS
> > rmgls@email-addr-hidden
> >
> >
> >
> >
> > ------------------------------
> >
> > Message: 7
> > Date: Wed, 26 Apr 2017 03:49:32 -0400
> > From: Avery Chester <a.chester7331@email-addr-hidden>
> > Subject: [ecasound] Multiple Midi CC Controllers in a single command
> > Line?
> > To: ecasound-list@email-addr-hidden
> > Message-ID:
> > <CAL=cUd69xN=8uWGkRca5YoKevpp9qG4h9G2sVU-YMiZP3vbLhA@email-addr-hidden.
> > gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > I'm trying to use multiple midi knobs to try mixing effects in real time.
> > I have a working command line for a single controller and effect right now:
> > ecasound -i:stdin -o stdout -etm:0.1,1,1 -km:3,0,127,1,1
> > -Md:rawmidi,/dev/snd/midiC1D0
> >
> > Is there a way or syntax to achieve this?
> > Thanks in advanced! :>
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> >
> > ------------------------------
> >
> > Message: 8
> > Date: Wed, 26 Apr 2017 10:00:13 +0200 (CEST)
> > From: "Jeanette C." <julien@email-addr-hidden>
> > Subject: Re: [ecasound] Multiple Midi CC Controllers in a single
> > command Line?
> > To: Avery Chester <a.chester7331@email-addr-hidden>
> > Cc: ecasound-list@email-addr-hidden
> > Message-ID: <alpine.LNX.2.20.1704260953180.13302@email-addr-hidden>
> > Content-Type: text/plain; charset=US-ASCII; format=flowed
> >
> > Apr 26 2017, Avery Chester has written:
> >
> > > I'm trying to use multiple midi knobs to try mixing effects in real time.
> > ...
> > > Is there a way or syntax to achieve this?
> > Hi Avery,
> > achieve what exactly? Have more MIDI knobs to control other parameters
> > of the same effect? Yes, just add another km after the one you have and
> > give the next parameter number. A controller (-k* option) only ctronls
> > the parameter of another controller before it, when you use the -kx
> > option. So:
> > ecasound ... -km:1,0,100,1,1, -kx -km:2,0,10,1,2
> > will let the second km control the lower range point of the first km in
> > the range of 0 to 10, o the first km will actually change its parameter
> > from 0-100 to 10-100.
> >
> > Just having two knobs to control a delay:
> > ecasound ... -etd:20,1,2,50,50 -km:1,20,200,1,1 -km:4,0,100,2,1
> > this will control the delay time (first parameter of etd) between 20 and
> > 200 and the fourth parameter (mix-%) between 0 and 100.
> >
> > HTH.
> >
> > Best wishes,
> >
> > Jeanette
> > ...
> >
> > --------
> > When you need someone, you just turn around and I will be there <3
> >
> >
> >
> > ------------------------------
> >
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> >
> > ------------------------------
> >
> > _______________________________________________
> > Ecasound-list mailing list
> > Ecasound-list@email-addr-hidden
> > https://lists.sourceforge.net/lists/listinfo/ecasound-list
> >
> >
> > End of Ecasound-list Digest, Vol 99, Issue 1
> > ********************************************
> >

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

> _______________________________________________
> Ecasound-list mailing list
> Ecasound-list@email-addr-hidden
> https://lists.sourceforge.net/lists/listinfo/ecasound-list

-- 
Joel Roth
  
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Wed Apr 26 16:15:01 2017

This archive was generated by hypermail 2.1.8 : Wed Apr 26 2017 - 16:15:01 EEST