Sergei Steshenko | 17 May 2013 00:53
Picon
Favicon

how to resample after a LADSPA plugin ?

Hello,

I have the following command line:

ecasound -D -z:nodb -f 16,2,44100 -i stdin -eli:1030 -b 4096 -ev -x -f s16_le,2,44100 -o alsahw,0,0

which works as expected. It is a part of longer chain, so data is piped into stdin.

I want to do two things:

1) replace 's16_le,2,44100' with 's16_le,2,88200', i.e to make ALSA device work with 88200Hz sample rate;

2) insert resampling just before it, but _after_ the LADSPA plugin, i.e. after '-eli:1030'.

How can I do this ?

Thanks,
  Sergei.

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

(Continue reading)

Daniel Worth | 17 Apr 2013 19:54
Picon

Midi Controled playlist.

I'm not very well versed in ecasound and I'm looking for help in solving a problem. What I'd like to do is set up a live rig for playing shows with a backing track that allows me more flexability in a performance. The goal would be to have a playlist that had each section of the song, as a backing track, and, if I hit nothing plays the song from beginning to end, but if I interact with it I could replay a section or more ideal jump around to other tracks. So if I feel like taking an extended solo or repeating a chorus becuase it just feels right I can, more likely I messed up an need another chance to hit a lyric cue. I have an fcb-1010 midi controller that I would like to use for sending midi messages. Is this possible in ecasound or ecaplay? Any advice would be much appreciated.
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
rocco | 2 Apr 2013 15:21

ai-index-select, ai-remove and ao-index-select, ao-remove not working properly

Quick assessment of the situation, then my complete session...

It seems that when there are multiple input objects of the same name or 
multiple output objects of the same name, 'ai-index-select', 'ai-remove' 
and 'ao-index-select', 'ao-remove' removes the wrong object.

It does (not) seem to have this confusion when the input objects have 
different names or the output objects have different names.

Also, it seems (possibly) that in certain situations, it seems to think 
it removed the object from a different chain instead of the chain that 
it actually removed it from.

Here's my session...

I have an ecs file that reads:

#### START ECS ####
# general
-b:512 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr 
-z:mixmode,sum

# audio inputs
-a:1 -f:24,1,96000 -i:1.wav
-a:2 -f:24,1,96000 -i:2.wav
-a:3 -f:24,1,96000 -i:3.wav

# audio outputs
-a:1 -f:24,2,96000 -o:jack,system
-a:2 -f:24,2,96000 -o:jack,system
-a:3 -f:24,2,96000 -o:jack,system

# chain operators and controllers
-a:1 -chcopy:1,2 -epp:13 -ea:155
-a:2 -chcopy:1,2 -epp:85 -ea:143
-a:3 -chcopy:1,2 -epp:50 -ea:24
#### END ECS ####

ecasound> c-select 2
ecasound> ai-status

### Audio input/output status (chainsetup 'Main') ###
Input (1): "1.wav," - [RIFF wave file]
  -> connected to chains "1": position (2.528/60.088) seconds.
  -> open, , s24_le/1ch/96000Hz, buffer 512.
Input (2): "2.wav," - [RIFF wave file]
  -> connected to chains "2": position (2.528/59.865) seconds.
  -> open, , s24_le/1ch/96000Hz, buffer 512.
Input (3): "3.wav," - [RIFF wave file]
  -> connected to chains "3": position (2.528/69.153) seconds.
  -> open, , s24_le/1ch/96000Hz, buffer 512.
Output (1): "jack,system," - [JACK interface]
  -> connected to chains "1": realtime-device; position 242688, delay 0.
  -> open, f32_le/2ch/96000Hz, buffer 512.
Output (2): "jack,system," - [JACK interface]
  -> connected to chains "2": realtime-device; position 242688, delay 0.
  -> open, f32_le/2ch/96000Hz, buffer 512.
Output (3): "jack,system," - [JACK interface]
  -> connected to chains "3": realtime-device; position 242688, delay 0.
  -> open, f32_le/2ch/96000Hz, buffer 512.

ecasound> ai-index-select 2
ecasound> ai-remove

(eca-control) WARNING: This operation requires that chainsetup is 
disconnected. Temporarily disconnecting...
- [ Controller/Processing stopped (cond) ] -------------------------------
(audioio_jack_manager) JACK transport: at ecasound stop JACK state is 
STOPPED (position 2.528sec)
- [ Engine exiting ] -----------------------------------------------------
(eca-control-objects) Disconnecting chainsetup:  "Main".
(eca-control-objects) Removing selected audio input "2.wav" from 
selected chains.
(eca-chainsetup) Unable to connect: Chain "2" is not valid. Following 
errors were detected:
(eca-chainsetup) Chain "2" is not connected to any input. All chains 
must have exactly one valid input. (2.1-NO-CHAIN-INPUT)
(eca-chainsetup) WARNING: Input "3.wav" is not connected to any chain. 
(3.1-DISCON-INPUT)
ERROR: Can't reconnect chainsetup.

As you'll see (below), it removed the correct input object (possibly 
because the names are all different?), but what about "WARNING: Input 
"3.wav" is not connected to any chain. (3.1-DISCON-INPUT)"?

ecasound> cs-save-as 1.ecs

1.ecs reads...

#### START ECS ####
# general
-b:512 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr 
-z:mixmode,sum

# audio inputs
-a:1 -f:s24_le,1,96000 -i:1.wav,
-a:3 -f:s24_le,1,96000 -i:3.wav,

# audio outputs
-a:1 -f:f32_le,2,96000 -o:jack,system,
-a:2 -f:f32_le,2,96000 -o:jack,system,
-a:3 -f:f32_le,2,96000 -o:jack,system,

# chain operators and controllers
-a:1 -chcopy:1.00,2.00 -epp:13.00 -ea:155.00
-a:2 -chcopy:1.00,2.00 -epp:85.00 -ea:143.00
-a:3 -chcopy:1.00,2.00 -epp:50.00 -ea:24.00
#### END ECS ####

ecasound> ai-status

### Audio input/output status (chainsetup 'Main') ###
Input (1): "1.wav," - [RIFF wave file]
  -> connected to chains "1": position (2.528/60.088) seconds.
  -> closed, audio format not available until object is opened.
Input (2): "3.wav," - [RIFF wave file]
  -> connected to chains "3": position (2.528/69.153) seconds.
  -> closed, audio format not available until object is opened.
Output (1): "jack,system," - [JACK interface]
  -> connected to chains "1": realtime-device; position 242688, delay 0.
  -> closed, f32_le/2ch/96000Hz, buffer 512.
Output (2): "jack,system," - [JACK interface]
  -> connected to chains "2": realtime-device; position 242688, delay 0.
  -> closed, f32_le/2ch/96000Hz, buffer 512.
Output (3): "jack,system," - [JACK interface]
  -> connected to chains "3": realtime-device; position 242688, delay 0.
  -> closed, f32_le/2ch/96000Hz, buffer 512.

ecasound> ao-index-select 2
ecasound> ao-remove

(eca-control-objects) Removing selected audio output "jack" from 
selected chains.

ecasound> c-selected
2

ecasound> cs-save-as 1.ecs

1.ecs reads...

#### START ECS ####
# general
-b:512 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr 
-z:mixmode,sum

# audio inputs
-a:1 -f:s24_le,1,96000 -i:1.wav,
-a:3 -f:s24_le,1,96000 -i:3.wav,

# audio outputs
-a:1 -f:f32_le,2,96000 -o:jack,system,
-a:2 -f:f32_le,2,96000 -o:jack,system,

# chain operators and controllers
-a:1 -chcopy:1.00,2.00 -epp:13.00 -ea:155.00
-a:2 -chcopy:1.00,2.00 -epp:85.00 -ea:143.00
-a:3 -chcopy:1.00,2.00 -epp:50.00 -ea:24.00
#### END ECS ####

It removed the audio output object on chain 3 instead of chain 2.

