custom component question

Home Forums General Programming custom component question

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #551
    Widy75
    Participant
      • Topics: 10
      • Replies: 61
      • Total: 71

      i’m think about a wave table editor for my shruthi
      to create since cycle waveforms (drawing by hand ) on a 129×127 matrix …. 129 byte values

      so i mess around with the custom control …. e.g mouse pressed event or so on …
      all i got is a mouse event and a component .. i miss a dc or whatever to draw a pixel

      should this even be possibel ?
      – i need the x y position of mouse
      – device context to draw / remove pixel
      just for visual representation …

      i see some examples here in the forum ( or was is a other one) .. but i didn’t find it again ..hm

      thx widy

      #3863
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        It’s possible to draw stuff with lua, but for waveforms there is a special Waveform component but i didn’t have the time to add LUA methods to it, i will do that at some point soon. For now you can just load files to it and see how it draws them.

        #3864
        Widy75
        Participant
          • Topics: 10
          • Replies: 61
          • Total: 71

          yeh i know … i saw the wave component and its also possible to readout the file
          but i did not have a tool to create single cycle wave in the format 127×129 forms …
          and it just for fun stuff to draw single cycle wave form by hand and upload it to a synth (shruthi) .. if not sounds good .. draw a new one and upload it …as simple as possible

          i only want to know if it is possible ….if not .. it dosent matter ..if yes i will find it out <img decoding=” title=”Smile” />

          lg widy

          #3865
          atom
          Keymaster
            • Topics: 159
            • Replies: 2945
            • Total: 3104
            • ★★★★★

            In the DDB there is a Envelope Demo it’s drawn using LUA (it throws some errors but it works) have a look at how it’s done.

            #3866
            Widy75
            Participant
              • Topics: 10
              • Replies: 61
              • Total: 71

              quick reply as alwayse <img decoding=” title=”Smile” /> yeah
              throws some errors <img decoding=” title=”Wink” /> … always crash in vst mode … buts ok without vst i can open the edit mode to see the code
              all i need is there <img decoding=” title=”Smile” /> …….. i will see what i need ( just a view things) and if its working

              thx a lote widy

            Viewing 5 posts - 1 through 5 (of 5 total)
            • The forum ‘Programming’ is closed to new topics and replies.
            There is currently 0 users and 57 guests online
            No users are currently active
            Forum Statistics
            Threads: 2,495, Posts: 17,374, Members: 77,605
            Most users ever online was 12 on January 22, 2019 3:47 pm
            Ctrlr