EM-Tronic 2020 Mini Synth

1,432

18

2

Introduction: EM-Tronic 2020 Mini Synth

About: Brian McNamara is an experimental instrument builder and sound sculpture artist based in Bungendore, NSW, Australia. Brian mixes his passions for music, electronics and sculpture into unique objects that shou…

This is the EmTronic mini synth, it's a super simple Arduino powered noise maker that I have designed to be easy to build and only requires easy to buy parts. This little synth allows you to control frequency, modulation and the waveform of the sound.

The Arduino sketch uses the awesome the_synth library from DZLOnline.

The 3d printed front panel finishes off the mini synth but you don't need it to make the sounds. You could even build it on a breadboard if that works for you.

Best of all once you're done it's time to experiment with your own mods to the software to make new crazy sounds and mods to the front panel to really get the look you want.

At some point I will sell few finished EmTronics for those who don't want to make their own so check out my store some time at Rarebeasts.

Happy noise making

Brian McNamara

Supplies

  1. Arduino Nano
  2. 10k pcb mount vertical pot(RV09)
  3. Tactile push button switch
  4. 1/8" audio socket(PJ392)
  5. 2.2uF radial capacitor
  6. About 40cn of Wire
  7. 3d printed front panel and support arm, you don't need this for it to work but it's fun
  8. Mini-B USB cable

Tools:

Soldering iron

Solder

Hot glue gun

Side cutters

Wire strippers

Pliers

