What is Arkos Tracker? › Forums › Arkos Tracker forum › General discussion › ASM lightweight Player: Subsongs and looping
- This topic has 2 replies, 2 voices, and was last updated 5 years, 8 months ago by robpearmain.
-
AuthorPosts
-
March 21, 2019 at 8:18 am #29488robpearmainParticipant
In the exported ASM
Is there a way to play a sub song so that it doesn’t loop, and is there a way to tell that it’s ended?
Also, can you use the instruments of the song as sound FX so you can INIT sound effects by pointing the instruments in your song?
Thanks
Rob
March 21, 2019 at 6:10 pm #29489TarghanKeymasterSongs always loop. However, a simple trick is to create an empty last pattern and loop on it, so that the song sounds endlessly silent at the end.
You can detect the end easily in each player, look at the “linker” part of the source. It is always heavily commented. For example, check the PLY_LW_LinkerPostPt label in the Lightweight player. A few lines below, you have a test about the end of the song. Simply set a flag here or connect your own method to react to the end.
>Also, can you use the instruments of the song as sound FX so you can INIT sound effects by pointing the instruments in your song?
I don’t understand exactly what you mean, but SFXs have a very different structure from the instruments of the songs (even though their source is the same on the editor), so you can not swap them (SFXs are basically a register dump).
March 21, 2019 at 7:39 pm #29491robpearmainParticipantSongs always loop. However, a simple trick is to create an empty last pattern and loop on it, so that the song sounds endlessly silent at the end.
Ah, excellent, yes good idea. I want to do some cut scenes in my game, end level music etc.
You can detect the end easily in each player, look at the “linker” part of the source. It is always heavily commented. For example, check the PLY_LW_LinkerPostPt label in the Lightweight player. A few lines below, you have a test about the end of the song. Simply set a flag here or connect your own method to react to the end.
Fantastic
>Also, can you use the instruments of the song as sound FX so you can INIT sound effects by pointing the instruments in your song?
I don’t understand exactly what you mean, but SFXs have a very different structure from the instruments of the songs (even though their source is the same on the editor), so you can not swap them (SFXs are basically a register dump).
Yes that answers my question, thanks
-
AuthorPosts
- You must be logged in to reply to this topic.