Csound Csound-dev Csound-tekno Search About

downsampling

Date2005-10-07 17:37
From"francois blanc"
Subjectdownsampling
Hi everybody!

I'm certainly not gifted, but I try to downsample an signal (not from arate 
to krate), and I can't manage it. I would like to choose the downsampling 
factor in the score. I tried with the samphold opcode, but how to make a 
signal witch is something like (for example)  0 0 0 1 0 0 0 1 to downsample 
four times ?

I managed to do something like 0 1 2 3 0 1 2 3 with "%", and wanted to pick 
the non-zero values, but csound doesn't accept boolean operations on audio 
signals....

Thanks a lot (and also sorry for my poor english).

François.

_________________________________________________________________
2 Go de stockage avec MSN Hotmail Plus ! 
http://join2.msn.com/?pgmarket=fr-fr&page=hotmail/es2&DI=81&XAPID=3940&SU=&HL=hpleftslot