Swipe gesture to make a fluent sound.

Asmoro

Active Member
Licensed User
Longtime User
Hi all,

I like to swipe on the surface to make a fluent sound.

From what I'd read so far here, I can't determind which is the best
way to do that.

I attached a zip testfile with button click codes, but that's not it.

Anyone who has a solution for this?
 

Attachments

  • SwipeAsound.zip
    81.6 KB · Views: 215

stevel05

Expert
Licensed User
Longtime User
You'll need to look at either the gestures library or adding touch to a panel via reflection. Either will give you an X & Y position of the touch.

Then you need to decide how your finger movement will translate into sound, individual notes triggered by 'plucking' a string or a preset arpeggio dependent on how far your finger has moved.

It'll take some trial and error to get the best solution.
 
Upvote 0

Asmoro

Active Member
Licensed User
Longtime User
Thanks SteveI05, trial and error is my middle name...

So probably I will go for the panel with reflection lib.

Asmoro
 
Upvote 0
Top