mirror of https://github.com/dschmenk/PLASMA.git
Page:
Music Sequencer
Pages
CATalog files
COPY files
Chat Client Server
Command Line Argument Parsing
Console I O
DELete fles
Double Lo Res Graphics
Double Lo Res Test
Fiber Threads
File I O
Game Port SPI I O
Game Port SPI SD FAT
Game Port Wiring
HTTP Server
Hello World
Hi Res Graphics
Hi Res Test
Home
Installation Guide
Joystick and Buzz
Lo Res Graphics Library
Long Jump
Memory Manager
Music Player
Music Sequencer
NEWDIR
Network I O
PLASM compiler
PLASMA Byte Codes
PLASMA JIT Compiler Implementation
Porting Guide
REName files
ROGUE
RPN Calculator
Rod's Colors
SANE Floating Point
Sieve
System Library
TYPE file
Trivial FTP Daemon
Variable assignment and addressing explained
ZIPCHIP
Zero Page Usage (Apple IIe 64K )
code text Editor
7
Music Sequencer
4am edited this page 2020-07-09 20:26:26 -04:00
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"
Functions:
spkrTone(pitch, duration)#0
spkrPWM(sample, speed, len)#0
musicPlay(track, rept)#0
musicStop#0
musicSequence(yield, backgroundProc)#0
musicGetKey(yield, backgroundProc)#1
Source Code: sndseq.pla
Sample Source: playseq.pla