Forum
    • Categories
    • Register
    • Login

    synth.playnote

    Scheduled Pinned Locked Moved Scripting
    4 Posts 2 Posters 33 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.
    • D
      DOC-T
      last edited by

      Using Synth.playNote inside onTimer in v4.1.0 — timer is firing and sequence generating but no audio output. Script Processor is inside Sine Wave Generator MIDI slot. What is the correct way to trigger notes from a timer in v4?

      David HealeyD D 2 Replies Last reply Reply Quote 0
      • David HealeyD
        David Healey @DOC-T
        last edited by

        @DOC-T

        Sounds like you have the right approach. Try this:

        HiseSnippet 1342.3oc2XssaaaDDcorYJHSaPSgKPejMnHPtvvghR1wFFA9hjbpPiu.KGm9VvJxQRKL0trjqbqPQ9M5y8SoeB86nOk+f1YIojnhUMj25jfV+fs14xtmclyLyZcZrvGRRDwDC6yGEADiO0r8Htre89TFmzpAw39lbgDNmM.hIGLJhlj.ADCikdtx.CqkIo+71cOfFR49vTQDxEBlO7B1.lbpzn89dVX3gzfzsbp7Z60xWvqKBECQvrjoKIh5eIsGbLUYVISx2QS5SL9VyJ0pD3twFc.us65tI3V0k10slGc6NaGTaCXavMXKOv2kXbulALoHtsjJgDbSOPDLpcewOwyNfKXIrNgfZQERa7jyDSp2mEFb53HSBgXXd5z3zRYwoULOhEvlHeZ75ySU3L0ihAMiR2DjpbKfjQAHsbFjdnYa+XVjbplr7WKtDh6RwbSQnjYKw32MqKPC3x0GPuDNLFWLwgxa55tlC9qU2o6PtujI3NB9wHe3Dd4Us+EaK62X67tp51ct5TGSrHLDhmq5TF1M4XY9vAcf30bthFNDlXHd8mMlduEKl5mcqKXnf2hyjmDA4qOTDFnhUpOe8L.IOrge5ksZPkTURIWFZWDDKYJ3Xz.tBKCxRQVlMfjKkhHB454Oj4HBFFRkyRmTEZ4Jv3wL4PUhhmvjiJVHdK3Xt2HGaQg3CMOkI86OeLVZNXDiTuOvXdk4mY1raWv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Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        1 Reply Last reply Reply Quote 1
        • D
          DOC-T @DOC-T
          last edited by

          @DOC-T Claude says your code is sound so Thank you David, appreciate it. I'm a music producer not a coder, I managed to get the snippet in, worked out the tabs at the top of the script needed code as well, got the button [btnPlay] attached to the correct tabs, when pressing the button [presentation mode] on the interface page still doesn't activate the button to output any data to the console, so not firing. I'm actually clueless and have realised only CODERS should use AI to code, haha. I'm not giving up, but thanks for the snippet anyways.

          David HealeyD 1 Reply Last reply Reply Quote 1
          • David HealeyD
            David Healey @DOC-T
            last edited by

            @DOC-T said in synth.playnote:

            Claude says your code is sound

            Thank goodness! 👶

            Free HISE Bootcamp Full Course for beginners.
            YouTube Channel - Public HISE tutorials
            My Patreon - HISE tutorials

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

            10

            Online

            2.4k

            Users

            13.8k

            Topics

            119.5k

            Posts