# OtemRellik’s Teensy3.2 DrumV2 Module

**URL:** <https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042>\
**Category:** DIY STUFF\
**Created:** [September 30, 2021, 7:06pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042 "2021-09-30T19:06:34Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [September 30, 2021, 7:06pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/1 "2021-09-30T19:06:34Z")

</div>

So here’s another thing I’m going to bash my head through bit by bit.

Otem Rellik’s DrumV2 Module.

[![](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/d/1/d1ba13c28882d99ae52d7b16f51238fb3c78e3a6.jpeg "Teensy Eurorack Drum Module") ](https://www.youtube.com/watch?v=Oq041TmgRFw)

I’m working my way through translating the schematic into perfboard design (so i can see it all layed out and see what space i have)

DrumV2 Schematic:

> <https://github.com/otem/Eurorack/blob/master/TeensyDrumV2/design/Schematic_TeensyDrumsV2.pdf>

My Conversion: WIP!

 ![IMG_20210930_202408](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/c/b/cb7d31fbed0e0c448ae1da7436dc185c1d9a057d.jpeg)

Panel Component Layout:

 ![IMG_20210930_202837](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/1/c/1c8825662835f96238b0fcacf28a76e15462d46e.jpeg)

There’s not that much on the board yet, component wise, but space for this is limited since I’m using Euro format rather than Komso (Sacrilegious, I know)

Ill keep you updated on my progress. And you can let me know when I have been a dum-dum =D

Also, whilst we’re here, what program do you use for creating Perfboard images like Sams??

---

<div class="post-metadata">

**Author:** ![Sonosus](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonosus/32/13679_2.png) [@Sonosus](https://lookmumnocomputer.discourse.group/u/Sonosus)\
**Post date:** [September 30, 2021, 7:55pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/2 "2021-09-30T19:55:49Z")

</div>

DIYLC hands down all the way.

---

<div class="post-metadata">

**Author:** ![Farabide](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@Farabide](https://lookmumnocomputer.discourse.group/u/Farabide)\
**Post date:** [September 30, 2021, 10:20pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/3 "2021-09-30T22:20:13Z")

</div>

Tried fritzing but DIYLC won me over.

Wondered if an esp32 might be a cheaper alternative to the teensy 3.2.

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 1, 2021, 12:21am UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/4 "2021-10-01T00:21:14Z")

</div>

Thanks for the suggestions, ill try DIYLC out when I get a chance.

Re:Esp32, possibly but im to lazy to code lol im happy being a script kitty for now.

Ive been adding the 2n222’s in the gap between the ICs and hacksawed the board in half.  
Oh btw the copper strips are horizontal in the pic (should be obvious by the Teensy3.2 placement, but worth mentioning)

---

<div class="post-metadata">

**Author:** ![Farabide](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@Farabide](https://lookmumnocomputer.discourse.group/u/Farabide)\
**Post date:** [October 1, 2021, 7:09am UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/5 "2021-10-01T07:09:30Z")

</div>

The teensy’s cnp code is fairly portable and porting to an esp32 is a good exercise in code and frugality.  
Keep us posted.

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 5, 2021, 3:48pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/6 "2021-10-05T15:48:25Z")

</div>

Okay, So ive been trying to get the component footprint of this one down to be as small as possible and still be clear as possible. turns out this is pretty hard to do (for me atleast)

Ive made a few reference schems but when it comes to putting it on a 27x35 hole perf board, its jumper and trace cut city.  
my idea with this was to run the 10pin and 5v to in between the ICs and link up whats needed.  
ive moved some resistors to the front board to try and free up more space, but im still struggling, especially when it comes to the MCP6004 spacing.  
what would you guys suggest i try? im thinking about soldering the Teensy3.2 connections under the board (copper side) to the front pcb.

also, DIYLC is ace! i started off with laying out clacktronics mono speaker then moved onto this monstrosity… (im aware ive messed up the power Ecaps, i forgot to switch the leads over)

 ![OtemDrumV2](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/e/d/ed68ec7290b85c38a1667554d94c57f62d54bbc7.jpeg)

---

<div class="post-metadata">

**Author:** ![Sonosus](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/sonosus/32/13679_2.png) [@Sonosus](https://lookmumnocomputer.discourse.group/u/Sonosus)\
**Post date:** [October 5, 2021, 4:48pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/7 "2021-10-05T16:48:03Z")

</div>

Don’t be scared to run wires diagonally across ICs! Personally I prefer to ‘daisy chain’ power lines, rather than use a dedicated strip, for example from the strip directly above the left hand MCP6004 to pin 4, then another wire from pin 4 to the strip directly below. It’s up to you though.  
Edit: oh also you might want to label the midi connector pins 😃

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 5, 2021, 5:01pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/8 "2021-10-05T17:01:24Z")

</div>

The MIDI is L/R switchable for MIDI A or B.  
That one on pin 4 _should_ be a +5 anyways, its a bit of a baffler this one haha!  
ill get there though, Otem somehow did it… theres just not enough of a view of the hookups between the boards.

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 5, 2021, 11:24pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/9 "2021-10-05T23:24:37Z")

</div>

Right i think i might have something now. Totally reworked my first take.  
Ive skipped most of the hook up wire but left space and some wires will be soldered under the board (like the +5 joining the MCP6004’s) to make room for the hook ups…  
The only thing missing is the voltage in for the Teensy3.2, but that an easy fix too.  
anyone want to proof it against Otem’s schem? maybe i should post or link to it in the unverified lounge =D

 ![OR DrumV2 Possible](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/5/3/537b99de603ca6eb8f9be5c847d465b7833e806f.png)

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 8, 2021, 4:30pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/10 "2021-10-08T16:30:59Z")

</div>

Im making some slow progress with this module.  
Theres just sooo many trace cuts and awkward bits lol (well for me atleast XD)

 ![IMG_20211008_172534](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/c/4/c4fd51cd9bee81b6dfcfe684a76a971c98e75cd3.jpeg)

---

<div class="post-metadata">

**Author:** ![Farabide](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@Farabide](https://lookmumnocomputer.discourse.group/u/Farabide)\
**Post date:** [October 8, 2021, 5:06pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/11 "2021-10-08T17:06:15Z")

</div>

Just looking at the earlier diagram; are the diagonal trace cuts under the ics a feature of the software?  
New design movement? Geometric carving representative of time sacrificed to Pastime?

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 8, 2021, 10:06pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/12 "2021-10-08T22:06:51Z")

</div>

I dunno just a habit, I like things to have patterns, i think it makes it easier to count the pins.

I made a decent effort on the board today, i think i have the boards done just got to do the hookups to the teensy3.2 next. Otem also let me know which pin the button goes to (as this was an after thought)

Fronts:

 ![IMG_20211008_230858](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/9/1/91339c37d4b3aff1bbe53558b94f3c18010f831b.jpeg)

Main board detailed:

 ![IMG_20211008_231029](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/7/e/7e375a5e49789f427705af0ceff8f82fd4abfc3d.jpeg)

Backs: (Bad quality shine)

 ![IMG_20211008_230924](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/4/f/4f05f344000c7c9ed8b117a53b2616057ca0e025.jpeg)

Still gotta check I’ve not done anything silly n check for shorts, see if I’ve missed anything out (still got to order a stereo thonk jack for the midi)  
Pleased with the progress today, even if my back isn’t XD

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 16, 2021, 10:13pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/13 "2021-10-16T22:13:18Z")

