Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ FF7 ] Strange behaviour with a looping/non-stop sound in background using MIDI Standard + Cosmo Memory #495

Closed
LaZar00 opened this issue Sep 12, 2022 · 6 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@LaZar00
Copy link
Contributor

LaZar00 commented Sep 12, 2022

Describe the bug
There is an odd "loop" (or the sound does not stops) of the wind sound in specific scenes. This happens only with MIDI Standard + Cosmo Memory mod. I tried it running ONLY FF7.EXE with FFNx (without 7H) and this happens also (I copied the sound files from Cosmo Memory like UI sounds and music/vgmstream).
At least in 2 scenes happens this issue.
One scene is when Temple of the Ancients shrinks (jtemplb-601):

Discord explanation: https://discord.com/channels/318179907098116106/613051825863524365/1018200984574496778
Video (Temple of the Ancients):
https://discord.com/channels/318179907098116106/613051825863524365/1018200924881162251
Video (Prof. Gast lab):
https://discord.com/channels/318179907098116106/613051825863524365/1018978240355913759

To Reproduce

  1. You must have configured FF7 for playing MIDI Music and using Cosmo Memory (if using 7H).
  2. Play some of the previous scenes mentioned.

Expected behavior
You will see the loop of the wind sound (in the first Temple of the Ancients scene) or the wind sound does not stops (in the Video of Prof Gast lab).

Additional context
I have checked without Cosmo Memory (with MIDI Music) and it works perfectly.
I have checked with Cosmo Memory and VGMStream Music and it works perfectly.

@LaZar00 LaZar00 added the bug Something isn't working label Sep 12, 2022
@julianxhokaxhiu julianxhokaxhiu added the help wanted Extra attention is needed label Sep 12, 2022
@LaZar00
Copy link
Contributor Author

LaZar00 commented Sep 12, 2022

More Info. Strange as it seems, the snowboard minigame (at least the story snowboard minigame) suffers also from this wind loop after finishing the minigame.

@LaZar00
Copy link
Contributor Author

LaZar00 commented Sep 12, 2022

Supposition. What happens when the MUSIC opcode is called in a script for playing a song (snow.mid -Buried in the Snow-) if previously we have called another MUSIC opcode (0xF0) that must play a sound (wind.wav/wind.ogg -in CM-)? It is only a thought. FFNx does something with that opcode?

  • It stops the previous sound or song?
  • It should stop the playing only if the previous play is a sound? (in fact we have a music.idx file in "data\music" and the 4 .wav sounds with that names...)
    Mmm....

@LaZar00
Copy link
Contributor Author

LaZar00 commented Sep 19, 2022

Some more info:

  • In Gaea's Cliff this is very easy reproducible because the wind sound sounds almost always, mostly in the latest places of the cliff. Normally the bug appears when entering from the Cliff into one of the Caves.
  • Even doing a CTRL+R (reset game), the wind loop glitch don't stops, and sounds always.

@LaZar00
Copy link
Contributor Author

LaZar00 commented Sep 19, 2022

Ok, the issue has been solved. You can close this bug.

@julianxhokaxhiu
Copy link
Owner

May I ask how?

@LaZar00
Copy link
Contributor Author

LaZar00 commented Sep 19, 2022

I have deleted the file wind.wav from the folder data/music. This solved the issue with some fields that have wind sound as ambience sound in Cosmo Memory. But those fields that has not ambience sound, the wind sound is not played.

@julianxhokaxhiu julianxhokaxhiu self-assigned this Sep 20, 2022
@julianxhokaxhiu julianxhokaxhiu removed the help wanted Extra attention is needed label Sep 20, 2022
@julianxhokaxhiu julianxhokaxhiu added this to the 1.14.0 milestone Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants