Weeklybeats is a 52 week long music project in which artists compose and publicly release 1 song a week for the entire year.
Starting January 1st 2024 GMT each participant will have one week to upload one finished composition. Any style of music or selection of instruments are welcomed and encouraged. Sign up or Login to get started or check our FAQ for any help or questions you may have.

Morning Phases

By Tristan Louth-Robins on March 31, 2018 11:40 pm

So, this month I've decided to (re)explore Arduino and various sensors in conjunction with Max. I've been doing this for quite a few years and have always gotten something out of it, but regrettebly, I've never really explored things further. So as a result my knowledge in this area has remained restrcited to a few simple processes.

I must admit I'm starting out with a very simple process, whereby a pure wave oscillator (fixed at 330Hz) has its amplitude modulated by marginal variances of light intensity. The light intensity is measured by a little Freetronics light sensor which outputs a value of 0 > 1027. I've programmed the Arduino to read every 5 seconds. This value is then received by the Serial and scaled/converted in Max.

The modulation rate is informed the differential between the previous and current light intensity value: so if the previous light value was 624 and the current value is 627, the differential is +3. This value is then multiplied by 0.1 so that it it becomes 0.3. This modulation value is then routed to the pure wave oscillator - i.e. 330Hz with an amplitude modulation rate of 0.3Hz.

I've also used the differential to control the parameter of a second pure wave oscillator. This second oscillator has a set fundamental of 440Hz, but in this instance the differential value will control the fundamental frequency instead. So, if the differential is +3, then the second oscillator with be 443Hz.

As the light sensor provides a read every five seconds, this allows differences in amplitude rate and frequency to be observed.

The audio is an excerpt of a recording made in the studio on Sunday morning.

Audio works licensed by author under:
Copyright All rights reserved

It's like the light is singing/ ::)

The process behind this sounds very fascinating.  And the results are ethereal not unlike what I imagine light might sound like.

Very interesting process/concept, and a very nice musical result. I really enjoyed listening to this!

Lovely simplicity in tones.

Where did you have the light sensor?

You need to login to leave a comment.
Login Sign-up