Page 1 of 2

QL BEEP Music

Posted: Thu Jul 25, 2024 11:22 pm
by Mark Swift
Hello,

Here's Spanish Folies by Alessandro Scarlatti in QL BEEPs

SpanishFollies.zip
(680 Bytes) Downloaded 125 times

There are multiple piano video tutorials online that display notes in letter notation.
I have no musical ability so find that these tutorials are a simple way to transcribe music.
https://www.youtube.com/watch?v=u7-ejmf ... l&index=20

The notes in letter notation were copied into DATA statements in the following program, which itself generates DATA statements that contain those notes converted into BEEP values.

MakeMusic.zip
(1.19 KiB) Downloaded 128 times

Just a bit of fun really.

Re: QL BEEP Music

Posted: Fri Jul 26, 2024 12:13 am
by bwinkel67
Here's a video on doing QL Music. The program is able to store the song, which I believe can be played by a stand-alone program if you code up a loop to read in the file and apply it to BEEP.

https://www.youtube.com/watch?v=aBdqAv9oPmI

Re: QL BEEP Music

Posted: Sat Jul 27, 2024 5:04 pm
by qbits
Hi Mark & Bwinkel67
The video is of an earlier release of QBITS QLSounds.

See QL Tinkering Posts under Help For New Users.
For more information download the accompanying pdf. The new version can play BEEP and QSound Notes.
It now has a four Octaves keyboard for SCORE Mode and a Tracker in BEEP Mode.

The QBITS QLSound Data File: Score Pages sl [0-9] Score Notes sn [0 to 23] and pitch attributes sp [0 to 4].
PScore plays back the Notes as BEEP commands using BRead: or in QSounds using QNotes.

With a little manipulation I guess standalone code could be compiled and run as a back ground to Games etc.

QBITS

Re: QL BEEP Music

Posted: Mon Jul 29, 2024 12:13 pm
by stevepoole
Hi Qbits,
Your screen shot looks very impressive. Is the program available yet ? Steve.
_________________

Re: QL BEEP Music

Posted: Mon Jul 29, 2024 1:11 pm
by qbits
Hi Stevepool,
You can find QBITS QLSounds and other Progs under post QL Tinkering ...

QBITS

Re: QL BEEP Music

Posted: Mon Jul 29, 2024 5:46 pm
by stevepoole
Hi Qbits,
I downloaded 'QBS_QLSounds.zip' which is potentially a very powerfull piece of software. Here are some initial remarks if I may :

Even after looking through the 'readme's, I did get quite confused with the various keyings. May I suggest for simplified consistancy :
MODE PARAMETERS : Use SHIFT$ & CHR$ to select characters. ok!
MODE TRACKER/STAVES : TOP STAVE : Use ALTkey$ & CHR$ to select characters. (needed)
BOTTOM STAVE : Use CTRL$ & CHR$ to select characters. ok !
KEYBOARD : Use only CHR$ to select characters... (n.b: '<' and '>' unwieldy on AZERTY).

Otherwise, I never use PAUSES for note and rest durations, as they are inaccurate. I use system-ajusted WAIT loops.
But congratulations for what you have done ! Great presentation and great promise... Steve.
_________________________________

Re: QL BEEP Music

Posted: Tue Jul 30, 2024 7:09 am
by qbits
Hi Steve,

Noted: the AZERTY Keyboard ‘<’ and ‘>’ unwieldy being up/lower case on same key next to Shift.

Thank you for quick review and suggestions I will look into them for next release.

QBITS

Re: QL BEEP Music

Posted: Tue Jul 30, 2024 7:56 am
by Mark Swift
Hi Qbits,
qbits wrote: Sat Jul 27, 2024 5:04 pm The QBITS QLSound Data File: Score Pages sl [0-9] Score Notes sn [0 to 23] and pitch attributes sp [0 to 4].
PScore plays back the Notes as BEEP commands using BRead: or in QSounds using QNotes.
From referencing the above and looking through your code, is the following correct?

QBITS QLSound Data File Format

Firstly, 768 values signifying QL BEEP values for notes B5 to F1 plus some padding - i.e.

96 of these...

Code: Select all

pitch\n
pitch_2\n
grad_x\n
grad_y\n
wrap\n
fuzzy\n
random\n
Then, the score data - i.e.

240 of these...

Code: Select all

      Pitch\n  : 0=B5, 1=A5, etc
       Type\n  : <3=Skip, <8=Rest,>7=Sound
        Val\n  : undefined?
Articulation\n : 0=standard, 1=Staccato, >1=Tenuto
       Note\n  : .25=Semiquaver, .5=Quaver, .75=Quaver-Dot, 1=Crotchet, 1.5=Crotchet-Dot, 2=Minim, 3=Minim-Dot, 4=Semibreve
Thanks

Re: QL BEEP Music

Posted: Tue Jul 30, 2024 1:23 pm
by qbits
Hi Mark,
Yes the QLSound Data files Stores 96 Note entries used or not with Attributes:- see Def Proc BRead p,h,t,s,w,f,r
[Duration, Pitch, Harmonic, time interval, number of steps, wraps, fuzziness, randomise]

It then stores the Tracker Sequence /Score 10 pages [sl] : Stave Note [sn] : Note parameters [sp].
For display these are check against a lookup table DSymbol.
For QSound they also checked with QNote(qn).

Included in the next QBITS QLSound release maybe a File SAVE Option of Tracker/Score Pages in a Data format for QSound.
As for a QSound data File LOAD this will be more complex and require a reconstruct of the present coding.

QBITS

A Lifetime is full of endless possibilities, but just taking a small step for some can take a lifetime…

Re: QL BEEP Music

Posted: Tue Jul 30, 2024 10:43 pm
by Mark Swift
Hi,

Here's a simple program to convert QBITS_QLSoundSE score files into DATA statements for standalone playback in a SuperBASIC program. It ignores articulation and rest Notes and is pretty rudimentary.
Edit LINE 1 to change the source score file.

Score2DATA.zip
(1016 Bytes) Downloaded 168 times