ar-drone – node.js library to control Parrot AR Drone 2.0

An implementation of the networking protocols used by the Parrot AR Drone 2.0

https://github.com/felixge/node-ar-drone

This would be an very interesting source of telemetry data for composition.

Web interface:

https://github.com/arun057/ardrone-web

A developer guide

http://abstract.cs.washington.edu/~shwetak/classes/ee472/notes/ARDrone_SDK_1_6_Developer_Guide.pdf

User group site:

http://nodecopter.com/

Streaming camera demo….

http://youtu.be/mz8hTXJOgwc

 

 

 

Other ideas for Arduino electric eye

notes

5/2014 – check out musical stairs project for eventual solution: https://reactivemusic.net/?p=12300

original post

Infrared reflectance sensor – no idea whether this can be focused to a beam

http://www.ebay.com/itm/Infrared-Reflectance-Sensor-Sensor-Shield-Arduino-compatible-/170842956075?pt=LH_DefaultDomain_0&hash=item27c708a12b

IR detector emitter data

http://www.me.umn.edu/courses/me2011/arduino/technotes/irbeam/irbeam.html

Tachometer circuit

http://www.pyroelectro.com/tutorials/tachometer_rpm_arduino/

Long range beam

http://pcbheaven.com/circuitpages/Long_Range_IR_Beam_Break_Detector/

 

 

Infrared Beam Sensors

Arduino Automated LED Stairway Lighting.

http://www2.cs.uidaho.edu/~lawrench/electrical_projects/stairway_lighting/stairway40.html

This project uses the Radio Shack emitter/detector LED pair 276-142 – There is no modulation of the ir signal. The project includes detailed descriptions plus photographs of the Arduino and breadboard configuration.

Here is some more information about the RS ir emitter/detector pair

http://www.societyofrobots.com/schematics_infraredemitdet.shtml

 

Detecting an IR Beam Break using the Arduino IR Library

A simple electric eye circuit

By Ken Shirriff

http://www.arcfn.com/2010/03/detecting-ir-beam-break-with-arduino-ir.html

update 5/2014 – For current information, see the musical stairs project – using this IR library with sensors from Adafruilt: https://reactivemusic.net/?p=12300

original post

I was able to build a version of this using some ir receivers from radio shack. The receivers were different – one received a relatively narrow angle beam, while the other one seemed to pick up everything in the room. So, although this method works, it will require some hardware tweaking.

Here’s my Arduino code for this… Note that the code runs 2 beams but the photos and videos only show one in the circuit.

#include <IRremote.h>
// tz 12/26/2012
/* This works with the basic IR beam layout of an
IR emitter and IR receiver from radio shack - when you break the 
beam, like with your hand the LED on D13 lights up.

*/
#define PIN_IR 3
#define PIN_DETECT 2
#define PIN_STATUS 13

#define PIN_DETECT_B 7
#define PIN_STATUS_B 8

int counter = 0;
int stat = 0;
int stat_B = 0;

IRsend irsend;
void setup()
{
   Serial.begin(9600); // open the serial port
  pinMode(PIN_DETECT, INPUT);
  pinMode(PIN_STATUS, OUTPUT);

    pinMode(PIN_DETECT_B, INPUT);
  pinMode(PIN_STATUS_B, OUTPUT);
  irsend.enableIROut(38);
  irsend.mark(0);
}

void loop() {
//  digitalWrite(PIN_STATUS, !digitalRead(PIN_DETECT));
irsend.space(0);
delay(1);
irsend.mark(0);
stat = digitalRead(PIN_DETECT);
digitalWrite(PIN_STATUS, stat);

stat_B = !digitalRead(PIN_DETECT_B);
digitalWrite(PIN_STATUS_B, stat_B);
delay(1);

counter++;
if(counter > 1000) {
  Serial.print("A: ");
  Serial.print(stat);
  Serial.print(" B: ");
  Serial.print(stat_B);
  Serial.println();
  counter = 0;
}
}

 

 

How to set up wireless ad hoc network on Mac OS

right-click the wi-fi signal icon in the status bar and select ‘create network’

This is useful if you are trying to run a project which requires WiFi – like touchOSC – and you are on a restricted network – at a school for example. You make your own network which is separate from the Internet.

at dummies.com

http://www.dummies.com/how-to/content/how-to-create-a-wireless-ad-hoc-network-between-macs.html

 

music production demo projects

Current Ableton Live example projects for Music Production course at Gould Academy. Eventually these will all be student projects.

Brooks Layman – remixes (Fall trimester 2012)

http://zerokidz.com/music/?p=202

Seven Nation Army

http://zerokidz.com/music/?p=158

Saxophone Loop thing

http://zproject.wikispaces.com/live+saxophone+loops

Several versions  on the black macbook – the recent files menu should give a clue.

Some notes about an unfinished version…

https://reactivemusic.net/?p=1973

Kinect Air Piano adapted from Ryan Challinor

