HISE Logo Forum
    • Categories
    • Register
    • Login

    SNEX Oscillator / Shaper

    Scheduled Pinned Locked Moved ScriptNode
    3 Posts 2 Posters 119 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.
    • MorphoiceM
      Morphoice
      last edited by

      Ahoi!

      Are there any examples for snex oscillators out there? I'm looking for analog/vintage shaped waveforms with sexy curves

      Something like this for example
      Screenshot 2025-01-04 at 22.45.57.jpg

      I wish there was an ability to draw waveforms like a table or at least input the wavetables in code with a bunch of numbers instead of samples

      https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

      griffinboyG 1 Reply Last reply Reply Quote 0
      • griffinboyG
        griffinboy @Morphoice
        last edited by griffinboy

        @Morphoice

        Unfortunately it's not really a simple matter.
        To remove aliasing from an arbitrary waveform you need to do some clever work. I imagine the best oscillators will need to be c++ to be efficient.

        If you simply create a waveform like this using samples, and play it back, there will be tons of audible aliasing.

        Additionally, true analog waveforms have tons of interesting phase and shape changes per cycle which is another layer of complexity. But Arbitrary waveform generation is well documented in c++ there are many papers on it. I'm not sure if anyone has done it in snex though, and I'm not sure what the best way to get the node to interface with Hise is, if you intend the user to be able to draw curves, that is. You'd need a way to get data from the Hise Javascript thread into the scriptnode node.

        In terms of oscillator design the antialising method is the tricky part, depending on how clean you want it to be, there are different methods available. I don't have any examples to give in hise yet sorry, but there are papers online if you want to know how it works, just search for arbitrary waveform antialiasing / generation

        ie:
        https://ieeexplore.ieee.org/abstract/document/9854137

        MorphoiceM 1 Reply Last reply Reply Quote 1
        • MorphoiceM
          Morphoice @griffinboy
          last edited by

          @griffinboy I have read a couple of papers about getting alias free waveforms, it's hard to do. Hence me hoping anyone some day lends their expertise to HISE to get a couple of new waveforms we all could use. Then again, the the wavetable synth already does it with random waveforms, so it might not be super complicated to use that tech and simply let the user draw a wave instead of importing it from external wav files...

          https://instagram.com/morphoice - 80s inspired Synthwave Music, Arcade & Gameboy homebrew!

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

          59

          Online

          1.7k

          Users

          11.7k

          Topics

          101.7k

          Posts