WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Nitelily at 0000-00-00 00:00:00
Subject: BROKEN: PlayMusic not responding in 2.2.
  
It was nice enough that I logged on today without any errors from my addons at all. Was happy about that. But to my disappointment it seems that with a recent change to the sound options and apparently some behind-the-scenes sound changes the API PlayMusic() has broken.

I have everything enabled in the sound options. I played around with various settings and I just can't get it.

I tried playing music from an addon and nothing. No sound came through at all. I tried running PlayMusic(...) through the chat and once again nothing. I double- and triple-checked that I had the correct path. Nothing.

Was there some stealth change to the API or is this just a common mistake?

Edit: Nevermind. I see the issue was with a changed CVar name. It's fixed. And I also see you stopped crossfading for custom music. Nice touch. Thanks a bunch for that. =)

[ Post edited by Nitelily ]



"This game isn't hard to play. If you're bad, no class will make you good. If you're good, no class will stop you from being useful."

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#0
 
Poster: Slouken at 2007-09-25 16:25:35
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
Have you tracked this down any more?

From our sound engineer:

Hmm. This seems to work just fine in my tests. I can play an mp3 that’s in my bin directory with

PlaySound(“mymusic.mp3”);

And for a more interesting test I put another mp3 in an addon directory. The following call works just fine:

PlaySound(“interface\\addons\\myaddon\\mymusic2.mp3”);

One thing to note, the sound file must exist at the time WoW launches. If you copy the file there after WoW is already running, it will not be able to find the file. I noticed that using the forward slash doesn’t work… i.e.

PlaySound(“interface/addons/myaddon/mymusic2.mp3”);

Will NOT work…

[ Post edited by Slouken ]



  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#2
Poster: Slouken at 0000-00-00 00:00:00
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
Have you tracked this down any more?

From our sound engineer:

Hmm. This seems to work just fine in my tests. I can play an mp3 that’s in my bin directory with

PlayMusic(“mymusic.mp3”);

And for a more interesting test I put another mp3 in an addon directory. The following call works just fine:

PlayMusic(“interface\\addons\\myaddon\\mymusic2.mp3”);

One thing to note, the sound file must exist at the time WoW launches. If you copy the file there after WoW is already running, it will not be able to find the file. I noticed that using the forward slash doesn’t work… i.e.

PlayMusic(“interface/addons/myaddon/mymusic2.mp3”);

Will NOT work…

[ Post edited by Slouken ]



  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#2
Poster: Slouken at 2007-09-25 17:55:34
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
More from the sound engineer:

Another thing to double check is that the user is using two backslashes between folder names like “folder1\\folder2\\mymusic.mp3”, NOT “folder1\folder2\mymusic.mp3”. Also, make absolutely sure the mp3 or wav file works in windows media player. Maybe the sound file is corrupt.

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#4
Poster: Slouken at 0000-00-00 00:00:00
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
Has anyone narrowed down what's preventing the sounds from being played? We aren't able to reproduce it here, and it sounds like fiddling with things "fixes" it... but I'd like to know if anyone figured out what's causing it.

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#16
Poster: Slouken at 2007-09-28 21:43:31
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
My hunch is this has to do with the priority of sounds, which is being reworked in 2.3.

Someone mentioned events where the sounds would and would not play, is that because there's another UI sound being played at the same time?

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=2&sid=1#32
Poster: Slouken at 2007-09-28 21:43:31
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
Is the problem improved if you increase the number of sound channels?

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=2&sid=1#33
Poster: Nitelily at 2007-09-25 11:22:48
Subject: BROKEN: PlayMusic not responding in 2.2.
  
It was nice enough that I logged on today without any errors from my addons at all. Was happy about that. But to my disappointment it seems that with a recent change to the sound options and apparently some behind-the-scenes sound changes the API PlayMusic() has broken.

I have everything enabled in the sound options. I played around with various settings and I just can't get it.

I tried playing music from an addon and nothing. No sound came through at all. I tried running PlayMusic(...) through the chat and once again nothing. I double- and triple-checked that I had the correct path. Nothing.

Was there some stealth change to the API or is this just a common mistake?

Edit: Nevermind. I see the issue was with a changed CVar name. It's fixed. And I also see you stopped crossfading for custom music. Nice touch. Thanks a bunch for that. =)

[ Post edited by Nitelily ]



"This game isn't hard to play. If you're bad, no class will make you good. If you're good, no class will stop you from being useful."

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#0
 
Poster: Slouken at 2007-09-25 16:13:23
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
Have you tracked this down any more?

From our sound engineer:

Hmm. This seems to work just fine in my tests. I can play an mp3 that’s in my bin directory with

PlayMusic(“mymusic.mp3”);

And for a more interesting test I put another mp3 in an addon directory. The following call works just fine:

PlayMusic(“interface\\addons\\myaddon\\mymusic2.mp3”);

One thing to note, the sound file must exist at the time WoW launches. If you copy the file there after WoW is already running, it will not be able to find the file. I noticed that using the forward slash doesn’t work… i.e.

PlayMusic(“interface/addons/myaddon/mymusic2.mp3”);

Will NOT work…

[ Post edited by Slouken ]



  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#2
Poster: Slouken at 2007-09-25 17:23:39
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
More from the sound engineer:

Another thing to double check is that the user is using two backslashes between folder names like “folder1\\folder2\\mymusic.mp3”, NOT “folder1\folder2\mymusic.mp3”. Also, make absolutely sure the mp3 or wav file works in windows media player. Maybe the sound file is corrupt.

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#4
Poster: Slouken at 2007-09-26 09:25:45
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
Has anyone narrowed down what's preventing the sounds from being played? We aren't able to reproduce it here, and it sounds like fiddling with things "fixes" it... but I'd like to know if anyone figured out what's causing it.

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=1&sid=1#16
Poster: Slouken at 2007-09-27 08:29:50
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
My hunch is this has to do with the priority of sounds, which is being reworked in 2.3.

Someone mentioned events where the sounds would and would not play, is that because there's another UI sound being played at the same time?

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=2&sid=1#32
Poster: Slouken at 2007-09-27 08:31:39
Subject: Re: BROKEN: PlayMusic not responding in 2.2.
  
Is the problem improved if you increase the number of sound channels?

  http://forums.worldofwarcraft.com/thread.html?topicId=1777875494&pageNo=2&sid=1#33
 

Is this thread News or Fluff? You Decide!
News!
- OR -
Fluff!
What are you talking about?

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?