-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MUSIC with BEGIN STORAGE (CPC) #1075
Comments
I've also tried:
But that crashes the CPC as well. |
Hi @poppichicken and thank you for your bug report!
Actually there is no crash: simply, since there is no To solve it, it is necessary to allocate enough space to hold the MIDI song converted to the IMF format. At the moment, unfortunately, there is no instruction that returns the length of the generated file (and the IDE does not provide this type of detail), and therefore it is necessary to go by trial and error. Try this code:
Thank you again! |
Thanks Marco.
Here is the .mid file I'm using (zipped so that github would allow me to attach it to this ticket): |
Hi @poppichicken , thank you for the feedback! Your example doesn't crash. This is the audio produced: |
That's odd.
Does this: However if I uncomment the DLOAD command:
Some weird things happen on screen. Uncommenting the MUSIC command:
Does this: But this time the scale music does play. [EDIT] I tried moving the DLOAD command before the screen commands:
And that worked nicely! |
Hi @poppichicken , thank you for the feedback!
The colour change and strange side effect depend by the ticket #1035 .
So it works... does it? |
Ah yes of course, #1035 does indeed explain the issue. With this code, the scale example works.
|
Hi @poppichicken , I'm happy to let you know that the command |
That's a great feature. |
hi Marco.
No doubt i'm doing something wrong, but the DLOAD command seems to be crashing the CPC.
The text was updated successfully, but these errors were encountered: