World Library  
Flag as Inappropriate
Email this Article


Article Id: WHEBN0000881820
Reproduction Date:

Title: Gym  
Author: World Heritage Encyclopedia
Language: English
Subject: Outdoor gym, Center Parcs UK, Ran Nakash, LSU Tigers basketball, History of Hartford City, Indiana
Collection: Digital Audio, Video Game Music File Formats
Publisher: World Heritage Encyclopedia


GYM is a sound format for the Sega Mega Drive/Sega Genesis.

The name stands for Genesis YM2612, since the file contains the data stream sent to the Yamaha YM2612 sound chip in the console. The data is logged to a file through the use of emulators running a ROM image.

The GYM format first appeared on the emulator Genecyst as a simple raw sound data log. This means the format does not present a proper heading or any kind of sample storage, that usually creates very large files for a complete song.

Also, the GYM format is designed around the NTSC video framerate, and thus has a time accuracy of 16 ms (1/60th of a second), which makes it improper for logging audio in any frequency other than 60 Hz (such as the 50 Hz found in European or other PAL-based systems). Some new emulators and players had implemented headers, frequency compatibility and even some compression, but they do not follow any standard, which decreases the compatibility of the format.

GYM files can be played using Winamp (with the proper plugins) or with special players.

The new file format VGM also supports Yamaha YM2612 logging and is already supported by many popular emulators. It includes a complete header with tagging and looping support that renders GYM files obsolete for this kind of music storaging.


The GYM file format contains only four different instructions, each represented by one byte with 0 to 2 bytes of arguments:

0x00      Do nothing for 1/60th of a second (NOP)
0x01 R D  write data D on YM port 0, register R
0x02 R D  write data D on YM port 1, register R
0x03 D    write on PSG port the data D

External links

  • Zophar's Domain GYM Music Archive
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.