Quasi Audio

Quxios

Veteran
Veteran
Joined
Jan 8, 2014
Messages
1,055
Reaction score
782
First Language
English
Primarily Uses
RMMV

Quasi Audio
For a newer version, go here:
https://forums.rpgmakerweb.com/index.php?threads/qplugins-latest-qm-regioncolliders.73023/

About

This plugin lets you play audio at a certain location. The audios volume and pan will be determined based off the players distance from the audio location. Audio can also be binded to an event.


Plugin Commands

Play a Q Audio at X Y:


qaudio play ID TYPE AUDIO MAXVOLUME RADIUS X Y


To loop audio at X Y


qaudio loop ID TYPE AUDIO MAXVOLUME RADIUS X Y




Play a Q Audio at event location ( follows event )


qaudio play ID TYPE AUDIO MAXVOLUME RADIUS EVENTID


To loop audio at event location


qaudio loop ID TYPE AUDIO MAXVOLUME RADIUS EVENTID




ID - A Unique ID for the audio, can be a number or letter. Used for stopping the audio. if * is used for ID a unique ID will be found, down side to using * is you won't know the ID so you will not be able to stop it. Though you can get the ID with some script calls after you play the qaudio.
TYPE - bgm, bgs, me, or se
AUDIO - The filename of the audio to play
MAXVOLUME - The max volume of the audio when play is directly on the audio location. From 0 - 100
RADIUS - The tile distance the audio can be heard
X - The grid X Location for the audio
Y - The grid Y Location for the audio
EVENTID - The event ID to bind the audio to

Stop a Q Audio


qaudio stop ID


ID - The unique ID you set when playing the Q Audio.


Links


https://github.com/quasixi/Quasi-MV-Master-Demo/blob/master/js/plugins/QuasiAudio.js
 
Last edited:

Quxios

Veteran
Veteran
Joined
Jan 8, 2014
Messages
1,055
Reaction score
782
First Language
English
Primarily Uses
RMMV

Yin

Veteran
Veteran
Joined
Jul 18, 2012
Messages
133
Reaction score
50
First Language
English
Primarily Uses
N/A
Great! I was waiting for something like this that actually worked! 


I did find a bug though.


Filenames with spaces don't seem to work.


Also this isn't a bug, but a minor annoyance. Does it have to be in an autorun in order for it to start automatically? I noticed in autorun, it has a delay when the map is loaded if you are standing right next to a source.
 

kovak

Silverguard
Veteran
Joined
Apr 3, 2016
Messages
1,253
Reaction score
1,558
First Language
PT - EN
Primarily Uses
RMMV
I aways wanted to use something like this for a horror game <3
 

Quxios

Veteran
Veteran
Joined
Jan 8, 2014
Messages
1,055
Reaction score
782
First Language
English
Primarily Uses
RMMV
@Yin Yeah you'll need to run from an event. There may be a plugin that can "fix" autorun events to run instantly. I remember there was one for VXA.


And yeah, this plugin will be useful for like horror / stealth type games. Can give the game a better atmosphere.
 

Logan C.

Veteran
Veteran
Joined
Oct 25, 2015
Messages
73
Reaction score
20
First Language
English
That one is great. An option to disable 3D sound could be handy though. I mean with no distribution to the left or right speaker.
 

lawina

Veteran
Veteran
Joined
Sep 4, 2015
Messages
147
Reaction score
28
First Language
English
Primarily Uses
I have a weird issue where the audio that I set in the plugin command only plays when I'm on the in-game menu. Even the event radius works perfectly.


During the game(play) itself, I can't hear the audio playing. So basically it needs the in-game menu overlay to play the audio, which is strange.


Any idea what could be causing this? I can't figure it out myself.


EDIT: Found the issue. The event needs to be set to Autorun (and not Parallel).
 
Last edited by a moderator:

Quxios

Veteran
Veteran
Joined
Jan 8, 2014
Messages
1,055
Reaction score
782
First Language
English
Primarily Uses
RMMV

lawina

Veteran
Veteran
Joined
Sep 4, 2015
Messages
147
Reaction score
28
First Language
English
Primarily Uses
Oops, please ignore.
 
