HI Derek,
I am no QL electronics specialist : The fault on my QL setup is this :
Sometimes a reLOADed saved file on Floppy gets the odd MISTake inserted in a fully tested program. Other times, A screen image will have one or more black ('undersore') bytes in the picture. At other times, a BIG old program may just go slowly haywire when run. With my limited knowledge, I suspect a bad byte in RAM.
My QL is a JS SGC with SuperHermes & external keyboard, (but the battery has run down). Can SuperHermes be excluded as a possible cause of the 'byte' fault ?
If it is indeed a RAM problem, do I need to send you a PM for repair details etc ?
I use my QL frequently to test QPC2 programs for backward compatibility under QDOS...
Hope you can advise, Steve.
QL Music
-
- Font of All Knowledge
- Posts: 3975
- Joined: Mon Dec 20, 2010 11:40 am
- Location: Sunny Runcorn, Cheshire, UK
Re: QL Music
Hi Steve
I foubt the Superhermes will be causing the possible errors, the battery only affects the run time clock.
So maybe the fault is with the Super Gold Card, you vould try gentley pushing the zip ram chips into the sockets. The fault maybe corrosion on the pins of the socketed parts.
I have some spare zip ram from an SGC.
I could do with an adapter formy ALL03A programmer to test the ram chips.
I see if I can mske one and get back yo you.
I foubt the Superhermes will be causing the possible errors, the battery only affects the run time clock.
So maybe the fault is with the Super Gold Card, you vould try gentley pushing the zip ram chips into the sockets. The fault maybe corrosion on the pins of the socketed parts.
I have some spare zip ram from an SGC.
I could do with an adapter formy ALL03A programmer to test the ram chips.
I see if I can mske one and get back yo you.
Regards,
Derek
Derek
-
- Super Gold Card
- Posts: 716
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Music
Hi Folks,
Here is a version with both reported bugs now fixed: ( But look at line 5620 if you are not using the flp1_ device).
LRUn and follow the instructions, ( as indicated for fastStave2_bas ).
The program has been tested ok on Rasberry PIe's, so the ajust_timer routine seems to be fine for multi_platform compatibility. Ouf!
Best Wishes, Steve.
________________________
Here is a version with both reported bugs now fixed: ( But look at line 5620 if you are not using the flp1_ device).
LRUn and follow the instructions, ( as indicated for fastStave2_bas ).
The program has been tested ok on Rasberry PIe's, so the ajust_timer routine seems to be fine for multi_platform compatibility. Ouf!
Best Wishes, Steve.
________________________
Re: QL Music
Steve,
I've taken version 3 and played all of the tunes again on a Pi with sQLux, and also on Windows with Q-Emulator and QPC11. They sound good and in tune. One point I've noticed is that "Katie Morey" stops with an out of range /array script error at line 1200. This happens on all of the emulators.
I see that Jingle bells is played several time, with each iteration at a lower speed than the last. I measured the time for the first iteration. All the runs on Q-Emulator and sQLux took around 16 seconds. On QPC11 I saw some variation on different runs. Sometimes 16 secs, on other reboots 12. I did select option 0 before option 1 each time, so I'm not clear what I did differently for the varying speeds on QPC11
I hope this helps, and thank you for giving me something entertaining to test my sound code on
Cheers,
Ian
I've taken version 3 and played all of the tunes again on a Pi with sQLux, and also on Windows with Q-Emulator and QPC11. They sound good and in tune. One point I've noticed is that "Katie Morey" stops with an out of range /array script error at line 1200. This happens on all of the emulators.
I see that Jingle bells is played several time, with each iteration at a lower speed than the last. I measured the time for the first iteration. All the runs on Q-Emulator and sQLux took around 16 seconds. On QPC11 I saw some variation on different runs. Sometimes 16 secs, on other reboots 12. I did select option 0 before option 1 each time, so I'm not clear what I did differently for the varying speeds on QPC11
I hope this helps, and thank you for giving me something entertaining to test my sound code on
Cheers,
Ian
-
- Super Gold Card
- Posts: 716
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Music
Hi Exile,
Yes, I had inadvertantly modified the 'rest note' codes, so just REMark out line 1060. Also un_REM the end of line 190 for staccato play.
I had rewritten the whole program in just one week, hence the artefacts... Sorry !
Glad you found the program interesting. (I am at present trying to improve the time-signatures for better bar calculations).
Being a prototype program, I thank you for beta-testing !
Regards, Steve.
___________________
Yes, I had inadvertantly modified the 'rest note' codes, so just REMark out line 1060. Also un_REM the end of line 190 for staccato play.
I had rewritten the whole program in just one week, hence the artefacts... Sorry !
Glad you found the program interesting. (I am at present trying to improve the time-signatures for better bar calculations).
Being a prototype program, I thank you for beta-testing !
Regards, Steve.
___________________
-
- Super Gold Card
- Posts: 716
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Music
Hi Ian,
The program adapts to the second tick on all platforms. When you multitask, timings may differ. I will modify the program so that the ajust-timer routine is called before any sample is played... and report back.
Thanks for the feedback, Steve.
_____________________________
The program adapts to the second tick on all platforms. When you multitask, timings may differ. I will modify the program so that the ajust-timer routine is called before any sample is played... and report back.
Thanks for the feedback, Steve.
_____________________________
-
- Super Gold Card
- Posts: 716
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Music
Hi Folks,
As there have been no recent bug reports, here is the final version, (until the next major adaptation some months away...)
The timings should now be more accurate when mutitasking varies, (except for example if you simultaneously upload very heavy web files).
Played notes are now slightly seperated, instead of being 'held'.
Positioning of notes on the 'keyboard stave' is now exact.
Future modifications will allow easier tempo changes on playback, (which now require tweaking the tempo menu).
The program is designed to train the ear to learn the tonal value of notes during playback whilst reading the staves.... 'SOLFA'
Steve.
_________________
As there have been no recent bug reports, here is the final version, (until the next major adaptation some months away...)
The timings should now be more accurate when mutitasking varies, (except for example if you simultaneously upload very heavy web files).
Played notes are now slightly seperated, instead of being 'held'.
Positioning of notes on the 'keyboard stave' is now exact.
Future modifications will allow easier tempo changes on playback, (which now require tweaking the tempo menu).
The program is designed to train the ear to learn the tonal value of notes during playback whilst reading the staves.... 'SOLFA'
Steve.
_________________
-
- Super Gold Card
- Posts: 716
- Joined: Mon Nov 24, 2014 2:03 pm
Re: QL Music
Hi Again,
I just re-adapted the program to allow for easy tempo changes, so here it is....
Steve.
_____________________________________________
I just re-adapted the program to allow for easy tempo changes, so here it is....
Steve.
_____________________________________________