You are here

First Arduino instrument complete (ish)

Customising, building or repairing your own gear? Need help with acoustic treatment or soundproofing? Ask away…

First Arduino instrument complete (ish)

Postby BJG145 » Sat Dec 01, 2018 3:50 pm

I thought I'd start with something simple: a bagpipe chanter.

Image

It consists of a piece of trunking with a set of screws (including one at the back for the thumb), wired up with a length of CAT5 network cable. This goes into an RJ45 breakout...

Image

...which goes into an MPR121 capacitive touch sensor.

Image

This basically allows you to sense touch on up to 12 attached metal surfaces, and it's connected to the Arduino, with which it communicates via a protocol called i2c.

The Arduino has a MIDI shield which I'm using to drive a VST (Blue). Add a bit of percussion and it sounds like this...

https://soundcloud.com/qchord/eletrunk

I've called it the "eleTrunk". I'm using Northumbrian style fingering, which simply assigns ascending notes of the scale to successive open keys, though I've thrown in a twist by using a minor scale. (Usually the holes on a Northumbrian pipe chanter play a major scale, although additional keys are used to provide accidentals. Kathryn Tickell is the maestro.)

...cosmetically, yeah, there's some work to do. :tongue:

Ultimately I'd like to design something more bizarre and original like the Samchillian with a 3D printed case...
User avatar
BJG145
Frequent Poster (Level2)
Posts: 3446
Joined: Sat Aug 06, 2005 12:00 am

Re: First Arduino instrument complete (ish)

Postby Folderol » Sat Dec 01, 2018 4:20 pm

I like it :clap: :bouncy:
User avatar
Folderol
Jedi Poster
Posts: 7205
Joined: Sat Nov 15, 2008 1:00 am
Location: Rochester, UK
Yes. I am that Linux nut.

Re: First Arduino instrument complete (ish)

Postby zenguitar » Sat Dec 01, 2018 4:40 pm

Bravo :clap:

Andy :beamup:
User avatar
zenguitar
Moderator
Posts: 8743
Joined: Thu Dec 05, 2002 1:00 am
Location: Devon
When you see a fork in the road, take it.
Yogi Berra

Re: First Arduino instrument complete (ish)

Postby Sam Spoons » Sat Dec 01, 2018 4:49 pm

Brilliant :clap:
User avatar
Sam Spoons
Jedi Poster
Posts: 7426
Joined: Thu Jan 23, 2003 1:00 am
Location: Manchester UK
Finally taking this recording lark seriously (and recording my Gypsy Jazz CD)........

Re: First Arduino instrument complete (ish)

Postby Jumpeyspyder » Sat Dec 01, 2018 5:10 pm

Looks fun - congrats :)
User avatar
Jumpeyspyder
Frequent Poster
Posts: 1001
Joined: Fri Jan 20, 2006 1:00 am
Location: Yorkshire

Re: First Arduino instrument complete (ish)

Postby Dr R » Sat Dec 01, 2018 5:52 pm

:clap: We'll done!
User avatar
Dr R
Regular
Posts: 238
Joined: Mon Jun 21, 2010 12:00 am
Location: Solihull, West Midlands, UK
My ambition: To one day have enough experience to answer technical questions on the SOS forums, as well as asking them 

Re: First Arduino instrument complete (ish)

Postby ConcertinaChap » Sat Dec 01, 2018 6:16 pm

Lovely idea. Northumbrian pipes is a good choice because the closed chanter means you can have separate notes instead of the continuous sound of most pipes.

I know I've got myself an Arduino kit in the BF sales but it'll be a while before I try anything like this :)

Where did the MIDI shield come from, BTW?

CC
User avatar
ConcertinaChap
Jedi Poster
Posts: 6142
Joined: Wed Jul 20, 2005 12:00 am
Location: Bradford on Avon
Making music: Eagle Alley, recording music: Mr Punch's Studio
Disclaimer: I don't claim to know anything at all.

Re: First Arduino instrument complete (ish)

Postby Sam Spoons » Sat Dec 01, 2018 6:18 pm

Am I mistaken or have I seen players of open small pipes block the open end of the chanter on their leg to play a rest?

The minor key piece sounds great but I assume you can easily remap the midi note numbers to any key you choose either in the Arduino or the DAW/VSTi?
User avatar
Sam Spoons
Jedi Poster
Posts: 7426
Joined: Thu Jan 23, 2003 1:00 am
Location: Manchester UK
Finally taking this recording lark seriously (and recording my Gypsy Jazz CD)........

Re: First Arduino instrument complete (ish)