I did the exact same thing with alsa inputs and outputs and got exactly 
the same outcome.

Also, I noticed if I have this ecs file...

### START ECS ###
# general
-b:512 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr 
-z:mixmode,sum

# audio inputs
-a:1 -f:16,1,48000 -i:jack,system
-a:2 -f:16,2,48000 -i:jack,system
-a:3 -f:16,3,48000 -i:jack,system

# audio outputs
-a:1 -f:16,2,48000 -o:jack,system
-a:2 -f:16,2,48000 -o:jack,system
-a:3 -f:16,2,48000 -o:jack,system

# chain operators and controllers
-a:1 -chcopy:1,2 -epp:13 -ea:155
-a:2 -chmove:2,1 -chcopy:1,2 -epp:85 -ea:143
-a:3 -chmove:3,1 -chcopy:1,2 -epp:50 -ea:24
### END ECS ###

ecasound> ai-status

### Audio input/output status (chainsetup 'Main') ###
Input (1): "jack,system," - [JACK interface]
  -> connected to chains "1": realtime-device; position 0, delay 0.
  -> closed, s16_le/1ch/48000Hz, buffer 512.
Input (2): "jack,system," - [JACK interface]
  -> connected to chains "2": realtime-device; position 0, delay 0.
  -> closed, s16_le/2ch/48000Hz, buffer 512.
Input (3): "jack,system," - [JACK interface]
  -> connected to chains "3": realtime-device; position 0, delay 0.
  -> closed, s16_le/3ch/48000Hz, buffer 512.
Output (1): "jack,system," - [JACK interface]
  -> connected to chains "1": realtime-device; position 0, delay 0.
  -> closed, s16_le/2ch/48000Hz, buffer 512.
Output (2): "jack,system," - [JACK interface]
  -> connected to chains "2": realtime-device; position 0, delay 0.
  -> closed, s16_le/2ch/48000Hz, buffer 512.
Output (3): "jack,system," - [JACK interface]
  -> connected to chains "3": realtime-device; position 0, delay 0.
  -> closed, s16_le/2ch/48000Hz, buffer 512.

ecasound> ai-index-select 2
ecasound> ai-remove
ecasound> ao-index-select 2
ecasound> ao-remove
ecasound> c-select 3
ecasound> c-clear
ecasound> cs-save-as 1.ecs

1.ecs reads...

### START ECS ###
# general
-b:512 -r:50 -z:nointbuf -z:nodb -n:"Main" -X -z:noxruns -z:nopsr 
-z:mixmode,sum

# audio inputs
-a:1 -f:s16_le,1,48000 -i:jack,system,
-a:2 -f:s16_le,2,48000 -i:jack,system,

# audio outputs
-a:1 -f:s16_le,2,48000 -o:jack,system,
-a:2 -f:s16_le,2,48000 -o:jack,system,

# chain operators and controllers
-a:1 -chcopy:1.00,2.00 -epp:13.00 -ea:155.00
-a:2 -chmove:2.00,1.00 -chcopy:1.00,2.00 -epp:85.00 -ea:143.00
### END ECS ###

Even though it improperly removed the input and output objects (and 
chain) for chain 3 instead of 2, I cleared the last remains of chain 3 
(c-clear) and it should run... but...

ecasound> t

(eca-chainsetup) Unable to connect: Chain "3" is not valid. Following 
errors were detected:
(eca-chainsetup) Chain "3" is not connected to any input. All chains 
must have exactly one valid input. (2.1-NO-CHAIN-INPUT)
(eca-chainsetup) Chain "3" is not connected to any output. All chains 
must have exactly one valid output. (2.2-NO-CHAIN-OUTPUT)
ERROR:  Selected chainsetup cannot be connected. Can't perform requested 
action.

ecasound> c-list
1,2,3

Also... when there are input objects that that have the same name mixed 
with input objects that have different names, you get the wrong input 
objects being removed in a more random way. This happens for output 
objects that also have similar names mixed with different names.

