Csound Csound-dev Csound-tekno Search About

[Cs-dev] Opening wav file and putting in table?

Date2005-12-06 21:00
FromIain Duncan
Subject[Cs-dev] Opening wav file and putting in table?
I would like to test my front ends buffering and scheduling by having it 
open a large wave file from disk and drop it into a csound table on the 
fly. Can anyone give me any pointers or recommend good resources on how 
I will need to translate from wav file to raw floats to write into 
csound sample-by-sample? ( The buffering depends on being able to do that. )

Thanks
Iain


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-06 21:16
FromIain Duncan
SubjectRe: [Cs-dev] Opening wav file and putting in table?
Ditto for AIFF.

Iain Duncan wrote:
> I would like to test my front ends buffering and scheduling by having it 
> open a large wave file from disk and drop it into a csound table on the 
> fly. Can anyone give me any pointers or recommend good resources on how 
> I will need to translate from wav file to raw floats to write into 
> csound sample-by-sample? ( The buffering depends on being able to do 
> that. )
> 
> Thanks
> Iain
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log 
> files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2005-12-06 21:37
FromIstvan Varga
SubjectRe: [Cs-dev] Opening wav file and putting in table?
AttachmentsNone  

Date2005-12-06 21:55
FromIain Duncan
SubjectRe: [Cs-dev] Opening wav file and putting in table?
>>I would like to test my front ends buffering and scheduling by having it
>>open a large wave file from disk and drop it into a csound table on the
>>fly. Can anyone give me any pointers or recommend good resources on how
>>I will need to translate from wav file to raw floats to write into
>>csound sample-by-sample? ( The buffering depends on being able to do that.
>>)
> 
> Try using libsndfile (you already have it if you compile and use Csound 5):
>   http://www.mega-nerd.com/libsndfile/api.html

Thanks, will do. Given that I am making an effort to use all the same 
libraries as csound5 itself, I really should have thought of that ...

Iain


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net