Navigation

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

    Music and vocals

    Help
    4
    9
    553
    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.
    • Rxvlism
      Rxvlism last edited by

      Hey guys I’m mainly an artist but seen as I’m making my game in Fuze by myself I have no knowledge of music in coding...

      Was hoping someone can point me in the direction of a basic tutorial at can teach me atleast how to make a piano scale so I can translate my Melody’s.

      Also can u make vocals or is there audio like a fighting game

      Spacemario 1 Reply Last reply Reply Quote 0
      • Martin
        Martin Fuze Team last edited by Martin

        I can't help on the music stuff but I was looking for soudn effects yesterday and you should be pretty well covered for fighting vocals. There's loads in the built-in assets.

        1 Reply Last reply Reply Quote 1
        • Dave
          Dave Fuze Team last edited by

          Take a look at the "Making Music" tutorial. It goes over what's needed to create a melody using code and the synthesizer. However, without any musical knowledge you're always going to be "in the dark" so to speak - the tutorial uses note names and lengths (i.e, F#, semiquaver) to compose. If you've got access to sheet music and know the basics, it's very easy to put this information into the program and make it play anything - but if you're not familiar at all then composing music will probably involve some trial and error. It is using what's called the Chromatic scale (all 12 notes), and played randomly this won't sound particularly musical. Here's a couple of scales and their "vibe". I'm going to stick to the key of C here.

          C Major: C D E F G A B // Happy, typical sound. Always a safe bet
          C Dorian: C D Eb F G A Bb // Can be used for a folky sort of sound, or for a "cool" minor vibe
          C Phrygian: C Db Eb F G Ab Bb // Has a very Spanish flavour to it, almost Egyptian sounding - especially if you raise the Eb to E
          C Lydian: C D E F# G A B // Evokes a mystical sort of curious vibe.
          C Aeolian: C D Eb F G Ab Bb // Your standard minor scale

          Try various patterns using the notes in these scales instead of the melodies in the Making Music tutorial, and you should be able to start composing some cool stuff!

          There are also some people on the Arena doing incredible things with the synthesizer - check out @Discostew and @Nisse5, along with @sys64738

          1 Reply Last reply Reply Quote 4
          • Spacemario
            Spacemario F @Rxvlism last edited by Spacemario

            @Rxvlism I have a template program shared which does basic music, if you want to check that out! It's integrated with a sample main game loop, so you could copy and paste the whole program probably: SW-1537-8645-5886

            It works just like you're saying: to add a song, you just plug in its notes into an array.

            It only supports two channels right now, but could easily be expanded to more. Once the others get their MML parsers working consistently, that will be "the Fuze way" going forward imo-- but for now my basic approach is working for me.

            1 Reply Last reply Reply Quote 3
            • Rxvlism
              Rxvlism last edited by

              You guys are so good to me. 😂

              Literally answered all my questions you guys are the best. And yes I’m just trying to make basic music and also learn I’ve dabbled in music and know piano notes and such just wanna learn how to do it myself u know. @Dave thats a lot of helpful information honestly ! Thanks.
              @Spacemario awesome I’d love to check it out what is you’re Nintendo account so I can add u or pm it I’d love to check out others work for once 😂 start making friends. And thanks @Martin didnt know that there was sounds in the assets never looked 😂

              Spacemario 1 Reply Last reply Reply Quote 0
              • Spacemario
                Spacemario F @Rxvlism last edited by Spacemario

                @Rxvlism Glad we could help :) You should just be able to plug my friend code in the Switch UI and add me that way, if you haven't already: SW-1537-8645-5886

                Then you just start Fuze, and go to the "Friends" section-- I have the template program there.

                And the built-in music and sound effects are another way! You can just use the "playAudio()" function: https://fuzearena.com/help/view/playAudio

                Of course, I kind of like "composing" (I use the term loosely, I have no skillz) my own music though, which then needs just a little bit of programming to get playing.

                Eventually, I think it would be cool for Fuze to have a simple little music sequencer tool, which could write your song to a file for play via a simple function call. But it's early doors yet, and getting the music code working is kind of satisfying anyway!

                1 Reply Last reply Reply Quote 1
                • Rxvlism
                  Rxvlism last edited by

                  Yes 1000% agree, I’m no Good at making up music but back in Little big planet I loved re making original songs in the music sequencer on there plus it was plug n play so all I needed to know was the piano keys lol

                  1 Reply Last reply Reply Quote 1
                  • Rxvlism
                    Rxvlism last edited by

                    I do gotta learn this also tho thanks again and do u know of any png explanation on frequency via keyboard

                    1 Reply Last reply Reply Quote 1
                    • Dave
                      Dave Fuze Team last edited by Dave

                      I think you'd have a better time of using the note2freq() function that inputting the frequencies yourself. The function uses the MIDI standard note numbers - Middle C is 60. So, note2Freq(60) will give you the number 261.6. Stick that into a playNote() line and there's your piano key :)

                      This picture shows a a standard piano with the midi numbers for C in each octave. Might be of use!

                      https://music.ashbysolutions.com/midisol/Figure35.gif

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