Friday, December 14, 2018

Wednesday, November 14, 2018

Cyborgs and space


Homeostasis--->the ability to do things and make decisions without constant input

Heliotropism of sunflowers

This article was written in the 60s

The root of human machine interaction is

Implants and mergers
-Cochlear implants stimulate a nerve inside your ear
-Kevin Warwick implant 30 pin chip into his medial nerve, allowed him to communicate with the chip via radio transmission.
-Symbiosis(Mutualism)-Both we and the machines benefit from constant interaction.
-The key to space travel is adapting your body to an environment, not adapting the environment to the human body.

Monday, October 29, 2018

NOTES 9/12
Musica Universalis
NOTES 9/17

Schaa article, electrical body manipulation
-Small hanging child is electrically charged, attracts small pieces of brass leaf and causes them to float.
-Occured in 1729 during the beginning of the Enlightenment, advancements in technology are booming.
-Perormed on a stage because there were no other methods of communication, another example is Thomas Aikens
-Phantasmagoria, projection culture, projections used to create optical illusions

Body Stim Art
-Chris Burden
-Arthur Elsenar

Open preferences ---> Set sketchbook location to removable drive under Mac HD and then Volumes

Side Project:
 This is the info page for a side project where I build synthesizers/music production equipment.



A RELAY is a special circuit that allows us to turn another circuit on or off while keeping the circuits seperated

Allows you to isolate and control items of all voltages from a low-power consuming device.

N.O.=Normally open
N.C.=Normally closed

Contains an electromagnet that opens and closes a switch.



Waveshield Schematic:

Things to know about Waveshield:
  • The audio playback library uses 10K of flash - so if you want to use an NG arduino, you'll need to upgrade to an Atmega168 chip.
  • About 600 bytes of SRAM are used to buffer the audio and keep track of file data, so RAM-heavy projects may not work well.
  • The shield can't play MP3, WMA, Ogg or other compressed audio files. It can only play uncompressed PCM/WAV files. Converting audio to WAV format is very easy, and is often the default format for many audio programs.
  • Files are stored as 8.3 name format, and can only be placed in the root directory. That means you can only have ~512 files (but they can be any size).

