Go Down

Topic: translate and store midi file directly into sketch (Read 1 time) previous topic - next topic

Oliverio Duhalde

Hi Everybody

New to arduino,

I Want to load or translate a very simple midi file sequence into sketch and play it back for turning on or off things in accordance with NOTE ON and NOTE OFF.
Is it possible to translate and somehow store the sequence in the arduino without using SD cards?

Thanks in advance

PaulS

#1
Jan 16, 2011, 02:08 pm Last Edit: Jan 16, 2011, 02:08 pm by PaulS Reason: 1
Quote
Is it possible to translate and somehow store the sequence in the arduino without using SD cards?

Depends on how big the sequence is and how long you need to persist the information.

Oliverio Duhalde

OK, the sequence is really short about 10Kb, and I want to keep it into the chip for using it in stand alone operation, without computer, thats why I need to store the sequence into the arduinos memory.

THX

AWOL

"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

PaulS

Quote
OK, the sequence is really short about 10Kb

Really short and 1/3 of available program memory do not belong in the same sentence. :)

I asked about persistence to determine if the Arduino needs to remember the data after a reset.

If it does, you really will need external memory, like an SD card.

AWOL

Quote
Really short and 1/3 of available program memory do not belong in the same sentence

That really depends on how long the OP's sketch sans data is.
Any clues, OP?
"Pete, it's a fool looks for logic in the chambers of the human heart." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Oliverio Duhalde

Yes, first, mi intention is to turn off the arduino and still have the sequence I understand it is possible.

But what I am looking for is an easy way to extract the sequence included into de .mid file and convert it to sketch language.

I dont know how to do it. My intention is to avoid putting all events one by one

THXs

Go Up