Skip to content
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

Added Module function 'set_song_position(int position)' #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BitJag
Copy link

@BitJag BitJag commented May 29, 2024

Changes the current playback position of the song to the start of the pattern at the given song position.

Useful for:

  1. Changing the point in the song as a reaction to something happening in game.
  2. Faster than having to stop and clear the currently loaded module, and then loading a new module.
  3. Can potentially save space by not having to duplicate the same sample for an instrument that happens to be used in two different MOD files. For example: If you have two songs that use the same samples, you can compose both songs inside of the same MOD file, avoiding duplicate sample data if you were to instead use two separate MOD files.

… playback position of the song to the start of the pattern at the given position.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant