Archive for the ‘Programming’ Category

August 22nd, 2010 - 3:54 pm § in Music, Programming

More AI and Bach

I’ve been working on this lately. [Audio clip: view full post to listen][...]

January 6th, 2010 - 12:35 pm § in Electronics, Programming, Video

Controlling a virtual cube with a LIS302DL (accelerometer)

This is just a preview of how the LIS302DL works and some of the potential in it. I’m thinking of zillion of ideas of how this can be used and I would like to pretty much implement it on some of my music projects. The cube is a simple demonstration of how the accelerometer reacts [...][...]

January 5th, 2010 - 6:13 pm § in Programming, Video

I was bored so I coded this noisy thing with colors

(no, not the picture… the video!)[...]

December 26th, 2009 - 1:17 am § in Music, Programming

Bach, artificial intelligence and me!

This is the first result I’ve gotten with my new artificial intelligence algorithm for musical patterns. Basically the idea here is to create variations on a Bach piece so I’m taking a corrente from a Bach partita and the variations that Bach made for it and my algorithm basically will e[...]

November 26th, 2009 - 10:09 pm § in Electronics, Programming, Video

Project code: Musicalcoholímetro (musical breathalyzer)

So this was my final project for my alternating current circuit analysis course. Basically, it’s just an mq-3 sensor, a 2k ohm resistor and an arduino. With some adjustments: Here is the code I used: import processing.serial.*; import cc.arduino.*; import ddf.minim.*; import ddf.minim.signals.[...]

October 12th, 2009 - 1:00 am § in Music, Programming

Adding formal music notation to my music generator program

I was working on this last night, and my music generator is now able to export files in formal notation (sheet music). The problem I had with my last algorithmic compositions was that they are practically unreadable. Importing midi files to a notation program would display them wrong. This is the fi[...]

July 16th, 2009 - 4:32 pm § in Programming

Java and ChucK pt. 1

So, I’m just thinking on doing something with Java and the ChucK programming language. Right now I’m still brainstorming on what I’m going to do. Accessing ChucK from Java is as easy as this: public class Chuck {     public static void main(String args[]&[...]

July 15th, 2009 - 7:36 pm § in Music, Programming, Video

Mixing from command prompt

Have you ever noticed that DJs are so “cool” and they get like millions of girls? Well, I said to myself: “If I can write a program that mixes samples when I want them to, and I’m able to mix it with the command prompt, then the ladies will come to me.” I soon found [..[...]

June 11th, 2009 - 10:58 am § in Music, Programming

Algorithmic Composition Works I

Algorithmic Composition Works I represents some of my early experiments with algorithmic composition & computer-generated music. This album was composed by programs I made using the Java programming language. The piece Asynchornous Frustration (in three movements) was done with an experimental f[...]