« Return to Thread: Question about Wind_controller Envelope
Hello!
Have you had a look at some of the release segment envelopes such as linsegr, expsegr, linenr etc?
Also you might need to filter your MIDI controllers to prevent 7-bit quatization noise (zipper noise) with 'port', ''portk' or a low-pass filter. This depends mostly on what it's controlling but your amplitude controlling 'kbreath' will almost certainly benefit with from some smoothing.
Try:
kbreath port kbreath, 0.02
Bye,
Iain
Date: Thu, 25 Jun 2009 04:18:21 -0400
From: jaikai10@...
To: csound@...
Subject: [Csnd] Question about Wind_controller Envelope
Hello csounder!!I just start to learn 'csound'.It is my first visit this mailing list and my first question.(nerves little bit...haha)
I want make a instrument for wind_controller(akai ewi usb).I use cc#2 as an envelope control. But it has a noise when I stop breathing and change note.
I tried to using 'xtratim and release' for smooth release. but this 'release' opcode need velocity off.(velocity off message is always after breath stop.)I tried to using 'if ...kgoto' opcode with breath level. It did'n work, too.As far as I know, envelope generators are just available i-rate.I am trying to solve this problem, and need more information. (unfortunately I don't have any experience about programming language.)Even though it is a stupid question, it is very important for me.(I can't sleep)Would you please show me any opcode, tip ,hint or patch ?It is a simplified patch for the wind_controller.I play this instrument in the Max/MSP<CsoundSynthesizer>
<CsOptions>
-odac -idac -d -M0
</CsOptions>
<CsInstruments>
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
ctrlinit 1, 2, 0
instr 1
kcar chnget "car"
kmod chnget "mod"
kndx chnget "ndx"
kcps cpsmidib
kbreath midictrl 2, 0, 1
a1 foscil kbreath, kcps,kcar, kmod, kndx, 1
outs a1, a1
endin
</CsInstruments>
<CsScore>
f 0 36000
f 1 0 4096 10 1
</CsScore>
</CsoundSynthesizer>
Thank you in advance.P.S. : sorry about my bad English.~~~I hope that you understand what my question is.
Windows Live™: Keep your life in sync. Check it out.
« Return to Thread: Question about Wind_controller Envelope
| Free embeddable forum powered by Nabble | Forum Help |