Hello ,
i have 5 .wav files ( " Kick.wav" ,"Clap.wav ", "Snare.wav" , "Hat1.wav" , "Hat2.wav" )
4 midi files (Pat1.mid , Pat2.mid , Pat3.mid , Pat4.mid )
on sd card inserted on teensy 4.1 board.
i want to play .wav files sequence accord to mid file pattern at variable {int BPM; ) .i don't want record note in realtime . just play mid file once or loop mode/Start or Stop playing/ playing specific .mid file from input/ change BPM in realtime) i searched many threads for this . i could not find something to play in this way.
my wav files are in Sequencer :-
Kick.wav = C0=note number 0
Clap.wav = C#0=note number 1
Snare.wav = D0=note number 2
Hat1.wav = D#0=note number 3
Hat2.wav = E0=note number 4
as you are seeing in Pat1 one wav is running one time
,but in Pat2 you are seeing two or more wav shorts are running.
here ( Hat1.wav +kick.wav) / (Hat2.wav+Hat1.wav) / (Hat1.wav+Clap.wav+Kick.wav) three files are running simultaneously. it is polyphonic.
i am searching for any library or idea to play .mid files stored on sd card .
i have put 5 .wav files & 4 .mid file on sd card. but i don't anything about it how to play them in above way.
plaese help any idea or Library..
thank you,,,,,,,
i have 5 .wav files ( " Kick.wav" ,"Clap.wav ", "Snare.wav" , "Hat1.wav" , "Hat2.wav" )
4 midi files (Pat1.mid , Pat2.mid , Pat3.mid , Pat4.mid )
on sd card inserted on teensy 4.1 board.
i want to play .wav files sequence accord to mid file pattern at variable {int BPM; ) .i don't want record note in realtime . just play mid file once or loop mode/Start or Stop playing/ playing specific .mid file from input/ change BPM in realtime) i searched many threads for this . i could not find something to play in this way.
my wav files are in Sequencer :-
Kick.wav = C0=note number 0
Clap.wav = C#0=note number 1
Snare.wav = D0=note number 2
Hat1.wav = D#0=note number 3
Hat2.wav = E0=note number 4
as you are seeing in Pat1 one wav is running one time
,but in Pat2 you are seeing two or more wav shorts are running.
here ( Hat1.wav +kick.wav) / (Hat2.wav+Hat1.wav) / (Hat1.wav+Clap.wav+Kick.wav) three files are running simultaneously. it is polyphonic.
i am searching for any library or idea to play .mid files stored on sd card .
i have put 5 .wav files & 4 .mid file on sd card. but i don't anything about it how to play them in above way.
plaese help any idea or Library..
thank you,,,,,,,