Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • solarus solarus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 222
    • Issues 222
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Solarus Games
  • solarussolarus
  • Issues
  • #643

Closed
Open
Created Jan 29, 2015 by Christopho@christophoOwner

Add support of OGG looping

Created by: christopho

Feature request from GGuy:

I think it would be great if OGG files could loop after playing the intro of a song using the same method as RPG Maker in which metadata tags are used to mark PCM sample points for beginning and ending of loops. Here's an explanation on how this works when creating OGG files for RPG Maker. http://forums.rpgmakerweb.com/index.php?/topic/10987-make-looping-bgm-part-1-ogg-vorbis/ ZDoom also has this feature which is documented here with their source code. http://zdoom.org/Changelog/2424/files

Here's a loopable OGG with proper metadata tags. The engine would need to know how to read the metadata and start the loop at the correct PCM sample point when it hits the loop end tag. BGM_DUNGEON_CASTLE.ogg

"LOOP_START" & "LOOP_END" would be the preferred tag names for this feature as seen in the attached image.

loop

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking