# Midi controller / USB / synth / speaker?

**URL:** <https://forum.clockworkpi.com/t/midi-controller-usb-synth-speaker/1173>\
**Category:** GameShell\
**Tags:** tinkering, usb, midi, music\
**Created:** [August 2, 2018, 7:54pm UTC](https://forum.clockworkpi.com/t/midi-controller-usb-synth-speaker/1173 "2018-08-02T19:54:23Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![edward](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/edward/32/6761_2.png) [@edward](https://forum.clockworkpi.com/u/edward)\
**Post date:** [February 15, 2020, 5:07pm UTC](https://forum.clockworkpi.com/t/midi-controller-usb-synth-speaker/1173/19 "2020-02-15T17:07:42Z")

</div>

and I finally got it to work 🙂  
my .sh file now looks like this:

```
#!/bin/bash

xbindkeys -f ~/.bindsamplerbox 
xterm -e python /opt/SamplerBox/samplerbox.py 

```

and this `.bindsamplerbox` is like this

```
"killall xterm"
Escape

```

I know it’s not the most elegant solution, but it works. I also didn’t bother resetting the binding yet, might just add `&& killall xbindkeys` to the binding itself if I’ll have any issues

---

_[View the full topic](https://forum.clockworkpi.com/t/midi-controller-usb-synth-speaker/1173)._
