Page 1 of 2

Help playing sound file using the 3.0.0 gamma version

Posted: Sat Jan 10, 2015 7:39 pm
by Brynniel
Version: 3.0.0 gamma
OS: Windows 7

I am unable to play a sound from Mudlet and I believe this may be a bug. I first tried using the playSoundFile function. With this I have verified that the path to the sound is correct. I even copied the sound to C:\ and tried pointing playSoundFile there, and it didn't work. I've tried playing wav and mp3 formats.

Next I tried playing a sound file from a trigger, which gives a dialog and I browse to the sound file and select it. I have many other triggers that work.

Is this a known issue, or should I report it? Or did I miss something?

Thanks.

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Sun Jan 11, 2015 8:13 am
by Belgarath
Might be a bug with Windows 7. I just tested it on 3.0.0 gamma in OSX Yosemite 10.10 and it played fine for me.

Played Sia - Chandelier in .mp3 format. 8-)

This might seem silly, but did you have your volume up?

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Mon Jan 12, 2015 9:25 pm
by Vadi
Does it work under 2.1 for you?

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Tue Jan 13, 2015 4:23 am
by Brynniel
It's okay, it's a fair question, but yes my sound is working since other apps can play music and whatnot and I hear it. I'll try it in 2.1 and see if it works.

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Tue Jan 13, 2015 4:32 am
by Brynniel
Vadi: I just tried playSoundFile in 2.1 and it works. Any ideas, or should I just wait for the next release :) ?

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Fri Jan 16, 2015 1:28 am
by malaphus
Can also confirm, playSoundFile does not work for me in Windows 8.1.

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Wed Jan 28, 2015 1:57 pm
by Jaren
I am running Windows 7 Pro and 'playSoundFile()' works great for me in version 2.1 but it will not work at all in 3.0.0 gamma.

I found this old post about a workaround using gstreamer but I can't seem to get the correct syntax for a windows OS.
http://forums.mudlet.org/viewtopic.php?f=9&t=1506

Is there ANY way to play sounds in the newest version? I love all the new features that this new version has to offer but so many of my triggers rely on scripted sounds. Any help would be appreciated.

EDIT: Furthermore on 3.0.0 gamma, I also found that the normal 'play sound' button at the top right of a trigger no longer works and mudlet is not showing up in my windows sound mixer either.

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Wed Jan 28, 2015 7:18 pm
by Vadi
gstreamer is for Linux mainly.

Sound is broken in the 3.0 previews on WIndows, this is something are fixing.

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Mon Feb 02, 2015 5:05 pm
by SlySven
Ah Vadi - don't forget sound in the 2.1 was using the Phonon library used with Qt4 but since Qt5 dropped using it we're using the QMultiMedia stuff. The underlying hardware support does not seem to be entirely complete - there could be one or two issues with the minGW support aparently:

"Overview of the current state of Qt Multimedia in Qt 5 and propose a roadmap for future releases:"
http://qt-project.org/wiki/Qt_Multimedia
Also:
http://qt-project.org/wiki/Qt_Multimedia_Backends

Re: Help playing sound file using the 3.0.0 gamma version

Posted: Sat Jan 02, 2016 5:14 am
by malaphus
Curious if there's any progress on this? A year seems like a long time =/