

So it means physicaly it can be same one sample, but can have 2 headers with two different frequency flag and play different sound.Įnvelopes.
#PUREBASIC PLAY MIDI FILE DRIVER#
first part - it cant be more, than 4 envelopes at once (because driver have 128bytes buffer and per 32bytes per one envelope). if it will be 5 of them - it will hung system. second one - envelope cant have more than 9 "steps". one step is 3 bytes - counter (1b) and value (2b). channels getting happen by types of instruments and priority. first track can be samples, second PS tone, third FM.
#PUREBASIC PLAY MIDI FILE FREE#
if FM type and PSG tone can be played at any free FM and PSG channels of real chips - samples can be played only with 6th channel of YM2612. Noise PSG - only with 4th channel of SN76489. and when instrument will use special mode for 3channel - it can play only on 3th channel of YM2612 (sound of sonic tank for Dune the Battle for Arrakis for example). it set inside sequences and work only with FM instruments. samples and PSG is not obey that setting. and it have two variants - mastervolume - for all FM tracks of all sequences - some kind of global thing, or volume - for only one track of this song or sfx. if you want to change volume for PSG - you will need to create new PSG instrument with lower Attack and Systain param. and set that instrument for this part of track, where you need lower volume for PSG.īpm - can be from 40 to. 295 probably (into 255 it is sure, but for 295 - dont remember sure). it sets by tempo command for track and "sfx" flag set 150bpm for sfx tracks. To get that GEMS inside of game - you will need find a place, where that banks lays. for this case can help GEMSScan by ValleyBell and you can get it here on a forum.

it will make copy of banks and driver near rom file. (you need to press some spoiler button for reveal addresses - to make copy of banks from roms by manualy) and sometimes can find only driver, or even no driver too. When you have banks - you need to unpack it. r57shell is make some combaine-splitter programm for that. it will create up to 127 folders, with 000-127 names. inside of that folders will lay data of each slot of Sequencys. With sequence, samples, envelopes and instruments.
