Danify | Tau but in Scratch @DanieZuha | Uploaded 1 year ago | Updated 4 minutes ago
This is mainly just a test video and not a special release.
UPDATE: A FASTER player has already been made and I decided to run tau again:
youtu.be/BJOjjvigSJQ
Should I make a comparison video? π
Demonstration of my (OUTDATED) latest MIDI Player in Scratch (Turbowarp/Modded Scratch). See here:
https://scratch.mit.edu/projects/722655492/
Recommended: (Turbowarp)
turbowarp.org/722655492?fps=120&turbo&clones=Infinity&offscreen&limitless&hqpen
Following tricks were used:
1. I made the audio not render on very small note lengths or low velocities (so it's somewhat using velocity threshold)
2. I have an automatic synchronizer: If the audio is running behind the visual thread, I skip some audio notes
3. There is around 384~512 voices only present. (Audio voice limits are a thing in actual legit run videos of Black MIDIs)
Otherwise, if the data shows that there is 10000 notes being rendered, then there are truly 10000 notes being rendered.
Would I consider this better than PFA? Well, nope. This is because this program can choose to mute some notes which doesn't make it a fair competition. But hey, it can deal with polyphony better than PFA, which is a win I guess?
To reduce MIDI file size, the following events are only kept:
1. Note length, tick, pitch, and velocity
2. Track No.
3. Channel No. (for Drums)
Not going to add instruments if it means adding Program Change 0 on all tracks which can inflate the size. This project focuses on optimizations, after all.
Note: You may need a strong CPU and large RAM to load larger MIDIs. Even with 32 GB RAM, it took a lot of tries to get Tau loaded as Scratch Engine refused to load Tau...
== Credits ==
Program Credits:
52525rr for inspiration (and optimization ideas)
K9Shyguy for MIDI Importer Tool
Lataliat for original MIDI visualizer inspiration
Eden (me) for Font Generator System
Asset Credits: [Highly recommended for actual MIDI playback!]
CFaz IV Soundfont - MyBlackMIDIScore Productions
Arachno Soundfont (Drums) - Maxime Abbey
MIDI Credits:
Tau by @HDSQ
MIDI Information:
Name: tau2.5.9.mid
File Size: 48.00 MiB
Resolution: 960 (Converted to 192 with this program)
Tracks: 61
Notes: 6,283,185
Length: 06:28.3
Tempo Range: 6.11~198.74
Max NPS: 845,967
Download Link: youtube.com/watch?v=b0gyQMJHQ78
This is mainly just a test video and not a special release.
UPDATE: A FASTER player has already been made and I decided to run tau again:
youtu.be/BJOjjvigSJQ
Should I make a comparison video? π
Demonstration of my (OUTDATED) latest MIDI Player in Scratch (Turbowarp/Modded Scratch). See here:
https://scratch.mit.edu/projects/722655492/
Recommended: (Turbowarp)
turbowarp.org/722655492?fps=120&turbo&clones=Infinity&offscreen&limitless&hqpen
Following tricks were used:
1. I made the audio not render on very small note lengths or low velocities (so it's somewhat using velocity threshold)
2. I have an automatic synchronizer: If the audio is running behind the visual thread, I skip some audio notes
3. There is around 384~512 voices only present. (Audio voice limits are a thing in actual legit run videos of Black MIDIs)
Otherwise, if the data shows that there is 10000 notes being rendered, then there are truly 10000 notes being rendered.
Would I consider this better than PFA? Well, nope. This is because this program can choose to mute some notes which doesn't make it a fair competition. But hey, it can deal with polyphony better than PFA, which is a win I guess?
To reduce MIDI file size, the following events are only kept:
1. Note length, tick, pitch, and velocity
2. Track No.
3. Channel No. (for Drums)
Not going to add instruments if it means adding Program Change 0 on all tracks which can inflate the size. This project focuses on optimizations, after all.
Note: You may need a strong CPU and large RAM to load larger MIDIs. Even with 32 GB RAM, it took a lot of tries to get Tau loaded as Scratch Engine refused to load Tau...
== Credits ==
Program Credits:
52525rr for inspiration (and optimization ideas)
K9Shyguy for MIDI Importer Tool
Lataliat for original MIDI visualizer inspiration
Eden (me) for Font Generator System
Asset Credits: [Highly recommended for actual MIDI playback!]
CFaz IV Soundfont - MyBlackMIDIScore Productions
Arachno Soundfont (Drums) - Maxime Abbey
MIDI Credits:
Tau by @HDSQ
MIDI Information:
Name: tau2.5.9.mid
File Size: 48.00 MiB
Resolution: 960 (Converted to 192 with this program)
Tracks: 61
Notes: 6,283,185
Length: 06:28.3
Tempo Range: 6.11~198.74
Max NPS: 845,967
Download Link: youtube.com/watch?v=b0gyQMJHQ78