Navigation

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

    Song String (sstr) v1.1

    Creation share codes
    2
    2
    239
    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.
    • X
      xeno_eleusis last edited by

      Song String (sstr) v1.1 NX2CRQKDH9
      Uses a song string to compose fuze music with playnote() Thanks to tony7059 who inspired me to write this code after seeing his refactored version of the Music Tutorial. Thanks to Squidstack who quickly composed some Mozart as a test song for this share. I was really just trying to see if I could make a music string that could be parsed instead of a note array. This saves lines of code and only takes a little time to learn. In the first version that was shared to friends only, there was no note offset and it quickly became apparent that I would need to solve for a larger range of notes. This version 1.1 only allows a range of notes between 00-99 with an offset value which should be enough. The other restrictions is that speed uses a single decimal digit 0-9 for speeds 5-50. The duration or length value is a single digit hexidecimal number 0-f for values 1/12 to 16/12

      1 Reply Last reply Reply Quote 8
      • L
        LucasJG25 last edited by

        Nice work! This will come in handy for composing music for our games.

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