04-05-2025, 06:10 PM
(03-19-2025, 12:13 PM)OldMoses Wrote: My ap won't play "chords" per se, it will play single tones through the SOUND command, so it's nothing that sophisticated. I envisioned the ap to be a visual aid to the guy with a guitar in his lap for navigating the fret board. Oh, and a tonic (or root) note is the first note in a scale and the note for which the scale is named (i.e. C is the tonic of the C major scale). In my ap, the tonic is indicated by the solid color mark with the SIN gradient. The others are flat colored and pie sliced by their position in the scale progression.
You can play polyphonic voices (up to 4 I think?) in the latest versions of QB64PE:
From wiki: SOUND keyword documentation.
Quote:Optional parameter voice& can be a numeric expression ranging from 0 to 3. It specifies the voice channel that will be used to play the sound.
Multi-voice support was inspired by Amiga Basic and Advanced BASIC (for the IBM PCjr and Tandy 1000).
@OldMoses so you could play a chord with up to 4 notes at once

@a740g is it possible somehow to play more than 4 notes at once as a guitar has 6 strings? etc.