Pins Used by wave shield alone:
  • 13, 12, 11 always used by the SD card (final voice changer won't need SD card)
  • The library included uses pin 10 for SD card and 2, 3, 4, 5 to talk to the DAC.

3.3V Voltage regulator

  • This takes the 5V supply from the Arduino and converts it to a nice 3.3V supply. This is necessary because SD/MMC cards only work on 3.3V. If you give them 5V they'll burn out & die! 
  • The voltage regulator used is the MCP1700-330, which can provide up to 250 mA of current. There are 4 capacitors associated with the regulator. C1 and C2 are the input capacitors; they stabilize the 5V input. C3 and C4 are the output capacitors, they stabilize the 3.3V output 
  • There is a jumper that allows you to skip the regulator and use the 'built in' 3.3V supply from the Arduino. However, it is not suggested as that supply is not guaranteed to provide the current necessary.

The microcontroller/Arduino

  • The library contains a bunch of specialized code. 
  • The first part is a 'FAT16' library, this is a set of functions that allow the chip to read the SD card, locate files and read their contents. 
  • Once it opens a file and is ready to read it, it looks through the first section of the file. If it's a Wave file, there will be all sorts of information stored in this header that will indicate the channels (mono/stereo/etc), bits-per-sample (8 to 32), sample rate (ie 16KHz) etc. 
  • Basically, the firmware verifies that it is mono channel, 16 or less bits-per-sample and 22KHz or less sample rate. 
  • Then it sets up the audio interrupt that will go off sample-rate times a second. For example, if it's a 22KHz audio sample, the interrupt will go off 22,000 times a second!

  • The audio is encoded in PCM format. This means "pulse Code Modulation". 
  • Lets say it's a 16bit, 22khz wave. The audio waveform is sliced up 22,000 times a second and a corresponding value (up to 16 bits - from 0 to 65,635) is read from the waveform, then that value is stored in the file. Each sample is a unique value. The file is not compressed. This means the files are very large but the quality is very very good.
  • The SD card can provide 512 bytes at a time. This is buffered inside the Arduino's RAM so that we have smooth playback. (Techinally, its a double-buffer which means we read 256 bytes and play 256 bytes, then swap.) The audio interrupt picks one sample at a time and sends the data to the DAC (digital/analog converter). 

  • Human vocal range is typically 300-3,500Hz, Nyquist sampling theorem says we need 2x minimum sampling rate to reconstruct a signal, so were going to use at least a 7KHz sampling rate.
  • Arduino's standard analogRead() function in a loop is way too slow for this.
  • A capability in Arduino's analog-to-digital converter called free-run mode collects analog samples at a fast, fixed interval without repeated polling in our code. An interrupt handler is automatically called each time a new sample is ready.
  • The audio samples are stored in a circular buffer --->“when you reach the end of the buffer, roll back around to the beginning and write over it.”
Reference image for circular buffer from adafruit tutorial^^

Wednesday, October 24, 2018

Final Project Proposal

Final Project: Voice Modulator

My plan is to construct a voice-changing mask that is synced to LED’s contained within the mask, in the hopes of it being used during future musical performances. Alongside being functional, this mask will contain highly sculptural elements that will serve to create a defined, recognizable character. This project draws on the work of several different artists and musicians as influence, and looks to mesh different aspects of cyberpunk and traditional fantasy aesthetics. 

Visual Influence

Animal Collective's ODDSAC

The Metal Gear franchise

Shobaleader One

Nick Cave's Soundsuits

Aural Influence

  • James Blake – CMYK

  • Zach Hill – Ummer

  • Machine Girl – Bullet Hell

  • Quasimoto – Low Class Conspiracy

  • Flying Lotus as Captain Murphy


  • Pure voice modulator

  • Syncing lights to audio


  • LED Strip: $25
  • Solid Core Wire: $3
  • Parallax Sound Impact Sensor: $10
  • Wall Adapter Power Supply: $6
  • Stereo 3.7W Class D Audio Amplifier: $9
  • Electret Microphone Amplifier: $7
  • Adafruit Waveshield Kit: $22
  • Contingencies: $40


Monday, October 15, 2018

Oct 15 2018
Arduino BASICS
-Pin13 is the only one that already contains a resistor

void setup () {
-defines pins to use and rules for the loop.
-kinda like a style sheet from CSS

void loop () {
-Defines what we do with the pins we're using

-use "//" to make the rest of a line a comment that doesn't affect the script.
-use "/*" and end with "*/" to create an entire block of comments.
-Comments help you keep track of what piece of code does what.

type     variableName ;
type     variableName = value,      <-----can define what type of variable and its value at the same time

lowercaseUppercase <-----known as Camel Case

4 BIG TYPES: using correct type makes Arduino run much smoother and saves space

-A whole number from 0 to 255

-A positive or neg number from -32000 to 32000

-A positive or neg number that exists in a large range(from pos to neg billions)

-A value measured to the decimal point, either positive or negative

3 different types:
global - placing a declaration outside of setup and loop, allows it to be a rule that applies to all of the code.

function -

local - exists on the most specific level

Array-A list or collection that you can call on for different information.
-arrays have a type

int      myArray[]={val0, val1, val2,...}; <--- directly defining values in list

int      myArray2[5];   <-----says make room for a list of five integers, number in square brackets defines number of objects in list.

int      myArray2[5]; <----declared statement, would be located in setup
x=myArray2[2];  <------code finds 2nd value in list, x is an assignment, would be located in loop

color ranges are measured in bytes;
255,255,255 is white
0,0,0 is black

A fourloop is a mini function inside the loop that performs a list of functions in order.

void loop() {
for (int i=0; i<7; i++) {
  analogWrite(ledPin, flicker[i]);

i++ means move up a level

Monday, September 24, 2018

NOTES 9/28

Hertzian Tales

  • Dunn's Thesis
-Semiotics is the Study of Signs, signs ae made of the signified and the signifier.

Ethology- the study of behavior


Internet of Things (IOT)

Ambient Intelligence = Ubiquitous Computing

Dunne and Rabie

Sunday, September 9, 2018

Wetware Upgrade: Hyperlink

The Hyperlink is a small device implanted at the base of the neck that monitors and regulates the intensity of electrical currents in the human body. The Hyperlink pays attention to the movements of your body and uses basic principles of machine learning to direct synaptic pathways in the most efficient fashion. By exposing the connective tissue of your brain to heavier electrical workloads, the Hyperlink expedites the synaptic processes of your mind. This opens the door to a multitude of practical applications. Quicker thinking means faster learning and better memory, reducing the learning curve on many tasks significantly. The effects aren't only mental however, as the Hyperlink's regulation of electrical intensity also improves muscle response, resulting in quicker reflexes.

Wednesday, August 29, 2018

Simple LED Circuit Tutorial
Connect your battery terminal to the appropriate power rails.

Place one end of your resistor into any of the rows, and the other end into another row. The run a wire from the positive power rail to the same row as one end of your resistor.

Place the anode of your LED into the same row as the opposite end of the resistor from where you connected the power. Then place the cathode into an empty row. 

Connect the row containing the cathode of your LED to the negative power rail.

Connect your battery!

DAY 2 NOTES 8/29/18

Current moves from high potential to low potential

Circuit Diagram Symbols
Image result for circuit diagram symbol chart

Open Circuit - The loop is not closed, the circuit is not flowing.
Short Circuit - The power connects directly to ground.

XKCD <------ Great web comic

-Sandbox for circuit experimentation
-The holes in each row connect to one another, but the break in the middle separates each row.
-The holes in the columns on the side are called Power Rails and are connected all the way down, one column being our power source (positive +, usually coded red) and one column is the ground (negative -, usually coded black)

-Free electronic design software that allows you to design circuits both visually and schematically.
-You can even have circuits you've designed printed.

-Red/Yellow/Green are typically 3v and 20milliAmps
-All diodes are polar and control the direction of the current.

Monday, August 27, 2018

DAY 1 Notes 8/27/18

DAY 1 NOTES 8/27/18

2 types of current

  • Direct Current (DC) - Moves one direction
  • Alternating current (AC) - Alternates directions
Movement of electrons is a current.
All materials have resistance - friction as electrons move along.
Insulator- High resistance material (plastics, rubber, etc)
Conductors- Low resistance material (metals)

1 Amp of current - 6.25x10^18 per second
Resistance is lower in a thicker wire because theres more material to move along (ex. a wire pipe will move more water)
I(Amps)=V(Voltage)/R(Resistance) <-----Ohm's Law

Power never connects directly to ground.
There should always be a load on the circuit.

Circuit- A system that uses electricity to do some type of work.
Circuit Diagrams are also known as a Schematic.

Components - common part, manipulate current to do work.
Two common types:
  • Through hole(PHT)- older, uses legs that pass through holes
  • Surface Mount(SMT)- sit directly on the board.
Every component that is manufactured has a data sheet where you can view all the pertinent info for voltage, resistance, etc.

-a store of electrical potential
-supply DC
- come in a variety of voltages(V) and capacities known as Ampere-Hours(Ah)

-connect a section of circuit
-typical application is to connect the power
  • open- off position, not conducting
  • closed- on position, conducting
  • terms on data sheets are "normally open" (NO) and "Normally closed" (NC)
-controls currents
-common shape is a barrel with stripes denoting value of the resistor.
-measured in Ohms.
-use Omegas as symbol.
-common values/multipliers:
  • Kiloohm (thousands)
  • Megaohm (millions)
-There are apps to calculate the value of your resistor.

-common values:
  • picoFarads (trillionths)
  • nanoFarads (billionths)
  • microFarads (millionths)
-Light Emitting Diodes
-they have two polar legs:
  • Anode (positive)-longer leg, inside flag is smaller
  • Cathode (negative)-typically shorter leg, flag inside is larger
-integrated circuits
-typically two rows of legs, sometimes one row.
-kinda works like a lego brick, is a "process" that is commonly used enough to be packaged and utilized as a single component.
-each leg does a specific job, these are specified on the data sheet
-come in many different sizes.

Examples of Physical Computing projects:

  • EyeWriter
-used eye tracker to move a cursor around a field.
-made with a pair of glasses
-developed to assist a graffiti artist with ALS who could no longer move.

  • Text Rain
-people moving between a projection on the wall and a camera affect the movement of falling text on the projection.

  • Beatriz DaCosta's Pigeon Blog
-pidgeons wearing small sensors fly from a distant location to home, collecting information about air quality along the way.

  • Zap Away
-Anti-rape bra that zaps would-be assailants.

  • Mic Jammer
-emits an ultrasonic frequency that jams microphone recordings.

  • Touchy