Language…
10 users online: 35TCB77, cletus_deletus, Danik2343, Green, Hammerer, howardadam1126, KoJi, Oskise, pnaha, tOaO - Guests: 220 - Bots: 360
Users: 64,795 (2,377 active)
Latest user: mathew

All of a sudden, "echo buffer exceeded total space in ARAM"

Hi

I inserted a music weeks ago. Everything was ok.
Yesterday I tried inserting the power-ups patch. When inserting the AddMusick part of it, I got this:

Code
SM3DW_Main Theme.txt: Echo buffer exceeded total space in ARAM by 0x0100 bytes.


So all of a sudden, that song doesn't work anymore.

Because I couldn't get the power-ups patch to work, i went back to my ROM before the patch (I had a copy of ALL folders, so it's exactly like it was before).
And now, I still get that message when I use AddMusick.

Why, and how to fix it?
Super Mario Pants World
Luigi's Lost Levels
New Super Mario Pants World
Luigi's Lost Levels 2 - Back With A Revenge
Luigi's Lost Levels 3 - Electrik Boogaloo
VLDC12 - 72HoKaizo#1
This may answer your question:

Originally posted by this tutorial thread for AddMusicK
4. Im getting an error that says: ‘Echo buffer exceeded total space in ARAM’. What can I do?
This error means that there is not enough space on ARAM for adding new songs. Open the song that tells you the error. There are three possible solutions, try them one by one:
  1. Search for a line that says #default, and change it to #optimized. Reapply AddmusicK. If it didn't work, try step 2.
  2. Search for a line starting with $F1 $XX $YY $ZZ, where $XX $YY $ZZ are hexadecimal numbers. Lower $XX by one, and reapply AddmusicK. If it doesn't work, try lowering it more, until it's $01.
  3. Worst case scenario, the song is way too big for your hack. You'll have to remove global songs for it to be inserted.

It only exceeds the ARAM by 0x0100 bytes, so these steps should be enough to fix the issue.
Twitter
Originally posted by Romano338
But why it happened all of a sudden? I inserted like 6 songs in the ROM. It was fine for weeks before 2 days ago.

My only assumption is maybe there were changes in the previous ROM regarding AddMusicK. 256 bytes is not exactly large but methods to free that space is not without consequence.

Without the steps to accurately replicate the problem there is only so much we can do besides conjecture. For now, the simplest solution, is to change the following on Line 56.
Code
$f1$03$A0$01

to
Code
$f1$02$A0$01

You may notice a slight difference in quality but to most players/listeners it'll be negligible. Increasing the decay may help but that's beyond the scope of the question.

EDIT: "Solution" is Gifthaven's answer. There aren't many options available, especially to those looking for a quick and dirty solution.