Showing posts with label sound. Show all posts
Showing posts with label sound. Show all posts

Sunday, February 14, 2016

Unbox Caravan

A few thoughts about my brief visit to the Unbox Caravan. This was a two week project (I dropped in for 5 days), hosted at The National Institute of Design (NID) in Ahmedabad, India. The project invited creatives from a range of disciplines to collaborate around a theme of 'connected communities'.

I have been moving around India since just before Christmas, visiting family mostly, plus a little holidaying. At each stop my accommodation has felt like a mini serai, so it was a pleasant surprise to find a real one in Ahmedabad.

On sound:
Instead of taking photographs on this trip I have been recording sound. Some short snapshots, up to a minute long; some more like panoramas or portraits lasting up to an hour. I have found that it leads to a very different experience when travelling than that which one gets from carrying a camera. For one thing one soon forgets about the topic of photography at all - no longer subconsciously framing and debating what would make a good photo. Instead it is replaced with the equivalent in terms of sound! The good thing is that currently, there are many fewer options for interpreting and editing sound on the fly. So generally I have just been pressing record and waiting, whilst keeping one eye on the levels. And it makes you listen - not just while thinking about opportunities to record (Is this an interesting sound? Is it loud enough? Is this something I have heard before? Does it tell a story? Etc.) - but also while the thing is recording, that's when you actually start listening properly. Which I'm not sure happens with photography: you don't look harder whilst taking the picture, it's all too quick for that. You do the looking later, when you're at home editing, or showing the picture to your friends. It's because sound takes longer to record, because it is durational, that you actually can experience and document at the same time. Which I think makes it a great tool for ethnography on its own, that is, not in conjunction with the camera.

On the experience:
In Ahmedabad, I was given plenty of opportunities to document sound - in the 5 days I had, we visited all sorts of makers, craftspeople, villages, shops, markets, not to mention the auto rides and the aviary that is the NID campus! I was also privileged to develop ideas with the other caravanners, particularly Gary, Sean and Jayne. As ever the people you work with comes down to lots of factors, luck being one, but, (and I'm looking for a thread here) I think all of us were concerned with interpreting what we were seeing/hearing, more than synthesizing anything terribly new. Which in itself is interesting. Many times during my 5 days I found myself comparing the event to a hackathon in my mind - it had that similar feel: positive, creative people finding common ground out of necessity and trying to create against a deadline. Only here the deadline was a really quite generous 2 weeks rather than 2 days. Yet this seemed much more challenging than any hackathon, which says more about hackathons that anything else. They generally have a bit more of a focussed brief for one thing, but also we rely so heavily on familiarity to function at a hack. And when that is removed, when you're dropped in a very different city amongst new people, my preference is really to absorb and interpret rather than synthesize and postulate. So I think that was a bit of a conflict for me, as I had come into the thing with the expectation to do (or help with doing) some postulating, and in the end for whatever reason, did not feel right doing it! Nonetheless, it is always interesting to grapple, and to help others do the same.

Monday, September 02, 2013

Tutoring Services: Arduino @ GSA

In January 2013 I consulted as an Arduino tutor at the Glasgow School of Art. I provided some refresher tuition and project guidance for 3rd year Product Designers there. The teaching materials are viewable here.

The project the students worked on was based around sound, and there were some great ideas being worked on. Most involved PIR sensors triggering sounds from a laptop (despite my attempts to discourage this for the absolute beginners). We mostly did this using the keyboard hack I described here. My favourite projects as ever were the mechanical ones however..

Monday, January 07, 2013

Using a tilt switch to play an audio file

I am helping with an Arduino and Sound module at the Glasgow School of Art this month, so had a wee play with their kit of parts to create a quick demo. Here is a wee video:



The tilt switch is inputting into the arduino. The arduino is running the sketch below. It is outputting to an optocoupler which is in turn controlling a PCB from an old keyboard. That PCB is sending a [space] keystroke to the computer, which has Winamp open and set to play a telephone ring .wav when spacebar is pressed.

The optocoupler is ideal as it physically separates the Arduino circuit from the keyboard PCB circuit, and acts as a switch, shorting out whichever contacts you choose on the keyboard PCB, which is how these things work in the original keyboard. The datasheet with pinouts for that sort of optocoupler is here.

It took a wee bit of trial and error to find the pins to short on the keyboard PCB to get a [space] keystroke. After I'd done it I discoverred these wee Windows programs that will show you on screen what keypresses the computer is receiving:
http://www.romeosa.com/osdHotkey/help.html
http://www.donationcoder.com/Software/Skrommel/index.html#ShowOff
On a Mac apparently you can do the same in System Preferences:
Universal Access > Keyboard "Enable sticky keys" > Display pressed
keys on screen.
Winamp is ideal because you can customise it in preferences extensively - you can set any key combination to play, or any other function in the program! The shortcut for play in iTunes is [space].

The sketch (copy and paste this into the arduino software):


/* 
This sketch allows you to send a keystroke back to the computer
upon tilting a tilt switch. This keystroke can be used to control
any other program as a keyboard would, typically simulating a
SPACE keypress to play an audio file in an audio player.

Wiring setup:
Tilt sensor between +5v and pin2
10k resistor between pin2 and GND (for debouncing)
Optocoupler pins 1, 2 4 and 5 to Arduino pin7, GND, keyboard PCB
pinA and pinB respectively. You will have to identify  the appropriate
two pins on your keyboard PCB to simulate the desired
keystroke - plug into your computer and short them out to test.
Keyboard PCB connected to computer.
LED long leg to Arduino pin8 and short leg to GND.
*/

int tiltPin = 2;  // variable for setting the tilt sensor pin
int optPin = 7;  // variable for setting the optocoupler pin
int ledPin = 8;  // variable for setting the led pin
int buttonState = 0;         // variable for reading the pushbutton status

void setup() {
  // put your setup code here, to run once:
  pinMode(tiltPin, INPUT); // sets up tiltPin as an Input
  pinMode(optPin, OUTPUT); // sets up optPin as an Output
  pinMode(ledPin, OUTPUT); // sets up ledPin as an Output
  //  Serial.begin(9600);  // begins a Serial communication
}

void loop() {
  // put your main code here, to run repeatedly: 
  buttonState = digitalRead(tiltPin);  // sets buttonState to value of the tilt sensor
  if (buttonState == HIGH) {      
    digitalWrite(optPin, HIGH);   // turn on optocoupler
    digitalWrite(ledPin, HIGH);   // turn on LED
    delay(100);  // wait 0.1ms
    digitalWrite(optPin, LOW);   // turn off optocoupler
    delay(1000);  // wait 1s
  }
  else {
    digitalWrite(optPin, LOW);  // turn off optocoupler
    digitalWrite(ledPin, LOW);   // turn off LED
  }
  //  Serial.println(tiltPin);    // print the stated variable
}




Monday, February 07, 2011

An instrument a day

moonmilk: Sound sculptor Ranjit Bhatnagar is making an instrument a day for a month. A brilliant idea, he has already come up with a fridge powered tone manipulator, whistles from drumsticks, and a lasercut ocarina.

Monday, April 12, 2010

Love Calculator at the Forest Fringe


I have built a few wee noisemakers for an interactive piece of theatre to be part of The Forest Fringe microfestival at the Arches at the end of this week. I shall actually be in it too playing said 'instruments'. The piece is called the Love Calculator and is amongst a whole host of other wee happenings in the festival - flyer above, tickets here