RMMV [MV] Let's get multi-threaded: Streaming audio!

ThinkN

Villager
Member
Joined
Aug 11, 2020
Messages
11
Reaction score
16
First Language
English
Primarily Uses
RMMV
Opus Audio Streaming

This is an RPG Maker MV plugin that uses web workers to stream Opus audio.

Opus is the successor to Vorbis, the audio technology used in MV/MZ. You can create smaller files that sound just as good.

Link to Github project with plugin files & demo

Is this ready for production?

NO! This is a hacked-together proof-of-concept. It is lacking the features of a mature audio system. There's no way to seek to different parts of a song, or even to adjust the volume.

I'm not sure that my implementation actually performs better than the default engine. I might have to hack it a little more to ensure the streaming starts as soon as possible.

---------------

Vorbis Audio Streaming


This is an RPG Maker MV plugin that uses an Audio Worklet to decode an ogg/vorbis audio stream.

Link to Github project with plugin files & demo

Years ago, krmbn0576 released a plugin to stream Vorbis audio. It works pretty well on Chromium browsers, but in other environments, it generates a lot of noise.

I've ported the original code from using a web worker to using an audio worklet. More work is needed to address the noise problems.
 
Last edited:

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,553
Reaction score
3,789
First Language
English
When you say "underlying library" do you mean Opus, or this plugin?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

I started really going in on my project April of last year... I'm just now making starting the actual game... making assets (and not even all of them), whoooo... TIME SINK.


Imagine being a pleb and using --------------------.js :LZSwink:
Ami
--- Survival For RPGist Part 2 ---

Survivalist: Now,I going to Test you: Fishing with Spear
M.Spear Knight: Leave it to me.
(M.Spear Knight Spearing the Fish with His Battle Spear)
M.Spear Knight: How it is?
Survivalist: I know you did it,but...Is that the Spear for Battle,not for Fishing?
M.Spear Knight: But,is that same?
Survivalist: (Sigh)...Whatever

Forum statistics

Threads
102,944
Messages
996,176
Members
134,408
Latest member
SosukeTheBro
Top