User:AvitalB/special issue

From XPUB & Lens-Based wiki
< User:AvitalB
Revision as of 10:36, 14 October 2019 by AvitalB (talk | contribs)

Special issue X



Session 1

With Denis de Bel. Quick link to wiki

Building a module

We built a synth that can receive samples

My samples

(Israeli prime minister Bibi in his after election speech)

Session 2

Workshop at De Player with Olli Aarni and this is pad

My random notes

  • Open string phenomenon: Something that seems to have limited options but actually has more (one hand on the string and one hand on the pitch)
  • When you don't control your instrument, how can you still effect it (like the raindrops falling on tin- you don't control the rain but you can control the material it lands on for example)
  • Natural generators (example: the lava lamps next to each other, each with different number of bubbles)
  • A thought- what make a certain sound iconic? like the kindergarden sound- kids screaming+running on the ground+the voice of the teacher= the kindergarden sound. Like a recipe, all these sound together create a complete other sound and they can function on their own as well.
  • A name- a short sound that you were trained to respond to.
  • In language- sound that are toward the inside (me) and sounds that are toward the outside (you, he, she)
  • I want to expand on- structure of languages.

Links

Session 3

Americ: the Arduino environment is pretty limited because every module can do a limit amount of actions. The coding language commands a lot of the time contain a lot of command inside.

Simpler way to upload a sample

In terminal:

  • go to the folder where the files are
  • pull from git if needed
  • use sox with this command: ./<name of sh file> <name of wav file> (this runs this code on the sound file)
  • this create a sample.h from the sound file
  • Now you have a new sample.h file

Arduino environment

serial.begin(9600)- the number is number of symbols in a sec.

serial.print- will show the output

void loop(){ everything inside that will loop

delay(1000)- will give a delay of 1 sec

In class

  • We reviewed some loop commands in the code
  • We tried to affect each other's modules with a code in this files:
Arduino


Session 4

Monday+Friday sessions The Friday session really helped with some deeper understanding regarding how to work with the module.

At home

Recommended set for deep thinking by Helene Rickhard

I tried to do some visual stuff connecting my module to processing through the computer (because Processing is a more "visual" coding environment). The main issue was transferring the information we are getting from the Arduino to Processing.


References for visuals using Arduino-Processing connection

These are the links I used

General- connecting between Arduino and Processing


Serial port

In the Processing code you need to be "on" the same serial port that the Arduino is running on

In the Processing code you need to chose the port number in this line-Serial.list[number-of-port]

myPort =  new Serial(this, Serial.list()[11], 9600);

Adding this line

println(Serial.list());

to the processing code will show the lists of port and than you can find out which one you should be on.


String into int


Multiple inputs

The problem that I have right now is that my code doesn't know how to get different inputs from the Arduino (A0, A1, A2). I think this video will help me: