Csound Csound-dev Csound-tekno Search About

[Csnd] Newbie needs Guru's help...please

Date1999-11-12 16:23
FromThomas Judson
Subject[Csnd] Newbie needs Guru's help...please
Dear all Csound Guru's,
	I'm working on an instrument based off of the feedbacfm.orc talked about on 
the list a week or so back.  What I've done is to add a sound in that 
evolves with the feedback.  This creates a great sound that changes over the 
length of the sound.  However, I'm trying to find a way to allow the sample 
to play unchanged for a preset amout of time, and then have the oscil start 
up and effect the sound.  Below is the instr and score so far, just to get 
the altered sound.  Still trying to find away to delay the oscil from 
starting.  If any of you Guru's could help, I would be forever in your debt. 
  Also, I can't remember who first designed the feedbac.orc and would like 
to credit him/her for instr design in my .orc and .sco.  Thanks alot, any 
help or suggestions are most welcome.

Tohm Judson
**********************************************************************
; SampleFeedbac.orc

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

instr 1 ; feedback fm
	iamp=	p4      					;max amplitude
	ifc=    p5      					;center frq
	indx=   p6      					;max. modulation index

asmpl	soundin	p7,1
afrq    init    ifc     				;init. oscil frq to centr frq
a1      oscil   1,afrq+asmpl,1        	;oscillator, normalized to 1
kndx    line    0,p3,indx    	   		;vary modulation index
afm  =  afrq * a1       				;calculate modulation frq
adev =  afm * kndx      				;calculate deviation frq
afrq =  ifc + adev      				;calculate oscil frq
kamp    linseg  0,.1,iamp,p3-.2,iamp,.1,0
aout =  a1 * kamp

out     aout

endin
**********************************************************************
;SampleFeedbac.sco

f1      0       8192    10      1

;instr  start	dur		amp		center	mod		samplename
i1      0      10     	10000    880    .9		"siren.aiff"
e

;Thanks again for the help!






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