Bouncing Ball Audio - Task by smallest.ai
Task Description

Create a 2D arena with downward gravity where there will be a ball that is spawned at a random height below the roof of the arena on the click of a button and gets a small random horizontal force. The floor should have a dampening effect such that the ball eventually will come to a halt after hitting the floor multiple times. The side walls and the roof are perfectly elastic.

The floor is divided into 8 horizontal panes, each having audio "I", "am", "an", "amazing", "frontend", "developer", "at", "night" respectively. Whenever the ball bounces on a pane, the audio corresponding to the particular pane should be generated and sent to the backend. This audio can also be pre-generated using any free text to speech apis.

In the backend, starting from the first audio to be sent to the last one, the audio will be concatenated together. Finally, once the ball is done bouncing, send the entire audio back to the frontend where it should be available for playing in the UI/download.

Loading scene...
Properties
Phrase
You can only change phrase when scene is idle.
Fetching audio for words...
Try refreshing page if it takes too long.
Individual Word
I
am
an
amazing
frontend
developer
at
night
Balls
We couldn't find any data for balls.
Press Space to add a random ball to the scene.