Log In  

Hi @zep! :)

I was just reading through the manual and noticed sfx() accepts an offset value to begin playback at an arbitrary note, 0-31. I think it would be super dope for music() to also accept an offset param!

Combined with stat(54)/stat(56), it would allow you to track the playback of a main song, interrupt it with some special event song, and then resume playback of the main song exactly where it left off instead of at the beginning of the pattern. (Both of my games do this and it's always bothered me to hear the beginning of the pattern repeated after the special event ends, lol)

Thanks for your time and consideration!

P#129845 2023-05-17 20:55

1

Ya I think that could be a cool feature just let you resume roughly the same spot as you ended if you interrupt and swap the music maybe

P#129852 2023-05-17 22:04
1

+1

P#129867 2023-05-18 06:07
1

this is a nice idea; what should happen when two of the sfx in your music have different SPD values? I think each one get set to the same offset, but it's a bit strange because a different amount of time has passed for each

P#135773 2023-10-12 00:45

@pancelor Sorry, I wasn't clear about that in the original post! music() could accept a tick offset (like reported by stat(56)) instead of a note offset, since, as u mention, any sfx in a pattern could be playing back any note number at a given tick!

P#135775 2023-10-12 01:24 ( Edited 2023-10-12 04:09)

[Please log in to post a comment]