Csound Csound-dev Csound-tekno Search About

[Csnd] Midi Notes Out in Real Time

Date2012-12-28 04:55
FromWilliam Wignall
Subject[Csnd] Midi Notes Out in Real Time
AttachmentsAlias 2.csd  
Hello All,

I am completely stumped on a problem. I want to get MIDI notes out in real-time for a pitch tracker. I can have notes triggered when the note numbers change (like 'midion2'). This works perfectly except when the player stops this leaves a hanging note. How do I get rid of the hanging note?!?!?!?

'midion2' has this problem and there's no way to get rid of it, so I tried to use 'midiout' opcodes thinking I could do it better that way. I still have the very same problem and I can't figure it out.

Does anyone have any ideas? I don't know what to do about this any more.

Attached is the CSD, it's a little too big to copy here.

Thanks,
Trev

Date2012-12-28 05:03
FromWilliam Wignall
Subject[Csnd] Re: Midi Notes Out in Real Time
PS:

I must also not have two or more note-offs in a row.

On Thu, Dec 27, 2012 at 11:55 PM, William Wignall <wwignall@berklee.edu> wrote:
Hello All,

I am completely stumped on a problem. I want to get MIDI notes out in real-time for a pitch tracker. I can have notes triggered when the note numbers change (like 'midion2'). This works perfectly except when the player stops this leaves a hanging note. How do I get rid of the hanging note?!?!?!?

'midion2' has this problem and there's no way to get rid of it, so I tried to use 'midiout' opcodes thinking I could do it better that way. I still have the very same problem and I can't figure it out.

Does anyone have any ideas? I don't know what to do about this any more.

Attached is the CSD, it's a little too big to copy here.

Thanks,
Trev


Date2012-12-28 05:18
FromWilliam Wignall
Subject[Csnd] Re: Midi Notes Out in Real Time
AttachmentsAlias 2 another one.csd  
OK, well I think I might have found a work around. But! I'm still curiose if anyone has any thoughts about this. My workaround is attached.

Trev

On Fri, Dec 28, 2012 at 12:03 AM, William Wignall <wwignall@berklee.edu> wrote:
PS:

I must also not have two or more note-offs in a row.


On Thu, Dec 27, 2012 at 11:55 PM, William Wignall <wwignall@berklee.edu> wrote:
Hello All,

I am completely stumped on a problem. I want to get MIDI notes out in real-time for a pitch tracker. I can have notes triggered when the note numbers change (like 'midion2'). This works perfectly except when the player stops this leaves a hanging note. How do I get rid of the hanging note?!?!?!?

'midion2' has this problem and there's no way to get rid of it, so I tried to use 'midiout' opcodes thinking I could do it better that way. I still have the very same problem and I can't figure it out.

Does anyone have any ideas? I don't know what to do about this any more.

Attached is the CSD, it's a little too big to copy here.

Thanks,
Trev