[PD] pd-scheme / SIOD

Orm Finnendahl o.finnendahl at inm.mh-freiburg.de
Tue Sep 17 14:56:27 CEST 2013


Hi Luigi,

Am Dienstag, den 17. September 2013 um 11:29:02 Uhr (+0200) schrieb
Luigi Rensinghoff:
> 
> I found i nice "scheme" script in the context of the
> linux-sound-editor "snd", that synthesizes plenty of birds, animals
> and insects.

That really is a very nice and sweet thing.

> So i was wondering if it possible to get this running inside of PD,
> so i can be played in realtime...

This would require an enormous amount of work: The scheme code in snd
refers to a special built-in scheme (called s7) with lots of
optimizations (and to my knowledge foreign, non-scheme code) for sound
processing.

> How difficult is it to compile "SIOD" on OS X ?

I've used it >10 years ago on linux and it was no big deal. I didn't
look into it lately but I don't think it's very diffcult on OSX. Bear
in mind though, that siod is a very small interpreter. It's primary
focus is on scripting and prototyping in the control realm, not doing
audio.

If you really want to use snd's functions and the birdsong code, my
guess for the easiest way would be to create a small abstraction for
running snd with s7 as a pd subprocess or -even without programming-
piping to an external snd process (e.g. via sockets) and for capturing
snd's audio out either by creating a loopback via jack and pd's adc~
or by patching into snd's output routines. Lookup the snd
documentation about running snd as an inferior emacs subprocess to get
an idea of how this works.

HTH,
Orm



More information about the Pd-list mailing list