<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">example:<br>
(define s (oa-load-sample (fullpath "sample.wav")))<br>
(define id (oa-play s (vector 0 0 0) 1 1 #t) ; looping sample<br>
(oa-set-pitch id 2.0)<br>
<br>
what do you think? comments are welcome.<br>
<br></blockquote><div><br></div><div>In this case "id" refers to a playing voice, and when you use oa-set-pitch to change the pitch as the voice is already running? That sounds like a nice idea, really. IMHO addressing of individual playing voices is under-appreciated in electronic music. MIDI doesn't support it outside of polyphonic after-touch, which is already so exotic that it's rarely implemented.</div>
<div><br></div><div>It looks good as structure to me now, but I'm not sure -from memory- how OA deals with polyphony and potentially voice-stealing. If you want to keep going in this direction you may need some sort of house-keeping that keeps track of the currently running voices.</div>
<div><br></div><div>More generally; clearly OA solves some need that you have that Fluxa won't solve (yet?). It might be worthwhile to figure out how the two will relate to each other. Then again; maybe it would also be nice to simply have 2 different systems for sound.</div>
<div><br></div><div>Yours,</div><div>Kas.</div></div>