Quote from: Deevee on Today at 16:05Seuquenciality of the music is not the main issue I see to the usage of DATA statements. There are workarounds to that.
The biggest problem would be if the main program get interurpted by the player while reading DATA itself, I think.
Quote from: andycadley on Today at 15:35A BASIC interrupt driven music player (using ON SQ) shouldn't actually have that much impact since it queues up notes and handles then in assembly anyway (so doesn't need to respond too precisely). Structuring data to be read is probably the trickier part, DATA statements aren't great since you can only READ them sequentially and that doesn't fit well with music structure. Probably would need to be a bunch of arrays.
Quote from: PulkoMandy on Today at 15:07A BASIC interrupt driven music player (using ON SQ) shouldn't actually have that much impact since it queues up notes and handles then in assembly anyway (so doesn't need to respond too precisely). Structuring data to be read is probably the trickier part, DATA statements aren't great since you can only READ them sequentially and that doesn't fit well with music structure. Probably would need to be a bunch of arrays.Quote from: Deevee on Today at 14:46That's something I don't really need any more, but that can be fun to work on nevertheless. Do you have a song already you want to play ?No, I guess the song will be done depending on the limitations of the player. I don't expect to have the full flexibility of the usual tools, especially if I want some other things to also be working (my main effect does not need a lot of computing, but it needs to run every frame or maybe every 2 frames to do some CRTC register tricks).
Quote from: Deevee on Today at 14:46That's something I don't really need any more, but that can be fun to work on nevertheless. Do you have a song already you want to play ?No, I guess the song will be done depending on the limitations of the player. I don't expect to have the full flexibility of the usual tools, especially if I want some other things to also be working (my main effect does not need a lot of computing, but it needs to run every frame or maybe every 2 frames to do some CRTC register tricks).
Page created in 0.125 seconds with 16 queries.