| > A few questions:
> What is sr and what is nsmps?
sr is the samplingrate (audio sampling rate), and
nsmps is sr/kr (audio sr / control samplingrate)
> Can you give a list of opcodes you use?
In the meantime I could track it down a little more, but it's
somehow strange:
I have 3 normal intruments, each giving besides normal output
an output to a global reverb audio variable: gahall = gahall + 0.2*aout
Then I have a reverb instrument that resets gahall at the end.
The whole thing is controlled by a midi file, or via MIDI realtime input
(the problem appears in both cases).
Now there are 2 things:
- If I don't start the reverb instrument (it's not controlled by
MIDI, it's in the .sco file, like 'i99 0 150000'), it works
with kr >= 22050, no problem.
- Having thought now that the bug is in the 'reverb2' (or was it reverb1, I'm
not sure now) opcode, I took it out and realized my reverbation with
'convolve' plus an impulse response. But then again, the problem
occurs.
And there's one more thing: It's not a sr=kr problem, but an sr>=22050
problem: If I set 'sr' to 44100, it works as long as kr = 11025 or less.
But if I now set 'sr' to 22050, kr may again be 11025 or less in order
to work... So all 'nyquist' kinda things are out. It must somehow be
something about the global variable, I really don't know. If I find time,
I try to create a minimal not working orc/sco/mid that I can mail to
you (if you want), because the one's that I'm using now are very
complex, and it's a lot of work to localize a bug there
Regards,
|