CALL MFADE
This page was last modified 14:03, 17 May 2020 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-OutSpeed>)

Parameter

<Fade-OutSpeed> 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