# Midi in events not triggering

**URL:** <https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492>\
**Category:** Support, Help & Resources\
**Created:** [March 22, 2020, 10:01pm UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492 "2020-03-22T22:01:18Z")\
**Posts on this page:** 8\
**Page:** 2

<div class="post-metadata">

**Author:** ![BN1701](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@BN1701](https://in-thread.sonic-pi.net/u/BN1701)\
**Post date:** [July 17, 2020, 12:16pm UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492/21 "2020-07-17T12:16:19Z")

</div>

> [@nlb](#):
>
> as you use 3…2.2, your code should use /midi\*/note\_on no ?

In this instance I just used the auto-suggested port ID that was provided. I have noticed that these port IDs will vary between sessions and yes, it would be a good idea to use wild cards to avoid being too specific - though I will always want to name a specific interface and midi channel.

> [@nlb](#):
>
> sorry but to be clear what do you want to do ? Use reaper to send midi notes to spi ? use sonic pi to send midi notes to reaper ? the midi link is created via loopMIDI ?

Overall, I’m just exploring and have no specific application in mind at the moment. I used Reaper here to illustrate the port-sharing issue as it is the DAW that I’m most familiar with. In other instances it might have been Ableton, or other midi enabled apps like VCV Rack, or specific synth editors.

I do know that the port sharing issue will be a wider problem for a lot of people and I think the ability to enable/ignore specific ports will be invaluable in these situations. I have a lot of outboard synths and I can easily imagine a scenario where Sonic Pi is controlling some of them but other sequencers (e.g. Ableton) are controlling others. (And here’s where I might use loopMidi to send midi data and clock between them.)

I will look a way of submitting a feature request.

> [@nlb](#):
>
> Hope others can help you morenthan i do 😳

Thank you. You _have_ been helpful. The fact that someone answered my questions and engaged with me shows me that this community is alive and welcoming and this has encouraged me greatly to keep learning about it 🙂

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [July 17, 2020, 2:03pm UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492/22 "2020-07-17T14:03:43Z")

</div>

so if i do understand you if i try the following scenario :

- helm (a little synth software) received midi notes via loopmidi01 port
- spi sends to loopmidi01 to play notes via helm
- ableton live sends to loopmidi01 to play notes via helm

it will fail ?

Edit : it works but maybe i misunderstand your pb 🙂 again and again…

 ![spi-ableton-sends-to-helm-via-loopmidi-port](https://europe1.discourse-cdn.com/flex017/uploads/sonic_pi/original/2X/d/dd4b473df384755b3b21c69045182c340cf689d2.gif)

---

<div class="post-metadata">

**Author:** ![Eli](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/eli/32/116_2.png) [@Eli](https://in-thread.sonic-pi.net/u/Eli)\
**Post date:** [July 17, 2020, 4:44pm UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492/23 "2020-07-17T16:44:05Z")

</div>

> [@BN1701](#):
>
> The fact that someone answered my questions and engaged with me shows me that this community is alive and welcoming and this has encouraged me greatly to keep learning about it

Hi BN,

Sounds like you’ve been to places that aren’t quite as friendly as we are.  
If so you have my sympathy.

We get all types of people here, ranging from 10 year olds to 60+'s.

Many have no musical knowledge (me), cant play an instrument (me),  
and break out in a sweat when they look at computer code (yup, also me).

This is a safe place, and there are no stupid questions.

You’ll almost always get a reply within a few hours, depending what time of  
day/night you post, and if it’s something that catches peoples imaginations,  
you’ll get swamped with replys and suggestions.

I think most of us are too busy learning and enjoying SP to get salty with people,  
you know?

Certainly I’ve never seen it, and I’ve hung around maybe 3 years now.

So please relax, dive in, and enjoy SP along with the rest of us.  
Welcome to the madness, matey.

Eli…

---

<div class="post-metadata">

**Author:** ![nlb](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/nlb/32/997_2.png) [@nlb](https://in-thread.sonic-pi.net/u/nlb)\
**Post date:** [July 17, 2020, 5:43pm UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492/24 "2020-07-17T17:43:29Z")

</div>

> [@Eli](#):
>
> So please relax,

hi @Eli,

@BN1701 is very very cool you know 🙂 and in my opinion has never seemed to be nervous or something like angry.  
Cheers

---

<div class="post-metadata">

**Author:** ![BN1701](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@BN1701](https://in-thread.sonic-pi.net/u/BN1701)\
**Post date:** [July 18, 2020, 11:11am UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492/25 "2020-07-18T11:11:06Z")

</div>

> [@Eli](#):
>
> Many have no musical knowledge (me), cant play an instrument (me),  
> and break out in a sweat when they look at computer code (yup, also me).  
> …  
> This is a safe place, and there are no stupid questions.

I’ve been using synths since the end of the seventies and had an alternate life as a programmer until maybe ten years ago, so I guess you could say I’ve been around the block a few times and I’m lucky enough to feel confident about diving into most things new. What I often find though is that when I do come across something interesting it falls over in some way because it’s unfinished and I find there’s no one around to support it. That’s when I get discouraged. A bit like turning up at a party after everyone else has moved on. However, that definitely _doesn’t_ seem to be the case here 🙂

And I do agree that there are no stupid questions.

---

<div class="post-metadata">

**Author:** ![BN1701](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@BN1701](https://in-thread.sonic-pi.net/u/BN1701)\
**Post date:** [July 20, 2020, 11:31am UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492/26 "2020-07-20T11:31:09Z")

</div>

> [@nlb](#):
>
> so if i do understand you if i try the following scenario :
> 
> - helm (a little synth software) received midi notes via loopmidi01 port
> - spi sends to loopmidi01 to play notes via helm
> - ableton live sends to loopmidi01 to play notes via helm
> 
> it will fail ?
> 
> Edit : it works but maybe i misunderstand your pb 🙂 again and again…

Nothing in that scenario is using a the Windows USB class compliant driver so everything should work. The class compliant driver is only for USB hardware that doesn’t have a custom driver. And (I think) loopMidi ports can be shared, too. If I remember correctly, the guy who wrote loopMidi also offers a service writing custom drivers for other vendors, so I assume he understands the requirements completely 🙂

I haven’t come across Helm, by the way, I’ll check it out at some point.

---

<div class="post-metadata">

**Author:** ![zabladowski](https://avatars.discourse-cdn.com/v4/letter/z/c6cbf5/32.png) [@zabladowski](https://in-thread.sonic-pi.net/u/zabladowski)\
**Post date:** [September 5, 2020, 12:35pm UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492/27 "2020-09-05T12:35:42Z")

</div>

Hello,

I’ve faced a similar problem while trying to sync MIDI events from a Roland V-Drums.

Syncing using the following path didn’t work:

`note, velocity = sync "/midi:td-1:0:10/note_on"`

So I’ve followed the \* trick mention above:

`note, velocity = sync "/midi*/note_on"`

It’s not a problem for me because I didn’t intend to sync multiple MIDI devices at the same time but it’s still didn’t get the root cause.

---

<div class="post-metadata">

**Author:** ![samaaron](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/samaaron/32/7_2.png) [@samaaron](https://in-thread.sonic-pi.net/u/samaaron)\
**Post date:** [September 5, 2020, 3:27pm UTC](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492/28 "2020-09-05T15:27:36Z")

</div>

@zabladowski apologies - the issue you’re facing is known and we have a fix already applied which will be part of the next release which is taking a bit longer than expected to release. Hopefully in the next month or so.

[Previous page](https://in-thread.sonic-pi.net/t/midi-in-events-not-triggering/3492.md?page=1)
