re-pitching recorded audio?

is it possible to re-pitch recorded audio on playback? if so is it only possible to play back at certain sample rates 44100, 22050, 11025 etc rather than an arbitrary number?

thanks
j

[import]uid: 6645 topic_id: 3569 reply_id: 303569[/import]

try this:

local actualPitch = 2
local aSound = audio.loadSound( "aSound.mp3" )
local channel, source = audio.play( aSound ) 
al.Source(source, al.PITCH, actualPitch)

your file will be played pitched up by one octave