HISE Logo Forum
    • Categories
    • Register
    • Login

    ALARM ALARM - I have big problem I think....

    Scheduled Pinned Locked Moved General Questions
    35 Posts 5 Posters 1.9k 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 @Christoph Hart
      last edited by

      @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

      You need to debug that in Xcode, the crash report has stripped symbols.

      yeah but I have no idea how to do that....

      HISE Development for hire.
      www.channelrobot.com

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

        @Lindon

        right so heres a simple project that does this - even as a VST2

        HiseSnippet 1991.3oc6Z07aaibEenjGYKmrcSPR6YgdxKPVARpuQQg+P1pqwF6nMx0atELgbjEgo3nkjx1ZKJPOzBz+L589OwhdpG5+BEs8buzCcO29dbnDGRSaKKu6Bj1v.DnYl2Lueuuebn66Kr3AABehV4SlMgSzdLcvLuvQcGwb7HGtONQ.+rgrotg5Fj8lMgEDvsIZZE+EHEZkWiD87u1dOlKyyhmLEgbpvwh+RmwNgIy1emO2w0sGylehyXEpquygVButBWwT.MEo5jILqyYmwOlgjUfRzJcfsSnvePHKjGPzVaOg8rAiDW5Io+Tm.m24xwAFjAvAImtmv0FQLNKo6HGW69yk5.BbJ8SzAEk5fmSOxw1Yw7I5hmDsPkjcnpOzJjFdESAOCU3oq.ubfjlBjVSBomRGX46LILYEDOOhdnWH2eHCT6pPQRKQ6ancE.AdgUGyNm2yGFrXCa0TW+EUf+6S9YCm5YE5H7pH7NVDxek2Vexl+pMKu4udyJYWZ3vbWCYiuv0k6m6xnk1+113VdSG+Nt+KpbAycJeAgf3mVmRuYcppI2RJ0JDJ7NzyI7US3d2ji.IVUA+5Wd39rPFZHhmCnaB2OzAgf197K.uZoYoLcedv4ghIfe80rYf2hvdpKKLsKDF2Du.nCRY2PiiWfS3L03pr9Uqsb9U2ta+xB2mR66DZMJe7VHG7BZsuuwabT5GQOX3PtUXBXWi16M2ZH4ZKm6SBTxM7rz00caFGdB7WlyTNrRu2jJmYg4Al+dZRPvDe9DlO+DQeW1rsBXim3xeMf2WT4ctBqyG3707qG4LQBg8PJ1xZDyyi6FrJAXkV5jVF2ZRKxqESCc7N6HVnuyUPj5wSGO.Rkaw6FiNXNsBXblbrNNF8WFv8riF7efm3EMvwZwKZLeQkPzi4gWJ7OOJaY7uIZqi59Oh1c56brN9k66DDRNk6GfdsZqS0qB+iLXZ.jDv9UdCbb4QkqPIaWWWwkcEim3D6kmLaeg6rIiDdNVnGkjl4xztiESA3DKXeFK3DliKZmAPIrgytTOlEncm0mENBClvDSf2J2up0Bu1z.NwaIJ7.rD8Y9PEPHqcfDU3IOuLoTCBfZLpVhJRVDWG0KEjPfh7XC5UCgJt9jT34IQ3A7NpFuZZleWLRIqHLS7HHUPAjieL5.n.8SQ+N7bMihkUIsDl3gOmhMnuDTPLev1eIl54Dl+Y7vHVnNQb1YOdjidP5gwB+g13geFpnWfD4bQ8tPVkya8nyyH+CTQdwp3yGAoINxwKV9nniH4H1UKFa.iQ8v5T4T6NMTLFBGmmLTwNtNMXhKzM0M5VIW99YGyygYcpzA8N7eWMFoovnX6SJ97HfO97pmcu4PgTFfhJFfRIFfMnepgdVaPTpgP9DLaK1.ndUflnGi5czMLZBY+NmeoDlDsmQaTstooYK8Vsp2ttQM8NDozD4HnXAgLC4Cir9AaPQNd+fARPMcC8Z.Ac5ztdmVPO5xFCGLVHBGAIjmGWUhZhmN4GdkxioulGvCkGapCmnlBIUzSpUhZHVMiwioGFbJtpEyc9IBJ5TI7hbPM99wAdsTbJ3hguk+UYSsNzwEEkpwqd+XDVlwke071P6IOqjeh5AOa9UXOOepA4.n1tMzxRD83IjNSTIEaNMwlG6QjXwKCSD6ClwIyzrSG85MZZZVqd6VsaD6j0ym+USgpnytVNq743yh7WkdPFcL06X1Qg8Oi1oZ6N3SSi1Mpoa1p10ARy5sLZ01nUM8lMLZ2LBHEoeAIU1TR9odWGzUsSIwknQSnD5lrP1nE5ckCeUiL+I3oo2Q9zpUy5sMaz1b44c8TgoI0SRWWkRMu2BTNGZY5AdLniP6rZb0H4TERFxlFjoh0ikI3kq7cXSGkoccgy5vEf6io8PdfcV0EwDYY6RQOSHTgUSucClVohYeemK3KYjyCfQaPg2ZGx+dMNko+JUqV43jZFeHq1+KkUCI8Co09tIs1YWu8hOz25G5acU5a8FOfzI7VS0IWsDxCtLQL0nlpgb01sapq2zvn0R+Zwxh4ods343ijE3KJIcWHeQNTCveQBZ8VPNVi12sP8..9B7cMj+HZ2QvTV3LKUMmERPyN0pVukYyF0Lazxntdy6tbTVInPtRvhW.IkHnVFij69RpweyaTshCJ9TH45UKqUCkIPPLqAhrgd85Qlskypr39px3OIO4UJH6gdo9aHW7GS+LlusEfS6JGwB.jUI9ReedxJxExb4uEWbOkouwOYLh7Bz+M+yu3uucruW7L+ou8euchOW78r+m+i+tcPKQ7v+Z0+11ZEee5lbefJVy7UrOU1tezmrXvHmgPXM9yX0zeXxO+mpp0vOtxW53YKtTcl2feZxTe+k2WUratBJ1Z4qXetTw5v7vd38kLX2vPl04wppu4a25ur8q4tbVvbs2N+iu92t8fPet2YgiT0nmLBNgQBWa0Oazm6wSo166y6KBB++VKQ87sD+H5Q6w7rm+tSXt5cU0QXuwJSP1AoXurTrWVJ5lkhtpT7dqhmtBJ9F4q3eBzLyrujGt.nuY360IJ9gfGiYV9h2F+QlvZ0aDMCH2dQ+QcTldDNthA4B09IF6X67VKq3qAfj+dLWg8TaE1S8UXOMVg8zbE1SqUXOsu08f+8sD+VfXGYvD8OPd+KZyeAYHnf7eo6b5QB
        

        Compile as an FX ...run in pluginval and pluginval will crash.

        HISE Development for hire.
        www.channelrobot.com

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

          @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

          You need to debug that in Xcode, the crash report has stripped symbols.

          Actually how do I even do that - it compiles correctly in HISE....???

          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 Load the xcode project from your exported plugin, Build for Debugging and attach a DAW to the Xcode debugger, this gets you a proper crash report .

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

              @Christoph-Hart

              Ok so I have my minimal example loaded in xcode...

              Build for Testing?

              How do I then attach my DAW (Reaper) to XCode?

              Debug>Attach to Process?

              HISE Development for hire.
              www.channelrobot.com

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

                @Lindon

                OK so I did that and now XCode tells me this:

                segFaulting`___lldb_unnamed_symbol22472$$segFaulting:
                    0x122b1d114 <+0>:   stp    x20, x19, [sp, #-0x20]!
                    0x122b1d118 <+4>:   stp    x29, x30, [sp, #0x10]
                    0x122b1d11c <+8>:   add    x29, sp, #0x10            ; =0x10 
                    0x122b1d120 <+12>:  ldr    x8, [x0, #0x8]
                ->  0x122b1d124 <+16>:  ldr    x8, [x8, #0x10]
                    0x122b1d128 <+20>:  ldr    w9, [x8, #0x1dd4]
                    0x122b1d12c <+24>:  movi.2d v0, #0000000000000000
                    0x122b1d130 <+28>:  cmp    w9, w1
                    0x122b1d134 <+32>:  b.ls   0x122b1d1a4               ; <+144>
                    0x122b1d138 <+36>:  ldr    x8, [x8, #0x1dc8]
                    0x122b1d13c <+40>:  ldr    x19, [x8, w1, sxtw #3]
                    0x122b1d140 <+44>:  add    x8, x19, #0x20            ; =0x20 
                    0x122b1d144 <+48>:  mov    w9, #0x1
                    0x122b1d148 <+52>:  ldaddal w9, w9, [x8]
                    0x122b1d14c <+56>:  mov    w9, #-0x1
                    0x122b1d150 <+60>:  ldaddal w9, w8, [x8]
                    0x122b1d154 <+64>:  cmp    w8, #0x1                  ; =0x1 
                    0x122b1d158 <+68>:  b.ne   0x122b1d16c               ; <+88>
                    0x122b1d15c <+72>:  ldr    x8, [x19]
                    0x122b1d160 <+76>:  ldr    x8, [x8, #0x8]
                    0x122b1d164 <+80>:  mov    x0, x19
                    0x122b1d168 <+84>:  blr    x8
                    0x122b1d16c <+88>:  ldr    x0, [x19, #0x1948]
                    0x122b1d170 <+92>:  cbz    x0, 0x122b1d184           ; <+112>
                    0x122b1d174 <+96>:  ldr    x8, [x0]
                    0x122b1d178 <+100>: ldr    x8, [x8, #0x18]
                    0x122b1d17c <+104>: blr    x8
                    0x122b1d180 <+108>: b      0x122b1d1a0               ; <+140>
                    0x122b1d184 <+112>: ldr    x0, [x19, #0x1928]
                    0x122b1d188 <+116>: adrp   x8, 2503
                    0x122b1d18c <+120>: ldr    x1, [x8, #0xfe8]
                    0x122b1d190 <+124>: bl     0x122f8123c               ; ___lldb_unnamed_symbol35450$$segFaulting
                    0x122b1d194 <+128>: ldr    x8, [x0], #0x8
                    0x122b1d198 <+132>: ldr    x8, [x8, #0x20]
                    0x122b1d19c <+136>: blr    x8
                    0x122b1d1a0 <+140>: fcvt   s0, d0
                    0x122b1d1a4 <+144>: ldp    x29, x30, [sp, #0x10]
                    0x122b1d1a8 <+148>: ldp    x20, x19, [sp], #0x20
                    0x122b1d1ac <+152>: ret    
                    0x122b1d1b0 <+156>: bl     0x1223d7fbc               ; ___lldb_unnamed_symbol27$$segFaulting
                

                my app is called segfaulting by the way...

                HISE Development for hire.
                www.channelrobot.com

                1 Reply Last reply Reply Quote 0
                • ?
                  A Former User
                  last edited by

                  I just wanted to chime in. I am a beginner with HISE but I have experienced a similar issue which I think is related to the Offset from Faust's cubic distortion code.

                  LindonL 1 Reply Last reply Reply Quote 1
                  • LindonL
                    Lindon @A Former User
                    last edited by Lindon

                    @Hisenberb said in ALARM ALARM - I have big problem I think....:

                    I just wanted to chime in. I am a beginner with HISE but I have experienced a similar issue which I think is related to the Offset from Faust's cubic distortion code.

                    well I'm using the cubicNLDist code - so whats the problem with(and solution ) for this that you found?

                    Actually I DONt use it everywhere, and its crashing everywhere - so Idont think this is likely to be it...

                    nOpe that aint it...removed the Dist code and it still crashes,,,

                    HISE Development for hire.
                    www.channelrobot.com

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

                      @Christoph-Hart

                      Well, XCode may not have given us much info. but at least one crash here seems to have reported something more meaningful(hopefully) it seems to be something in scriptNode(duh!) , perhaps something in NodeBase.cpp?:

                      ------------------------------------
                      
                      Process:               pluginval [5886]
                      Path:                  /private/var/folders/*/pluginval.app/Contents/MacOS/pluginval
                      Identifier:            com.Tracktion.pluginval
                      Version:               1.0.3 (1.0.3)
                      Code Type:             ARM-64 (Native)
                      Parent Process:        launchd [1]
                      User ID:               501
                      
                      Date/Time:             2023-09-14 13:34:25.8799 +0100
                      OS Version:            macOS 12.6.5 (21G531)
                      Report Version:        12
                      Anonymous UUID:        8A518DFE-DF99-D520-8601-98829CE648C5
                      
                      
                      Time Awake Since Boot: 6800 seconds
                      
                      System Integrity Protection: enabled
                      
                      Crashed Thread:        0  JUCE Message Thread  Dispatch queue: com.apple.main-thread
                      
                      Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
                      Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000001e04
                      Exception Codes:       0x0000000000000001, 0x0000000000001e04
                      Exception Note:        EXC_CORPSE_NOTIFY
                      
                      Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
                      Terminating Process:   exc handler [5886]
                      
                      VM Region Info: 0x1e04 is not in any region.  Bytes before following region: 105553518911996
                            REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
                            UNUSED SPACE AT START
                      --->  
                            MALLOC_NANO (reserved)   600018000000-600020000000 [128.0M] rw-/rwx SM=NUL  ...(unallocated)
                      
                      Thread 0 Crashed:: JUCE Message Thread Dispatch queue: com.apple.main-thread
                      0   segFaulting Debug             	       0x15e5b44a8 juce::ArrayBase<scriptnode::Parameter*, juce::DummyCriticalSection>::size() const + 12 (juce_ArrayBase.h:201)
                      1   segFaulting Debug             	       0x15e46edc8 juce::ReferenceCountedArray<scriptnode::Parameter, juce::DummyCriticalSection>::size() const + 24 (juce_ReferenceCountedArray.h:164)
                      2   segFaulting Debug             	       0x15e46eda4 scriptnode::NodeBase::getNumParameters() const + 32 (NodeBase.cpp:365)
                      3   segFaulting Debug             	       0x15e206f38 scriptnode::DspNetwork::NetworkParameterHandler::getNumParameters() const + 32 (DspNetwork.h:585)
                      4   segFaulting Debug             	       0x15e117fdc scriptnode::DspNetwork::NetworkParameterHandler::getParameter(int) const + 40 (DspNetwork.h:593)
                      5   segFaulting Debug             	       0x15e4847a0 scriptnode::DspNetwork::ProjectNodeHolder::setEnabled(bool) + 352 (DspNetwork.cpp:2200)
                      6   segFaulting Debug             	       0x15e482d00 scriptnode::DspNetwork::DspNetwork(hise::ProcessorWithScriptingContent*, juce::ValueTree, bool, snex::ExternalDataHolder*) + 3780 (DspNetwork.cpp:143)
                      7   segFaulting Debug             	       0x15e4860b0 scriptnode::DspNetwork::DspNetwork(hise::ProcessorWithScriptingContent*, juce::ValueTree, bool, snex::ExternalDataHolder*) + 64 (DspNetwork.cpp:68)
                      8   segFaulting Debug             	       0x15e48d6d8 scriptnode::DspNetwork::Holder::restoreNetworks(juce::ValueTree const&) + 692 (DspNetwork.cpp:1597)
                      9   segFaulting Debug             	       0x15e105bf0 hise::JavascriptProcessor::restoreScript(juce::ValueTree const&) + 76 (ScriptProcessor.cpp:1598)
                      10  segFaulting Debug             	       0x15e112ce0 hise::JavascriptMasterEffect::restoreFromValueTree(juce::ValueTree const&) + 52 (ScriptProcessorModules.cpp:819)
                      11  segFaulting Debug             	       0x15d9a8a70 hise::Processor::restoreFromValueTree(juce::ValueTree const&) + 1364 (Processor.cpp:171)
                      12  segFaulting Debug             	       0x15d9a8a70 hise::Processor::restoreFromValueTree(juce::ValueTree const&) + 1364 (Processor.cpp:171)
                      13  segFaulting Debug             	       0x15d9e4484 hise::ModulatorSynth::restoreFromValueTree(juce::ValueTree const&) + 824 (ModulatorSynth.cpp:146)
                      14  segFaulting Debug             	       0x15d9f00f4 hise::ModulatorSynthChain::restoreFromValueTree(juce::ValueTree const&) + 168 (ModulatorSynthChain.cpp:388)
                      15  segFaulting Debug             	       0x15de2bd88 hise::FrontendProcessor::createPreset(juce::ValueTree const&) + 128 (FrontEndProcessor.cpp:412)
                      16  segFaulting Debug             	       0x15de2ba50 hise::FrontendProcessor::FrontendProcessor(juce::ValueTree&, juce::AudioDeviceManager*, juce::AudioProcessorPlayer*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::ValueTree*, juce::ValueTree*) + 2520 (FrontEndProcessor.cpp:356)
                      17  segFaulting Debug             	       0x15de2a608 hise::FrontendProcessor::FrontendProcessor(juce::ValueTree&, juce::AudioDeviceManager*, juce::AudioProcessorPlayer*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::MemoryInputStream*, juce::ValueTree*, juce::ValueTree*) + 120 (FrontEndProcessor.cpp:249)
                      18  segFaulting Debug             	       0x15de2a134 hise::FrontendFactory::createPluginWithAudioFiles(juce::AudioDeviceManager*, juce::AudioProcessorPlayer*) + 432 (FrontEndProcessor.cpp:65)
                      19  segFaulting Debug             	       0x15d8934c4 createPluginFilter() + 20 (Plugin.cpp:22)
                      20  segFaulting Debug             	       0x15d8367f0 juce::createPluginFilterOfType(juce::AudioProcessor::WrapperType) + 28 (juce_CreatePluginFilter.h:39)
                      21  segFaulting Debug             	       0x15d8364e8 juce::JuceVST3Component::JuceVST3Component(Steinberg::Vst::IHostApplication*) + 300 (juce_VST3_Wrapper.cpp:2210)
                      22  segFaulting Debug             	       0x15d8363ac juce::JuceVST3Component::JuceVST3Component(Steinberg::Vst::IHostApplication*) + 36 (juce_VST3_Wrapper.cpp:2212)
                      23  segFaulting Debug             	       0x15d82a074 juce::createComponentInstance(Steinberg::Vst::IHostApplication*) + 36 (juce_VST3_Wrapper.cpp:3677)
                      24  segFaulting Debug             	       0x15d832b5c juce::JucePluginFactory::createInstance(char const*, char const*, void**) + 340 (juce_VST3_Wrapper.cpp:3813)
                      25  pluginval                     	       0x104ad3b44 juce::DescriptionFactory::findDescriptionsAndPerform(juce::File const&) + 1048
                      26  pluginval                     	       0x104ad3398 juce::VST3PluginFormat::findAllTypesForFile(juce::OwnedArray<juce::PluginDescription, juce::DummyCriticalSection>&, juce::String const&) + 280
                      27  pluginval                     	       0x104ad8400 juce::KnownPluginList::scanAndAddFile(juce::String const&, bool, juce::OwnedArray<juce::PluginDescription, juce::DummyCriticalSection>&, juce::AudioPluginFormat&) + 692
                      28  pluginval                     	       0x104ada880 juce::PluginDirectoryScanner::scanNextFile(bool, juce::String&) + 360
                      29  pluginval                     	       0x104b0e048 juce::PluginListComponent::Scanner::timerCallback() + 304
                      30  pluginval                     	       0x104a9dd14 juce::Timer::TimerThread::callTimers() + 212
                      31  pluginval                     	       0x104aa1240 juce::MessageQueue::deliverNextMessage() + 60
                      32  pluginval                     	       0x104aa11d0 juce::MessageQueue::runLoopCallback() + 44
                      33  CoreFoundation                	       0x1a4bd8f64 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 28
                      34  CoreFoundation                	       0x1a4bd8eb0 __CFRunLoopDoSource0 + 208
                      35  CoreFoundation                	       0x1a4bd8bb0 __CFRunLoopDoSources0 + 268
                      36  CoreFoundation                	       0x1a4bd7530 __CFRunLoopRun + 828
                      37  CoreFoundation                	       0x1a4bd6a54 CFRunLoopRunSpecific + 600
                      38  HIToolbox                     	       0x1ad81a338 RunCurrentEventLoopInMode + 292
                      39  HIToolbox                     	       0x1ad819fc4 ReceiveNextEventCommon + 324
                      40  HIToolbox                     	       0x1ad819e68 _BlockUntilNextEventMatchingListInModeWithFilter + 72
                      41  AppKit                        	       0x1a773e4b8 _DPSNextEvent + 860
                      42  AppKit                        	       0x1a773cdb0 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1328
                      43  AppKit                        	       0x1a772ef7c -[NSApplication run] + 596
                      44  pluginval                     	       0x104a953d4 juce::JUCEApplicationBase::main() + 188
                      45  pluginval                     	       0x104a952c8 juce::JUCEApplicationBase::main(int, char const**) + 88
                      46  dyld                          	       0x10536d08c start + 520
                      

                      HISE Development for hire.
                      www.channelrobot.com

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @Lindon
                        last edited by

                        @Lindon Does it happen with the AU or just the VST?

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

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

                          @d-healey when I tested the AU it happened there too...

                          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 Are you using a frozen DspNetwork? If yes, try replacing it with a HardcodedFX module, might be more stable.

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

                              @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

                              @Lindon Are you using a frozen DspNetwork? If yes, try replacing it with a HardcodedFX module, might be more stable.

                              pls downlaod the snippet I posted above to see I am using a hardcoded dspnetwork.

                              HISE Development for hire.
                              www.channelrobot.com

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

                                @Lindon now Im getting very confused.....

                                I get my minimal project to compile and not crash pluginval, I then load my "real" project and compile that - it makes pluginval fail...I go back to my minimal project and re-compile - now its failing....the more I do the more unstable it gets

                                HISE Development for hire.
                                www.channelrobot.com

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

                                  @Lindon ...and.....I think @Hisenberb may be correct..its the non linear distortion effect in Faust.

                                  I deleted all reference to distortion from my main project - removing code headers in two places as well as cpp files and removed the script node from the compiled DLL and the project builds and loads in pluginval....

                                  Now to invent a non linear distortion .... to replace the one in Faust

                                  @sletz I think this is now over to you.....

                                  HISE Development for hire.
                                  www.channelrobot.com

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

                                    @Lindon what is the Faust DSP code ?

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

                                      @sletz very simple I'm afraid:

                                      // Faust Source File: FaustDistCode
                                      // Created with HISE on 2023-05-03
                                      import("stdfaust.lib");
                                      
                                      //drive
                                      drive = hslider("Drive", 0.2, 0, 1, 0.01);
                                      //offset
                                      offset = hslider("Offset", 0.2, 0, 1, 0.01);
                                      
                                      process = _,_ : ef.cubicnl_nodc(drive,offset),ef.cubicnl_nodc(drive,offset) : _,_;
                                      

                                      HISE Development for hire.
                                      www.channelrobot.com

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

                                        pls downlaod the snippet I posted above to see I am using a hardcoded dspnetwork.

                                        The crash report you posted says something different. You'll definitely initialising a DspNetwork from a script FX and it crashes at the parameter initialisation.

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

                                          @Christoph-Hart said in ALARM ALARM - I have big problem I think....:

                                          pls downlaod the snippet I posted above to see I am using a hardcoded dspnetwork.

                                          The crash report you posted says something different. You'll definitely initialising a DspNetwork from a script FX and it crashes at the parameter initialisation.

                                          well download the snippet I posted and you will see Im not doing that - ..or I dont think I am....

                                          HISE Development for hire.
                                          www.channelrobot.com

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

                                            @Lindon heres a screen shot - no code no widgets nothing except these HardcodedFX

                                            c57030df-0520-4146-a928-682b143c6489-image.png

                                            HISE Development for hire.
                                            www.channelrobot.com

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

                                            34

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.0k

                                            Posts