Thank you, Steven and David!

I want to process the files on a server, so it has to be done by command line.
And I want to avoid hosting huge wav files c-sound processing them, keeping track of resulting wavs and convert them to mp3s...

The system opcode is a completely new area for me. I'll create a new post for asking specifically about the possibility of running liblame that way...

Thanx!

Jonas

 

On Sat, Aug 30, 2008 at 4:14 PM, David Akbari <dakbari@gmail.com> wrote:
> What is stopping a regular Csound user from simply using the "system"
> family of opcodes to encapsulate the `lame` commandline binary for
> encoding and either something like Secret Rabbit Code or even a
> handcrafted frontend to liblame for decoding? What you could do is run
> a Csound orchestra that calls "system" and then have that run another
> Csound file that writes to audio while using the instantiating version
> to convert to mp3 once rendered.
>
> http://www.csounds.com/manual/html/system
>
> I think it should be possible with the latest release of vanilla
> Csound ... if not why not just convert your source audio in Audacity
> to a linear pcm format and use like normal in Csound with your GEN01,
> diskin2, soundin, table etc?