Queue ready sound -> play at 100% volume?
Hi, I made a custom sound for readycheck and LFG queue ready and I wanted to know if there's a way to make it play at 100% master volume instead of the current value.
The reason is: the actual sound file isn't loud enough and amplifying its dB results in a lot of noise. Is it possible to make it play at 100% volume through code? |
EDIT: neither of these work, see this post for one that does
If you replaced the sound using the filepath trick (World of Warcraft\Sound etc): Lua Code:
If your sound is just in a folder (for example, Interface\AddOns\YourAddOn\sound.ogg): Lua Code:
Just in case you aren't sure what to do with this, go to http://addon.bool.no, name this whatever you want at the top, copy one of these pieces of code into the big box, then download and install like any other addon. |
The first option doesn't work. When I use the addon (first one), the sound either doesn't play or plays at 0 volume.
The sound's directory is Sound\\Interface\\levelup2.ogg The second option works very well when I put the file location above ^ in there. Thank you very much! |
That's not the readycheck sound path, that's the levelup sound path, which is also the same sound as guild invites. The correct path is sound/interface/readycheck.ogg unless you want your custom sound to play whenever you level up or get a guild invite.
Since you're using the second code, you might as well just put your file in the addon folder you just installed with the code and use that path. The default ready check sound will still be replaced, since the code is looking for that id specifically, and the levelup sound will be untouched. When you move the file, make sure to quit and restart WoW. I'm glad the code works in any case. |
The sound volume doesn't seem to be returning to the previous value after changing to 100% master.
|
I can now guarantee the following code works, keep your custom sound in the levelup2.ogg file path. If the sound ever changes in the future, just change the number at the very top along with finding the new file path. I doubt that would happen though. Lua Code:
Some tests you can run: Code:
-- exactly what the UI does, will play on master at 100%, using it again will do nothing while the sound is playing |
Thanks Kanegasi!!
|
Sorry for necro-ing this thread, but the issue is directly related to this addon.
Apparently they've changed the filenames and sound\interface\levelup2.ogg doesn't work anymore. Is there a way to finding out what's the new filename? EDIT: it seems that Blizzard has completely obliterated the approach of creating a Sound\ folder and putting stuff in there to replace their sound effects. What's a possible solution for this? Is there a way to make their readycheck sound mute and play my modified one instead? |
I received a private message asking to customize the volume in my code. I also didn't notice the last post here. Here's an updated code that allows you to replace any UI sound (anything that uses PlaySound) with a custom sound OR adjust the volume of a UI sound.
Lua Code:
|
@Kanegasi
i'm trying to set replacement for (eg. rdycheck) and to set level for the same. But seems it doesn't count the part about the volume. to make this easier, here is my config Code:
local entries={ |
All times are GMT -6. The time now is 04:37 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI