Forum

    • Register
    • Login
    • Search
    • Categories

    A-440 generator

    General Questions
    sine wave generator a-440
    2
    4
    1265
    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 Boubou
      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 😄

      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 Hart
        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 Boubou
          Dark Boubou last edited by

          Thanks I'll try that 🙂

          1 Reply Last reply Reply Quote 0
          • Dark Boubou
            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 😄

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

            10
            Online

            849
            Users

            5.7k
            Topics

            52.8k
            Posts