I am working on a project that must convert real time drawings to music.
I started with some drawing tools, like paintbrush, spray and so on. Now I am thinking to map colors (I convert them to grayscale) to musical notes, the speed of the mouse to volume, the thickness of the paintbrush to amplitude.
The user will also be able to choose an instrument, piano, guitar, violin and others.
I decided to work with minim 2.1.0 beta. I made a toneInstrument (like the examples in minim) and I call it, when drawing.
The problem is that I hear the same note pressed again and again and it doesn' t sound good. I want to hear continues sound as long as I paint.
How can I do this?
Any ideas, please?
Thank you for your time.
I started with some drawing tools, like paintbrush, spray and so on. Now I am thinking to map colors (I convert them to grayscale) to musical notes, the speed of the mouse to volume, the thickness of the paintbrush to amplitude.
The user will also be able to choose an instrument, piano, guitar, violin and others.
I decided to work with minim 2.1.0 beta. I made a toneInstrument (like the examples in minim) and I call it, when drawing.
The problem is that I hear the same note pressed again and again and it doesn' t sound good. I want to hear continues sound as long as I paint.
How can I do this?
Any ideas, please?
Thank you for your time.
1