Navigation

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

    Music Example Code

    Functions
    1
    1
    433
    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.
    • vinicity
      vinicity F last edited by

      Hi,

      There has been quite an interest in making music in Fuze lately, so I thought I would show how I'm doing it. It's probably not the best way, and I will try to improve on this in the future, but for now I am sharing the music parts ripped out from my current work-in-progress game.

      Two songs, with a bit of different approach. The first one contains only FM sounds, and the second uses a combination of FM and samples from the assets.

      I have tried to add a lot of comments in the code to explain how things work.
      Feel free to use my code in your own projects if you want to!

      Download ID: NX24QCFD5C

      This is a table of the midi numbers used by the note2freq() function:
      https://usermanuals.finalemusic.com/Finale2012Mac/Content/Finale/MIDI_Note_to_Pitch_Table.htm

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