Navigation

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

    Synthesizer

    Work In Progress
    20
    66
    6201
    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.
    • sys64738
      sys64738 F last edited by sys64738

      Small video of it in action.

      A 1 Reply Last reply Reply Quote 10
      • Martin
        Martin Fuze Team last edited by

        That’s awesome. Well done!!

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

          Good job !!!!

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

            the link doesn't work for me :-(

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

              hmm.. refreshed and it now does. It's brilliant!

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

                Very cool

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

                  I am waiting for someone to make a bad apple demo with fuze

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

                    @ITzTravelInTime I am currently trying to add switches and settings to the top. Which means redrawing the keyboard each time. You can visually see fuze drawing each box. I'd say the entire keyboard takes a couple milliseconds to draw so I am unsure if something like bad Apple demo is possible at a decent speed. (It's no doubt machine coded)

                    I have made ui's on android using 2d shapes and it's the same way. I might have to use images and sprites instead. One more trick to try first.

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

                      @sys64738 Can't you draw the content on an offscreen bitmap first?

                      sys64738 1 Reply Last reply Reply Quote 1
                      • sys64738
                        sys64738 F @Nisse5 last edited by

                        @Nisse5 I have no idea. Feel free to point me in the right direction so I can study how to do it though

                        1 Reply Last reply Reply Quote 0
                        • M
                          MikeDX last edited by

                          you can do this very easily using setdrawtarget

                          so create an image to store your keyboard
                          setdrawtarget(mynewimage)
                          draw your stuff
                          then setdrawtarget(framebuffer)

                          then to draw your keyboard
                          drawimage(mynewimage)

                          sys64738 1 Reply Last reply Reply Quote 2
                          • sys64738
                            sys64738 F @MikeDX last edited by

                            @MikeDX Hi Mike playing around with this. Got it working and it's rock solid now thanks. But the behaviour seems different than the help shows it.

                            Pseudo explanation but if I do as help implies it works

                            Setdrawtarget (imagename)
                            Box
                            Circle
                            Triangle

                            It draws the box to the image but circle and triangle directly to screen.

                            I'm using loops in my program to draw keys but essentially had to do it like this.
                            Setdrawtarget (imagename)
                            Box
                            Setdrawtarget (imagename)
                            Circle
                            Setdrawtarget (imagename)
                            Triangle

                            1 Reply Last reply Reply Quote 1
                            • M
                              MikeDX last edited by

                              I'm going to test this. setdrawtarget shouldn't change ever (maybe update?) unless called manually.

                              i use it a lot in pacman for the different layers, but admittedly I don't use 2d drawing primitives much

                              1 Reply Last reply Reply Quote 1
                              • sys64738
                                sys64738 F last edited by sys64738

                                Seemed to be using update in my loop that was making it change target Mike.

                                Update on the project. Now have all the black keys working and a 2d array that holds all the note and modulation values. You can cycle through each parameter with the dpad and change the parameters. Will work on sequencer next.

                                Discostew 1 Reply Last reply Reply Quote 7
                                • S
                                  senas8 last edited by

                                  Very nice. 👍 Great job.

                                  1 Reply Last reply Reply Quote 1
                                  • A
                                    Ancientspark F @sys64738 last edited by

                                    @sys64738 ooh what's YOUR friend code?

                                    sys64738 1 Reply Last reply Reply Quote 1
                                    • sys64738
                                      sys64738 F @Ancientspark last edited by

                                      @Ancientspark not sure yet, I will share the project and friend code when I finish it

                                      1 Reply Last reply Reply Quote 1
                                      • Discostew
                                        Discostew F @sys64738 last edited by

                                        @sys64738 Kitty didn't like that last part. Did you see it hitting itself? :P

                                        sys64738 1 Reply Last reply Reply Quote 1
                                        • sys64738
                                          sys64738 F @Discostew last edited by

                                          @Discostew yeah he face Palmed. At least he let me program that day instead of standing on the switch.

                                          Small update.

                                          Making good progress today. Have the 16 sequencer buttons drawn. Playing just a test note each step as the sequencer plays and lights up each step. Also made the sequencer buttons selectable by touch.

                                          Amazing how much better you get just by iterating.
                                          I looked at the 60 or so lines of if statements that works out the keyboard press locations and went ugh. Did it in about 4 lines for the sequencer. So might have to redo the keyboard code soon.

                                          Next up is expanding the 2d array to hold 16 patches instead of 1 and getting the sequencer to play through it.

                                          1 Reply Last reply Reply Quote 1
                                          • Tratax
                                            Tratax F last edited by

                                            Awesome work!

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