Postby ConcertinaChap » Sat Dec 01, 2018 6:37 pm

Sam Spoons wrote:Am I mistaken or have I seen players of open small pipes block the open end of the chanter on their leg to play a rest?

You have. That's the Irish uilleann pipes where the players do that. They close the open end by resting it on a pad on their leg to get the same sort of effect as the Northumbrian pipes players but lift the chanter from time to time to get certain notes that wouldn't be available otherwise. They may look like a heap of random plumbing but the uilleann pipes are definitely the aristocrats of the piping world.

CC
User avatar
ConcertinaChap
Jedi Poster
Posts: 6142
Joined: Wed Jul 20, 2005 12:00 am
Location: Bradford on Avon
Making music: Eagle Alley, recording music: Mr Punch's Studio
Disclaimer: I don't claim to know anything at all.

Re: First Arduino instrument complete (ish)

Postby blinddrew » Sat Dec 01, 2018 11:45 pm

Excellent work! :)
User avatar
blinddrew
Jedi Poster
Posts: 5326
Joined: Sun Jul 05, 2015 12:00 am
Location: York
Ignore the post count, I have no idea what I'm doing...

Re: First Arduino instrument complete (ish)

Postby Sam Spoons » Sun Dec 02, 2018 2:12 am

Thanks CC, I know a little about them, and will read more now. :thumbup:
User avatar
Sam Spoons
Jedi Poster
Posts: 7426
Joined: Thu Jan 23, 2003 1:00 am
Location: Manchester UK
Finally taking this recording lark seriously (and recording my Gypsy Jazz CD)........

Re: First Arduino instrument complete (ish)

Postby BJG145 » Sun Dec 02, 2018 1:43 pm

ConcertinaChap wrote:Lovely idea. Northumbrian pipes is a good choice because the closed chanter means you can have separate notes instead of the continuous sound of most pipes.

I know I've got myself an Arduino kit in the BF sales but it'll be a while before I try anything like this :)

Where did the MIDI shield come from, BTW?

Cheers CC, it's this one from SparkFun. The Arduino IDE includes a library manager that lets you search for components like the MPR121 and pull in the relevant libraries along with sample programs very easily, so these add-ons are fairly straightforward to work with.
User avatar
BJG145
Frequent Poster (Level2)
Posts: 3446
Joined: Sat Aug 06, 2005 12:00 am

Re: First Arduino instrument complete (ish)

Postby Folderol » Sun Dec 02, 2018 7:55 pm

For the ultimate in MIDI IO you could use an Arduino Mega. Even with the hat on, that will give you about fifty IO lines and up to sixteen of them can be 10bit analog inputs you can directly connect to pots/sliders (which in reality matches what commercial ones chuck out).

Also if you're a bit lazy and get one of the fairly cheap MIDI to USB converters then combine the two, you've got properly isolated USB MIDI :bouncy: :wave:
User avatar
Folderol
Jedi Poster
Posts: 7205
Joined: Sat Nov 15, 2008 1:00 am
Location: Rochester, UK
Yes. I am that Linux nut.

Re: First Arduino instrument complete (ish)

Postby Martin Walker » Mon Dec 03, 2018 3:21 pm

Woo-hoo - I nearly missed this, but having just listened to the Soundcloud clip I must add my congratulations to the pile.

The eleTrunk sounds like a wonderful morph between pipes and synth, and very nicely played too BJG145 :clap:


Martin
User avatar
Martin Walker
Moderator
Posts: 12819
Joined: Wed Jan 13, 2010 9:44 am
Location: Cornwall, UK

Re: First Arduino instrument complete (ish)

Postby Dave B » Mon Dec 03, 2018 4:33 pm

So, all I need is one of these, some tubing a bit of wire, a dozen LEDS and photorecpetors and I have a makeshift laser harp?

Sign me up! :)

Edit : it's a capacitive trigger. Right. Still interesting. Still worth having a look and learning to work through "electronics for dummies" ..
User avatar
Dave B
Jedi Poster
Posts: 4736
Joined: Thu Apr 03, 2003 12:00 am
Location: Maidenhead
Veni, Vidi, Aesculi (I came, I saw, I conkered)

Re: First Arduino instrument complete (ish)

Postby Sam Spoons » Mon Dec 03, 2018 5:05 pm

This has prompted me to dig this out of the storeroom

Image
User avatar
Sam Spoons
Jedi Poster
Posts: 7426
Joined: Thu Jan 23, 2003 1:00 am
Location: Manchester UK
Finally taking this recording lark seriously (and recording my Gypsy Jazz CD)........


Who is online

Users browsing this forum: Humble Bee