HISE Logo Forum
    • Categories
    • Register
    • Login

    Adventures in ScriptNode - Faust (part 2)

    Scheduled Pinned Locked Moved Faust Development
    8 Posts 3 Posters 284 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.
    • LindonL
      Lindon
      last edited by

      Okay so I got jpverb up and running from Christophs code - so I thought I'd start out with something with few params so I decided to give ef.transpose a go...

      heres my code:

      // Faust Source File: FaustPitch
      // Created with HISE on 2022-12-02
      import("stdfaust.lib");
      
      // w : window length in samples
      w = hslider("Window", 512, 256, 8192, 1);
      
      // x: crossfade duration (samples)
      x = hslider("crossfade", 512, 256, 2048, 1);
      
      //s: shift (semitones)
      s = hslider("Pitch", 0, -12, 12, 1);
      
      process = ef.transpose(w, x, s);
      

      and when I try to compile it tells me:

      undefined symbol : transpose

      hmm...its defined just like this in the library: https://faustlibraries.grame.fr/libs/misceffects/

      is transpose not in the stdfast.lib ?
      do I not understand how this is supposed to work?

      HISE Development for hire.
      www.channelrobot.com

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @Lindon
        last edited by

        @Lindon ..and its because transpose is a mono processor - or at least I can get it to compile and work using a mono signal...

        HISE Development for hire.
        www.channelrobot.com

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

          Tripping over the channel amount is usually the second thing that everybody does after not getting Faust to compile, maybe I need to make another sticky...

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @Christoph Hart
            last edited by

            @Christoph-Hart -= yeah and its not the most helpful of error messages...

            HISE Development for hire.
            www.channelrobot.com

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

              @Lindon this is out of my hands but usually faust complains with a better diagnosis involving the word „channels“

              toxonicT 1 Reply Last reply Reply Quote 0
              • toxonicT
                toxonic @Christoph Hart
                last edited by

                @Christoph-Hart when i try to compile it, i get an error message regarding channel mismatch, right as i expected...

                with

                process = _,_:ef.transpose(w, x, s),ef.transpose(w, x, s):_,_;
                

                it should work in stereo. (or with sp.stereoize())

                LindonL 1 Reply Last reply Reply Quote 0
                • LindonL
                  Lindon @toxonic
                  last edited by

                  @toxonic

                  wouldnt that be:

                  process = ef.transpose(w, x, s),ef.transpose(w, x, s);
                  

                  HISE Development for hire.
                  www.channelrobot.com

                  toxonicT 1 Reply Last reply Reply Quote 0
                  • toxonicT
                    toxonic @Lindon
                    last edited by toxonic

                    @Lindon both versions do work in the meantime, when i remember correctly, that wasn't the case in early versions of faust. i just defined input and output channels.

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

                    9

                    Online

                    1.7k

                    Users

                    11.8k

                    Topics

                    102.8k

                    Posts