HISE Logo Forum
    • Categories
    • Register
    • Login

    Error when compile dsp with Pitch_Shift

    Scheduled Pinned Locked Moved General Questions
    4 Posts 2 Posters 53 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.
    • WaterSpoonW
      WaterSpoon
      last edited by

      Hello Fam,

      I hope you all are well. I have been playing with the Pitch_shift. when I go to compile the dll I get this error. Referring to the timestretcher. I had a more complex scriptnode, but even with this simple one I am getting the same error. Has anyone else run into this or could point me to a solution? Thank you!!!

      62e1e802-6796-4bdd-b068-bbdf44a7c792-image.png

      Creating library .....\dll\Dynamic Library\pitchtest.lib and object .....\dll\Dynamic Library\pitchtest.exp
      !Main.obj : error LNK2019: unresolved external symbol "public: void __cdecl hise::time_stretcher::reset(void)" (?reset@time_stretcher@hise@@QEAAXXZ) referenced in function "public: void __cdecl scriptnode::fx::pitch_shift<1>::reset(void)" (?reset@?$pitch_shift@$00@fx@scriptnode@@QEAAXXZ) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
      !Main.obj : error LNK2019: unresolved external symbol "public: void __cdecl hise::time_stretcher::process(float * *,int,float * *,int)" (?process@time_stretcher@hise@@QEAAXPEAPEAMH0H@Z) referenced in function "public: void __cdecl scriptnode::fx::VoiceData::process(struct snex::Types::ProcessDataDyn &,float *)" (?process@VoiceData@fx@scriptnode@@QEAAXAEAUProcessDataDyn@Types@snex@@PEAM@Z) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
      !Main.obj : error LNK2019: unresolved external symbol "public: void __cdecl hise::time_stretcher::configure(int,double)" (?configure@time_stretcher@hise@@QEAAXHN@Z) referenced in function "public: static void __cdecl scriptnode::prototypes::static_wrappers<struct scriptnode::wrap::node<struct script_fx1_impl::instance<1> > >::prepare(void *,struct snex::Types::PrepareSpecs *)" (?prepare@?$static_wrappers@U?$node@U?$instance@$00@script_fx1_impl@@@wrap@scriptnode@@@prototypes@scriptnode@@SAXPEAXPEAUPrepareSpecs@Types@snex@@@Z) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
      !Main.obj : error LNK2019: unresolved external symbol "public: void __cdecl hise::time_stretcher::setResampleBuffer(double,float *,int)" (?setResampleBuffer@time_stretcher@hise@@QEAAXNPEAMH@Z) referenced in function "public: static void __cdecl scriptnode::prototypes::static_wrappers<struct scriptnode::wrap::node<struct script_fx1_impl::instance<1> > >::prepare(void *,struct snex::Types::PrepareSpecs *)" (?prepare@?$static_wrappers@U?$node@U?$instance@$00@script_fx1_impl@@@wrap@scriptnode@@@prototypes@scriptnode@@SAXPEAXPEAUPrepareSpecs@Types@snex@@@Z) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
      !Main.obj : error LNK2019: unresolved external symbol "public: __cdecl hise::time_stretcher::time_stretcher(bool)" (??0time_stretcher@hise@@QEAA@_N@Z) referenced in function "public: __cdecl scriptnode::fx::VoiceData::VoiceData(void)" (??0VoiceData@fx@scriptnode@@QEAA@XZ) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
      !Main.obj : error LNK2019: unresolved external symbol "public: __cdecl hise::time_stretcher::~time_stretcher(void)" (??1time_stretcher@hise@@QEAA@XZ) referenced in function "public: __cdecl scriptnode::fx::VoiceData::~VoiceData(void)" (??1VoiceData@fx@scriptnode@@QEAA@XZ) [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]
      !.....\dll\Dynamic Library\pitchtest.dll : fatal error LNK1120: 6 unresolved externals [D:\HISE Projects\pitch testing\pitch test\DspNetworks\Binaries\Builds\VisualStudio2022\pitch test_DynamicLibrary.vcxproj]

      HISEnbergH 1 Reply Last reply Reply Quote 0
      • HISEnbergH
        HISEnberg @WaterSpoon
        last edited by

        @WaterSpoon I haven’t used this node yet but I’m thinking you may need to enable IPP or the FFTW library to get this node running. I could be off the mark but it’s one suggestion.

        WaterSpoonW 1 Reply Last reply Reply Quote 0
        • WaterSpoonW
          WaterSpoon @HISEnberg
          last edited by

          @HISEnberg Thank you!!! i think you might be on to something. I rebuilt HISE over the weekend and did not include.

          HISEnbergH 1 Reply Last reply Reply Quote 0
          • HISEnbergH
            HISEnberg @WaterSpoon
            last edited by

            @WaterSpoon Just took a peak at the source code and it looks like it is build from signalsmith time_stretcher which uses JUCE's FFT wrapper, so safest bet is to enable it in your project settings.

            Link Preview Image
            HISE/hi_dsp_library/dsp_nodes/FXNodes.h at a20873ea7a8c00b251ddae7df8d6e3007f8c5f71 · christophhart/HISE

            The open source framework for sample based instruments - HISE/hi_dsp_library/dsp_nodes/FXNodes.h at a20873ea7a8c00b251ddae7df8d6e3007f8c5f71 · christophhart/HISE

            favicon

            GitHub (github.com)

            Link Preview Image
            HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/fft.h at a20873ea7a8c00b251ddae7df8d6e3007f8c5f71 · christophhart/HISE

            The open source framework for sample based instruments - HISE/hi_streaming/timestretch/signalsmith_stretch/dsp/fft.h at a20873ea7a8c00b251ddae7df8d6e3007f8c5f71 · christophhart/HISE

            favicon

            GitHub (github.com)

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

            26

            Online

            1.8k

            Users

            12.0k

            Topics

            104.4k

            Posts