[Fluxus] rfc: (oa-set-pitch)
gabor papp
gabor.lists at mndl.hu
Wed Jun 29 07:43:01 PDT 2011
hi all,
we needed to set the pitch of a sound sample with the fluxus-openal module.
it is added to git now. (oa-play) now returns the sound source id, which
can be used to set the pitch, and possibly also other parameters later.
example:
(define s (oa-load-sample (fullpath "sample.wav")))
(define id (oa-play s (vector 0 0 0) 1 1 #t) ; looping sample
(oa-set-pitch id 2.0)
what do you think? comments are welcome.
best,
gabor
More information about the Fluxus
mailing list