Banner
Views: 236,668,409
Time: 2013-05-25 05:14:33 AM
5 users online: HyperMario, o mockingod, MrDeePay, Pokeymeister80, telinc1 - Guests: 33 - Bots: 15Users: 22,885 (1,280 active)
Latest: ar1an1
Tip: If you give the player a cape, be sure they can't cheat and fly over the level with it!
Music problem with bsnes
Forum Index - SMW Hacking - General SMW Hacking Help - Custom Music Help - Music problem with bsnes
Pages: « 1 »
Hello everyone. Normally, all the songs I use work on bsnes. But I got a problem with two songs I've used in my hack. When I play the level with those songs in bsnes, I hear a weird, high sound, but the music keeps playing through, though. This sound is not normal and I've tried to fix it several times with my friend, but we couldn't find out what the problem was.
The two songs I'm talking about are:
Mario Golf - Boo Valley by spigmike and Sweet Lullaby by Kc
Could anyone please help me with this problem? Thanks.
edit: perhaps this could be moved to the music help subforum here. Better place for this question, as it seems.
Last edited on 2012-03-04 12:58:32 PM by GvS.
Is the noise the only abnormal thing? No crashing?
Music question belong in the music help forum. Moved.

As for your actual question, does the noise play right at the start of the songs? If so, my guess is that the songs use echo, but that the echo buffer isn't cleared properly before the songs starts.
Boo Valley:

Code
#0 @6 q7f v215 y10 w215 t75 v0c4


Try changing this to

Code
#0 @6 q7f v215 y10 w215 t75 $F0 v0c4


Sweet Lullaby

Code
#0 w230 t50 $ef $00 $00 $00 $F1 $04 $4A $01 v0c8/


Change to:

Code
#0 w230 t50 $F0 v0c8/
Yeah, the noise is at the start of the song.
Sweet Lullaby works now, with the fix MVS gave me, but Boo Valley is still having that strange noise...
During my short music porting career, I noticed that sometimes while getting rid of the noise in Snes9x, in BSNES it's still there.
But most of the time changing the echo buffer start address solves that.

So in Boo Valley change this:

;-- HEADER AUTOMATICALLY GENERATED --
$ED $80 $6D $2B
$ED $80 $7D $00
$F0
;-- END OF HEADER -------------------


to this

;-- HEADER AUTOMATICALLY GENERATED --
$ED $80 $6D $35
$ED $80 $7D $00
$F0
;-- END OF HEADER -------------------


(and this is the proof that the echo buffer at $2B plain sucks)

Also instead of

#0 w230 t50
$F0 v0c8/
$EF $FD $40 $45


use this

#0 w230 t50
v0c8/
$EF $FD $40 $45
$F1 $04 $4A $01


This way you get rid of the $F0, which is pointless since it's already in the header, and you don't lose the $F1 settings (just enable them after $EF).
Last edited on 2012-03-05 07:46:02 AM by Lui37.
Thank you, Lui37, but
Code
#0 w230 t50 $F0 v0c8/ $EF $FD $40 $45

isn't in the Boo Valley port... or am I blind?
Yes, you are!!!111111one
Wait, wait!!! That was Sweet Lullaby. I confused the two songs, shame on me...

Header for Boo Valley:

;-- HEADER AUTOMATICALLY GENERATED --
$ED $80 $6D $2D
$ED $80 $7D $00
$F0
;-- END OF HEADER -------------------


Header for Sweet Lullaby:

;-- HEADER AUTOMATICALLY GENERATED --
$ED $80 $6D $35
$ED $80 $7D $00
$F0
;-- END OF HEADER -------------------
And yet, after changing the header, it still makes the sound. Perhaps I should just pick another water song then? xD
Try these:
1 2

EDIT: I meant... I tested them and they work.
Last edited on 2012-03-05 08:40:53 AM by Lui37.
Maybe, I was just thinking about it, it's something with drums on SFX channels, that they screw up 'cause they aren't set before each note in that channel.
Does the clicking noise go away when you disable channels were percussion is on?
I can't test 'cause my PC is too slow for BSNES.
Lui, I don't know what's up then, but they still don't work for me. It has to be the level then... No idea what's wrong with it though.
Pages: « 1 »
Forum Index - SMW Hacking - General SMW Hacking Help - Custom Music Help - Music problem with bsnes

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2013 - SMW Central
Legal Information - Link To Us


Total queries: 27

Menu