mirror of
https://github.com/dschmenk/PLASMA.git
synced 2024-06-26 06:29:28 +00:00
Created Music Sequencer (markdown)
parent
1df292cb0d
commit
ab1a168d4a
19
Music-Sequencer.md
Normal file
19
Music-Sequencer.md
Normal file
|
@ -0,0 +1,19 @@
|
|||
Music sequences can be translated from standard MIDI files into a format playable on the built-in speaker or MockingBoard if available. A background function can be called on a timely basis for simulated multi-tasking.
|
||||
|
||||
**Compatibility:** `II`
|
||||
|
||||
**Usage:** [`include "inc/sndseq.plh"`](https://github.com/dschmenk/PLASMA/blob/master/src/libsrc/sndseq.pla)
|
||||
|
||||
**Functions:**
|
||||
|
||||
```
|
||||
spkrTone(pitch, duration)#0
|
||||
spkrPWM(sample, speed, len)#0
|
||||
musicPlay(track, rept)#0
|
||||
musicStop#0
|
||||
musicGetKey(yield, backgroundProc)#1
|
||||
```
|
||||
|
||||
**Source Code:** [`sndseq.pla`](https://github.com/dschmenk/PLASMA/blob/master/src/libsrc/sndseq.pla)
|
||||
|
||||
**Sample Source:** [`playseq.pla`](https://github.com/dschmenk/PLASMA/blob/master/src/samplesrc/playseq.pla)
|
Loading…
Reference in New Issue
Block a user