I kind of want to roll my own, it's part of the fun, hence the question about the FFI.
A further question I have about the FFI is whether it's easy or not to use externally linked C functions while in the shell. Do you have to recompile the shell itself to do that?
- Maxime
On 11-03-24 10:24 PM, Stephen Sinclair wrote:
If you're into scheme I highly recommend checking out Snd-RT. it's a bit of a pain to set up but you can do fun things like per-sample DSP calculations in a Scheme-based DSL and edit/compile/load them on the fly while sound is still playing.
Steve
On Thu, Mar 24, 2011 at 7:48 PM,chevalma@iro.umontreal.ca wrote:
I occasionally tinker with sound synthesis in my spare time and, seeing that Scheme would probably be a good language to do this with, I'm curious to know if there are any APIs for Gambit that allow the production of sound output.
If not, could anyone tell me if there is a simple way of importing a C function that takes, say, a pointer to an array of floats as an argument, so I can write and import my own C audio output function. I'd ideally like to present it as a function that takes a list of numerical values (audio samples) as input.
- Maxime
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
Gambit-list mailing list Gambit-list@iro.umontreal.ca https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list