Cabbage Logo
Back to Cabbage Site

I often have this problem

Hi,

I often have this problem: audio activity always present, even if it is played nothing.
what am I doing wrong?

please help me…

R

demo.csd (2.3 KB)

I don’t use the plugin interface much so I’ve not noticed this, but I suspect it might be the value of the last sample when you press stop. I assume there is no sound?

exactly , there is no sound, the overall level seems still very high . When I play, often going all in clip

I thought:
the minimum value of Sustain, (.001) is multiplied by kmaster; if you get up to the maximum, also the level of this signal is raised.

maybe I’m wrong semantics of the code? (PS: when I close Cabbage, I hear a “sound click”)

R

If instr 1 is to be activated by midi you don’t need i1 0 5000 in the score (this note event might be the cause). If you need to sustain performance you use adummy score event eg: f 0 100000 to keep Csound from exitting but in more recent versions of Csound you don’t even need that.

Many thanks!

I modified the code and now it works!
I had to add a dummy event anyway ( thanks to have suggested! ): otherwise Csound gives error.

demo.csd (2.3 KB)

R