Csound Csound-dev Csound-tekno Search About

Whoops! was Re: linux csound: some realtime benchmark attempts

Date1998-06-29 19:09
FromPaul Winkler
SubjectWhoops! was Re: linux csound: some realtime benchmark attempts
I forgot the orc & sco for that benchmark utility. Here they are.

; ORCHESTRA
sr          =           44100
kr          =           4410
ksmps       =           10
nchnls      =           1

            instr 1
;p4 = freq of fundamental in Hz
;p5 = amp in dB
iamp = ampdb(p5)
a1      oscil  iamp, p4, 1     
out a1
endin

			instr 2
; same but using oscili
;p4 = freq of fundamental in Hz
;p5 = amp in dB
iamp = ampdb(p5)
a1      oscili  iamp, p4, 1     
out a1
endin




; SCORE
f1 0 32768 10 1 ; great big sinusoid table.
f0 1000 ; dummy line to keep score active for a long time.


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com