It may wait one second on some devices
It may wait one second on some devices, tough to say. There is a hook in the programming that when the position changes it will calculate the volume change https://github.com/Mudlet/Mudlet/blob/4655c93b2f936e603c15a25bf536ce05efb066c4/src/TMedia.cpp#L719
MC
Mike C.•644d ago
Looks like we could play with this setNotifyInterval() perhaps https://forum.qt.io/topic/61680/qmediaplayer-positionchanged-qint64/5
@Talon
It is possible to make it much more precise, for a cost I assume 🙂
It defaults to 1000ms, we could take it to 16ms in the example they had.
@Talon if you make an issue on GitHub then I will take a look and ask you to test it.
!issue
UU
Unknown User•644d ago
MC
Mike C.•644d ago
No - let's say you have ambience in one room, then move to another room and it restarted the ambience. Continue helps keep the ambience playing if it receives a new call for that same ambience from the client. So you can move 10 rooms in a zone and have the same music - perhaps when you switch zones it plays something different. Does that read well?
There is a cheap version of pan with start https://wiki.mudlet.org/w/Manual:Scripting#start if that helps. You can start a track so many seconds in.
And yes you could use Client.Media.Play with continue to adjust volume.
UU
Unknown User•644d ago
MC
Mike C.•644d ago
Trying it out
UU
Unknown User•644d ago
MC
Mike C.•644d ago
Small bug. If you take out the "loops": -1, for now, or change it to "loops": 1, you will be good. I will resolve it.
UU
Unknown User•643d ago
MC
Mike C.•613d ago
This is true. And it should, so I am investigating root cause 🙂
Hey @Talon - would you mind trying this out in a development version of Mudlet and let me know if your problem has disappeared? Please pick the version of Mudlet from here: https://github.com/Mudlet/Mudlet/pull/6264#issuecomment-1229690467 and please reply here or in the comments of that GitHub request as to the success/failure.
UU
Unknown User•612d ago
MC
Mike C.•611d ago
Hi @Talon, please try out a fix for the scenario you described with the Mudlet version found here: https://github.com/Mudlet/Mudlet/pull/6274#issuecomment-1233635210 and let me know how it goes. You may hear a very slight pause when you start the successive commands sometimes. This seems barely noticable and infrequent. I will consider if there is something more could be done in the future.
UU
Unknown User•586d ago
MC
Mike C.•586d ago
Yes. The fix will be available in the next release. You could download the Mudlet PTB and use it up until the next release to get around it if you like.
UU
Unknown User•573d ago
MC
Mike C.•573d ago
Yes, possibly. Anything where
continue
with loops
could be impacted. You could give it a try with the public test build to ensure it is gone: https://make.mudlet.org/snapshots/?platform=all&source=ptbUU
Unknown User•573d ago
MC
Mike C.•573d ago
Yes, Linux needs some help to play sound. Have to compile in some other code. I know there is some guidance here on the Discord on that subject.
UU
Unknown User•573d ago
MC
Mike C.•573d ago
Maybe a solution here: https://github.com/Mudlet/Mudlet/issues/511#issuecomment-1013929389
UU
Unknown User•573d ago
MC
Mike C.•556d ago
OK, found the issue there I believe and will send a fix.
Still working on this and will keep you updated. Burned at least 20h this weekend trying to figure it out 🙂 Classic programming stuff. It will probably be one line to change in the end or something.
Hi @Blizzard , when you get a chance, could you install and try a fixed version of Mudlet to demonstrate the fix is complete? You could follow the example I have in the pull request, or try the scenario you created to help show success. Here is the link: https://github.com/Mudlet/Mudlet/pull/6389#issuecomment-1288210934. If you could comment here or in the PR that this is resolved, that will be most appreciated!
Hi @Blizzard did you have a chance to give it a try yet? Thanks!
UU
Unknown User•554d ago
4.8KMembers
View on DiscordWant results from more Discord servers?
More PostsMXP wikiIt's not a lot, but it at least helps with a simple and complex option for those wanting to make surNo worries thanks for taking the timeNo worries, thanks for taking the time! Right now I'm trying to isolate the difference between messaDiscord Rich Text Prescence?yeah, still working on this. I have been able to get `Game using a custom Discord server. Invite URLWell with the spell checking enabled IWell, with the spell-checking enabled I was pointing out that, so the user could tell that a word waMSDP Sub Tables@Fuligin ?I am also interested in this problemIncluding things from luarocks can be difficult, especially if you're trying to support all three OSkill aliasand I don't think what you typed is necessarily easier than inputting it in two spots. But we may ju.you can click and drag this window to another side, make it pop out, or click the X on the far rightRooms dialogThe room number in the centre of the Room Exit is the Id of the room you are setting the exits *from