Csound Csound-dev Csound-tekno Search About

problem with fmmetal

Date1999-09-13 23:48
FromSherlock
Subjectproblem with fmmetal
Read the following text carefully. Perhaps one of you can help me.

begin text
I think this command, fmmetal, needs some work. I get static and AM
radio
noises with it.
What did I do wrong?
I suspect it is with kc1 or kc2 or both. I did not know what to put
there.




;ORC

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

; global volume
givol = 0.2


;--------------------------------------------
;      instrument for miditrack 1
;--------------------------------------------

	instr 1

; ------- included from d:\samples/fmmetal.orc ------

;instr 1
kfreq   = p5
kamp    = p4
kc1     = 1
kc2     = 1
kvdepth = 0.05
kvrate  = 0.05
ifn1    = 18
ifn2    = 1
ifn3    = 1
ifn4    = 18
iv      = 18



a1 fmmetal kamp,kfreq,kc1,kc2, kvdepth, kvrate, ifn1, ifn2, ifn3, ifn4,
iv
a2 butterlp a1, 1000
 aright = a2; right;
 aleft = a2; leftl;
;out a1
;endin
; ------- end include ------

	out aright*(givol*1.00)

	endin

;SCO

f1  0 4096  10   1  0  .5 0 .5

f18  0 4096 10   1

f19  0 4096 10   1  .5 .333 .25 .2 .166 .142 .125 .111 .1 .09 .083 .076
.071 .066 .062
; LIFEFORM.MID - Csound score
; created by Midi2Cs 0.95
; Mon Sep 13 17:23:07 1999

; qticks: 192
; trackname: Lt. Cmdr. Data
; time: 01/04 beat
; time: 24 clocks per quarter note
; time: 08 notated 32-nd notes in a MIDI quarter-note
; key signature sf=0 mi=0
;	(sf: -7=7flats  -1=1flat  0=key of C  1=1sharp  7=7sharps
;	mi: 0=major key  1=minor key)
; time: 04/04 beat
; time: 24 clocks per quarter note
; time: 08 notated 32-nd notes in a MIDI quarter-note
; tempo
t 0 120.0000 
;--------------------------------------------
;      miditrack 1     instrument 1
;--------------------------------------------
; p1 = instr
; p2 = start
; p3 = duration
; trackname: tk1
; meta event 0x20 - 0x0
; volume control 69
; pan control 64
; program number 0 (GM Acoustic Grand)
i01    0.00000   1.0000  25000   164.81378 ;  E0 ch01 
i01    1.00000   1.5000  25000  5274.04091 ;  E5 ch01 
i01    1.00000   1.5000  25000  1318.51023 ;  E3 ch01 
i01    2.50000   1.0000  25000  5919.91076 ; F#5 ch01 
i01    2.50000   1.0000  25000  1479.97769 ; F#3 ch01 
i01    3.50000   0.5000  25000  7040.00000 ;  A5 ch01 
i01    3.50000   0.5000  25000  3520.00000 ;  A4 ch01
________________________________________________________
NetZero - We believe in a FREE Internet.  Shouldn't you?
Get your FREE Internet Access and Email at