I just saw a video of a guy sliding his fingers on ipad screen and ....

xyloFUNxyloFUN Member Posts: 1,593
edited November -1 in Working with GS (Mac)
hey,
someone made a musical instrument for ipad and when the user slides her/his hand across the keyboard, all key the finger slides over make a short sound "like on the real instrument".

Can GS do that?

If yes, how?

To picture this, imagine an organ where you touch a low key and without lifting your finger, quickly move to the right. By doing so, all keys that lay in between the distance travelled get briefly pushed down and make a sound.

I have seen this performed flawlessly on the ipad and am baffled of how this could be done?

Comments

  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    If you mean what i think, if you have the rules for the keys when touch is inside instead of pressed, when you press any key and slide over to it itll play the sound becasue its not looking for a press on it, only a touch thats anywhere inits collosion area, instead of a touch that originated on it
  • VoidedSkyVoidedSky Member Posts: 1,095
    Can you post this video for us?
    ~CTM
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    i think if you tracked the finger's x position, then tracked the absolute value of the distance between keyX -fingerX, when fingerx was within 25px from keyx (or whatever 1/2 the width was) show the animation of it moving down and play the sound.

    what John said should work too, using Touch Inside instead of Touch Pressed
  • ChaserChaser Member Posts: 1,453
    how about timer when touch is pressed inside for less than or equal to .5 seconds play short sound. or some rate of time
  • scitunesscitunes Member, Sous Chef Posts: 4,047
    Constrain a small box to touch1x and y. In the key actors have it check when the small box actor overlaps with it.
  • xyloFUNxyloFUN Member Posts: 1,593
    Here is the video:



    it's right at the 5th second as he starts playing the right hand.

    The amazing thing is that a few days ago, I saw this app and didn't even bother to look at it because I figured that there are too many buttons crammed into a small space and without the sense of touching a button (which is very important when playing and not possible on a flat glass surface) the whole experience would be missed ... well, I was wrong.
    That is definitely an app to study :)

    Who ever made that (as well played that) knew what he was doing!

    Unfortunately, being Austrian, I can not relate to the music at all but that's a different thing altogether ...
  • xyloFUNxyloFUN Member Posts: 1,593
    JohnPapiomitis said:
    If you mean what i think, if you have the rules for the keys when touch is inside instead of pressed, when you press any key and slide over to it itll play the sound becasue its not looking for a press on it, only a touch thats anywhere inits collosion area, instead of a touch that originated on it

    Thanks guys for the suggestions :)

    John, I will experiment with that to see which feels more natural to play. I have never thought of doing it as you suggested because I like being able to trigger the sound and then move the hand to the next position ... but now I have to rethink my little strategy!

    That app definitely sets the standard! To think that I didn't even bother to look at because when I saw the graphics, I wrote it off as being useless.
    Now I have to step up to the plate and record something that requires some effort if I want others to take my app serious!
Sign In or Register to comment.