Skip to main content
Inspiring
February 16, 2017
Beantwortet

Moving at the beat of Music.

  • February 16, 2017
  • 2 Antworten
  • 330 Ansichten

Hello folks, I had been experimenting and reading many examples, and there is one thing that I getting confuse.

Let say that on the audio graph, at signal value of 25, a ball will be at location 10,10

And when the audio value reach 40, the ball should be at location 50,10

In another words with the beat of music the ball will move horizontally from 10,10 to 50,10

I getting confuse, so can someone give me an example based on that, so I can learn it?

Thanks.........

    Dieses Thema wurde für Antworten geschlossen.
    Beste Antwort von G-Person

    I think I found the solution, take a look.........

    2 Antworten

    Inspiring
    February 21, 2017

    I still missing something, if I find a good answer will let you know

    Mylenium
    Legend
    February 17, 2017

    A simple linear expression will do.

    mAudio=//insert your audio input here;

    mX=linear(mAudio,25,40,10,50);

    mY=value;

    [X,Y]

    Mylenium

    Inspiring
    February 17, 2017

    Thanks but I dont see on that formula any indication

    that you are working with the X ( HHorz ) or Y ( Vert ) axis.