Navigation

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

    Vibrato Creator

    Work In Progress
    7
    17
    672
    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.
    • M
      MikeDX last edited by

      That's what I do for the pacman sound effects but I want a way to use frequency and volume to implement some sort of waveform simulation. Any ideas?

      N 2 Replies Last reply Reply Quote 0
      • N
        Nisse5 F @MikeDX last edited by

        @MikeDX How about using the FM Synthensis controller together with the carrier directly to create the waveform, perhaps with a pass filter for added effects?

        It should be doable to use the controller to create a vibrato as well, but since there seems to be only one controller available to the carrier, I want to save that controller for creating actual new waveforms.

        1 Reply Last reply Reply Quote 0
        • N
          Nisse5 F last edited by

          Here's a visually improved version.

          1 Reply Last reply Reply Quote 4
          • Jaywalker
            Jaywalker Donator last edited by

            Impressive!

            1 Reply Last reply Reply Quote 0
            • N
              Nisse5 F last edited by

              I've shared the source code for the program now, if anyone wants to take a look.

              My friend ID is: SW-3948-9435-1684

              1 Reply Last reply Reply Quote 0
              • N
                Nisse5 F @MikeDX last edited by

                @MikeDX Sorry, I was too tired. I meant modulator, not controller...

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

                  Oh my word... So awesome.

                  Will be keeping an eye on this project!

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

                    Cool! Reminds me of my old Stylophone!

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

                      Now create a tracker out of this, it whould be very cool, if fuze would allow to transfer files beetween projects in the future it whould be handy for making original music for games

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

                        Hi folks, just to let you know as I don't think this is as apparent as it should be...

                        You can copy and paste code between projects. When you copy code to the clipboard, the clipboard is kept when you open a new project.

                        This allows you to "transfer" important sections of code, for example, a whole load of music data, between projects.

                        If it's images or maps you want to transfer, you can do this from the image and map editor file managers. Press the X button when viewing the thumbnail for an image or map, then select "copy image" or "copy map", then choose the project file to copy to!

                        1 Reply Last reply Reply Quote 1
                        • K
                          KuraIthys last edited by

                          hmmh. It seems like audio updates are synced to the framerate, which is nothing particularly unfamiliar to oldschool coders, but it is rather limiting.

                          16 bit consoles and later typically had an independent CPU or were using some other means to update audio data at much higher rates.
                          But the older 8 bit systems are often stuck to updating once per frame, meaning you could at best create audio that was at best 50 or 60 samples a second (depending on whether it was a PAL or NTSC machine)

                          Of course, if you had a LOT of time and patience on your hands you could do all kinds of coding tricks to push that update rate way up (some programs did it once per scanline which is more like 10,000 samples a second), but... Since FUZE doesn't have any kind of low level access like that (and you probably wouldn't want the headaches it causes anyway), I guess for now we're stuck with a 60 sample a second rate, which limits our options for anything much more complex than basic waveforms and notes. At least 60 samples a second equates to 3600 bpm, so it's not a disaster for music. (though if it's directly tied to updates then it might limit you to even divisors of 3600, which is a bit tedious to deal with. Still workable though.)

                          N 1 Reply Last reply Reply Quote 0
                          • N
                            Nisse5 F @KuraIthys last edited by

                            @KuraIthys said in Vibrato Creator:

                            hmmh. It seems like audio updates are synced to the framerate, which is nothing particularly unfamiliar to oldschool coders, but it is rather limiting.

                            16 bit consoles and later typically had an independent CPU or were using some other means to update audio data at much higher rates.
                            But the older 8 bit systems are often stuck to updating once per frame, meaning you could at best create audio that was at best 50 or 60 samples a second (depending on whether it was a PAL or NTSC machine)

                            Of course, if you had a LOT of time and patience on your hands you could do all kinds of coding tricks to push that update rate way up (some programs did it once per scanline which is more like 10,000 samples a second), but... Since FUZE doesn't have any kind of low level access like that (and you probably wouldn't want the headaches it causes anyway), I guess for now we're stuck with a 60 sample a second rate, which limits our options for anything much more complex than basic waveforms and notes. At least 60 samples a second equates to 3600 bpm, so it's not a disaster for music. (though if it's directly tied to updates then it might limit you to even divisors of 3600, which is a bit tedious to deal with. Still workable though.)

                            That's not how it works.
                            FUZE4 has a 16-channel FM synth with 1 carrier, 1 modulator and 1 pass filter. The music wave form is created based on that. The only reason to need to use the 60 fps loop is for specific audio effects, like vibrato, glissandi, fades, etc.

                            K 1 Reply Last reply Reply Quote 0
                            • K
                              KuraIthys @Nisse5 last edited by

                              @Nisse5 I guess I'll have to look into it more carefully, but what you just said sounds kind of muddled.

                              Unless there's some way of specifying notes or frequencies independently (eg a sequencer) it won't matter one way or another what kind of effects the audio system can do, how it generates sound exactly, or how many audio channels it has, you're still tied to to whatever the update rate for the audio system is.

                              Since this is inherently kind of artificial on something like FUZE (where on an 8 or 16 bit system without a dedicated audio CPU or audio DMA system - it's generally ends up tied to a V-blank interrupt, thus the association with the framerate.)

                              Effects like those you're describing are generally done (if there's no dedicated logic for it) by rapidly modulating various parameters.
                              But in the absence of a sequencer subsystem, this is ALSO how you specify notes;

                              If I use POKEY on an Atari to generate music, unless I create some complex code, both my ability to change various parameters that govern audio effects, AND the base audio frequency of all 4 channels is ALL tied to performing updates in the v-blank interrupt service routine.
                              POKEY can technically play arbitrary waveforms by directly modulating the volume registers of, but again, this is tied to when and where you write to the appropriate registers.

                              That's dictated by hardware limitations on platforms like that, but clearly not in this case.

                              I'll take your word for it, but now I'm going to have to look at what the documentation says very carefully (if this is described - if not I'll have to determine it experimentally I guess), since one way or another something doesn't quite add up.

                              Presuming what you're saying is correct, what dictates when any given channel changes the note/frequency it plays? That has to have some kind of timing to it, and that is going to be limited by... Something, no matter what it actually is.

                              N 1 Reply Last reply Reply Quote 0
                              • N
                                Nisse5 F @KuraIthys last edited by

                                @KuraIthys The waveform is not dependent on the frame rate at all. The channel plays the note until the next note is played, or until the channel is stopped, or until the speed parameter fades the note into silence.

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