Re: Csound to SAOL conversion

From: John Lazzaro (lazzaro@cs.berkeley.edu)
Date: Wed Aug 08 2001 - 15:35:16 EDT


> Since I'm talking about CSound to SAOL conversion,
> I would like to ask whether there is any application that
> makes this conversion automatically.

The only project I'm aware of is:

http://arena.sci.univr.it/~bellomi/SAOL/

> From my own
> experience, I know it's not an easy task, since the
> conversion is not always "1:1". I mean, adjustments are
> necessary to make the SAOL instruments sound similar to
> the corresponding CSound instruments.

Do you think the compatibility problems are matching up core
opcodes from SAOL and CSound? Or is it differences in the
basics of the two languages's semantics? I'm not actually
very familiar with CSound ...

In general, though, if the hardest issues are core opcode
matching issues, you might consider not using the SAOL
core opcodes at all, and instead starting with the C code
that implements the CSound opcodes, and translating them
into SAOL. Sfront does a pretty good job of translating
straightforward-looking SAOL back into C, and so the
efficiency hit might not be that bad -- especially if you
peek at the sa.c file along the way and reorganize the
code accordingly.

I'm not a lawyer, but there are probably licensing issues
involved if you actually translate CSound's C code into
SAOL in this way ... licensing issues that may not be
an issue if you take a different approach.

> I've found a CSound orchestra/score set that I think
> it's interesting. I've used these files as a basis to convert the
> CSound representation into an MPEG-4 (i.e. SAOL/SASL)
> representation.

This would be a good test case for rendering run-time performance
too ...

Listening to the two MP3s, the biggest difference seems to be
the snare-drum timbre on the high end ...

-------------------------------------------------------------------------
John Lazzaro -- Research Specialist -- CS Division -- EECS -- UC Berkeley
lazzaro [at] cs [dot] berkeley [dot] edu www.cs.berkeley.edu/~lazzaro
-------------------------------------------------------------------------



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 11:46:43 EST