HISE Logo Forum
    • Categories
    • Register
    • Login

    snex_osc argument amount mismatch

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 2 Posters 317 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.
    • ustkU
      ustk
      last edited by ustk

      @Christoph-Hart How could I fix this, please?

      Or again is this a case for using C++ third party node? The end goal is to create a pink noise generator... (if I succeed I might simply add the pink noise option to the existing Hise oscillator)

      Screenshot 2023-07-10 at 13.53.02.png

      	// This function will be called once per sample
      	float tick(double uptime)
      	{
      		return (float)Math.fmod(uptime, 1.0);
      	}
      	
      	// This function will calculate a chunk of samples
      	void process(OscProcessData& d)
      	{
      		for (auto& s : d.data)
      		{
      			s = tick(d.uptime);
      			d.uptime += d.delta;
      		}
      	}
      

      Can't help pressing F5 in the forum...

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

        @ustk you might want to check out the mod_matrix branch (I'm close to merging it back into develop), it contains the new backend which should not show these errors (HISE also runs natively on Apple Silicon so we don't need to use Rosetta anymore).

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

        36

        Online

        1.8k

        Users

        12.0k

        Topics

        104.7k

        Posts