Hi all!
i´d have a general question before i start coding. i have to generate some kind of "keyboard" (musicinstrument, not type keyboard). arduino will be the interface communicating hardware and software.
my question is: i have mp3´s, different sounds , every sound is connected to one button on the keyboard. the goal is: if you press the button the sound plays (with a little fade in) as long as you hold the button the sound should loop, if you release the button, the sound stops playing (with a little fade out). is it the right way the note function of minim? (if the mp3 is loopable i could loop the sound, and add some attack(or volume shift) when pressing the button and the other way around releasing the button)
did anyone of you try this and do you think it works or are there some limitations, would it be better to use some other classes (midi bus etc?) where this is simpler?, am i wrong?
thanks in advance
poklemme
i´d have a general question before i start coding. i have to generate some kind of "keyboard" (musicinstrument, not type keyboard). arduino will be the interface communicating hardware and software.
my question is: i have mp3´s, different sounds , every sound is connected to one button on the keyboard. the goal is: if you press the button the sound plays (with a little fade in) as long as you hold the button the sound should loop, if you release the button, the sound stops playing (with a little fade out). is it the right way the note function of minim? (if the mp3 is loopable i could loop the sound, and add some attack(or volume shift) when pressing the button and the other way around releasing the button)
did anyone of you try this and do you think it works or are there some limitations, would it be better to use some other classes (midi bus etc?) where this is simpler?, am i wrong?
thanks in advance
poklemme
1