First Arduino instrument complete (ish)

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

First Arduino instrument complete (ish)

Post by BJG145 »

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
Longtime Poster
Posts: 8087 Joined: Sat Aug 06, 2005 12:00 am Location: UK

Re: First Arduino instrument complete (ish)

Post by Folderol »

I like it :clap::bouncy:
User avatar
Folderol
Forum Aficionado
Posts: 20880 Joined: Sat Nov 15, 2008 12:00 am Location: The Mudway Towns, UK
Seemingly no longer an 'elderly'.
Now a 'Senior'. Is that promotion?

Re: First Arduino instrument complete (ish)

Post by zenguitar »

Bravo :clap:

Andy :beamup:
User avatar
zenguitar
Moderator
Posts: 13296 Joined: Thu Dec 05, 2002 12:00 am Location: Devon
There is a profound African saying, "A white man who cannot dance is a victimless crime, whereas a white man with a djembe drum ..."

Re: First Arduino instrument complete (ish)

Post by Sam Spoons »

Brilliant :clap:
User avatar
Sam Spoons
Forum Aficionado
Posts: 22907 Joined: Thu Jan 23, 2003 12:00 am Location: Manchester UK
Still mourning the loss of my 'Jedi Poster" status :)

People often mistake me for a grown-up because of my age.

Re: First Arduino instrument complete (ish)

Post by Jumpeyspyder »

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

Re: First Arduino instrument complete (ish)

Post by Dr R »

:clap: We'll done!
User avatar
Dr R
Regular
Posts: 280 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)

Post by ConcertinaChap »

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: 15235 Joined: Wed Jul 20, 2005 12:00 am Location: Bradford on Avon
Making music: Eagle Alley
Recording music: Mr Punch's Studio

Sir, more than kisses, letters mingle souls. - John Donne

Re: First Arduino instrument complete (ish)

Post by Sam Spoons »

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?
Last edited by Sam Spoons on Sat Dec 01, 2018 5:21 pm, edited 1 time in total.
User avatar
Sam Spoons
Forum Aficionado
Posts: 22907 Joined: Thu Jan 23, 2003 12:00 am Location: Manchester UK
Still mourning the loss of my 'Jedi Poster" status :)

People often mistake me for a grown-up because of my age.

Re: First Arduino instrument complete (ish)

Post by ConcertinaChap »

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: 15235 Joined: Wed Jul 20, 2005 12:00 am Location: Bradford on Avon
Making music: Eagle Alley
Recording music: Mr Punch's Studio

Sir, more than kisses, letters mingle souls. - John Donne

Re: First Arduino instrument complete (ish)

Post by Drew Stephenson »

Excellent work! :)
User avatar
Drew Stephenson
Apprentice Guru
Posts: 29715 Joined: Sun Jul 05, 2015 12:00 am Location: York
(The forumuser formerly known as Blinddrew)
Ignore the post count, I have no idea what I'm doing...
https://drewstephenson.bandcamp.com/

Re: First Arduino instrument complete (ish)

Post by Sam Spoons »

Thanks CC, I know a little about them, and will read more now. :thumbup:
User avatar
Sam Spoons
Forum Aficionado
Posts: 22907 Joined: Thu Jan 23, 2003 12:00 am Location: Manchester UK
Still mourning the loss of my 'Jedi Poster" status :)

People often mistake me for a grown-up because of my age.

Re: First Arduino instrument complete (ish)

Post by BJG145 »

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
Longtime Poster
Posts: 8087 Joined: Sat Aug 06, 2005 12:00 am Location: UK

Re: First Arduino instrument complete (ish)

Post by Folderol »

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
Forum Aficionado
Posts: 20880 Joined: Sat Nov 15, 2008 12:00 am Location: The Mudway Towns, UK
Seemingly no longer an 'elderly'.
Now a 'Senior'. Is that promotion?

Re: First Arduino instrument complete (ish)

Post by Martin Walker »

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: 22577 Joined: Wed Jan 13, 2010 8:44 am Location: Cornwall, UK

Re: First Arduino instrument complete (ish)

Post by Dave B »

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" ..
Last edited by Dave B on Mon Dec 03, 2018 3:38 pm, edited 1 time in total.
User avatar
Dave B
Longtime Poster
Posts: 5935 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)

Post by Sam Spoons »

This has prompted me to dig this out of the storeroom

Image
User avatar
Sam Spoons
Forum Aficionado
Posts: 22907 Joined: Thu Jan 23, 2003 12:00 am Location: Manchester UK
Still mourning the loss of my 'Jedi Poster" status :)

People often mistake me for a grown-up because of my age.
Post Reply