Subject: Re: [ecasound] Ecasound software control?
From: Kai Vehmanen (firstname.lastname@example.org)
Date: Mon Oct 16 2000 - 18:49:39 EEST
On Sun, 15 Oct 2000, Marc Lavallée wrote:
> Instead of using a MIDI controller to change the sound in realtime,
> I want to send commands directly from my C program.
Well, as ecasound still doesn't have bindings to C (C++ only at the
moment), the best way to go for you is to fork ecasound from your apps,
and then control ecasound using the interactive-mode commands (see
ecasound-iam(5) man page).
This is quite a common approach in the UNIX world. For instance, ecasound
uses this same technique to communicate with mpg123, lame, mikmod, etc;
also good examples are various cd-burner GUIs that interact with the
command-line tools mkisofs and cdrecord; and more, gdb is a common
console-mode app, which has many GUI frontends... So there's lots of
example code available. And of course, the best example is probably Janne
Halttunen's gteca - it uses this approach, too. See www.eca.cx and the
"eca projects" page.
-- . http://www.eca.cx ... [ audio software for linux ] /\ . . http://www.eca.cx/aivastus ... [ aivastus net radio ] /\ . . http://www.eca.cx/sculpscape [ my armchair-tunes mp3/ra/wav ]
-- To unsubscribe send message 'unsubscribe' in the body of the message to <email@example.com>.
This archive was generated by hypermail 2b28 : Mon Oct 16 2000 - 20:38:32 EEST