User:AvitalB/special issue: Difference between revisions

From XPUB & Lens-Based wiki
No edit summary
No edit summary
Line 2: Line 2:
<span style="display: inline; position: relative; font: 80px Futura, Sans-Serif; font-weight: normal; letter-spacing: 40px; color: rgba(0,51,51,0.7); text-shadow:20px 0px rgba(0,51,51,0.6); cursor:progress;">Special issue X</span>  
<span style="display: inline; position: relative; font: 80px Futura, Sans-Serif; font-weight: normal; letter-spacing: 40px; color: rgba(0,51,51,0.7); text-shadow:20px 0px rgba(0,51,51,0.6); cursor:progress;">Special issue X</span>  
</div>
</div>
<br>
<br>
 
=Session 1=
=Session 1=
With Denis de Bel. Quick link to [http://pzwiki.wdka.nl/mediadesign/Category:LFP wiki]
With Denis de Bel. Quick link to [http://pzwiki.wdka.nl/mediadesign/Category:LFP wiki]
Line 91: Line 91:
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 be "on" the same serial port that the Arduino is running on
*[https://software.intel.com/en-us/setting-up-serial-terminal-on-system-with-mac-os-x This is an explanation how to find out through Terminal]
*[https://software.intel.com/en-us/setting-up-serial-terminal-on-system-with-mac-os-x This is an explanation how to find out through Terminal]
In the Processing code you need to chose the port number in this line-Serial.list[number-of-port]<pre>myPort =  new Serial(this, Serial.list()[11], 9600);</pre>
 
Adding this line <pre>println(Serial.list());</pre> to the processing code will show the lists of port and than you can find out which one you should be 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.
*[https://www.arduino.cc/reference/en/language/functions/communication/serial/read/ About the command Serial.read]




'''String into int'''
'''Converting text input to number value (int)'''


*[https://www.arduino.cc/en/Tutorial.StringToIntExample/ Turning a string from Arduino to an Int(converting the text you get to an actual number)]
*[https://www.arduino.cc/en/Tutorial.StringToIntExample/ Turning a string from Arduino to an Int(converting the text you get to an actual number)]

Revision as of 12:15, 14 October 2019

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.


Converting text input to number value (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: