1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-04 04:50:22 +00:00

Add tests of $MidiSoundFont file resolution

This commit is contained in:
Matthew Kilgore 2023-03-27 00:56:20 -04:00 committed by Matt Kilgore
parent 075d5bf157
commit f931566a6b
6 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,3 @@
$UNSTABLE:MIDI
$MIDISOUNDFONT:"soundfont.sf3"

Binary file not shown.

View file

@ -0,0 +1,11 @@
$CONSOLE:ONLY
OPTION _EXPLICIT
'$Include:'include/soundfont.bi'
DIM h AS LONG: h = _SNDOPEN("2SKIPIX.mid")
PRINT "play time ="; _SNDLEN(h)
SYSTEM

View file

@ -0,0 +1,12 @@
$CONSOLE:ONLY
OPTION _EXPLICIT
$UNSTABLE:MIDI
$MIDISOUNDFONT:"include/soundfont.sf3"
DIM h AS LONG: h = _SNDOPEN("2SKIPIX.mid")
PRINT "play time ="; _SNDLEN(h)
SYSTEM