2014 7
Small sound techniques: behind the glitch robot
The music robot “Glitch Robot” aims to produce sounds used in electronic music. It is referencing to glitch sounds – or Clicks ‘n Cuts – a sub genre of the electronic music.
Concept
I started with the imagination of what sounds I would like to use when producing music. What percussion sounds does a music track need? Escpecially if you’re into glitchy sound of the infamous clicks n’ cuts era. If you don’t do minimal techno, you need more than a phat bass drum & Hihat. (more…)
Read Arduino AnalogIn and send as MIDI-CC Values
A simple sketch for sending MIDI Data from 5 potentiometers (only 3 in the pic above) connected to the AnalogIns from an Arduino (A0, A1, A2, A3, A4) as CC Values.
The sketch is based on the newest MIDI Library from fortyseveneffects, which has to be installed.
No rocket science: Vacuum molding
While building the drum robot MR-808 I came across some nice prototyping techniques. Ever wondered what you can do with an unused pizza oven, a vacuum cleaner and some plastic sheets? It’s not rocket science – prepare for vacuum molding! (could also be used to build a rocket)
(more…)
Midi Theremin with arduino and ultrasonic sensor HC-SR04
Two left hands and no passion nor time for learning piano or guitar? Try out this super simple Arduino Midi-Theremin! This simple Midi Theremin uses a HC-SR04 Ultrasonic Sensor (which is extremly cheap ~2-4€) and produces a MIDI-out signal, analog to the measured distance from an object. Apart from the Senor you only need an Arduino (in this case an Arduino Nano), some wire and some MIDI playing device.
Sourcecode
Find the – still alpha – sourcecode here
Choosing the right optocoupler for your midi-in project (e.g. Arduino)
Choosing the right optocoppler for your midi-in project (e.g. Arduino)
The headlines almost says it all: when building an midi-input device for an µC-project e.g. an Arduino or an Raspberry Pi project, the first thing the MIDI cable “sees” is the optocoupler. And is important to choose the right one.
A lot of ciruits relate to the “4N28”. This is a passive optocoupler and to be frank it causes a lot of problems in the standard setup which mostly are not identified as an electrical problem.
- no midi input at all
- random loss of midi notes
- random playing of other midi notes
Simple Arduino Square Pulse Generator
Creates a square pulse on Digital out in relation to two potentiometers on A0 and A2. The Pulse generator can be controlled in periode (10ms .. 1024ms) and puls width. It works without PWM and without delay() and is based on the blinkwithout sketch
int state1 = 0; // state of the output1; 0 --> OFF, 1 --> ON unsigned long currentMillis = millis(); // derive actual timestamp unsigned long startMillis = millis(); // derive actual timestamp void setup() { // initialize the digital pin as an output. pinMode(3, OUTPUT); pinMode(13, OUTPUT); ////////////////////////////// digitalWrite(3, LOW); // turn the output off currentMillis = millis(); // derive actual timestamp startMillis = millis(); // derive actual timestamp } ///////////////////////////// void loop() { if(currentMillis - startMillis <= pulsewidth_1) { state1 = HIGH; } if (currentMillis - startMillis >= constrain(analogRead(A0), 5, analogRead(A1))) // Create the pulsewidth. Read Analog POT at A0, contraint (limit) the amount to maximum periode, more wouldnt make sense { state1 = LOW; } if (currentMillis - startMillis >= constrain((analogRead(A1)*1.5),10,20000 )) // Create the periode (hz). Read Analog POT at A1, contraint (limit) the amount to minimum 10ms { state1 = LOW; startMillis = millis(); } digitalWrite(3, state1); currentMillis = millis(); }
MAD Lab – Mannheim Digital Lab
I was holding an extensive talk on music robots, sound installations, critical engineering and 3D-printing for the MADlab at the University Mannheim. Find it here! (german only):
Recent Comments