1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-29 00:45:53 +00:00
QB64-PE/internal/c/parts/audio
Matthew Kilgore 2b3403745c Add initial MIDI language support
This adds MIDI support to the language as a new unstable feature. There
are two new metacommands that come with this:

$Unstable: Midi
$MidiSoundFont: [Default|"filename"]

The $Unstable command is required to be able to use any of the other
commands, and just signifies that this is not a full part of the
language yet and may change in breaking ways before the API is
finalized.

The $MidiSoundFont command enables MIDI support in the compiled program,
and also specifies what sound font to use to play MIDI files. "Default"
will make use of the soundfont placed at
'./internal/support/default_soundfont.sf2', and otherwise a filename can
be specified to use any soundfont wanted.

In either case, the selected sound font is compiled into the executable
and then loaded at runtime.

Fixes: #115
2022-09-04 23:35:14 -04:00
..
conversion Remove old build system 2022-05-19 09:17:13 -04:00
decode Remove old build system 2022-05-19 09:17:13 -04:00
extras Add initial MIDI language support 2022-09-04 23:35:14 -04:00
out Move QB64 compiler settings to libqb-common.h 2022-06-12 00:28:16 -04:00
audio.cpp Fix usage of mem_block type in _MEMSOUND 2022-09-04 05:16:41 +05:30
build.mk Add initial MIDI language support 2022-09-04 23:35:14 -04:00
miniaudio.h Add initial MIDI language support 2022-09-04 23:35:14 -04:00
miniaudio_impl.cpp Add initial MIDI language support 2022-09-04 23:35:14 -04:00
stub_audio.cpp Add a740g's miniaudio backend 2022-08-27 14:27:55 -04:00