[Csnd] massign
| Date | 2011-04-10 21:12 |
| From | menno |
| Subject | [Csnd] massign |
Hi,
using the massign opcode i notice that i can choose whatever channel i like
and when i play i can hear a note. The same goes when using the virtual
midikeyboard.
Is there something wrong with massign, shouldn't it sound only when playing
on midi channel 12?
My example:
; Select audio/midi flags here according to platform
-odac -+rtmidi=virtual -M0 ;;;realtime audio out and realtime midi in
;-iadc ;;;uncomment -iadc if realtime audio input is needed too
; For Non-realtime ouput leave only the line below:
; -o madsr-2.wav -W ;;; for file output any platform
sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1
massign 12,1
instr 1
icps cpsmidi
iamp ampmidi .5
kenv madsr 0.5, 0, 1, 0.5
asig pluck kenv, icps, icps, 2, 1
outs asig, asig
endin
f 2 0 4096 10 1
f0 30 ;runs 30 seconds
e
thanks you,
menno
--
View this message in context: http://csound.1045644.n5.nabble.com/massign-tp4294730p4294730.html
Sent from the Csound - General mailing list archive at Nabble.com.
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2011-04-11 00:31 |
| From | Rory Walsh |
| Subject | Re: [Csnd] massign |
I think MIDI events coming on channel one will trigger instr 1 by default. I can't recall for certain but if you use a higher number for your instrument it should be fine. Rory. On 10 April 2011 21:12, menno |
| Date | 2011-04-11 08:04 |
| From | Andres Cabrera |
| Subject | Re: [Csnd] massign |
Yes, that's the problem. In the example, MIDI from channels 1 and 12 are assigned to instr 1. You might want to do: massign 0,0 To disable all default routing. Cheers, Andres On Mon, Apr 11, 2011 at 12:31 AM, Rory Walsh |
| Date | 2011-04-11 10:19 |
| From | menno |
| Subject | [Csnd] Re: massign |
i tried massign 0,0 but that mutes all channels.
I also tried to rename instrument number 1 to 12, then all 16 midi channels
were using instrument 12?? It also complains: cannot find instrument 1, so i
could not play the instrument.
I find this confusing. I want to assign instrument 1 to midichannel 12. How
do i do that?
Menno
--
View this message in context: http://csound.1045644.n5.nabble.com/massign-tp4294730p4295506.html
Sent from the Csound - General mailing list archive at Nabble.com.
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2011-04-11 10:21 |
| From | menno |
| Subject | [Csnd] Re: massign |
and i mean only instrument 1 to midi channel 12. Perhaps later i like to
assign instrument 1 to midi channel 5?
menno
--
View this message in context: http://csound.1045644.n5.nabble.com/massign-tp4294730p4295509.html
Sent from the Csound - General mailing list archive at Nabble.com.
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2011-04-11 10:22 |
| From | menno |
| Subject | [Csnd] Re: massign |
sorry for the mess, i made a typo in my last message. I meant to say:
and i mean only instrument 1 to midi channel 12. Perhaps later i like to
assign instrument 2 to midi channel 5 as well?
thanks,
menno
--
View this message in context: http://csound.1045644.n5.nabble.com/massign-tp4294730p4295512.html
Sent from the Csound - General mailing list archive at Nabble.com.
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2011-04-11 10:49 |
| From | Andres Cabrera |
| Subject | Re: [Csnd] Re: massign |
Hi, What if you do: massign 0,0 massign 12,1 Cheers, Andres On Mon, Apr 11, 2011 at 10:22 AM, menno |
| Date | 2011-04-11 10:54 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] Re: massign |
I thought
massign 1,12
is what you want. Not sure whether it will work, but you can try doing
massign 1, 5
later.
On 11 Apr 2011, at 10:22, menno wrote:
> sorry for the mess, i made a typo in my last message. I meant to say:
>
> and i mean only instrument 1 to midi channel 12. Perhaps later i
> like to
> assign instrument 2 to midi channel 5 as well?
>
> thanks,
> menno
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/massign-tp4294730p4295512.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body
> "unsubscribe csound"
>
Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2011-04-11 12:55 |
| From | menno |
| Subject | [Csnd] Re: massign |
Hi Andres,
massign 0,0 then massign 12,1 mutes all the midi channels, it seems the
second massign is ignored.
menno
--
View this message in context: http://csound.1045644.n5.nabble.com/massign-tp4294730p4295766.html
Sent from the Csound - General mailing list archive at Nabble.com.
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2011-04-11 13:06 |
| From | menno |
| Subject | [Csnd] Re: massign |
massign 1,12 works but all the midi channels are assigned to instrument 12
and that is not what i want.
When i do:
massign 2,12
there is sound too but all the midi channels are assigned to instrument 12??
Also there is: fluidProgramSelect giengine, 1, isfnum, 0, 56
that assigns the soundfont to channel 1 in this case...
I will investigate this with all its possibilities and come back when i have
made the problem (if there is one) more clear, i am a bit confused at the
moment :)
thanks so far,
Menno
--
View this message in context: http://csound.1045644.n5.nabble.com/massign-tp4294730p4295780.html
Sent from the Csound - General mailing list archive at Nabble.com.
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|
| Date | 2011-04-11 13:23 |
| From | Rory Walsh |
| Subject | Re: [Csnd] Re: massign |
First call "massign 0,0" to disable triggering of all instruments on all channels. Then call "massign 12, 1" to allow triggering on that insturment. If you don't disable triggering of all instruments first it doesn't seem to work. The following code works fine here. |
| Date | 2011-04-11 13:59 |
| From | menno |
| Subject | [Csnd] Re: massign |
Yes my example works too now, thanks Rory.
I am working on examples for massign and your example is bright and clear -
i will build on that!
(And Andres you were right too, thanks)
greetings
Menno
--
View this message in context: http://csound.1045644.n5.nabble.com/massign-tp4294730p4295876.html
Sent from the Csound - General mailing list archive at Nabble.com.
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|