Unfortunately, this has halted my new approach of deleting tracks or 
effects in a more robust way in my front end. I could just stick with 
adding a whole chainsetup each time I delete a track (chain) or effect 
(chain), but it's not as robust as doing it chain by chain.

Thanks,
Rocco

------------------------------------------------------------------------------
Own the Future-Intel(R) Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest. Compete 
for recognition, cash, and the chance to get your game on Steam. 
$5K grand prize plus 10 genre and skill prizes. Submit your demo 
by 6/6/13. http://altfarm.mediaplex.com/ad/ck/12124-176961-30367-2
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

William Goldsmith | 27 Feb 2013 19:17
Favicon

ecasound + soundflower on OS X?

I'm using ecasound within a php-based web app that runs on a Macbook -- controlling recording & playback via a browser interface.  It works great. i/o to/from ecasound is via jackd.


I'm also processing voice audio (from a USB mic) using a chain of AU or VST plugins hosted by an app called Rax. I've also used Apple's AULab as a host for AU plugins. 

It all works well, except that periodically the processing chain will crash -- or I'll lose audio altogether. I'm pretty confident that the culprit in my audio issues is jackd, which has never been terribly stable on OS X. 

I'd love to try using the Mac app Soundflower in place of jackd. Anybody have any experience with that?

thanks!
-bg 

--
---
Bill Goldsmith
Radio Paradise
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Dave Serls | 20 Feb 2013 01:33
Picon
Picon
Favicon

Unable to launch fake-stereo


 Trying to convert a mono file
 with
 ecasound -i filea -etf:3 -o fileb

 **************************************************************************
*        ecasound v2.7.0 (C) 1997-2009 Kai Vehmanen and others    (B
**************************************************************************
(eca-session) Set debug level to: 319
(eca-session) Session created
(audioio-db-server) constructor
(eca-chainsetup) Rtcaps detected.
(eca-chainsetup-parser) Interpreting object option "-f:s16_le,2,44100,i".
(eca-chainsetup-parser) Changed active format to (bits/channels/srate/interleave): s16_le/2/44100/i
(eca-chainsetup) sample rate change, chainsetup untitled-chainsetup to rate 44100.
(eca-chainsetup-parser) Interpreting object option "-z:mixmode,avg".
(eca-static-object-maps) register_chain_operator_objects()
(eca-static-object-maps) register_controller_objects()
(eca-chainsetup-parser) Interpreting global option "-i:05_Slow_Hands.mp3".
(eca-chainsetup-parser) Interpreting global option "-etf:3".
(eca-chainsetup-parser) Interpreting global option "-o:new.05_Slow_Hands.mp3".
(eca-chain) constructor: CHAIN
(eca-chainsetup) Chain "default" created.
(eca-chainsetup-parser) Interpreting object option "-i:05_Slow_Hands.mp3".
(eca-static-object-maps) register_audio_io_rt_objects()
(eca-static-object-maps) register_audio_io_nonrt_objects()
(eca-static-object-maps) All libsndfile supported extensions:
... aiff,au,avr,caf,flac,htk,iff,mat,mat,mpc,oga,paf,pvf,raw,rf64,sd2,sds,sf,voc,w64,wav,wav,wav,wve,xi,
(eca-object-factory) Object "-i:05_Slow_Hands.mp3" created, type "Mp3 stream". Has 2 parameter(s)
(variable: no).
(eca-chainsetup-parser) adding file "05_Slow_Hands.mp3".
(audioio) set srate, aobj "Mp3 stream:05_Slow_Hands.mp3" to 44100.
(audioio-db-client) DB-client created for 05_Slow_Hands.mp3.
(audioio) set srate, aobj "DB => Mp3 stream:uninitialized" to 44100.
(audioio) set srate, aobj "Mp3 stream:05_Slow_Hands.mp3" to 44100.
(audioio) set srate, aobj "Mp3 stream:05_Slow_Hands.mp3" to 44100.
(eca-chainsetup) Assigning file to chains: default
(eca-chainsetup-parser) Interpreting object option "-etf:3".
(eca-object-factory) Creating chain operator "Fake stereo"
(eca-object-factory) Setting parameters: delay-time-msec = 3.000
(eca-chainsetup) Adding chainop to chain default.
(audiofx) Setting samplerate to 44100 for object Fake stereo. Old value 384000.
(eca-chainsetup-parser) Interpreting object option "-o:new.05_Slow_Hands.mp3".
(eca-object-factory) Object "-o:new.05_Slow_Hands.mp3" created, type "Mp3 stream". Has 2
parameter(s) (variable: no).
(eca-chainsetup-parser) adding file "new.05_Slow_Hands.mp3".
(audioio) set srate, aobj "Mp3 stream:new.05_Slow_Hands.mp3" to 44100.
(audioio-db-client) DB-client created for new.05_Slow_Hands.mp3.
(audioio) set srate, aobj "DB => Mp3 stream:uninitialized" to 44100.
(audioio) set srate, aobj "Mp3 stream:new.05_Slow_Hands.mp3" to 44100.
(audioio) set srate, aobj "Mp3 stream:new.05_Slow_Hands.mp3" to 44100.
(eca-chainsetup) Assigning file to chains: default
(eca-chainsetup) Chainsetup "untitled-chainsetup"
(eca-control) ECA_CONTROL constructor
(eca-session) Connecting chainsetup
(eca-chainsetup) bmode-selection case-5
(eca-chainsetup) "nonrt" buffering mode selected.
(eca-chainsetup) Set buffering parameters to: 
--cut--
buffersize: 1024
raised_priority: 0
sched_priority: 50
double buffering: 0
double buffer size: 100000
max buffers: 1
--cut--
(eca-chainsetup) Switching to direct mode.
(audioio-db-client) destructor 05_Slow_Hands.mp3.
(audioio-db-server) unregister_client Mp3 stream.
(audioio-db-server) unregister_client failed (2)
(audioio-db-client) destructor new.05_Slow_Hands.mp3.
(audioio-db-server) unregister_client Mp3 stream.
(audioio-db-server) unregister_client failed (2)
(audioio-mp3) Found mp3 header at offset 25882
(audioio-mp3) Found mp3 header at offset 25886
(audioio-mp3) Total file size (bytes): 4446555.00
(audioio-mp3) Bitrate (bits/s): 192000.00
(audioio-mp3) Sampling frequncy (Hz): 44100.00
(audioio) set srate, aobj "Mp3 stream:05_Slow_Hands.mp3" to 44100.
(audioio-mp3) Total length (frames): 7092
(audioio-mp3) Total length (seconds): 186
(audioio-mp3) Pcm per mp3 frames: 1152
(eca-chainsetup) Opened input "05_Slow_Hands.mp3", mode "read". Format: s16_le, channels 2, srate
44100, interleaved (locked params).
(eca-chainsetup) sample rate change, chainsetup untitled-chainsetup to rate 44100.
(audioio) set srate, aobj "Mp3 stream:05_Slow_Hands.mp3" to 44100.
(audioio) set srate, aobj "Mp3 stream:new.05_Slow_Hands.mp3" to 44100.
(eca-chain) sample rate change, chain 'default' object 'Fake stereo' rate 44100.
(audiofx) Setting samplerate to 44100 for object Fake stereo. Old value 44100.
(eca-chainsetup) Opened output "new.05_Slow_Hands.mp3", mode "write". Format: s16_le, channels 2,
srate 44100, interleaved (locked params).
(eca-session) Chainsetup connected
- [ Connected chainsetup: "untitled-chainsetup"(B ] ------------------------
- [ Controller/Starting batch processing(B ] -------------------------------
(eca-engine) ECA_ENGINE constructor
(eca-engine) Prefill loops: 7 (blocksize 1024).
(audiofx) Init w/ samplerate 44100 for object Fake stereo.
(eca-chain) Initialized chain default with 1 chainops and 0 gcontrollers. Sbuf points to 167939360.
(eca-control-base) Engine thread started with pid: 28131
- [ Engine - Driver start(B ] ----------------------------------------------
(eca-engine) Request start
(audioio-mp3) mpg123 --stereo -r %s -b0 -s -k 0 %f
(audioio-forked-stream) Fork child-for-read: 'mpg123 --stereo -r 44100 -b0 -s -k 0 %f'
(audioio-mp3) Starting to encode new.05_Slow_Hands.mp3 with lame.
(audioio-forked-stream) Fork child-for-write: '/usr/local/bin/lame -b 128 -s 44.10 -x -S - %f'
(eca-engine) starting engine operation!
(audioio-mp3) Attempt to write after child process has terminated.
(eca-engine) output error - stop
(eca-engine) engine error, exit
(eca-engine) stopping engine operation!
(audioio-forked-stream) Sending SIGKILL to child process related to: 05_Slow_Hands.mp3
(audioio-forked-stream) Child process exit ok: 05_Slow_Hands.mp3
(eca-engine) Signaling stop
(eca-engine) Signaling exit
(eca-engine) WARNING: An output object has raised an error! Possible causes: Out of disk space,
permission denied, unable to launch external
... applications needed in processing, etc.
(eca-engine) Engine state when finishing: 4
(eca-control-base) Engine thread 28131 will exit.

- [ Controller/Batch processing finished (-3)(B ] --------------------------
(eca-control-base) Waiting for engine thread to exit.
(eca-control-base) pthread_join returned: 0
(eca-control-base) Engine thread has exited succesfully.
(eca-engine) ECA_ENGINE destructor
- [ Engine exiting(B ] -----------------------------------------------------
(eca-control-objects) Disconnecting chainsetup:  "untitled-chainsetup".
(eca-chainsetup) Closing chainsetup "untitled-chainsetup"
(eca-chainsetup) Closing audio device/file "05_Slow_Hands.mp3".
(eca-chainsetup) Closing audio device/file "new.05_Slow_Hands.mp3".
(audioio-mp3) Cleaning child process pid=28135.
(audioio-forked-stream) Sending SIGKILL to child process related to: new.05_Slow_Hands.mp3
(audioio-forked-stream) Problems in terminating child process:No child processes
(audioio-forked-stream) Sending SIGTERM to child process: new.05_Slow_Hands.mp3
(eca-session) Chainsetup disconnected
(eca-control) ECA_CONTROL destructor
(eca-session) ECA_SESSION destructor-in
(eca-chainsetup) ECA_CHAINSETUP destructor-in
(eca-chainsetup) Deleting chain "default".
(eca-chain) CHAIN destructor!
(eca-chainsetup) Deleting audio object "05_Slow_Hands.mp3".
(eca-chainsetup) Deleting audio object "new.05_Slow_Hands.mp3".
(audioio-db-server) destructor
(audioio-db-server) destructor-out
(eca-chainsetup) ECA_CHAINSETUP destructor-out
(eca-session) ECA_SESSION destructor-out

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Justin Rosander | 13 Feb 2013 09:12
Picon

Midi controller for Ecasound

Hi there,
not sure if this would be an appropriate channel for this, but I am currently writing a midi controller for the purpose of controlling ecasound effects in real-time using a GUI.  It is working, but I am running into a bit of a problem getting ecasound to connect to it automatically without using aconnect.  I am using Elementary as the widget set from E17 (enlightenment.org), and have attached the source code to this email.  It can be built as follows:
gcc main.c -o slider -lasound `pkg-config elementary --cflags --libs`
It currently just sends CC events to channel 1, controller 1.

I am using the following ecasound command:

ecasound -i test.wav -o alsahw -ea:100 -km:1,1,200,1,1 -Md:alsaseq,midicontroller

I am grateful for any thoughts on what I am doing wrong in my code.

Justin

Attachment (main.c): text/x-csrc, 2251 bytes
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
will cunningham | 10 Dec 2012 21:51
Picon

loop device with eci/iam

Friends,

I'm converting some command line ecasound to python scripts and I'm
having trouble with two things.  Here are the two problems, and a
snippet of python code I'm trying to use for it:

1)Mixing several chains to one chain as in the example from the docs,
particularly the all line, but more generally how to mix two or more
chains to a third chain:

ecasound -c \
-a:1 -i drums.wav \
-a:2 -i synth-background.wav \
-a:3 -i bass-guitar_take-2.ewf \
-a:4 -i brass-house-lead.wav \
-a:all -o alsa

2)The loop device functionality, not looping like repeating a sample
but copying the output of one chain or the mix from multiple chains to
one or more chains, as in this example from the docs(I've shortened it
a little to focus it):

-a:1 -i drums.wav \
-a:2 -i synth-background.wav \
-a:1,2 -o loop,1 \
-a:5,6 -i loop,1 \
-a:5 -o alsa \
-a:6 -o current-mix.wav

Here is a snippet of the script I've been playing with to try to get
this working with my input with comments for where I've been trying to
get this working:

from pyeca import *
e = ECA_CONTROL_INTERFACE()
e.command("cs-add play_chainsetup")
e.command("c-add 1st_chain")
e.command("ai-add lead1.wav")
e.command("c-add 2nd_chain")
e.command("ai-add shots1.wav")

#I've tried to add 'loop,1' to the third chain in ai-add; of
e.command("c-add 3rd_chain")
???? output from mix of chains 1 and 2 to two outputs, a file and alsa
e.command("ao-add ")
e.command("cs-connect")
e.command("run")
#I've gotten all kinds of -a chains from my attempts with this
cs-save, but none with more than one chain name/number after the -a
e.command("cs-save")

So how do I get the output from 1st_chain, and 2nd_chain to 3rd_chain,
and more generally just mixing any combination of chains to another or
multiple chains?

thanks,

Will

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Lars Bjørndal | 23 Nov 2012 20:17

Interactive mode, cut & paste

Hello

Is it possible to use ecasound's interactive mode to cut/copy and paste,
like this? Listen to an audio file, stop at a certain position and then
cut from that position, and then save the result?

Regards,
Lars

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Patrick Shirkey | 21 Nov 2012 15:10

mono to stereo filter

Hi,

Does anyone have a suggestion for how I can split a mono track into a
stereo track with each side (left/right) as a complete opposite of the
other?

So for example if the left track has audio at 200Hz the right track will
not have audio at 200Hz, and so on up the frequency range alternating for
each track.

Something like a parametric eq with opposite values for each output track.

--
Patrick Shirkey
Boost Hardware Ltd

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Julien Claassen | 5 Nov 2012 11:16
Picon

Ecatools/ecasound problem

Hello everyone!
   I just came across an error, processing a filename, which had a comma. It 
said: unable to handle filenames with coma. this must have been ecanormalize 
or ecafixdc from a script.
   I renamed the original file and processed again, but it might be nice to not 
have this issue for a start. If it's not too difficult, could this be fixed? I 
know, that coma is a seperator for parameters in all operations, but usually 
it should be shell-escaped or quoted.
   Warm regards
          Julien

----------------------------------------
http://juliencoder.de/nama/music.html

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Nathan Mohr | 2 Nov 2012 22:24

Compile on osx 10.7.5

Hey,
i am a osx user with expirience in commandine stuff etc. I also have little linux skills.
i installed xcode and xcode command line tools.
when i start (as su)
./configure && make
i get the following error:

"(allot of lines)...
kvu_threads.cpp: In function 'int kvu_pthread_cond_timeout(int, timespec*, bool)':
kvu_threads.cpp:125: error: 'CLOCK_REALTIME' was not declared in this scope
kvu_threads.cpp:125: error: 'clock_gettime' was not declared in this scope
make[2]: *** [kvu_threads.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
"
Does that make sense to anybody?
I would like to use ecasound as "effects rack" for sooperlooper / jackosx.
Maybe someone has precompiled binaries or can help me to compile?
I heard compiling on osx should not be a big deal...
Thanks in andvance,
Nate

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Gmane