translate and store midi file directly into sketch

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

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.

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

If it is only 10K, put it into PROGMEM

OK, the sequence is really short about 10Kb

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

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.

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?

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