I wrote a basic beat detection algorithm for R4. You can copy-paste it to your custom scene and it will (try to) identify beats, breaks and beat length for you. For more information on how to use and configure it, see BeatDetection Copy paste.r4 in predefie\Beat Detection algorithm directory.
You can find the packet here:
Just extract it to your R4 root directory and it should work (if I didn't forget anything).
Included to Beat_Detection_and_Dancing_Sphere.zip:
- Beat Illustration.r4 - a scene that illustrates the internal beat detection variables
- Plasma Sphere Dance Show.r4 - A scene that utilizes the algorithm. The scene consists of a watermorph dancing on a flowfield. She's a poor dancer but looks nice, if you ask me!
- Textures and a water morph file
It will also create a subdirectory called 'Beat Detection algorithm' to the predefine directory. There you can find Beat Illustration.r4 and BeatDetection Copy paste.r4.