First Spear Posted March 23, 2020 Share Posted March 23, 2020 Hi all. When IntyBASIC music is playing, how can the volume (0-15) and pitch (from 0-255) be tracked? I understand that there could be some serious CPU impact, but knowing how it would be possible would be great. Thanks. Quote Link to comment Share on other sites More sharing options...
carlsson Posted March 23, 2020 Share Posted March 23, 2020 Check the LST file. You should see something like this: 0000012B _music_vol1 0000012C _music_vol2 0000012D _music_vol3 It means that PEEK($12B) will return current volume on voice 1, PEEK($12C) for voice 2 and PEEK($12D) for voice 3. You have memory locations for frequency too if you look into the LST file. I suppose those are fairly static but don't take my word for granted that they may not change along development of the program. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.