Browse Search Popular Register Upload Rules User list Login:
Search:
Survive from WavePlayer - Non Stop | Survival Proliferation

Image:
screenshot of the scene

Author: ReBox

Group: Default

Filesize: 2.43 MB

Date added: 2022-03-14

Rating: 5

Downloads: 6455

Views: 625

Comments: 1

Ratings: 1

Times favored: 0

Made with: Algodoo v2.1.0

Tags:

Scene tag

A survival proliferation marble race with 24 colors:
- Red - Orange - Yellow - Lime - Green
- Teal - Cyan - Sky - Blue - Purple - Magenta - Rose
- Black - Grey - White - Rainbow - Monochrome - Barrel
- Maroon - Mustard - Emerald - DarkCyan - Navy - DarkMagenta.
They have to survive from the Wave Audio Player Deluxe H21 that plays Non Stop. Who will survive?
Enjoy!
Box.

---Musics credit---
Song: Jonth & Hilefex - Non Stop [NCS Release]
Music provided by NoCopyrightSounds
Free Download/Stream: http://ncs.io/NonStop
Watch: http://youtu.be/15SiwK-Hrbk
Note: Music doesn't play, it is for the waveform.

---Play your own---
You can replace Non Stop waveform with another one, just follow the instruction below (Windows only):
+ Download your music and ffMPEG library, and place them in the same folder.
+ Extract ffMPEG in that folder. Remember, we only use ffprobe for this purpose, but you can extract all if you like.
+ Rename the music file so that its name only contains characters or numbers.
+ Shift+Right-click into a blank area of the folder and click "Open Command Prompt (Powershell) here".
+ Command format to type into the console:

.\ffprobe -v error -f lavfi -i "amovie=file-name.file-extension,asetnsamples=1470,astats=metadata=1:reset=1" -show_entries frame_tags=lavfi.astats.Overall.RMS_level -of json > output.json

For example, if your music file is "music.mp3", we type:

.\ffprobe -v error -f lavfi -i "amovie=music.mp3,asetnsamples=1470,astats=metadata=1:reset=1" -show_entries frame_tags=lavfi.astats.Overall.RMS_level -of json > output.json

then press Enter.
Keep that console on, we will use it later.

This will produce a file "output.json" that contain the RMS level information with 30 sample per second of the audio file.

+ So far we had a JSON file that contains the RMS data, but JSON cannot be used in Thyme. We will have to convert it with the help of JavaScript.
Install Node.js with command: npm install nodejs
When done installing, create a program.js file and copy-paste the following to that file:

var raw = require('fs').readFileSync('./output.json', 'utf16')
var data = JSON.parse(raw);
var newString = "\n\n\n\n\n[";
for (let i = 0; i < data.frames.length; i++)
{
newString += data.frames[i].tags["lavfi.astats.Overall.RMS_level"] + ",";
}
newString += "]";
console.log(newString)

Then in the console type:

node program.js

Copy the output (I placed a blank area to easily recognise the starting point).

+ In the Algodoo console (open with F10 or backtick key) type:

scene.my.nonstopdata =

then press Ctrl+V to paste the data you copied before.

+ Finally, run!
Your music now can be run by the Wave Audio Player.

If you have any problem doing this, just comment below.
Last edited at 2022/03/16 10:25:18 by ReBox
Please log in to rate this scene
edit
Similar scenes
Title: proliferation
Rating: 5
Filesize: 30.91 kB
Downloads: 2368
Comments: 0
Ratings: 1
Date added: 2021/02/24 07:29:10
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Don't touch the red block 2 (Proliferation marble race 1+Survival marble race 4)
Rating: 5
Filesize: 68.02 kB
Downloads: 4431
Comments: 6
Ratings: 1
Date added: 2021/05/10 04:42:59
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Proliferation Marble in Tablet - Test
Rating: 5
Filesize: 8.78 kB
Downloads: 1268
Comments: 1
Ratings: 1
Date added: 2024/06/05 16:45:22
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: Survvie! Survival is....
Rating: 5
Filesize: 15.78 kB
Downloads: 196
Comments: 0
Ratings: 1
Date added: 2018/02/03 03:59:57
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: The Cannon - Survival Proliferation Marble Race in Algodoo
Rating: 5
Filesize: 36.01 kB
Downloads: 3907
Comments: 0
Ratings: 1
Date added: 2022/06/03 02:39:57
Made with: Algodoo v2.1.0
Rating: rated 5
download
Title: A short survival race (Survival race in algodoo)
Rating: 5
Filesize: 20.16 kB
Downloads: 3466
Comments: 0
Ratings: 1
Date added: 2021/09/09 08:04:44
Made with: Algodoo v2.1.0
Rating: rated 5
download
INSANE