♪ GWBASIC PLAY Command Player ♪

✨ NOW WITH CHORD SUPPORT! ✨

Examples (click to load):

Scale (single notes): T120 O4 L4 C D E F G A B O5 C
Chord Progression (C-Dm-Em-C): T120 O4 L4 [C,E,G] [D,F,A] [E,G,B] [C,E,G]
Twinkle Twinkle (with harmony): T140 O4 L8 [C,E] [C,E] [G,O5C] [G,O5C] [A,O5C] [A,O5C] [G,B]2
Lucy in the Sky with Diamonds (opening): T130 O4 L8 [E,O5C#]4 [E,O5C#]4 [E,O5C#]4 [E,O5C#]2 [E,B]4 [E,A]4...
Rich 4-Note Chords: T120 O3 L4 [C,E,G,O4C] [G,B,D,G] [A,C,E,A] [F,A,C,F]
Mixed Durations with Chords: T160 O4 L16 [C,E,G] [C,E,G] [C,E,G] L8 [D,F,A] L4 [E,G,B]...
Chords with Pauses: T140 O3 L8 [C,E,G] P [C,E,G] P [G,B,D] P [G,B,D] P...
Fast Chord Arpeggios (sharps): T200 O5 L16 [C#,E,G#] [D#,F#,A#] [F#,A,O6C#]...

Command Reference:

Tnnn - Tempo (beats per minute, 32-255, default 120)
On - Octave (0-6, default 4, 4 is middle octave)
Ln - Default note Length (1=whole, 2=half, 4=quarter, 8=eighth, 16=sixteenth)
A-G - Notes (can add # or + for sharp, - for flat)
P - Pause/rest
Number after note - Duration override (e.g., C8 = eighth note C)

🎵 NEW CHORD SYNTAX:
[note1,note2,note3] - Play notes as chord with default length
[note1,note2,note3]n - Play chord with duration n
[C,E,G]4 - C major triad, quarter note
[E,O5C#]2 - E4 and C#5 together, half note
[D,F#,A,O5D]1 - D major with octave extension, whole note

Notes:
• Octave changes inside brackets apply to following notes: [C,O5E,G]
• Sharps/flats work inside brackets: [C#,E,G#]
• Duration after bracket applies to entire chord: [C,E,G]2
• Mix single notes and chords freely: C4 [E,G]4 B2