28 Nov
2005
28 Nov
'05
7:02 p.m.
I'd like to make a pitched sample playing function which, given a sample at a known pitch (say C-2) and a MIDI pitch value (0-127), plays the sample at that pitch. I suppose this could be done with sndbuf's .rate function and some math but I'm not sure where to start. Any suggestions would be appreciated. Thanks, Ollie