A computer to loaded with the Arduino IDE and the_synth library(https://github.com/dzlonline)

Step 1: Solder Pots

In this step we solder the 10K pots to the Arduino Nano.

  • Take the two 10k pots and bend the middle pins of each one so they face straight out.
  • Cut the 2 middle pins of the pots to allow just enough tab for you to solder a wire onto later.
  • Solder the pots to the Arduino as shown in the photos, one goes between the GND and 5v pins on the side and the other goes on the GND and 5v pins on the end.
  • Solder small lengths of wire to the middle pins sticking out from the pots.
  • Solder the ends of the wires to A0 and A1 on the Arduino.

Step 2: Fit the Audio Output

In this step we solder on a capacitor and the audio socket to the Arduino. The cap just filters out some of the high frequency noise from the Arduino, you can use a 10uF cap if you find the output is still too noisy.

  • Take the 2.2uF capacitor and bend the wires so they neatly fit between Pins D7 and D11. The capacitor is polarity sensitive so make sure the - side goes to D7 and the + side goes to D11.
  • Solder wires on each leg of the capacitor.
  • Now solder the wire from pin D7 onto the long tab of the 1/8in audio socket.
  • Now solder the wire from pin D11 onto the two small tabs of the 1/8 audio socket. If you strip the wire back a bit further you can fit it through the holes on the two small pins.

Step 3: Fit the Push Button Switch

In this step we add the switch to the Arduino.

  • Take the push button switch and remove 2 legs using the photo as a guide.
  • Solder the switch between the GND and D3 pins on the Arduino with one side of the switch resting on the side of the Arduino reset button.

Step 4: Make the Front Panel and Put It All Together

Now we print the 2 parts and fit the Arduino.

  • Print the front panel from the supplied file, I printed it face up with a 0.25mm layer thickness.
  • Print the support arm, I printed mine on its side with a 0.3mm layer thickness.
  • Now slide the Arduino assembly into the back of the front panel, the 2 pots and the switch should just slide in.
  • Fit the audio socket into front panel and tighten the ring nut.
  • Now use some hot glue to hold the Arduino in place.
  • Fit the support arm to the bevel on the front panel, it should just slide on.

Step 5: Program the Arduino

Ok now we program to the Arduino, you need the Arduino IDE and the the_synth library for this.

  • Download the Arduino IDE and install it on your computer.
  • Download the_synth library from https://github.com/dzlonline , you may need to look up how to add the library to your specific operating system but it's not hard.
  • Download the arduino sketch from above.
  • Connect the EMTronic to your computer via the USB cable(just a hint, make sure it's a data cable and not just one for charging)
  • Load the Arduino sketch Emtronic_2020.ino into the IDE and hit the upload button.

Now hook up a speaker or head phones to the EmTronic and check that it works.

Step 6: How to Play

It's pretty simple, have fun exploring the sounds.

  • When you plug in the USB to the EmTonic it is automatically powers up.
  • The top pot controls the frequency of the synth.
  • The lower pot controls how quickly the sound is repeated giving a modulation effect.
  • The switch cycles through the different wave forms; Sine, square, triangle, saw, ramp and noise.

Step 7: This Is the Fun Bit

Now that you have made the EmTronic the fun begins, go and modify the software to make cool new sounds or change the design of the front panel, a wooden one would look great. It's now up to your imagination to create the synth you want, have fun with it.

Be the First to Share

    Recommendations

    • Backyard Contest

      Backyard Contest
    • Make it Fly Challenge

      Make it Fly Challenge
    • DIY Summer Camp Contest

      DIY Summer Camp Contest

    2 Comments

    0
    tom.lejeune
    tom.lejeune

    Question 1 year ago

    When I upload the code, i get :

    Arduino: 1.8.12 (Windows 7), Board: "Arduino Uno"
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:32:38: error: stray '\302' in program
    <title>the_synth/synth.h at master dzlonline/the_synth GitHub</title>
    ^
    synth.h:32:39: error: stray '\267' in program
    <title>the_synth/synth.h at master dzlonline/the_synth GitHub</title>
    ^
    synth.h:32:61: error: stray '\302' in program
    <title>the_synth/synth.h at master dzlonline/the_synth GitHub</title>
    ^
    synth.h:32:62: error: stray '\267' in program
    <title>the_synth/synth.h at master dzlonline/the_synth GitHub</title>
    ^
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:268:10: error: missing terminating ' character
    <!-- '"` --><!-- </textarea></xmp> --></option></form><form role="search" aria-label="Site" data-scope-type="Repository" data-scope-id="16820005" data-scoped-search-url="/dzlonline/the_synth/search" data-unscoped-search-url="/search" action="/dzlonline/the_synth/search" accept-charset="UTF-8" method="get">
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    synth.h:315:75: error: stray '\342' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:315:76: error: stray '\206' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:315:77: error: stray '\265' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:320:56: error: stray '\342' in program
    <span>↵</span>
    ^
    synth.h:320:57: error: stray '\206' in program
    <span>↵</span>
    ^
    synth.h:320:58: error: stray '\265' in program
    <span>↵</span>
    ^
    synth.h:356:75: error: stray '\342' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:356:76: error: stray '\206' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:356:77: error: stray '\265' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:361:56: error: stray '\342' in program
    <span>↵</span>
    ^
    synth.h:361:57: error: stray '\206' in program
    <span>↵</span>
    ^
    synth.h:361:58: error: stray '\265' in program
    <span>↵</span>
    ^
    synth.h:388:75: error: stray '\342' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:388:76: error: stray '\206' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:388:77: error: stray '\265' in program
    <span aria-hidden="true">↵</span>
    ^
    synth.h:393:56: error: stray '\342' in program
    <span>↵</span>
    ^
    synth.h:393:57: error: stray '\206' in program
    <span>↵</span>
    ^
    synth.h:393:58: error: stray '\265' in program
    <span>↵</span>
    ^
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:759:16: error: missing terminating " character
    <div character
    ">
    ^~
    synth.h:809:69: error: stray '#' in program
    <td id="LC1">#<span>ifndef</span> _SYNTH</td>
    ^
    synth.h:813:69: error: stray '#' in program
    <td id="LC2">#<span>define</span> <span>_SYNTH</span></td>
    ^
    synth.h:845:70: error: stray '#' in program
    <td id="LC10">#<span>include</span> <span><span><</span>avr/pgmspace.h<span>></span></span></td>
    ^
    synth.h:849:70: error: stray '#' in program
    <td id="LC11">#<span>include</span> <span><span><</span>avr/interrupt.h<span>></span></span></td>
    ^
    synth.h:853:70: error: stray '#' in program
    <td id="LC12">#<span>include</span> <span><span>"</span>tables.h<span>"</span></span></td>
    ^
    synth.h:862:70: error: stray '#' in program
    <td id="LC14">#<span>define</span> <span>DIFF</span> <span>1</span></td>
    ^
    synth.h:866:70: error: stray '#' in program
    <td id="LC15">#<span>define</span> <span>CHA</span> <span>2</span></td>
    ^
    synth.h:870:70: error: stray '#' in program
    <td id="LC16">#<span>define</span> <span>CHB</span> <span>3</span></td>
    ^
    synth.h:879:70: error: stray '#' in program
    <td id="LC18">#<span>define</span> <span>SINE</span> <span>0</span></td>
    ^
    synth.h:883:70: error: stray '#' in program
    <td id="LC19">#<span>define</span> <span>TRIANGLE</span> <span>1</span></td>
    ^
    synth.h:887:70: error: stray '#' in program
    <td id="LC20">#<span>define</span> <span>SQUARE</span> <span>2</span></td>
    ^
    synth.h:891:70: error: stray '#' in program
    <td id="LC21">#<span>define</span> <span>SAW</span> <span>3</span></td>
    ^
    synth.h:895:70: error: stray '#' in program
    <td id="LC22">#<span>define</span> <span>RAMP</span> <span>4</span></td>
    ^
    synth.h:899:70: error: stray '#' in program
    <td id="LC23">#<span>define</span> <span>NOISE</span> <span>5</span></td>
    ^
    synth.h:908:70: error: stray '#' in program
    <td id="LC25">#<span>define</span> <span>ENVELOPE0</span> <span>0</span></td>
    ^
    synth.h:912:70: error: stray '#' in program
    <td id="LC26">#<span>define</span> <span>ENVELOPE1</span> <span>1</span></td>
    ^
    synth.h:916:70: error: stray '#' in program
    <td id="LC27">#<span>define</span> <span>ENVELOPE2</span> <span>2</span></td>
    ^
    synth.h:920:70: error: stray '#' in program
    <td id="LC28">#<span>define</span> <span>ENVELOPE3</span> <span>3</span></td>
    ^
    synth.h:929:70: error: stray '#' in program
    <td id="LC30">#<span>define</span> <span>FS</span> <span>20000.0</span> <span><span>//</span>-Sample rate (NOTE: must match tables.h)</span></td>
    ^
    synth.h:938:70: error: stray '#' in program
    <td id="LC32">#<span>define</span> <span>SET</span>(<span>x,y</span>) (x |=(<span>1</span><<y)) <span><span>//</span>-Bit set/clear macros</span></td>
    ^
    synth.h:942:70: error: stray '#' in program
    <td id="LC33">#<span>define</span> <span>CLR</span>(<span>x,y</span>) (x &= (~(<span>1</span><<y))) <span><span>//</span> |</span></td>
    ^
    synth.h:946:70: error: stray '#' in program
    <td id="LC34">#<span>define</span> <span>CHK</span>(<span>x,y</span>) (x & (<span>1</span><<y)) <span><span>//</span> |</span></td>
    ^
    synth.h:950:70: error: stray '#' in program
    <td id="LC35">#<span>define</span> <span>TOG</span>(<span>x,y</span>) (x^=(<span>1</span><<y)) <span><span>//</span>-+</span></td>
    ^
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:2256:71: error: stray '#' in program
    <td id="LC349">#<span>endif</span></td>
    ^
    synth.h:2356:12: error: missing terminating ' character
    <!-- '"` --><!-- </textarea></xmp> --></option></form><form action="" accept-charset="UTF-8" method="get">
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:2410:12: error: stray '\342' in program
    You can’t perform that action at this time.
    ^
    synth.h:2410:13: error: stray '\200' in program
    You can’t perform that action at this time.
    ^
    synth.h:2410:14: error: stray '\231' in program
    You can’t perform that action at this time.
    ^
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:7:1: error: expected unqualified-id before '<' token
    <!DOCTYPE html>
    ^
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:144:25: error: 'up' does not name a type; did you mean 'u8'?
    Sign up
    ^~
    u8
    synth.h:171:267: error: expected unqualified-id before '<' token
    <a href="/features" data-ga-click="(Logged out) Header, go to Features">Features <span>→</span></a>
    ^
    synth.h:184:332: error: expected unqualified-id before '<' token
    <li><a href="/customer-stories" data-ga-click="(Logged out) Header, go to Customer stories">Customer stories <span>→</span></a></li>
    ^
    synth.h:185:308: error: expected unqualified-id before '<' token
    <li><a href="/security" data-ga-click="(Logged out) Header, go to Security">Security <span>→</span></a></li>
    ^
    synth.h:205:299: error: expected unqualified-id before '<' token
    <li><a href="/explore" data-ga-click="(Logged out) Header, go to Explore">Explore GitHub <span>→</span></a></li>
    ^
    synth.h:208:113: error: 'contribute' does not name a type
    <h4>Learn & contribute</h4>
    ^~~~~~~~~~
    synth.h:241:262: error: expected unqualified-id before '<' token
    <a href="/pricing" data-ga-click="(Logged out) Header, go to Pricing">Plans <span>→</span></a>
    ^
    synth.h:249:312: error: expected unqualified-id before '<' token
    <li><a href="/nonprofit" data-ga-click="(Logged out) Header, go to Nonprofits">Nonprofit <span>→</span></a></li>
    ^
    synth.h:250:335: error: expected unqualified-id before '<' token
    <li><a href="https://education.github.com" data-ga-click="(Logged out) Header, go to Education">Education <span>→</span></a></li>
    ^
    synth.h:412:21: error: 'in' does not name a type; did you mean 'sin'?
    Sign in
    ^~
    sin
    synth.h:418:23: error: 'up' does not name a type; did you mean 'u8'?
    Sign up
    ^~
    u8
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:845:149: error: expected unqualified-id before '<' token
    <td id="LC10">#<span>include</span> <span><span><</span>avr/pgmspace.h<span>></span></span></td>
    ^
    synth.h:845:195: error: expected unqualified-id before '<' token
    <td id="LC10">#<span>include</span> <span><span><</span>avr/pgmspace.h<span>></span></span></td>
    ^
    synth.h:849:149: error: expected unqualified-id before '<' token
    <td id="LC11">#<span>include</span> <span><span><</span>avr/interrupt.h<span>></span></span></td>
    ^
    synth.h:849:196: error: expected unqualified-id before '<' token
    <td id="LC11">#<span>include</span> <span><span><</span>avr/interrupt.h<span>></span></span></td>
    ^
    synth.h:853:151: error: expected unqualified-id before '<' token
    <td id="LC12">#<span>include</span> <span><span>"</span>tables.h<span>"</span></span></td>
    ^
    synth.h:853:193: error: expected unqualified-id before '<' token
    <td id="LC12">#<span>include</span> <span><span>"</span>tables.h<span>"</span></span></td>
    ^
    synth.h:938:207: error: expected constructor, destructor, or type conversion before ';' token
    <td id="LC32">#<span>define</span> <span>SET</span>(<span>x,y</span>) (x |=(<span>1</span><<y)) <span><span>//</span>-Bit set/clear macros</span></td>
    ^
    synth.h:938:208: error: 'y' does not name a type
    <td id="LC32">#<span>define</span> <span>SET</span>(<span>x,y</span>) (x |=(<span>1</span><<y)) <span><span>//</span>-Bit set/clear macros</span></td>
    ^
    synth.h:942:174: error: expected unqualified-id before '=' token
    <td id="LC33">#<span>define</span> <span>CLR</span>(<span>x,y</span>) (x &= (~(<span>1</span><<y))) <span><span>//</span> |</span></td>
    ^
    synth.h:942:214: error: expected constructor, destructor, or type conversion before ';' token
    <td id="LC33">#<span>define</span> <span>CLR</span>(<span>x,y</span>) (x &= (~(<span>1</span><<y))) <span><span>//</span> |</span></td>
    ^
    synth.h:942:215: error: 'y' does not name a type
    <td id="LC33">#<span>define</span> <span>CLR</span>(<span>x,y</span>) (x &= (~(<span>1</span><<y))) <span><span>//</span> |</span></td>
    ^
    synth.h:946:176: error: expected unqualified-id before '<' token
    <td id="LC34">#<span>define</span> <span>CHK</span>(<span>x,y</span>) (x & (<span>1</span><<y)) <span><span>//</span> |</span></td>
    ^
    synth.h:946:176: error: expected ')' before '<' token
    synth.h:946:211: error: expected constructor, destructor, or type conversion before ';' token
    <td id="LC34">#<span>define</span> <span>CHK</span>(<span>x,y</span>) (x & (<span>1</span><<y)) <span><span>//</span> |</span></td>
    ^
    synth.h:946:212: error: 'y' does not name a type
    <td id="LC34">#<span>define</span> <span>CHK</span>(<span>x,y</span>) (x & (<span>1</span><<y)) <span><span>//</span> |</span></td>
    ^
    synth.h:950:206: error: expected constructor, destructor, or type conversion before ';' token
    <td id="LC35">#<span>define</span> <span>TOG</span>(<span>x,y</span>) (x^=(<span>1</span><<y)) <span><span>//</span>-+</span></td>
    ^
    synth.h:950:207: error: 'y' does not name a type
    <td id="LC35">#<span>define</span> <span>TOG</span>(<span>x,y</span>) (x^=(<span>1</span><<y)) <span><span>//</span>-+</span></td>
    ^
    synth.h:963:195: error: expected unqualified-id before '<' token
    <td id="LC38"> <span>0</span>, <span>0</span>, <span>0</span>, <span>0</span>}; <span><span>//</span>-Wave phase accumolators</span></td>
    ^
    synth.h:971:212: error: expected unqualified-id before '<' token
    <td id="LC40"> <span>1000</span>, <span>200</span>, <span>300</span>, <span>400</span>}; <span><span>//</span>-Wave frequency tuning words</span></td>
    ^
    synth.h:979:211: error: expected unqualified-id before '<' token
    <td id="LC42"> <span>255</span>, <span>255</span>, <span>255</span>, <span>255</span>}; <span><span>//</span>-Wave amplitudes [0-255]</span></td>
    ^
    synth.h:987:210: error: expected unqualified-id before '<' token
    <td id="LC44"> <span>500</span>, <span>500</span>, <span>500</span>, <span>500</span>}; <span><span>//</span>-Voice pitch</span></td>
    ^
    synth.h:995:221: error: expected unqualified-id before '<' token
    <td id="LC46"> <span>20</span>, <span>0</span>, <span>64</span>, <span>127</span>}; <span><span>//</span>-Voice envelope modulation [0-1023 512=no mod. <512 pitch down >512 pitch up]</span></td>
    ^
    synth.h:999:239: error: expected unqualified-id before '<' token
    <td id="LC47"><span>volatile</span> <span>unsigned</span> <span>int</span> wavs[<span>4</span>]; <span><span>//</span>-Wave table selector [address of wave in memory]</span></td>
    ^
    synth.h:1003:239: error: expected unqualified-id before '<' token
    Multiple libraries were found for "synth.h"
    Used: C:\Users\Tom\Documents\Arduino\libraries\synth
    Not used: C:\Program Files (x86)\Arduino\libraries\synth
    <td id="LC48"><span>volatile</span> <span>unsigned</span> <span>int</span> envs[<span>4</span>]; <span><span>//</span>-Envelopte selector [address of envelope in memory]</span></td>
    ^
    synth.h:1011:213: error: expected unqualified-id before '<' token
    <td id="LC50"> <span>0x8000</span>, <span>0x8000</span>, <span>0x8000</span>, <span>0x8000</span>}; <span><span>//</span>-Envelope phase accumolator</span></td>
    ^
    synth.h:1019:211: error: expected unqualified-id before '<' token
    <td id="LC52"> <span>10</span>, <span>10</span>, <span>10</span>, <span>10</span>}; <span><span>//</span>-Envelope speed tuning word</span></td>
    ^
    synth.h:1023:239: error: expected unqualified-id before '<' token
    <td id="LC53"><span>volatile</span> <span>unsigned</span> <span>char</span> divider = <span>4</span>; <span><span>//</span>-Sample rate decimator for envelope</span></td>
    ^
    synth.h:1027:205: error: expected unqualified-id before '<' token
    <td id="LC54"><span>volatile</span> <span>unsigned</span> <span>int</span> tim = <span>0</span>;</td>
    ^
    synth.h:1031:206: error: expected unqualified-id before '<' token
    <td id="LC55"><span>volatile</span> <span>unsigned</span> <span>char</span> tik = <span>0</span>;</td>
    ^
    synth.h:1035:183: error: expected unqualified-id before '<' token
    <td id="LC56"><span>volatile</span> <span>unsigned</span> <span>char</span> output_mode;</td>
    ^
    synth.h:1215:71: error: expected unqualified-id before '<' token
    <td id="LC99">}</td>
    ^
    In file included from C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:13:0:
    synth.h:2247:73: error: expected unqualified-id before '<' token
    <td id="LC347">};</td>
    ^
    synth.h:2377:39: error: expected unqualified-id before numeric constant
    <li>© 2020 GitHub, Inc.</li>
    ^~~~
    C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino: In function 'void setup()':
    EmTronic_2020:19:3: error: 'edgar' was not declared in this scope
    edgar.begin(); //-Start it up
    ^~~~~
    EmTronic_2020:20:22: error: 'TRIANGLE' was not declared in this scope
    edgar.setupVoice(0,TRIANGLE,60,ENVELOPE1,127,64); //-Set up voice 0
    ^~~~~~~~
    C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino:20:22: note: suggested alternative: 'CHANGE'
    edgar.setupVoice(0,TRIANGLE,60,ENVELOPE1,127,64); //-Set up voice 0
    ^~~~~~~~
    CHANGE
    EmTronic_2020:20:34: error: 'ENVELOPE1' was not declared in this scope
    edgar.setupVoice(0,TRIANGLE,60,ENVELOPE1,127,64); //-Set up voice 0
    ^~~~~~~~~
    C:\Users\Tom\Documents\Arduino\libraries\synth\EmTronic_2020\EmTronic_2020.ino: In function 'void loop()':
    EmTronic_2020:25:3: error: 'edgar' was not declared in this scope
    edgar.setFrequency(0,50.0);
    ^~~~~
    exit status 1
    stray '\302' in program
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.