# Bouncing ball karaoke algoritm?

**URL:** <https://forum.kirupa.com/t/bouncing-ball-karaoke-algoritm/127971>\
**Category:** Uncategorized\
**Created:** [November 8, 2004, 3:19pm UTC](https://forum.kirupa.com/t/bouncing-ball-karaoke-algoritm/127971 "2004-11-08T15:19:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cryptoboy](https://avatars.discourse-cdn.com/v4/letter/c/ecc23a/32.png) [@cryptoboy](https://forum.kirupa.com/u/cryptoboy)\
**Post date:** [November 8, 2004, 3:19pm UTC](https://forum.kirupa.com/t/bouncing-ball-karaoke-algoritm/127971/1 "2004-11-08T15:19:14Z")

</div>

Hi,

I am trying to work out a way to achieve the bouncing ball effect over text known from karaoke players ?

I would like this to be done programatically with actionscript, so the ball follows the text AND the soundfile (looking for pauses or DB rises?maybe not). I have heard its a question of finding the right algoritm? Its use will be in a language lab-like flash app based on Communication server, where the user can :

1. Hear the correct pronounciation of a sentence (with bouncing ball over text)
2. record their own voice
3. compare the two

A working sample code would be appreciated at this stage ![](http://www.kirupaforum.com/forums/images/cool.gif) ?

Best regards Cryptoboy
