Richi_S Posted July 27, 2009 Share Posted July 27, 2009 As I announced in the previous topic Yet another sound system, I finally release my In Game Sound Engine: IGSE.bin IGSE.txt Just rename it to IGSE.asm and have some fun. Please post Your opinion, bugs You found, and and Your suggestions! Quote Link to comment Share on other sites More sharing options...
Richi_S Posted July 27, 2009 Author Share Posted July 27, 2009 If you want to make your own music I recommend: SoundX__1994___Hozer_Video_Games__Ed_Federmeyer___WIP___a1_.bin So that you can hear how the instruments you choose might sound. The batari Basic Music and Sound Page To convert real notes in Atari 2600 values. And finally Anvil Studio A great freeware MIDI editor. It features a Mixer that lets you strip down existing midi files to two track Atari 2600 music, and a Piano Roll Editor, which enables even persons with limited musical talent (like myself) to generate nice music. It also displays the notes of a given Midi File very similar to the Pattern & Beat system I use. Quote Link to comment Share on other sites More sharing options...
Richi_S Posted July 27, 2009 Author Share Posted July 27, 2009 (edited) Quickstart: How To use The In Game Sound System Some basic definitions: TV Frame: The TV Frame is the smallest unit (60Hz, NTSC). On every TV Frame the AUDFx and AUDVx registers are updated from the Special instrument tables, the Special Instrument pointer(Music_special_pointer_X) is increased. Note: Depending on the music timers prescaler (Music_timer, MUSIC_TIMER_PRESCALER) a defined number of TV Frames form one Note. If a new note is loaded the AUDFx_base register is loaded and the special instrument pointer (Music_special_pointer_X) is reloaded, the beat offset pointer is reseted (Music_beat_pointer_X_offset). Beat: Eight Notes form a Beat (Music_beatX_AUDF). To every Beat a Instrument (Tia Instrument and Special Instrument Modifier, Music_PatternX_Instrument) is assigned. Pattern: A Pattern is two Tables (Music_PatternX , Music_PatternX_Instrument ) that links to the Beats and assigns Instruments to the Beats. Song: A Song consists of two channels. It defines the starting Point and the end point and the Loop in Point of the Patterns (MUSIC_SONG_START, MUSIC_SONG_END, MUSIC_SONG_LOOP_TO). Channel: The Atari 2600 has got two channels. Every channels has got its own Pattern, Beats and Notes. The Pattern The pattern is played from Lesf to the right. There is defined A starting point (MUSIC_SONG_START) A End point (MUSIC_SONG_END) A point where the Song shall repeat after the pattern has reached the end point (MUSIC_SONG_LOOP_TO) The Notes The Pattern table points to a Address in the Music_beatX_AUDF table The values in the table are the Notes (AUDFx). #99 is Silence (Pause) The Beat Table is played from left to the right. If all eight notes of one beat are played, the next beat from the pattern table is loaded. The Instrument Every Patterns Beat has got its Instrument (Instrument Number in Music_PatternX_Instrument). The Instrument Number is divided in two Nibbles The Instrument Numbers Low Nibble is the TIA Instrument (AUDCx Register) The Instrument Numbers High Nibble is the Number of the Special Instrument. By using the Music_special_instrument_pointer the starting address of the Music_special_AUDV_table and Music_special_AUDF_table is identified. Every TV Frame the pointer to these tales is increased, the Tables are read from left to right. The AUDV register is updated every TV Frame with the value from the Music_special_AUDV_table. The AUDF register is updated every TV Frame with the value from the Music_special_AUDF_table plus the value of the note to be played. Edited July 27, 2009 by Richi_S Quote Link to comment Share on other sites More sharing options...
yuppicide Posted July 28, 2009 Share Posted July 28, 2009 Sounds very interesting. I did have a read over some of the information and don't totally understand it all, but I heard your Contra (wasn't it Contra) and it was great. I have always been interested in trying to convert over some of my friends band into the Atari 2600 and maybe this will help looking at Anvil. I know the songs won't sound the same, but if I can play them for my friend I'd be happy if they figured out it was their own song. Quote Link to comment Share on other sites More sharing options...
+grafixbmp Posted September 6, 2009 Share Posted September 6, 2009 What amout of cycles and area of a full frame does it take up? Quote Link to comment Share on other sites More sharing options...
Richi_S Posted September 9, 2009 Author Share Posted September 9, 2009 Well, I'd say 3 to 5. I did not count them, or did any tests on that. While programming the code I started it as a part of a game. I did not use a timer like in the released code. I was just using STA WSYNC. In the Engine code, every now and than, five STA WSYNC commands had been placed and it worked fine. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted September 26, 2009 Share Posted September 26, 2009 If you want to make your own music I recommend: SoundX__1994___Hozer_Video_Games__Ed_Federmeyer___WIP___a1_.bin So that you can hear how the instruments you choose might sound. Is that better than Tone Toy 2008: http://www.randomterrain.com/atari-2600-memories-program-tone-toy-2008.html Quote Link to comment Share on other sites More sharing options...
Richi_S Posted October 12, 2009 Author Share Posted October 12, 2009 Wow, Tone Toy is a great tool... Thanks for telling me. With the sound loop function I can get a good feeling how the "Special Instruments" will sound like, when programming them. Without that tool it is a lot more trial and error. Quote Link to comment Share on other sites More sharing options...
Tr3vor Posted November 19, 2009 Share Posted November 19, 2009 (edited) If you want to make your own music I recommend: SoundX__1994___Hozer_Video_Games__Ed_Federmeyer___WIP___a1_.bin So that you can hear how the instruments you choose might sound. Is that better than Tone Toy 2008: http://www.randomter...e-toy-2008.html why is the page not found? i saw your video on youtube about it and want to try that out so I can see all the weird sounds the 2600 makes. Edited November 19, 2009 by Tr3vor Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted November 19, 2009 Share Posted November 19, 2009 (edited) Why is the page not found? Maybe there was a temporary problem. Seems to be working fine now: http ://www.randomterrain.com/atari-2600-memories-program-tone-toy-2008.html And for those who don't know, I have a new Data Creation Toy for batari Basic users: http ://www.randomterrain.com/atari-2600-memories-batari-basic-music-toy.html Play real Atari 2600 sounds online and create music data for bB programs. Edited November 20, 2009 by Random Terrain Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.