Category:MSX-MUSIC BASIC
This page was last modified 09:17, 2 June 2023 by Mars2000you. Based on work by Gdx and NYYRIKKI and others.

Contents

Description

MSX-MUSIC BASIC is a BASIC extension that is included in

Notes:

  • The extra instructions linked to a built-in software (CALL FMPAC, CALL FMPAK) are not part of the MSX-MUSIC BASIC instructions.
  • MSX-MUSIC BASIC can also be used for built-in or external MSX-MIDI interfaces. It includes then an extra instruction: CALL MDR.

Instructions (general info)

MSX-MUSIC BASIC extends the PLAY instruction and adds 10 or 11 new instructions.

Notes:

  • CALL can be replaced by the character underscore (_). A space is not required after this character. See CALL for more info.
  • With exception for CALL MDR and CALL MUSIC, all these instructions are also used by MSX-AUDIO BASIC, sometimes they work a little differently. CALL MUSIC is replaced by CALL AUDIO in MSX-AUDIO BASIC.
  • In version 1.3 of the MSX-AUDIO BIOS, CALL MUSIC can also initialize MSX-AUDIO.

Instructions (ordered per category)

MSX-MIDI Settings

Instruction Generation Function
CALL MDR (*) MSX turbo R Sets correspondance between MIDI note numbers and the 5 elements of a rhythm sound

(*) only with built-in or external MSX-MIDI

MSX-MUSIC Initialization

Instruction Generation Function
CALL MUSIC MSX1 Initializes MSX-MUSIC and optionally MSX-MIDI by selecting mode and channels


MSX-MUSIC Performing

Instruction Generation Function
CALL BGM MSX1 Specifies whether to perform MSX-MUSIC/PSG music in the background
CALL PLAY MSX1 Checks if music is being played via channels activated by CALL MUSIC and/or PSG channels
CALL STOPM MSX1 Stops performing of a MSX-MUSIC/PSG music played in the background


MSX-MUSIC Settings

Instruction Generation Function
CALL AUDREG MSX1 Writes a value directly to a register of the sound chip
CALL PITCH MSX1 Specifies the pitch of the FM melody sounds generated by the FM generator
CALL TEMPER MSX1 Sets the temperament for the FM sound
CALL TRANSPOSE MSX1 Transposes in units of half tones the FM sounds (melody + rhythm) from the FM generator
CALL VOICE MSX1 Sets a sound timbre (voice) for each channel of the FM tone generator
CALL VOICE COPY MSX1 Copies the sound timbre (voice) parameter data


Instructions (alphabetical order)

Instruction Generation Type
CALL AUDREG MSX1 MSX-MUSiC Settings
CALL BGM MSX1 MSX-MUSiC Performing
CALL MDR (*) MSX turbo R MSX-MIDI Settings
CALL MUSIC MSX1 MSX-MUSiC Initialisation
CALL PITCH MSX1 MSX-MUSiC Settings
CALL PLAY MSX1 MSX-MUSiC Performing
CALL STOPM MSX1 MSX-MUSiC Performing
CALL TEMPER MSX1 MSX-MUSiC Settings
CALL TRANSPOSE MSX1 MSX-MUSiC Settings
CALL VOICE MSX1 MSX-MUSiC Settings
CALL VOICE COPY MSX1 MSX-MUSiC Settings

(*) only with built-in or external MSX-MIDI

Pages in category "MSX-MUSIC BASIC"

The following 12 pages are in this category, out of 12 total.

C

C cont.

C cont.

P