Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

ofSoundPlayer - using the getPosition() to control the size of an image?

$
0
0

@Anthony_Dunphy wrote:

Hello fellow openframeworks users

I have a rotating image that I want to increase in size as the the sound playing gets further to the end of playing

I know getPosition() returns the current position of the playhead as a float between 0.0 and 1.0.

What C++ topics should I looking into to get this to work?

I suppose I want to get the returned float value to control the int width and int height of the image?

Any pointers would be great

Am relatively new to C++ and openframeworks

Cheers again!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles