HISE Logo Forum
    • Categories
    • Register
    • Login

    A-440 generator

    Scheduled Pinned Locked Moved General Questions
    sinewavegeneratora-440
    4 Posts 2 Posters 1.6k Views
    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.
    • Dark BoubouD
      Dark Boubou
      last edited by

      Well I have a blank space on my GUI but I have already almost all functions possible, so I'm looking for a not very important thing: make an A-440 button generator, as on the Minimoog:

      Moog

      See there's an A-440 button :D

      I have added a sine wave synth with my sampler but I don't know how to make it like this:

      • Not affected by midi notes played
      • No envelope at all: a single note played non-stop (The sound will be cut with the button)

      I have yet an idea to cut the volume while clicing on the button on/off, but not for the two things just above.

      Can I have your help?
      Thanks.

      D.B.

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        This should be straight forward. Add a script with a button to the sine generator and call Midi.ignoreEvent(true); in both the note on and note off callback. Then use Synth.playNote(45, 127) and Synth.noteOffByEventId() in the button callback.

        You can control this script from your main interface just like any other module then.

        1 Reply Last reply Reply Quote 1
        • Dark BoubouD
          Dark Boubou
          last edited by

          Thanks I'll try that :)

          1 Reply Last reply Reply Quote 0
          • Dark BoubouD
            Dark Boubou
            last edited by

            I found something better than Synth.noteOffByEventId() !
            Just have to assign the button to Sine Wave Generator, and then connect to 'gain'.
            0=no volume, 1= volume :)
            Thx :D

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

            12

            Online

            1.7k

            Users

            11.8k

            Topics

            102.4k

            Posts