Csound Csound-dev Csound-tekno Search About

[Csnd] STK opcodes require 0dbfs=1 ?

Date2012-01-16 03:16
FromForrest Cahoon
Subject[Csnd] STK opcodes require 0dbfs=1 ?
I have been trying to use the STKTubeBell opcode and I was just about going crazy because it seemed that no matter how closely my code matched the reference manual example (which ran fine), I was only getting silence.

I finally found the issue; it seems that STKTubeBell (and I'm guessing the other STK opcodes, although I haven't checked) _requires_ the use of 0dbfs=1.  I wasn't in the habit of using that because that used to break the compress opcode (although I understand that's been fixed now).

I tried using my amplitude value in the opcode, ignoring the range 0 to 1 specification in the docs, and I got some very noisy output, so (unsurprisingly) that doesn't seem to work correctly.

I think that at the least, the 0dbfs=1 requirement should be documented in the reference manual, and that ideally the requirement could be removed somehow.

Forrest