Tuesday, April 24, 2007

Audio Programming Skeleton notes

So I dunno which program would be best to write this in...but having only Java mind chatter right now, an outline I wrote in my brain today of how the audio program may work:

Input File: DNA sequence
Program:
*Contains an audio file for every single note in the cycle of 5ths
Method one:
-If next char = [input---->(A/G/C)] then play concurrent note (6th, 5th, 1st)
-If next char = [ T ] then play a choice out of the notes in the array of the octave it is on
-Loops through circle of fifths every _ base pairs

Method two:
-If string of characters of three = [amino acid]
-change tempo based on premade table of tempos matched with amino acids
["start" codon will be the slowest tempo, "end" codon will be fastest, it will go sequentially quicker]

Amino Acid translation chart:

source of pic

Some info about the amount of time between each cycle and round of the helix...




Source

This is an interesting article in general actually.
I'm thinking perhaps every major and minor groove twist it will change? Maybe I can relate major/minor grooves to major/minor chords...HUMMM...I'll have to think how far into the composition of sound I want to delve because things like that can really enrich the musical aspects of this project. We will see.

No comments: