Navigation

    Fuze Arena Logo
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Groups
    • Help
    • Discord

    Shorten a song

    Help
    2
    3
    287
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Skullo
      Skullo last edited by

      Hi everyone,

      Is there any way to shorten a song? I found a song very eligible for becoming the soundtrack of my game, but this song has no audio the first five seconds so there is a pause when I play it on loop. I need to somehow remove the first few seconds of the song...

      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • vinicity
        vinicity F last edited by vinicity

        I do not think you can jump to a specific place in a song, but perhaps you could keep track of the time since the song started, and start it on a new channel (on zero volume) five seconds before the first one ends? And then stop the first channel and raise the volume of the new channel to switch it over...

        There is also the audioLength() function to get the length of an audio track, which could be useful.

        Skullo 1 Reply Last reply Reply Quote 0
        • Skullo
          Skullo @vinicity last edited by

          @vinicity Thank you very much for your answer. If I undestood you well:

          • I would need to allocate two audio channels only for this porpuse.
          • I would need to track of the time everytime the song starts.

          I'll check it out but I see this solution a bit tricky.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post