« Return to Thread: Smoothing continuous midi data

Smoothing continuous midi data

by Charles Gran :: Rate this Message:

Reply to Author | View in Thread

If I hold a note on this test instrument and I move the volume slider
quickly I get pronounced crackling, this is less noticeable when I
move the slider more slowly.
On my XP PC with ASIO drivers this goes away when I set the sampling
rate to 88200.  In the lower sampling rate, 44100, is there some kind
of stepping that is happening?
On my IMAC the crackling doesn't seem to improve much with the sampling rate.

-Charles

<CsoundSynthesizer>
<CsOptions>
-M0  -odac -b100 -B256
</CsOptions>

<CsInstruments>
sr = 88200
kr = 8820
ksmps = 10
nchnls = 1

initc7 1,7,.5

instr   1
  ifqc cpsmidi
  iamp ampmidi 5000
  kenv linenr  iamp, .01, .1, .01 ;gain
  kamp ctrl7 1, 7, 0, 1
 a1 oscili kenv*kamp, ifqc, 1
out a1
endin
</CsInstruments>

<CsScore>
; Sine wave
f1 0 16384 10 1
i1 0 3600
</CsScore>
</CsoundSynthesizer>


Send bugs reports to this list.
To unsubscribe, send email sympa@... with body "unsubscribe csound"

 « Return to Thread: Smoothing continuous midi data