Example of playing a Midi Instrument using Kinect sensor

Components

  • Ableton Live
  • Max for Live
  • Kinect
  • Synapse

File Location: kinect/myLiveSets/lefthandpiano Project/leftHandPiano.als

Use left hand to play a few piano notes by horizontal movement

Dubkinect by Ryan Challinor

Example of playing a Midi Instrument using Kinect sensor

Components

  • Ableton Live
  • Max for Live
  • Kinect
  • Synapse

Location: kinect/synapse examples/dubkinect Project/dubkinect.als

More information about Synapse and Ryan Challinor: http://synapsekinect.tumblr.com/

Instructions

It tracks lots of joints, but to start, place hands together above head and pull apart quickly, then use left arm (vertical) for volume, right hand horizontal for wobble, right hand vertical for pitch, and so on.

“Shining Star” (slice to midi)

How to warp an entire song, then make it into a keyboard sampler by using slice to midi and applying it to a sampler or simpler device

file: ableton teaching projects/shining star Project

https://reactivemusic.net/?p=2427

Singing Dunes

Simulation of the eerie sounds of shifting sand dunes using Analog and Operator synthesizers.

file: ableton teaching projects/singing dunes project

https://reactivemusic.net/?p=3620

Call Me Maybe remix set

Examples of setting up beats and melodies to do a remix

file: ableton teaching projects/jepsen2/test1 Project/callMeMaybe3.als

takes a while to load up… This was one of my first attempts to use Ableton to do something like this and now in retrospect, this sounds a bit lame, or tame.

Warping

https://reactivemusic.net/?p=1424

Clip envelopes

https://reactivemusic.net/?p=1419

project notes

https://reactivemusic.net/?p=1415

Also check out this example of using grain/warp stretches in this same project folder

file: ableton teaching projects/jepsen2/test1 Project/callMeMaybe3.als

animal beat

example of making a beat with animal sound effects

file: ableton teaching projects/animal beat 1 Project

gangnam style

example of how to make the synth bass riff for “Gangnam Style” – includes, side chaining compressor.

file: ableton teaching projects/basic beat thing Project/g3.als

without side chaining:

file: ableton teaching projects/basic beat thing Project/gangnam style.als

Infinite Gangnam Style

https://reactivemusic.net/?p=3945

How to make Gangnam style bass with Sylenth

https://reactivemusic.net/?p=2264

peas morph

An example of remixing by transposing samples in a Black Eyed Peas song

file: ableton teaching projects/basic beat thing Project/peas morph.als

Foster The People (warp and remix by adding drum machine)

“Call it What you Want” by Foster the People – warped and then combined with a drum machine beat

file: ableton teaching projects/basic beat thing Project/call it what you want example.als

Another jazzy example:

file: ableton teaching projects/basic beat thing Project/sunny side.als

 bieber fills

Example of how to slow down an entire track by loading into sample and using pitch bend

file: ableton teaching projects/basic beat thing Project/bieber-fills.als

Notes: Ableton – special effects, slowing down the master track

An interesting cover: dirty loops “Baby”

dummy clips field recorder (and launchpad)

What happens when you apply a set of envelopes and effects to some random source, like a band warming up or an orchestra tuning?

file: ableton teaching projects/dummy clips example Project/dummy clips band recorder 11-08.als

A dummy clip is actually an empty audio clip which contains some kind of processing – so what ever gets routed through it is processed as if it were the clip inside of it. This allows you to automation on various samples without hardcoding the automation into the track.

Read notes carefully before trying to use this

notes: Ableton dummy clips field recorder

An example using above set and jamming it with launchpad:

Band Rehearsal Remix

More notes on dummy clips to do fades or select a path in an effects rack

Ableton – using dummy clips

making beats

A quick example of beatgridding plus effects

file: ableton teaching projects/makingBeatsAbletonLesson Project

multitrack recording

A very rough example of some audio recording mixed with Midi tracks

file: ableton teaching projects/multitrack recording arrangement Project

obama vocoder example

How to modulate a synthesizer with spoken word.

file: ableton teaching projects/obama vocoder example project

Ableton vocoder example and tutorials

sound fx beat

Using annoying sound fx to create a drum beat

file: ableton teaching projects/sound fx beat Project

sununu project

Using Ableton to edit a news program

file: ableton teaching projects/sununu project

twitter vote

Play different midi notes based on twitter feed.

Uses ‘processing’ to grab twitter information and send it to Max for Live using OSC messages. There is a multiplexer receiver which gets all the twitter messages, then breaks them out by sending them to separate UDP ports for each midi “channel” since Live doesn’t allow multiple midi channels per track.

NOTE: to make this work you need to change the midi channels in the m4l twitter recv devices so they are different for each track you insert them in. It works with up to 3 channels

file: file: ableton teaching projects/vote Project

processing file:

file: documents/processing/osc_max_testing

This processing file is basically the same code as the mood lamp. But I changed the hashtag to #gop so it would keep working.