</div>

Been slowly working on this one. Thought it was time a try getting the code running on the Teensy3.2 and ‘try’ is the operative word.

ive been running into issues getting the sketch to load…  
which to be fair… i expect, since ive no idea what im doing haha.

TeensyDrumV2: In function ‘void setup()’:  
TeensyDrumV2:204: error: ‘class AudioSynthWaveformSineModulated’ has no member named ‘mod\_index’  
kickSine.mod\_index(16383.75);  
^  
TeensyDrumV2:237: error: ‘class AudioSynthWaveformSineModulated’ has no member named ‘mod\_index’  
snareBody.mod\_index(65535);  
^  
TeensyDrumV2:243: error: ‘class AudioSynthWaveformSineModulated’ has no member named ‘mod\_index’  
snareClickCarrier.mod\_index(65535);  
^  
TeensyDrumV2:252: error: ‘class AudioSynthWaveformSineModulated’ has no member named ‘mod\_index’  
snareFM1.mod\_index(65535);  
^  
TeensyDrumV2:254: error: ‘class AudioSynthWaveformSineModulated’ has no member named ‘mod\_index’  
snareFM2.mod\_index(65535);  
^  
TeensyDrumV2:278: error: ‘class AudioSynthWaveformSineModulated’ has no member named ‘mod\_index’  
HHSineCarrier.mod\_index(65535);  
^  
TeensyDrumV2:282: error: ‘class AudioSynthWaveformSineModulated’ has no member named ‘mod\_index’  
HHSineMod2.mod\_index(65535);  
^  
Multiple libraries were found for “SD.h”  
Used: C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries\SD  
Not used: C:\Program Files (x86)\Arduino\libraries\SD  
‘class AudioSynthWaveformSineModulated’ has no member named ‘mod\_index’  
Error downloading [https://downloads.arduino.cc/packages/package\_index.json](https://downloads.arduino.cc/packages/package_index.json)

From what i can see i need to fix some parenting issues, sort out some path’s… something like that.

im just working backwards in IDE versions to see if that will help.

---

<div class="post-metadata">

**Author:** ![analogoutput](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/analogoutput/32/29663_2.png) [@analogoutput](https://lookmumnocomputer.discourse.group/u/analogoutput)\
**Post date:** [October 16, 2021, 11:14pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/14 "2021-10-16T23:14:12Z")

</div>

I think you have to ask the author. In the code for instance there’s

```auto
  kickSine.mod_index(16383.75);

```

where kickSine is declared

```auto
AudioSynthWaveformSineModulated kickSine;

```

In the version of synth\_sine.h at [https://github.com/PaulStoffregen/Audio/blob/master/synth\_sine.h](https://github.com/PaulStoffregen/Audio/blob/master/synth_sine.h), which appears to be the official development version, there’s

```auto
class AudioSynthWaveformSineModulated : public AudioStream

```

which has no mod\_index member function. It derives from AudioStream, and in the version of AudioStream.h at [https://github.com/PaulStoffregen/cores/blob/master/teensy3/AudioStream.h](https://github.com/PaulStoffregen/cores/blob/master/teensy3/AudioStream.h) there’s

```auto
class AudioStream

```

which also has no mod\_index member function, and it doesn’t derive from anything. In fact, Google says

> Your search - _“mod\_index” site:github.com/PaulStoffregen_ - did not match any documents.

So as far as I can see there just is no mod\_index function in the (present) official library. Yet Otem says “Everything was just stock audio library objects, no modifications to the library.” Very strange. Maybe they were using some older version of the library and it’s since been removed?

Oh… here:

> to try and see or hear the difference, class AudioSynthWaveformSineModulated needs an additional method:
> 
> Code:  
> void mod\_index(float n) {  
> if (n \< 0) n = 0;  
> else if (n \> 65535.0) n = 65535.0;  
> \_mod\_index = n \* 65536.0;  
> }  
> and corresponding private variable: int32\_t \_mod\_index;

someone seems to be talking about adding that function… guess you need to investigate that.

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 16, 2021, 11:25pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/15 "2021-10-16T23:25:38Z")

</div>

Thanks!! this stuff is above my pay grade… XD  
but i didnt dub myself Sgt BashItUntillItWorks for nothing. lol

_looks at the BigButton with regret_

ill have a little investigate when i get a sec =)

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [October 17, 2021, 7:00pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/16 "2021-10-17T19:00:37Z")

</div>

Otem got back to me on YT:

[@willow2x](https://www.youtube.com/channel/UCte30jO-K487fy7e-I3GMxQ) That’s my bad. I forgot this uses a different synth\_sine than the stock audio library. I just added synth\_sine.cpp and synth\_sine.h to the [git project](https://github.com/otem/Eurorack/tree/master/TeensyDrumV2). You will have to replace the ones in the audio library with these and it should compile.

which audio library? ive tried looking about in Program Files x86/Arduino but cant find where i should put it =/  
I really am an awful noob when it comes to this stuff haha XD

---

<div class="post-metadata">

**Author:** ![Caustic](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/caustic/32/15588_2.png) [@Caustic](https://lookmumnocomputer.discourse.group/u/Caustic)\
**Post date:** [October 18, 2021, 4:10pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/17 "2021-10-18T16:10:48Z")

</div>

The audio library is found here:

[https://www.pjrc.com/teensy/td\_libs\_Audio.html](https://www.pjrc.com/teensy/td_libs_Audio.html)

![image](https://global.discourse-cdn.com/free1/uploads/lookmumnocomputer/original/3X/8/5/8548d18ee75e67928d27b4a85a9a77bf7287119b.png)

That page includes instructions to install the teensyduino “audio” library. It should be included in the teensyduino install.

---

<div class="post-metadata">

**Author:** ![moly\_wan](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@moly\_wan](https://lookmumnocomputer.discourse.group/u/moly_wan)\
**Post date:** [January 22, 2022, 3:34pm UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/18 "2022-01-22T15:34:07Z")

</div>

Hi Willow2x!  
If your project is still alive, I managed to finish the teensy drum yesterday. I can send you the compiled .hex. It is a really great modul !

---

<div class="post-metadata">

**Author:** ![willow2x](https://yyz2.discourse-cdn.com/free1/user_avatar/lookmumnocomputer.discourse.group/willow2x/32/5343_2.png) [@willow2x](https://lookmumnocomputer.discourse.group/u/willow2x)\
**Post date:** [January 23, 2022, 2:56am UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/19 "2022-01-23T02:56:52Z")

</div>

That would be ace! How did u sort it out? i remember there was something to change in a lib folder but not exactly sure which.  
seems to be just 2 files (.h and .‘something’) to replace.

TY.

---

<div class="post-metadata">

**Author:** ![moly\_wan](https://avatars.discourse-cdn.com/v4/letter/m/3be4f8/32.png) [@moly\_wan](https://lookmumnocomputer.discourse.group/u/moly_wan)\
**Post date:** [January 23, 2022, 3:12am UTC](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042/20 "2022-01-23T03:12:50Z")

</div>

Yes, you must replace the synth\_sine.h and synth\_sine.cpp files with those provided in teensy audio library at this location: \arduino\hardware\teensy\avr\libraries\Audio

[Next page](https://lookmumnocomputer.discourse.group/t/otemrellik-s-teensy3-2-drumv2-module/4042.md?page=2)
