Hi!

I just looked through my own source code again (I had hacked 
together the Razor! sound routines in an evening and then 
never looked at them again), and I noticed that my 
statements below were slightly inaccurate, since I had 
forgotten about the possibility to just turn on a note with 
sndFrqOn and just leave it playing, which was what I was 
thinking about when I talked about hacking the hardware.
So here's what I am actually doing:
At each timestep I play a three voice chord.
- 1st note with freq and (very short) duration (ends 
playback of 3rd note)
- 2nd note with freq and (very short) duration
- 3rd note with freq and leave it playing asynchronously

This results in a nice arpeggio effect.

I guess I will have to look at my code again and figure out 
how to make it use the callback possibilities. This probably 
involves figuring out how to make OS callbacks into C++ 
routines. I'll do it when the weather gets worse...

> Cheers for the info. I've come to the conclusion that playing anything more
> that the basic system sounds is a "version 2.0" feature. 
This might be a good decision, since music on the Palm will 
make your ears bleed, no matter how much effort you put into 
it :-(
I guess by the time the 2.0 is ready, the market will be 
flooded with devices with wonderful streaming digital sound :-)

Cheers,
Tilo


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to