HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. Lindon
    3. Posts
    • Profile
    • Following 0
    • Followers 10
    • Topics 582
    • Posts 6,341
    • Groups 1

    Posts

    Recent Best Controversial
    • RE: Drift.... and how to design it....

      @d-healey yeah that'd work - I guess I will leave my script envelope experiments for another day .... thanks.

      posted in General Questions
      LindonL
      Lindon
    • RE: Drift.... and how to design it....

      @griffinboy said in Drift.... and how to design it....:

      @Lindon

      I went over the top and fully modelled VCO drift a while ago including the interactions between voices.

      You can collect pitch draft data from synths by holding a seriously long note, and then running the file through praat and creating a csv of pitch values. Then use python scripts to organize and clean it up.
      You can then use Matlab or python to analyze the data and figure out how to get a match.

      ... Or just use the values as a LUT
      Real analog oscillators have a kind of vibrato as well as slow drift. And they also have moments where they quite suddenly bend out of tune.

      Well thats very clever, but first I'd like to get this simple case working.

      posted in General Questions
      LindonL
      Lindon
    • RE: Drift.... and how to design it....

      @d-healey I want a fixed random value for each note....

      on my machine moving the intensity slider as you point out shifts the entire note - set it on 12 and it is always 12 semi-tones away from the played note - not some random value between 0 and 12...

      posted in General Questions
      LindonL
      Lindon
    • RE: Drift.... and how to design it....

      so this is as far as I have got, so Im generating a random number - but Im not even sure it's being applied to the pitch of the note, or how to set the depth.....

      HiseSnippet 1492.3oc0X0sTaaDEdks2PfDxjzIsS6c5hbQRmLLV7WfoWv+j5owfGjCo2QWjVi2AocUWsFham9r09HjGg9HvaP6Y0JYIgMtfAxz.yvXs64n8a+9N+gaIEdz3XgDYMS69QTj0iwt84pta0kv3nFairdBtIIVQk1lk1reDINl5irrp9V8BVSWCk7yEqsIIfv8n4KgPGJXdz2wBYp7Uas9OwBB1k3SayBKX8hq2vSv2RDH5A3oJtNJh3cJ4D5dDsYUvnejD2EY88346br27cdyBq3rpypuYwUcbVZkiWr97d9Ks5BKr7B9cleExxq.N8fc7YJgzUQTzXjUsME98c6JNmaNfCYwriCn5GbPtvIaVdWQfu9JpWEsUWVfeqLhJFgrvsxospFZ643lL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NDUPTzjd1SPdaSFOkmySiZR93kV6Eq6pnQtreq7zGmRO2v7kZFrc9AOzqdidJQHQYttoseFxHjQlefILL6lURie5.M1rcY8MMnKyywGzNwj9rXOBTX3Hk9u2SD+EqcGQ7WEWWTPpfJjeU91Uh7+5AjeQSFVAJ+JFuJTHIn1DpGXbTH4JzAcUz.5Gy9O8ZqQT7fOoq9v8oeTCr+A9YGnQgO.mDy0n6KScLIAxvJkzuYGne5sFV2LtbayZJyYU+eOmU.fSML.u3Ou8.bFbS.Frnf9WFi+8ZiFiWr1mAXgwa36eYD8o0txpyE0UzlBwogjjQct0eSJS9WAvcyP2GH5oft3MIvnm5ZA60KzEB+8xF9JNatqzmqmkX3Bs+qmU7HcSG8yVoa5js4mkyHj3IEGkliqS9dXxJv8lm1Yro9YaGzYWVbCg+e5i77J+pFxw4mTGWXRcbwI0wklTGWdRc7MSpiq7e6n9q6Hspkt2GT0r0NllTV6v0cxRxNP+KIGLXIA
      
      posted in General Questions
      LindonL
      Lindon
    • RE: Drift.... and how to design it....

      @Orvillain well thanks for that - but Im not thinking about polyphonic LFOs _ I dont want an LFO - I want a random pitch offset value for every note played...

      posted in General Questions
      LindonL
      Lindon
    • RE: Drift.... and how to design it....

      @Christoph-Hart - well clearly I have no idea what Im doing here...

      HiseSnippet 1779.3oc6Y8zSbbCEeF.SBDBIshlzJUUMJpGZqhPrKjD3DKrK+qMKYCCgzaQlY7xZwL1S83Ax1pJ0ppJ0uB4V+LzSsmR+.zJEodoG68dIm6kV6wyrqmcVXgsDBzBQJfe1O6e98+mmZLpCJLjxLLGcylAHCyw.1MI7Fka.wDi0pXXNNnJLjiXVJRK1L.FFhbMLMGbEIAyQFxH9mWN+hPOHwA0ljgwVTrC59XeLuM0Zk9Drm2xPWzlXesUOSo0bnjxTOZj.OCBlxH.5rKbGz5P4xF.XrJLrgg4GAJVeamh0u2zyVXtBycuYlqPg6L61yLUQG26L2zSe2ocqWbV3cmUvzvK4h4TlMGxQgFlCsH0socC59D0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M4yIIYnI0lNOfyv8wAxxoDkd+zJPNTdApfCC7fMWLRzwrptzLTj2KUqe.y+V7yRBm.WQvnX1SnYTCxDfhq3e3ViDFfUwjDoPaeypvm1AsqWxliBrwedlhmr2EsuRtjotPgnaXPbgV414jFHxQ23vgzLkxAou625DRe+yd1OkGRk9F+ecdUD1kYnOKR3hzTGW+0K9kM+5RcEWe0tk5Atd474EUScLEUiEiKqMj98F41+tKvd47FGecn.DGSc3Jh.lm5Pxv3fgzk.0ZHqo+jxt5j.SCG2E+wPLoEgY7jXDh+W1jclXL2..IPulgogYRVS9.McrImkB0neWGADh2onHHd1q43.ewumLct7Wu170ia1.YtYYh3YdZXZp1fVayF+368s+4C+84OPSSMYyvf.Db2rBlqnxwDOQdoRBG8PjLTFQR65f2Dx1AwOML.NjA8QV5Eozc8gw0cY7n0RAcRYYZan.1n8vNHUcriHZFLbWNM3r5KQ2qNYkOQqr55y7Mcqdz3yHP8lJndEvig6gheR+XT9VwiqSY9VqfDEclugkruu+KN4ee+G3vEPXSFjDFPCQExDgA4i2jRPgYn1AGE6JGEylQTZ0THOoLqRJJVVHJzV2kKkRrnNwZPRlMSLNyNUEq8wG9i4UeBC0mK3AsqCVS+WKxKD8XrKuQAcFaStnN4UgLWgNLSKjc9QG56F6DUDew2S3+XuNy49OO4gqoEtaVmazz2DHBATzJVca85WeuAMhiI6TExYxfVf0i7sEwlcRepkvzWYIY7To0VYiHtSkVmSxjEjiMSlrPqhft3LN5mgOzgQehi5U7jgiubLEg9ijzAPU4XqBF60YQz9hPwOwwI6Vkiwh8KiS2uLNS+x3c5WFua+x385WFms2LJyTtPDm5q72EUITaIUuBlpBDhc8M9Gft1FaD
      
      posted in General Questions
      LindonL
      Lindon
    • RE: Drift.... and how to design it....

      @Christoph-Hart ok thanks I will give this a go...

      posted in General Questions
      LindonL
      Lindon
    • Drift.... and how to design it....

      OK so I have a number of synth based voices and - in classic old-style VA synthesis I would like the oscillators to drift slightly in and out of tune.

      I've been doing this for a while with a random LFO in the Pitch modulation slot.... but of course this is "monophonic" i.e. every note is drifting by the same amount, and now I'd like to drift each note independently from its peers.

      Envelopes are "polyphonic" in nature, so I assume(probably wrongly) I need some sort of envelope in the pitch modulation chain, that varies the played note by some small amount randomly...

      A Script Envelope Modulator looks like a possible candidate, but I've never needed to use them and have very little idea where to start... I've fiddled for a morning and Im getting nowhere... any clues on where to start, or another way to achieve this outcome?

      ..0h forgot to mention: yes clearly I could do this in a std script processor with addPitchFade - but looking to not add more complexity to my HUGE script processor chain...

      posted in General Questions
      LindonL
      Lindon
    • RE: [New User Here] Having trouble exporting FX Plugin on Mac

      @gxxdstress so first dont put spaces in your project names - use CamelCase, second its missing xcpretty - so download and install that.

      Did you build HISE from the source?

      posted in General Questions
      LindonL
      Lindon
    • RE: Controlling LFOs

      @Christoph-Hart thanks _ I'll give it a go...

      posted in Feature Requests
      LindonL
      Lindon
    • RE: How to modulate a network parameter

      @Christoph-Hart tomorrow?

      posted in ScriptNode
      LindonL
      Lindon
    • RE: How to modulate a network parameter

      @Orvillain There are several post (quite old now I think) about this "problem" - some may have even been from me. In the end modulating a filter freq this way turned out to be not the best way to do it... add this to your settings - and to your HISE compile:

      NUM_HARDCODED_FX_MODS = xxx

      and you can add modulation slots to your hard coded FX like this:

      20077ecf-d9bb-4925-8243-039dd81d95cd-image.png

      I have mine set to 3 so I get 3 modulation slots - that can hold most types of modulators - and they apply to the first 3 params of my hardcoded fx....

      posted in ScriptNode
      LindonL
      Lindon
    • RE: How to modulate a network parameter

      @Orvillain use the pma modules?

      posted in ScriptNode
      LindonL
      Lindon
    • RE: Link Snex Parameter to Ui

      @Oriah-Beats try studying some of the example snex shaper files...- I know a few have been posted

      posted in General Questions
      LindonL
      Lindon
    • RE: Link Snex Parameter to Ui

      taking the code youve written for the shaper and applying in a clean project results in a parsing error - so your code isnt right either..

      posted in General Questions
      LindonL
      Lindon
    • RE: Link Snex Parameter to Ui

      I think probably because you named your scriptNode network snex_shaper - which is the name of a node - so dont do that for a start.

      posted in General Questions
      LindonL
      Lindon
    • RE: Link Snex Parameter to Ui

      @Oriah-Beats well it fails to compile with these errors:

      > Create files
      > Sorting include dependencies
      > Creating C++ file for Network snex_shaper
      > Compiling dll plugin
      Re-saving file: D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\AutogeneratedProject.jucer
      Finished saving: Visual Studio 2022
      Finished saving: Xcode (macOS)
      Finished saving: Linux Makefile
      MSBuild version 17.8.3+195e7f5a3 for .NET Framework
      
        Main.cpp
        RNBO.cpp
        include_hi_dsp_library_01.cpp
        include_hi_dsp_library_02.cpp
        include_hi_tools_01.cpp
        include_hi_tools_02.cpp
        include_juce_audio_basics.cpp
        include_juce_audio_formats.cpp
        include_juce_core.cpp
        include_juce_data_structures.cpp
        include_juce_dsp.cpp
        include_juce_events.cpp
        include_juce_graphics.cpp
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,56): error C2065: 'Drive': undeclared identifier [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,44): error C2974: 'scriptnode::core::snex_shaper': invalid template argument for 'ShaperType', type expected [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        D:\HISE\hi_dsp_library\dsp_nodes\CoreNodes.h(587,1):
        see declaration of 'scriptnode::core::snex_shaper'
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,44): error C3203: 'snex_shaper': unspecialized class template can't be used as a template argument for template parameter 'T', expected a real type [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,66): error C2988: unrecognizable template declaration/definition [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(19,66): error C2059: syntax error: '>' [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,76): error C2039: 'snex_shaper__t': is not a member of 'snex_shaper_impl' [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(14,11):
        see declaration of 'snex_shaper_impl'
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,76): error C2065: 'snex_shaper__t': undeclared identifier [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,52): error C2974: 'scriptnode::parameter::plain': invalid template argument for 'T', type expected [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        D:\HISE\hi_dsp_library\node_api\helpers\parameter.h(263,40):
        see declaration of 'scriptnode::parameter::plain'
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,52): error C2976: 'scriptnode::parameter::plain': too few template arguments [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        D:\HISE\hi_dsp_library\node_api\helpers\parameter.h(263,40):
        see declaration of 'scriptnode::parameter::plain'
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,35): error C3544: 'Processors': parameter pack expects a type template argument [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,98): error C2988: unrecognizable template declaration/definition [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(26,98): error C2059: syntax error: ',' [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(27,54): error C2065: 'snex_shaper__t': undeclared identifier [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
      	C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\include\bit(11): warning STL4038: The contents of <bit> are available only with C++20 or later. [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(27,47): error C2974: 'scriptnode::wrap::fix': invalid template argument for 'T', type expected [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        D:\HISE\hi_dsp_library\node_api\nodes\processors.h(249,1):
        see declaration of 'scriptnode::wrap::fix'
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(31,26): error C2631: 'instance': a class or enum cannot be defined in an alias template [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        
      !D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Source\snex_shaper.h(98,1): error C1903: unable to recover from previous error(s); stopping compilation [D:\Hise_Work\temp\testtemp\DspNetworks\Binaries\Builds\VisualStudio2022\testtemp_DynamicLibrary.vcxproj]
        (compiling source file '../../Source/Main.cpp')
        
      
      
      posted in General Questions
      LindonL
      Lindon
    • RE: GUi Resize choosing from a combo box

      @Oriah-Beats theres an even better drag-to-resize option that Christoph posted a while back - search the forum.

      posted in General Questions
      LindonL
      Lindon
    • RE: Link Snex Parameter to Ui

      @Oriah-Beats post a snippet

      posted in General Questions
      LindonL
      Lindon
    • RE: Link Snex Parameter to Ui

      @Oriah-Beats it seems to think you do....container.oversample2x - maybe thats your problem...

      do you have any other scriptnode networks in the project?

      posted in General Questions
      LindonL
      Lindon