Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Sonic AS: Difference between revisions

From GameBrew
m (Text replacement - "image = https://dlhb.gamebrew.org/dshomebrew/" to "image = ")
m (Text replacement - "| licence" to "| license")
Line 4: Line 4:
| type        = Music
| type        = Music
| version    = 1.1
| version    = 1.1
| licence     = Mixed
| license     = Mixed
| author      = Ruben
| author      = Ruben
| website    = http://forum.gbadev.org/viewtopic.php?t=16894
| website    = http://forum.gbadev.org/viewtopic.php?t=16894

Revision as of 10:20, 20 October 2021

Sonic AS
Sonicas.png
General
AuthorRuben
TypeMusic
Version1.1
LicenseMixed
Links
Download
Website
Source


A MIDI file player. It is written in ASM and ported to both the GBA and NDS.

User guide

Sonic AS has 16 channels polyphony for the DS, and variable polyphony on the GBA.

It has support for variable music players, and the DS version can handle PCM8/16 and ADPCM data, as it uses the hardware channels. The GBA version can also have either nearest neighbour interpolation (that is, no interpolation; this is fast), or linear interpolation, with .23 fixed point accuracy, which can be toggled by changing the variables in sasInternal.inc.

Since it's written in all assembler, the memory footprint is rather low. All processing is done on the ARM7 side, with the ARM9 simply signaling to play/stop, etc.

Changelog

1.1

  • DS runs with variable channel count (to allow stuff like libnds sound).
  • GBA mixer code has been heavily optimized.
  • Music code has been revised.
  • Fixed pitch bend stuff.
  • Added SFX code .

External links

Advertising: