Newbie question about global instruments
| Date | 2017-06-15 16:29 |
| From | 16bitpm |
| Subject | Newbie question about global instruments |
Hello,
In online manuals, the CSound book, etc... I see mosty constructions like
this:
;;;;; Official TOOT09 Global Reverb ;;;;;;
instr 9
idur = p3
iamp = p4
iskiptime = p5
iattack = p6
irelease = p7
ibalance = p8 ; 1 = left, .5 = center, 0 =
right
irvbgain = p9
kamp linen iamp, iattack, idur, irelease
asig soundin "hellorcb.aif", iskiptime
arampsig = kamp * asig
outs arampsig * ibalance, arampsig * (1 - ibalance)
garvbsig = garvbsig + arampsig * irvbgain
endin
instr 99
irvbtime = p4
asig reverb garvbsig, irvbtime ; put global sig into reverb
outs asig, asig
garvbsig = 0 ; then clear it
endin
Now I don't understand this. If I wanted global stereo reverb:
- why would I send only the mono signal to garvbsig? I would expect two
global variables for left and right.
- why is instr 99 a "dual mono" instrument but it is still called a stereo
instrument?
- why does the CSound book mentions on page 58: "Note that the dry signal
is still sent out directly, using the out opcode."? What is wrong with
leaving that part out of instr 9?
Greetings,
-d-
P.S. : this is my first post, I hope I don't break any rules :)
--
View this message in context: http://csound.1045644.n5.nabble.com/Newbie-question-about-global-instruments-tp5756669.html
Sent from the Csound - General mailing list archive at Nabble.com.
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2017-06-15 16:47 |
| From | "Jeanette C." |
| Subject | Re: Newbie question about global instruments |
Jun 15 2017, 16bitpm has written:
...
> - why would I send only the mono signal to garvbsig? I would expect two
> global variables for left and right.
possibly for ease of use and only hyaving a mono soundfile. You can of
course have two reverb inputs.
> - why is instr 99 a "dual mono" instrument but it is still called a stereo
> instrument?
It is stereo, it output two channels, which are supposed to be used as
left and right, which makes it stereo. Well the input in this case is
mono, but you can rewrite that.
> - why does the CSound book mentions on page 58: "Note that the dry signal
> is still sent out directly, using the out opcode."? What is wrong with
> leaving that part out of instr 9?
And put it where? Nowhere at all? Possible? Putting it into the reverb
instrument gives you less control over dry/wet mixing.
...
Best wishes,
Jeanette
--------
When you need someone, you just turn around and I will be there <3
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |