# Issues receiving MIDI notes

**URL:** <https://discourse.chair.audio/t/issues-receiving-midi-notes/59>\
**Category:** Tickle\
**Created:** [March 16, 2020, 3:37pm UTC](https://discourse.chair.audio/t/issues-receiving-midi-notes/59 "2020-03-16T15:37:03Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ultranoise](https://discourse.chair.audio/user_avatar/discourse.chair.audio/ultranoise/32/47_2.png) [@ultranoise](https://discourse.chair.audio/u/ultranoise)\
**Post date:** [March 16, 2020, 3:37pm UTC](https://discourse.chair.audio/t/issues-receiving-midi-notes/59/1 "2020-03-16T15:37:03Z")

</div>

Hi hi,  
hope you are all gesund!

I am facing an issue for finishing my embedded instrument with Odroid. I can play all examples with Tickle and Pd without issues. However, I have created a script which basically automatizes all operations needed to play the Tickle at startup:

```
jackd -d alsa -P hw:Device -r 44100 &
sleep 10 
zita-a2j -d hw:tickle -c 1 -r 44100 -j Tickle &
sleep 10
pd -open /home/odroid/Documents/Pd/externals/chair/examples/A01.karplus-strong-pd &
sleep 10
jack_connect Tickle:capture_1 pure_data:input0 &
sleep 1
aconnect 24:0 128:0 &
sleep 1
aconnect 128:1 24:0 &
sleep 1
echo "ok"
wait

```

Basically `hw:Device` is the name of the external usb audiocard, `24:0` is the ID of both MIDI in and out ports for Tickle. Pure data is identified in the `128:0` and `128:1`. With this configuration everything works if I run it manually.

The issue that I have is that, after running this script at startup, Pd receives audio and CC messages correctly from Tickle but Pd does not receive any MIDI note from Tickle (from notein). Sometimes only one MIDI note at the beginning and stops receiving any other.

What could be the reason to receive one thing but not the other? Does it remind it to any line of code ;)? Could it be possible that it disconnects from USB MIDI host somehow at startup? But then, how does it send CC messages?

Second questions, shouldn’t Tickle create two MIDI ports with different IDs? I only have `24:0` both for in and out.

Vielen Dank

---

_[View the full topic](https://discourse.chair.audio/t/issues-receiving-midi-notes/59)._
