[Csnd] midi reset for hanging notes
| Date | 2011-11-26 23:39 |
| From | zappfinger |
| Subject | [Csnd] midi reset for hanging notes |
Hi,
Is there some sort of midi reset or midi 'panic' function to reset all midi?
I was happily playing along with midi and csound generated patterns, when I
got hanging notes.
Starting up Csound after that kept the hanging notes.
Last time this happened I had to restart my Mac to get everything back to
normal again.
I added massign 0,0 and massign 1,1, but that did not solve it..
Richard
--
View this message in context: http://csound.1045644.n5.nabble.com/midi-reset-for-hanging-notes-tp5025674p5025674.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-11-27 10:18 |
| From | Stefan Thomas |
| Subject | Re: [Csnd] midi reset for hanging notes |
| I have sometimes the same problems. You can make it better by changing the buffer.size (-b and -B flags in the commandline or the options). And does Your keyboard have a all-notes-off key?
2011/11/27 zappfinger <zappfinger@gmail.com> Hi, |
| Date | 2011-11-27 12:53 |
| From | Tito Latini |
| Subject | Re: [Csnd] midi reset for hanging notes |
| Attachments | None |
| Date | 2011-11-27 13:00 |
| From | zappfinger |
| Subject | [Csnd] Re: midi reset for hanging notes |
Hi Stefan,
I am using -B256 -b64 to get the lowest possible latency for midi.
The keyboard is a Casio electronic piano, coming in via USB midi.
Next time it happens I will also startup Logic to see if this can reset it.
Logic never has these kind of problems with midi, BTW...
Tito, thanks, I will try this as well.
Richard
--
View this message in context: http://csound.1045644.n5.nabble.com/midi-reset-for-hanging-notes-tp5025674p5026424.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-11-27 13:07 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] Re: midi reset for hanging notes |
Are the hanging notes on Csound or on another synthesizer?
On 27 Nov 2011, at 13:00, zappfinger wrote:
> Hi Stefan,
>
> I am using -B256 -b64 to get the lowest possible latency for midi.
> The keyboard is a Casio electronic piano, coming in via USB midi.
> Next time it happens I will also startup Logic to see if this can reset it.
> Logic never has these kind of problems with midi, BTW...
>
> Tito, thanks, I will try this as well.
>
> Richard
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/midi-reset-for-hanging-notes-tp5025674p5026424.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-11-27 13:07 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] midi reset for hanging notes |
What about midiout?
On 27 Nov 2011, at 12:53, Tito Latini wrote:
> Here is a simple solution, but oddly the outic opcode doesn't works
> well with gnu/linux. Is it a bug?
>
> instr midipanic
> ichn = 1
> loop:
> ;; poly mode on (also note off) and portamento time 0
> outic ichn, 127, 0, 0, 127
> outic ichn, 5, 127, 0, 127
> loop_le ichn, 1, 16, loop
> endin
>
> tito
>
> On Sat, Nov 26, 2011 at 03:39:22PM -0800, zappfinger wrote:
>> Hi,
>>
>> Is there some sort of midi reset or midi 'panic' function to reset all midi?
>> I was happily playing along with midi and csound generated patterns, when I
>> got hanging notes.
>> Starting up Csound after that kept the hanging notes.
>> Last time this happened I had to restart my Mac to get everything back to
>> normal again.
>>
>> I added massign 0,0 and massign 1,1, but that did not solve it..
>>
>> Richard
>>
>> --
>> View this message in context: http://csound.1045644.n5.nabble.com/midi-reset-for-hanging-notes-tp5025674p5025674.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"
>
>
> 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-11-27 13:15 |
| From | Tito Latini |
| Subject | Re: [Csnd] midi reset for hanging notes |
| Attachments | None |
| Date | 2011-11-27 13:44 |
| From | Tito Latini |
| Subject | Re: [Csnd] midi reset for hanging notes |
| Attachments | None |
| Date | 2011-11-27 13:55 |
| From | Tito Latini |
| Subject | Re: [Csnd] midi reset for hanging notes |
| Attachments | None |
| Date | 2011-11-27 14:08 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] midi reset for hanging notes |
Ok, thanks, I've made the changes. But I am wondering whether if these checks were there we should keep them and check for channel/controller matches. Anyway, for now this is enough.
Victor
On 27 Nov 2011, at 13:55, Tito Latini wrote:
> Victor, IDEM in midiout.c for the following opcodes:
> out_aftertouch, out_poly_aftertouch, out_progchange (prog_num instead last_value),
> out_controller14, out_pitch_bend
>
> tito
>
>
> 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-11-27 14:16 |
| From | zappfinger |
| Subject | [Csnd] Re: midi reset for hanging notes |
They are on Csound. Csound is reacting to midi events and generating a score
at the same time.
Richard
--
View this message in context: http://csound.1045644.n5.nabble.com/midi-reset-for-hanging-notes-tp5025674p5026526.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-11-27 14:25 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] Re: midi reset for hanging notes |
Ok, so a turnoff2 should do the job for you. Check out the manual page for the options.
On 27 Nov 2011, at 14:16, zappfinger wrote:
> They are on Csound. Csound is reacting to midi events and generating a score
> at the same time.
>
> Richard
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/midi-reset-for-hanging-notes-tp5025674p5026526.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-11-27 14:33 |
| From | Tito Latini |
| Subject | Re: [Csnd] midi reset for hanging notes |
| Attachments | None |
| Date | 2011-11-27 14:51 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] midi reset for hanging notes |
You mean if (value != p->last_value || *p->chn != p->lastchn || *p->num != p->lasctrl), probably?
On 27 Nov 2011, at 14:33, Tito Latini wrote:
> These functions are also used by the krate opcodes,
> therefore I think that the check served to avoid
> to send the same messages to the synth. For example,
> with ksmps=64, we also have about 690 midi cc/s when
> the value in csound doesn't change. It is better perhaps
> (chan_check && cc_check && value_check)
>
> tito
>
> On Sun, Nov 27, 2011 at 02:08:58PM +0000, Victor Lazzarini wrote:
>> Ok, thanks, I've made the changes. But I am wondering whether if these checks were there we should keep them and check for channel/controller matches. Anyway, for now this is enough.
>>
>> Victor
>>
>> On 27 Nov 2011, at 13:55, Tito Latini wrote:
>>
>>> Victor, IDEM in midiout.c for the following opcodes:
>>> out_aftertouch, out_poly_aftertouch, out_progchange (prog_num instead last_value),
>>> out_controller14, out_pitch_bend
>>>
>>> tito
>>>
>>>
>>> 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"
>>
>
>
> 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-11-27 14:52 |
| From | zappfinger |
| Subject | [Csnd] Re: midi reset for hanging notes |
Victor,
I do not see how turnoff2 could benefit here.
Instr 1 is triggered by midi
Instr 2 upto instr 5 are triggered by score.
So there should be no interaction? The (occasional) hanging notes are only
in the midi instrument (instr 1).
Richard
--
View this message in context: http://csound.1045644.n5.nabble.com/midi-reset-for-hanging-notes-tp5025674p5026579.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-11-27 15:06 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] Re: midi reset for hanging notes |
Two ways:
1) In an 'always-on' instrument set up a controller to activate turnoff2
2) In a minimal GUI put a button to activate an instrument holding the turnoff2 code.
Victor
On 27 Nov 2011, at 14:52, zappfinger wrote:
> Victor,
>
> I do not see how turnoff2 could benefit here.
>
> Instr 1 is triggered by midi
> Instr 2 upto instr 5 are triggered by score.
> So there should be no interaction? The (occasional) hanging notes are only
> in the midi instrument (instr 1).
>
> Richard
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/midi-reset-for-hanging-notes-tp5025674p5026579.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-11-27 15:11 |
| From | Tito Latini |
| Subject | Re: [Csnd] midi reset for hanging notes |
| Attachments | None |
| Date | 2011-11-27 15:18 |
| From | Victor Lazzarini |
| Subject | Re: [Csnd] midi reset for hanging notes |
Well I've done the other way round and checked if the values did not match. In GIT now.
On 27 Nov 2011, at 15:11, Tito Latini wrote:
> if (value == p->last_value && *p->chn == p->lastchn && *p->num == p->lasctrl)
> return OK;
>
> On Sun, Nov 27, 2011 at 02:51:38PM +0000, Victor Lazzarini wrote:
>> You mean if (value != p->last_value || *p->chn != p->lastchn || *p->num != p->lasctrl), probably?
>> On 27 Nov 2011, at 14:33, Tito Latini wrote:
>>
>>> These functions are also used by the krate opcodes,
>>> therefore I think that the check served to avoid
>>> to send the same messages to the synth. For example,
>>> with ksmps=64, we also have about 690 midi cc/s when
>>> the value in csound doesn't change. It is better perhaps
>>> (chan_check && cc_check && value_check)
>>>
>>> tito
>>>
>>> On Sun, Nov 27, 2011 at 02:08:58PM +0000, Victor Lazzarini wrote:
>>>> Ok, thanks, I've made the changes. But I am wondering whether if these checks were there we should keep them and check for channel/controller matches. Anyway, for now this is enough.
>>>>
>>>> Victor
>>>>
>>>> On 27 Nov 2011, at 13:55, Tito Latini wrote:
>>>>
>>>>> Victor, IDEM in midiout.c for the following opcodes:
>>>>> out_aftertouch, out_poly_aftertouch, out_progchange (prog_num instead last_value),
>>>>> out_controller14, out_pitch_bend
>>>>>
>>>>> tito
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>
>>>
>>> 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"
>>
>
>
> 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"
|