math on inchannels

From: Peter Maas (peter.maas@student-kmt.hku.nl)
Date: Tue May 23 2000 - 06:41:53 EDT


Sorry for interupting your discussion about udo's........
but I've got the following question:

I'm building this realtime DSP thing for A Guitar player I know, everything works fine. Except if I try to do simply math with the audio signal.

for example:

instr wshaper()
{
      output(sin(input[0]*3.14))
}

This doesn't result in the expected waveshaping result it is supposed to be........ It works fine in situations w.o. realtime input.

Are there some rules for realtime input which I'm unaware of?

Peter Maas
-------------------
www.saol.net



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 12:03:56 EST