Csound Csound-dev Csound-tekno Search About

Octdown & Spectral Data Types

Date1998-05-22 19:52
FromJean-Michel DARREMONT
SubjectOctdown & Spectral Data Types


Hi CSounders,


I expected to try "tempest " opcode in order to make tempo recognition.
For that I began to wrote:

        asig soundin   "Bob.aiff"   ; get external audio
        dsamp octdown  asig, 6, 180, 0  ; downsample in 6 octaves
       wsig noctdft    dsamp, .02, 12, 33, 0, 1, 1 ; and calc 72-point
dft (dB)

wich is the manual example for making spectral data (wsig) and then do
the following:

        ksum specsum wsignal, 1     ; sum the amps of a spectrum
        ktemp tempest ksum, .02, .1, 3, 2, 800, .005, 0, 60, 4, .1, .995
; and look for beats

which is also the manual example for tempo sensing.

Unfortunately CSound 3.47 reports "illegal opcode" for both "octdown"
and "noctdft".

I check the newests manuals but I didn't find anything about that.
Did I make a mistake or did those opcodes have disapeared from 3.47?


CSoundly yours.

--

Jean-Michel DARREMONT

--

"A Palma de Majorque
 Tout le monde est heureux.
 On mange dans la rue
 Des sorbets au citron.
 [...]
 Racontez-moi encore
 Palma des Baleares;
 Je ne connais qu'une ile
 Au milieu de la Marne."

Cocteau Jean