# Modifying and compiling synthdefs

**URL:** <https://in-thread.sonic-pi.net/t/modifying-and-compiling-synthdefs/2143>\
**Category:** Development \[obsolete\]\
**Created:** [March 20, 2019, 10:19pm UTC](https://in-thread.sonic-pi.net/t/modifying-and-compiling-synthdefs/2143 "2019-03-20T22:19:40Z")\
**Posts on this page:** 1\
**Showing post:** 8

<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:** [November 24, 2019, 2:46pm UTC](https://in-thread.sonic-pi.net/t/modifying-and-compiling-synthdefs/2143/8 "2019-11-24T14:46:32Z")

</div>

Hey Martin,

You are right that something extra is needed to make any custom synth accept things like note names.  
(For a little more context, a similar question has been raised previously at [Trouble adding new Synthdefs](http://in-thread.sonic-pi.net/t/trouble-adding-new-synthdefs/2209) for example)  
However, off the top of my head, as far as I remember it would currently be necessary to add a new section into the synthinfo.rb file that contains the metadata for your synth, and within this, you would override a particular function which ‘munges’ the opts before they are sent to SuperCollider, where you would in turn call the function that converts the note names to midi numbers. A bit vague as instructions go, but I’ll add a bit more detail tomorrow if desired and someone else doesn’t chime in first! (It’s late here and I’m off to work in the morning after 3 week’s break) 😱

---

_[View the full topic](https://in-thread.sonic-pi.net/t/modifying-and-compiling-synthdefs/2143)._
