CALL MFADE
This page was last modified 19:35, 8 July 2018 by Mars2000you.

Contents

Effect

Makes a fade-out to stop playing of a MSX-MUSIC/PSG music in Studio FM format, that is played in the background.

Syntax

CALL MFADE(<fade-out speed>)

Parameter

<fade-out speed> is a number between 1 (very fast fade-out) and 255 (very slow fade-out). If you use 0 (zero), the fade-out will not happen!

Example

10 BLOAD"SFMDRV1.BIN",R
20 _MLOAD("BUNDY.MUS",&HB000)
30 _MPLAY(&HB000)
40 A$=INPUT$(1)
50 _MFADE(40)

Related to

CALL MLOAD, CALL MPLAY, CALL MSTOP

Compatibility

StudioFM BASIC