Main Menu
Main Page
Forums
New pages
Recent changes
Random page
Help

Glitches
Arbitrary code execution
Pokémon cloning
Pomeg glitch and Glitzer Popping
Tweaking and voiding
Glitches by generation
Other glitch categories

References/Resources
Databases
Disassembly projects
The Big HEX List
Interactive tools
Reference documents
Terminology

Affiliates
Legendary Star Blob 2 (Hakuda) (日本語/Japanese)
Pokémon Speedruns wiki (English)
PRAMA Initiative (Français/French)
MissingNo. Glitch City (Italiano/Italian)
Become an affiliate!

Technical
Site source code

Search Wiki

 

Search Forums

 

Author Topic: GBC Music and Sound  (Read 1883 times)

0 Members and 1 Guest are viewing this topic.

The G-Meister

  • Your bog-standard spotty British teenager
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • That's no Pokémon, Ash.
    • View Profile
GBC Music and Sound
« on: October 14, 2015, 04:15:47 pm »
Being a musician, I've been intrigued into the music/sound used on R/B/Y and G/S/C recently, to the extent that I thought it might be cool if we found a way to write music and/or sound effects and play them using arbitrary code execution (or any other sort of method to play sound written by the player). I've got a few ideas in mind, one being that there could be a useful address where one of the glitched music tracks points to.

However, before I get started I'm gonna need a bit of help from you guys, if you don't mind :P

The first thing we're gonna need is some resources, whether written, a video or simply some knowledge. It would be helpful to know:

1. where and how the music is stored in the ROM, how it's read and how it's played. If you simply know the "where" part that's good enough :P
2. how to use BGB, so I can start to break down where the glitched music tracks point to. I'm sure if I looked I could find one on YouTube, so don't be too rigorous on this one. The reason I chose BGB is because of its accurate sound emulation. Seen as I regularly play on a Gameboy Color, I know how close it is to that.
3. any other sound related stuff, or things that might be relevant to the topic.

If I find anything myself I'll also link it in this topic.

Thanks in advance,

~G <3

P.S. I'm asking rather than looking first, just in case there's been a huge research topic I've missed, and because there are more experienced people out there who know what they're doing.
Pixel Professor Oak is a spitting image of my physics teacher. Lab coat and all.

Proudly glitching on console, just pop me a message if you want me to do any research.

camper

  • aka GlitcherRed, azum4roll
  • Member+
  • *
  • Offline Offline
  • Gender: Male
  • 975642dx║'r DExsfoF▓1 error.
    • View Profile
Re: GBC Music and Sound
« Reply #1 on: October 15, 2015, 09:51:00 am »
[youtube]https://www.youtube.com/watch?v=F7TS-a2a26s[/youtube]

This is one example I can think of. Do you mean to do something like this?
Youtube
 

Guess where this is?

The G-Meister

  • Your bog-standard spotty British teenager
  • GCLF Member
  • Offline Offline
  • Gender: Male
  • That's no Pokémon, Ash.
    • View Profile
Re: GBC Music and Sound
« Reply #2 on: October 15, 2015, 10:22:36 am »
Yup, exactly like that. I'll look through all the code mentioned there.

Thanks a bunch
Pixel Professor Oak is a spitting image of my physics teacher. Lab coat and all.

Proudly glitching on console, just pop me a message if you want me to do any research.

joonas2345

  • Guest
Re: GBC Music and Sound
« Reply #3 on: October 17, 2015, 02:34:07 pm »
This might be helpful: http://hax.iimarck.us/topic/11/

pokechu22

  • Member+
  • *
  • Offline Offline
  • Gender: Male
    • View Profile
Re: GBC Music and Sound
« Reply #4 on: October 17, 2015, 08:25:08 pm »
I believe (but am not exactly sure) that there is a program that converts music made using FamiTracker into something that can be inserted into the ROM.  I don't have a link, though. 
When I underline text, that usualy means I am using the [‍acroynm] tag to provide aditional information.  Hover over it to view.
My youtube channel

Wack0

  • Coder, reverser, beta collector [BetaArchive staff]
  • Banned
  • *
  • Offline Offline
  • Gender: Male
  • cBRH - Doing nothing since 2k7
    • View Profile
Re: GBC Music and Sound
« Reply #5 on: October 18, 2015, 07:11:12 am »
I'd actually be interested in .wav files of the GB samples (so, the note, the drum etc).

I've tried to find them for some time, but never did.
C H E C K E D . B U I L D S . A R E . A W E S O M E N E S S

BetaArchiveSoftHistory Forumsirc.rol.im #galaxy,#softhistory

Also known as The Distractor.

Shane, please stop telling children that there's a Mew outside under the delivery trucks. - Management

Pokémon: arbitrary code execution 1996-2016

IIMarckus

  • Administrator
  • *****
  • Offline Offline
  • Gender: Male
  • Impersonal Text
    • View Profile
    • iimarck.us
Re: GBC Music and Sound
« Reply #6 on: November 03, 2015, 10:01:34 pm »
I'd actually be interested in .wav files of the GB samples (so, the note, the drum etc).

I've tried to find them for some time, but never did.
These?

kaikun97

  • GCLF Member
  • Offline Offline
    • View Profile
Re: GBC Music and Sound
« Reply #7 on: November 06, 2015, 01:24:00 pm »
Ill add on that via ACE somebody added custom music in this TAS video

 https://youtu.be/aYQpl8Jj6Yg

http://tasvideos.org/2187M.html Look near the end and it plays some. Here are the author comments: http://tasvideos.org/3767S.html

« Last Edit: November 06, 2015, 01:25:22 pm by kaikun97 »