chrismaltby / gb-studio

A quick and easy to use drag and drop retro game creator for your favourite handheld video game system
https://www.gbstudio.dev
MIT License
8.56k stars 471 forks source link

rendering music .mod #856

Open jackygoule opened 2 years ago

jackygoule commented 2 years ago

Hello ,when i test in gb-studio3 my demo with driver GBTplayer no sound in the windows rendering.(for test when i work) But in the selection on the right i can hear the song and in the export rom the sound are good. I make a lot of song in .mod and i must use this songs. Thanks for your job

DeerTears commented 2 years ago

This is a known issue where the sound focus of the music editor is lost when you switch away from the GBS window. Hopefully this should be fixed soon, it's an electron issue.

jackygoule commented 2 years ago

Thanks for your answer. I can work with other new functions during the resolve of this issue

DeerTears commented 2 years ago

Can you come back and close this issue? It should be good to go now with 3.0.1.

jackygoule commented 2 years ago

Hello , thanks for your information. I test this morning with the 3.0.1,unfortunately the music don't work again. The bug is seems to be the same.

RichardULZ commented 2 years ago

This seems to be related to the emulator and chromium requiring an interaction before it can play audio from it, clicking in the window should make the music play. Another user was having issues with sound effect events because of this.

May need to investigate more aggressive audio start playback for the in editor version of binjgb emulator, which would normally not work on a plain website.

jackygoule commented 2 years ago

I test and yes when i click in the windows the music start to play.But the rate of the music is many speed of the original ,when i listen with milkytracker for exemple. Thanks