Lab 10 Serial Communication

Serial communication is basically the communication between different software. These two software can have protocol to communication.

These two reads can have the values from the sending software.

The sending software need the correspondingly code to send out values.

In this processing-arduino communication process, we can import some modules to communicate.

Fundamentally,  it is using socket function to transmit the values, which can be type ‘str’, ‘int’…. depending on the software.

[NIME] Using Max Console Yuntian Ye

First I use a typical programming test to the language, print (‘Hello World’) to see the logic.

In Max, the procedure is from up to down and from right to left.

When yo push the bang bottom, the program will start once to print.

I try different object to have different effect. Metro can control the speed of Bang being pushed; random generate random number; makenote take the random number as the pitch and it also control the velocity and duration; outout can play the note repeatedly.

Furthermore, you can add keyboard to see what key is being pressed.

Max can also accept external audio source and play. The gain bar can provide user a clear visualization of controlling volume. Loop 0 means play once and loop 1 means play again and again. The loudspeaker button is activated when receiving wave value, I suppose, different from noteout receiving number value.

For a musician, it is not enough to merely control music. Music visualization is also important.

With Minim library of processing, you can have the different values from the music expressed by by actual waving and rectangles.

 

week12: mold

For this week, we just literally build a Pokemon Army.

 

And here’re the steps:

We first mixed these two material, a kind of raisin as I remembered, and the reason we choose this material is that it curated fast, 30~60 minutes would be fine.

And we pour some of these two material together, be careful that once they were mixed, they reacted pretty fast that we then need to pour them into the mold as soon as possible. And during this process, people could also add color to the mixed liquid.

Also, we’ve got extra material and before we apply the liquid to the “plastic mold”, it is better to use some Vaseline first so that we could take out the mold easier laster.

Yea, and this is pretty much it, and also about the rose we made. It is really interesting to see the mold looks a little bit different depending on the curating time. When it’s still hot, it has a little bit transparency.

 

 

 

Week 11: 3D modeling

I didn’t expect that we need to save all the practices that we had, and I just suffered some life crush down that all my files for this semester for every class just lost for no reason.

Based on this sorrow, I kind of feel like an ice-cream and I make this.

This is simple but I really like this. It’s like a snowman but also a two balls ice-cream. Looking forward to print it.

Making Moulds!

This week, we learnt how to make silicon moulds in class. The mould is based on either a small object we already have or a small object we 3D print. For this class, I decided to make my mould based on a small bell (similar to the bells below)

Materials:

Pourable silicone (250 ml)

Silica gel for curing (5 ml)

Hot glue

Equipment:

Plastic bottle that’s cut to the size/height of the bell

Flat board/surface to mount the plastic bottle and the bell

Pipette

A chopstick to stir/mix the material

Steps:

I first glued the plastic bottle I’ve cut to the flat surface with hot glue and then glued the bell (hint: I should’ve glued the bell to the board first). I glued the bell upside down because that way, I also create that space within the half-sphere of the bell.

And then I prepared the mix for the mould. The mix consists of 250 ml of pourable silicone and 5 ml of silica gel. This mix was also shared for Mary Kate’s mould. Afterwards, the mix was stirred well.

We then poured the mix onto the container where the object-to-be-made-into-mould is mounted at. For my mould, we were to fill in the sides of the container first instead of pouring it right on top of the bell. This is done so that the sides of the bell are supported by the silicone mix.

Aaaand, that was it! We were then to wait for the mould to harden/cure. The process should take about 24 hours.

One mistake that we realised (right after we poured the silicone) was that we didn’t leave a hole to pour the cast through. However, we figured that we could cut the mould into two parts and either 1) cut a hole for the cast or 2) make two halves of the model and then connect them with adhesives afterwards.

 

 

[NIME]Week3: MSP(Cyndi)

Date: Nov.30th

Name: Cyndi

Instructor: Antonius

Goal: To learn how to use MSP

Process:

Last class, we learned how to use the software MSP to generate different sound.

First, we learned how to generate random sound. I tried to put a really large number in the random function at the beginning, but some of the sounds are not generated. With the help of professor Antonius, I  learned that the range of the random is 128. Every value represents different pitches.

Then, we learned how to play a local song and control its volume using MSP. I learned that the buffer is used to store the file.

At last, I tried to explore MSP with Arduino. I found out my port is b but didn’t have enough time to practice it. I will spend more time practicing the interaction between MSP and Arduino.

Reflection:

This software is very very useful and I can generate many ideal sounds by using it. I am thinking about applying it to my final instrument. However, extra attention is needed when connecting those ports together.

 

 

NOC_Final_Concept_Weiyu

For the final project, I want to expand what I have done for the midterm.

For the midterm, I intended to show how sound is spreading in the air using the blue lines, but not very good illustration. And different pitches were supposed to cause different movements.

I want to do improvements in the following three aspects:

  • 1. Cross screen boundaries – drop the ball from real world, and continue the movement in the screen
  • 2. The ball touches different real-world items and makes sound accordingly.
  • 3. How sound is spread in the air – in a flow field

To achieve the cross screen effect, I plan to capture several pictures of the movement using the camera and calculate the movement function or use the LeapMotion.

However, throwing a real ball might be very dangerous. I think Prof.Moon’s suggestion that using sound to generate the balls is a really wonderful idea and will be very coherent with the whole project about sound. I will think about it seriously.

For the part of the collision, I plan to use what we learned in class about vehicles and also the physical library Box2D. I follow professor’s suggestion after the midterm: 1.Replace the boxes with real items, and record the sound for touching them in advance 2. Play the sound when collide.

For the sound spreading part, I plan to use the flow field to represent the air, change the blue lines representation of air into a flow field representation.