audio - Portaudio: Importing sound example into my buffer -
i in need of once again.
short version: can import sound clips portaudio? if not, can 'realistic' sound examples, converted discrete values can store sound buffers?
long version: part of mini-project, have decided implement hrtf. this, using portaudio (http://www.portaudio.com/) c/c++ library sound manipulation. part of trying simulate itd (inneraural time difference). purpose, portaudio generates sinus wave , stores buffer, though sinus wave problematic use testing. thats why in need of 'realistic' sound example. issue is, can't seem find portaudio function allows me import sound clips , store them buffer. second option sound clip converted discrete values , stored array. copy array own buffer, though have no clue of such arrays, , don't know if exist.
so question is: portaudio allow import own sound clip, , if not, can find arrays in sound clips stored in discrete values.
if there questions regarding question, pleas ask. best regards - marc pilgaard
portaudio audio playback/recording library. neither manipulates sound, nor bring facilities load/store sounds. realizes buffer --> speaker , microphone --> buffer.
if understand right looking library let's load wav or mp3 files buffer in turn can played portaudio. since in c world best step use libsndfile mimics standard c file access interface loading , writing pcm files, such wav.
Comments
Post a Comment