Making Custom Theme, Need Help with BGM

Discussion in '3DS - Homebrew Development and Emulators' started by MarioMinecraftMix, Jun 15, 2017.

  1. MarioMinecraftMix
    OP

    MarioMinecraftMix Newbie

    Newcomer
    6
    2
    Jun 15, 2017
    United States
    I'm sorry, I'm new here. I don't know where to ask for help.

    I was just working on a theme for my 3DS based on Super Mario Odyssey, and it works VERY well. However, the BGM I added reaches a point where it's stuck in a broken loop, like a broken record or a frozen game. I've listened to it on my computer, and the loop is perfect. But it's when testing it on my 3DS that's the problem. I read somewhere that the file needs to be less than 3.1MB in size, and the file is 7.24MB. I'm guessing that's the problem, but that's where I hit my dead-end: Shortening it is the only way to make it work, and I can't make it any shorter without cutting something out. Can someone help me out?

    Here's a link to the files, if anyone can help me out: https://drive.google.com/open?id=0B_HscoOWo75VSmlJWDBKeWxmMW8


    [​IMG]
     
  2. nitroBW

    nitroBW warum nicht?

    Member
    754
    682
    Nov 1, 2016
    Germany
    donut piss wasteland
    Why don't you just resample it? I usually resample the bgm to 32768hz, 22050hz or 19200hz, instead of the default 44000hz, in Audacity
     
  3. MarioMinecraftMix
    OP

    MarioMinecraftMix Newbie

    Newcomer
    6
    2
    Jun 15, 2017
    United States
    That was the first thing I did. The source I read from suggested to decrease it from 32000 to 15000 at minimum (that's the lowest you can go before overall quality begins to noticeably drop), and that didn't seem to change the size. It all came down to length.
     
  4. nitroBW

    nitroBW warum nicht?

    Member
    754
    682
    Nov 1, 2016
    Germany
    donut piss wasteland
    4 minutes is too long, not only because of filesize, but because nobody actually stays in homemenu for that long. Unless you want it to lose quality, you have to cut it down to ~2 minutes.
     
  5. sks316

    sks316 Retro Enthusiast

    Member
    1,590
    840
    Nov 28, 2013
    United States
    Hyrule
    The theme's looking very nice! I'll be sure to download it when it's released on 3DSThem.es.
    BGM files have a cap of 3.3 MB. Find a good looping point and loop it there. If it's still too large,
     
    nitroBW likes this.
  6. MarioMinecraftMix
    OP

    MarioMinecraftMix Newbie

    Newcomer
    6
    2
    Jun 15, 2017
    United States
    THAT'S THE PROBLEM! I did exactly that, and it's not enough! To get it smaller than this, I either have to drop the quality TOO noticeably or cut something out entirely! And I don't mean what's outside the loop!

    I did exactly that by setting it to loop when making the BRSTM file. The loop is a clean one at that, but it's not 'til the 3DS tries to play it that I face this problem.
     
  7. sks316

    sks316 Retro Enthusiast

    Member
    1,590
    840
    Nov 28, 2013
    United States
    Hyrule
    Alright, what music are you trying to loop? If it's on YouTube, please embed the video. If it isn't, please PM me the media file.
     
  8. MarioMinecraftMix
    OP

    MarioMinecraftMix Newbie

    Newcomer
    6
    2
    Jun 15, 2017
    United States
    I got it from YouTube, but it's already provided in the TOP POST.
     
  9. nitroBW

    nitroBW warum nicht?

    Member
    754
    682
    Nov 1, 2016
    Germany
    donut piss wasteland
    No shit does the loop/ the file work on your computer, it has no problems with using big files, but the 3DS has. Once 3.3 mb have been reached in the file (about 2 minutes of the song here) it will just keep repeating the last seconds still saved in ram.

    The file itself has to be 3.3 mb or smaller.
     
  10. MarioMinecraftMix
    OP

    MarioMinecraftMix Newbie

    Newcomer
    6
    2
    Jun 15, 2017
    United States
    Yeah, I know! That's the problem!
     
  11. jurassicplayer

    jurassicplayer Completionist Themer

    Member
    4,355
    505
    Mar 7, 2009
    United States
    Pantsuland
    Cut it at the 2 minute mark. There is a section that sounds similar to the ending of your current loop and from 2+ min it's just a repeat anyways.
     
    sks316 and nitroBW like this.
  12. nitroBW

    nitroBW warum nicht?

    Member
    754
    682
    Nov 1, 2016
    Germany
    donut piss wasteland
    And this means that you either have to lower its quality or cut it. Maybe there is a shorter version of it idk
     
  13. sks316

    sks316 Retro Enthusiast

    Member
    1,590
    840
    Nov 28, 2013
    United States
    Hyrule
    I apologise, I thought that was just the BCSTM. I do, however, agree with @jurassicplayer.
     
  14. MarioMinecraftMix
    OP

    MarioMinecraftMix Newbie

    Newcomer
    6
    2
    Jun 15, 2017
    United States
    OKAY! I RESOLVED THE ISSUE! I cut it down even smaller (somehow) and decreased the Sample Rate; turns out that there was a separate setting I needed to enable for that to effect. Now I have the file down to 1.89MB! I tested it on my 3DS, and it works FLAWLESSLY (if not a little quiet than I expected)!

    I'll be uploading it tonight!
     
    jockep and sks316 like this.
  15. sks316

    sks316 Retro Enthusiast

    Member
    1,590
    840
    Nov 28, 2013
    United States
    Hyrule
    Excited! I'm glad the issue was resolved.