# Physical synths in synthinfor.rb

**URL:** <https://in-thread.sonic-pi.net/t/physical-synths-in-synthinfor-rb/3237>\
**Category:** Support, Help & Resources\
**Created:** [February 4, 2020, 12:19pm UTC](https://in-thread.sonic-pi.net/t/physical-synths-in-synthinfor-rb/3237 "2020-02-04T12:19:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris.krakou](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chris.krakou](https://in-thread.sonic-pi.net/u/chris.krakou)\
**Post date:** [February 4, 2020, 12:19pm UTC](https://in-thread.sonic-pi.net/t/physical-synths-in-synthinfor-rb/3237/1 "2020-02-04T12:19:10Z")

</div>

I saw in [this thread](http://in-thread.sonic-pi.net/t/prototype-of-a-vocoder-in-sonic-pi/1247/4) that it’s possible to define your own synths “natively” by editing the synthinfo.rb file. From the example I can get the gist of it. My question is whether I can make something similar for an external synth, like my SE-02, which is connected via MIDI?

---

<div class="post-metadata">

**Author:** ![xavierriley](https://dub1.discourse-cdn.com/flex017/user_avatar/in-thread.sonic-pi.net/xavierriley/32/9_2.png) [@xavierriley](https://in-thread.sonic-pi.net/u/xavierriley)\
**Post date:** [February 6, 2020, 9:00am UTC](https://in-thread.sonic-pi.net/t/physical-synths-in-synthinfor-rb/3237/2 "2020-02-06T09:00:49Z")

</div>

I’m afraid not at the moment although it’s an interesting idea.

Right now the `play` and `synth` methods are built around the idea that an OSC message gets sent to the SuperCollider server.

If you wanted to make it easier to call an external synth you could try prototyping a function, say `midi_synth`, in which you wrap up all the code you’d normally use to trigger it. I’m afraid I don’t really have a midi setup myself so I can’t test this out right now.

---

<div class="post-metadata">

**Author:** ![chris.krakou](https://avatars.discourse-cdn.com/v4/letter/c/e5b9ba/32.png) [@chris.krakou](https://in-thread.sonic-pi.net/u/chris.krakou)\
**Post date:** [February 6, 2020, 10:06am UTC](https://in-thread.sonic-pi.net/t/physical-synths-in-synthinfor-rb/3237/3 "2020-02-06T10:06:38Z")

</div>

I’ll try and do that, and post what I arrive at.

---

<div class="post-metadata">

**Author:** ![ethancrawford](https://avatars.discourse-cdn.com/v4/letter/e/a88e4f/32.png) [@ethancrawford](https://in-thread.sonic-pi.net/u/ethancrawford)\
**Post date:** [February 6, 2020, 10:28am UTC](https://in-thread.sonic-pi.net/t/physical-synths-in-synthinfor-rb/3237/4 "2020-02-06T10:28:08Z")

</div>

This may be relevant: [https://github.com/samaaron/sonic-pi/issues/2034](https://github.com/samaaron/sonic-pi/issues/2034)