Last edited by a moderator:

JohnnyR

Dungeon Master
Restaff
Joined
Mar 27, 2013
Messages
275
Reaction score
135
First Language
English
Primarily Uses
RMMV
I've been looking for something like this for ages! Amazing script, it worked flawlessly, thank you very much!  :D


Just a question tho... 


I was testing out the sounds and I realized that choosing a type different from a BGM in the settings of a qaudio, doesn't actually change the fact that it uses it as a BGM.


In other less confusing words:


I have a fireplace event, which uses the default Fire2 BGS sound. However, even if it is a BGS, if I lower the BGM volume in the options menu, the qaudio (which is a BGS) also has its volume lowered. So, as far as I understand it, the plugin creates new BGM files as qaudio, disregarding wich "type" of audio (the folder where it came from) it is, am I right? Is this intentional or a bug? I mean, it's not that much of a problem, but it surely would be awkward if the player noticed it. lol


Anyway, great work with the plugin!  :rwink:
 

Quxios

Veteran
Veteran
Joined
Jan 8, 2014
Messages
1,055
Reaction score
782
First Language
English
Primarily Uses
RMMV
@JohnnyR First sorry for the late reply. You're right, I noticed that as well when I last worked on it, but never got around to fixing it since it was around the time I was quitting MV. But this is one of the plugins I will continue supporting. So I'll most likely have an update for this before the end of the month.
 

DMIgames

Veteran
Veteran
Joined
Nov 18, 2014
Messages
71
Reaction score
26
First Language
english
Primarily Uses
Hey hows it going Quxios? Awesome plugin you have here, did you ever get around to fixing the issue the previous comment was about? Would be great to know! Thanks ^_^
 
Last edited by a moderator:

Quxios

Veteran
Veteran
Joined
Jan 8, 2014
Messages
1,055
Reaction score
782
First Language
English
Primarily Uses
RMMV
@DMIgames If you mean the volume then I did. The new one can be found here:
 

DMIgames

Veteran
Veteran
Joined
Nov 18, 2014
Messages
71
Reaction score
26
First Language
english
Primarily Uses
Awesome! Thanks for the reply, i downloaded Qaudio and Qplus, popped em in, adjusted the plugin command and BOOM! It works ^_^


Tested the audio changes from options menu, fix is definitely applied. Nice work ^_^
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,066
Reaction score
219
First Language
English
Primarily Uses
N/A
How do i specify what sound file I want to use and have loop? I must be blind because everyone else manages to know how :s
 

Skurge

" (GASP) What's going on!? "
Veteran
Joined
Jul 12, 2015
Messages
1,066
Reaction score
219
First Language
English
Primarily Uses
N/A
Hm having slight issues here, I've tried using qAudio start Sea bgs max80 radius10 x5 y5 on an parrelel process running event and the audio is not at all being heard. also Qplus seems to want the project to ignore the menu screen? I'm not sure if that's intentional.
 

styx92

Veteran
Veteran
Joined
Jan 7, 2016
Messages
310
Reaction score
38
First Language
German
Primarily Uses
@Quxios Could you get a new feature that allows the events via command tags get this audio works?
Like Command: Bgm volume 100 pitch 50 tiles 5 or so?
This would be easier to copy and paste :D Oh so sorry, im lazy, i know xD
 

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

Latest Threads

Latest Posts

Latest Profile Posts

I prefer single roommates. After a hard day, all you want is sleep. I went to bed at 12. I was awakened at 2 because of my roommate laughing and whispering and stuff with her boyfriend on the phone. I didn't want to yell at her so I had to bear that cringy lovey dovey convo for half an hour, before I got so bored that I fell asleep again.
image i made on mon-die morning
Everyday I'm hustlin' hustlin'
And now I'm wondering if I only made progress in learning this engine because I was procrastinating on everything else I need to do...
from twitter:
Therapist: and what do we do with our trauma?
Me: give it to a character
Character: NO

Forum statistics

Threads
93,680
Messages
914,582
Members
123,280
Latest member
thehousx
Top