HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. fazzitog
    3. Posts
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 6
    • Posts 26
    • Groups 0

    Posts

    Recent Best Controversial
    • Starting with Loris Library (createEnvelopePaths)

      Hi folks, I'm starting with the Loris library. The starting idea is to morph the timbre from sound 1 with the timbre of sound 2. But the problem comes with the EnvelopePaths:
      LorisManager.createEnvelopePaths(var file, String parameter, int harmonicIndex)

      As I can't get it to work. Do know what I'm doping wrong?

      The code si the following

      var file_1 = FileSystem.getFolder(FileSystem.AudioFiles).getChildFile("deep_piano_noise.wav"); 
      var file_2 = FileSystem.getFolder(FileSystem.AudioFiles).getChildFile("SonidoVoz.wav");
      
      const var lorisManager = Engine.getLorisManager();
      
      const sampleRate = Engine.getSampleRate();
      var bitDepth = 24;
      
      lorisManager.set("timedomain", "0to1");
      lorisManager.set("enablecache", "False");
      
      var analysis_file_1 = lorisManager.analyse(file_1, 40);
      
      var frequencyEnvelope = lorisManager.createEnvelopePaths(file_1, "frequency", -1); // Use -1 for all harmonics
      
      // Step 2: Use the frequency envelope from file_1 to shift the pitch of file_2
      lorisManager.analyse(file_2, 40); // Analyze file_2 first
      
      lorisManager.process(file_2, "shiftPitch", frequencyEnvelope);
      
      
      
      var modifiedBuffer = lorisManager.synthesise(file_2);
      
      
      // Export audio
      FileSystem.getFolder(FileSystem.Desktop).getChildFile("ChangedAudio.wav").writeAudioFile(modifiedBuffer, 44100, 24); // Save as a file
      
      

      Here's the full snipped if anyone want to check:

      HiseSnippet 1807.3ocsW8taaaCDWNsdXwcCXEXO.DBX.NcZNVINIMInXMMwd0aMIFQsAaHHHfQhJlsxjphTo0onOL6i6C6onuP6MX6NRIa47m0hr07AGQx6O+ti2c7tAYxPlRIybp034iSYN09p5AiE5gaOjxEN82wo1cqenuySFmRUJVjSsZ24mvSpM+ccL+8W+3SnITQHa5VNNGJ4grmwGw0S2cvi+EdRROZD647QUntyi6GJEaKSj4.JtS81NozvWQ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
      F
      fazzitog
    • RE: HISE Crashes When Loading the Loris Toolbox Project

      Hi @skyscapeparadise!

      Try compiling Hise without Loris. Here the example repo works fine.

      (btw experimenting with that tool, a bit overwhelming)

      posted in Bug Reports
      F
      fazzitog
    • RE: Export Setup Wizard Problem

      @orange Ok got it. Will make some space and reinstall then.

      "Also, for your computer to work better, your C drive should not be full. As David said, you should save space in C by deleting unnecessary applications or files in C or moving them to other drives."

      How much space in disc should be left? 5, 10, 20 Gb?

      @aaronventure thanks! Will try it
      https://schinagl.priv.at/nt/hardlinkshellext/linkshellextension.html

      posted in General Questions
      F
      fazzitog
    • RE: Export Setup Wizard Problem

      @orange Thing is... I don't have enough space in C disk to install VS with all the modules... that's why I had to put it somewhere else...
      VS is not a light software unfortunately

      posted in General Questions
      F
      fazzitog
    • RE: Export Setup Wizard Problem

      @Christoph-Hart ooh I see... VS is installed in the "E" disk instead of "C" disk.

      E:\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin
      

      Is there a way to change the path in the settings?

      posted in General Questions
      F
      fazzitog
    • RE: Export Setup Wizard Problem

      @Christoph-Hart So in cmd MSbuild is found with the following legend:

      "error MSB1003: Please specify a project or solution file. The current working directory does not contain a project or solution file."

      13a8c84d-38f5-43c6-83ed-c9488dd2bfaf-image.png

      And the PATH is assigned as an enviroment variable here:
      "E:\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin"

      posted in General Questions
      F
      fazzitog
    • Export Setup Wizard Problem

      Hello, I want to create DLL from the scriptnode synthetizer, but HISE doesn't recognize the MS Build (althought it's installed in VS). Using Windows here.
      Tried to reinstall VS with the package but the problem persists. Any ideas what could be happening?

      0ea2cca5-d62f-4b45-bcc4-6f9a88a85368-image.png

      Thanks in advance

      posted in General Questions
      F
      fazzitog
    • RE: Faust error when compiling dll

      @d-healey Went to V2.4.8 and worked idk

      previously I made a dll using RNBO. The cmd crashes before it loads RNBO.cpp

      Can it be something?

      posted in Faust Development
      F
      fazzitog
    • RE: Faust error when compiling dll

      @d-healey Went to commit 3235dac - bump to version V 3.6.0

      and throws the same error

      posted in Faust Development
      F
      fazzitog
    • RE: Faust error when compiling dll

      @d-healey commit d3f364f - bump version to 3.6.2

      posted in Faust Development
      F
      fazzitog
    • RE: Faust error when compiling dll

      Using Faust 2.69.3 and HISE 3.6.2

      posted in Faust Development
      F
      fazzitog
    • Faust error when compiling dll

      When compiling the plugin from the Script Node, throws the error:

      "E:\HISE Projectos\Timeless\DspNetworks\ThirdParty\shimmer.h(15,10): error C1083: Cannot open included file:
      'src/shimmer.cpp': No such file or directory [E:\HISE Projectos\Timeless\DspNetworks\Binaries\Builds\VisualStudio2022\Timeless_DynamicLibrary.vcxproj]"

      8f9bcb0e-a8dd-443f-9059-bdbfc6370494-image.png

      But the file is created in the direction that the error points out

      333cb63e-eeff-4fb3-a32d-01dea711026e-image.png

      And when I try to recompile, a "shimmer [externalC++]" appears

      19b4808b-accd-4abb-9b58-23c47134142f-image.png

      Do you know what´s happening? Thanks in advance

      posted in Faust Development
      F
      fazzitog
    • RE: Playheads starting on different positions?

      @d-healey Four at the moment, 8 max. Is something to consider?

      posted in General Questions
      F
      fazzitog
    • RE: Playheads starting on different positions?

      @d-healey the thing is, the Audiowaveform only can be linked to one buffer at a time (with the sample index).
      a11822ab-99ee-49f3-b61e-7116d05c637e-image.png

      A workaround would be creating one Audiowaveform for each buffer and take out the visibility, but doesn´t seems efficient.

      posted in General Questions
      F
      fazzitog
    • RE: Playheads starting on different positions?

      @d-healey Well... it didn´t work cause I´m using the stretch buffers, no Audiowaveform involved.

      If I set

      const var AudioWaveform1 = Content.getComponent("AudioWaveform1");
      AudioWaveform1.setPlaybackPosition(0.5);
      

      Works fine. But in:

      const bufScript1 = bufScriptFX.getAudioFile(0);
      AudioWaveform1.setPlaybackPosition(0.5);
      

      doesn´t recognize the function. Any ideas how to get into the Scriptnode Buffer?

      posted in General Questions
      F
      fazzitog
    • RE: Playheads starting on different positions?

      @d-healey Oh... so simple! Will try it asap. Thanks!

      posted in General Questions
      F
      fazzitog
    • Playheads starting on different positions?

      Hello! I´m trying to move the playheads on three buffers so each one starts on different positions

      Do you know how to achieve that?

      ea4a27b8-6b1c-4a15-a3fd-341386a8e3aa-image.png

      posted in General Questions
      F
      fazzitog
    • RE: HISE Crashes using "AudioFile linkTo"

      Found a workaround using "loadFile" on slots created in the processor Id

      // Create Buffer with Slots
      const bufStretch1 = Engine.createAndRegisterAudioFile(0);
      const bufStretch2 = Engine.createAndRegisterAudioFile(1);
      
      const var bufScriptFX = Synth.getAudioSampleProcessor("Script FX1");
      
      const bufScript1 = bufScriptFX.getAudioFile(0);
      const bufScript2 = bufScriptFX.getAudioFile(1);
      
      // Load Script buffers
      bufScript1.loadFile("{PROJECT_FOLDER}MySound.wav");
      bufScript2.loadFile("{PROJECT_FOLDER}MySound.wav");
      

      The Snippet

      HiseSnippet 1413.3oc6X0raabCDlqrYRrRJPLPy0BAeRAHUPxIMsnEE9GYoTkFaIn00MEv.Fz6RIQncIWvkxxJA4du2Wf9nzGkdnO.8buzNjbk1csTDTDZRQAhMfs4v4mONblONxcjBOZbrPhb15zIQTjy8vtS3pA0GPXbTqiPN2E23ZRXT.sztnCmDQhio9HGmMdlVAms1DY95O26PR.g6QSEgPmIXdzWvBYpToc1+6YAAMI9zSYgYz9I62xSvqKBDi.vrAtJJh3MjzmdBQqVALx4VM7YJgzUQTzXjC9Pg+D2Ahwbq9mwhYWFP0KpgbAGYE2TD3qQrVZ6qnxqXzwoxphP0GvB76LMQDiPNa1IMsrgMs7o3iY9rYxSSO22rQoTKxlibJjGxajCx0xB4pYf7BfjSFHgsPZarqmjEoR2wdc0hqnxdD3pHKTNYT3Ai7Yhlr.Sxyo.jzsN.U3YEv0EfYbUkPxPZSIrXlaJ+zpUeTI3GO7aJVDtihUktbTOWkjp7FTqz2VpAuOiSq3Iovo7.teWZeVLX7r3UVa5Msb2UxxZ5flX6UDowdCna9RvdSoZk9Tkw.WSY5rzQ4crZVp4KqsSdrajqgdF2MyMK.wF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DMA465A+eifeWbcyKDS3dK3vmoIaa7Raw+OuKy4icYerK6+mcYYq.yu3PgXXHwLixZ84b9fLQUHwSJtvyNjntI5NFIPKM27eWZK7w50kl8wAw5wbPgLe1Edd5Yu+bXt8EaytqgMOdMr4IqgMewZXySWCa9x0vluZo1n+mpcvHkHzNPKHnSCKmoisIwPXi9Gv898WH
      
      posted in Bug Reports
      F
      fazzitog
    • HISE Crashes using "AudioFile linkTo"

      Hello there.

      Hise crashes when linking two buffers of the ScriptNode using using "AudioFile.linkTo". This also happens when trying to link various external files of the same buffer.

      HiseSnippet 1257.3oc6Xs0SibCE1S.Cax1J0Up66Q6SAI1nLY4pVUUfPRaTKPDCkt8IjYFGhUlwdpGO.oU889ys+CZ8wdRlYXADjt6JdffDZN9bwe9b4abx.ovmljHjHmpmLIlhb9Jr2DtZTmQDFG0eejSMb2qIQwgTWzdShIIIz.jiyB+.n2o5hHym+462iDR39z7kPnSELe5OyhXp7UGryOwBC6QBnmvhJX8Z6z2Wv6HBEoZrr.tEJl3OlbA8PBXVELxYotALkP5oHJZBxYw8DAS7FIthas+TVB67PJH3h7zAxtbOQX.fXXUTmQrvfASOyIHcTFjmAVvlA9V7Ar.1r0yyDeiQQ8bOJlObpTFdKTBdtEgWqBv6VfjSAHsnERuB64KYwpbM.ddItOWQkCI5zdQnXsEU42cvcDZK3plQjwzdRsvLOZrQqVqVW+uUdesZ5Tehp9kDY8ySG5V+6pa5AZdAUsaZ.S3Yp+y17FuwtC068A22rxLq5wBoMfvUJZseDQq8MilK.NHHMCY7wmHZ.vak2OLk6qXBdcA+PghdDuwJ09yZUq8W0peSUCGdq5f7hTDFRk2pZn2TdeN1fmFcNUtp9TFlRmYntfUtK.e2cAEaR8skoBFJ384L0QwT9c05hxpsPGSFpzyHJS+xqy5WLYxekbIcnPFgXAPObo0bQlCPwo1.hhXF3jD9ET8AQpGewNfJyJc4ASkQ+R+8AqyPfFLZ.FSkJFb1c1mdol.v1AWEuOMYrRDarMJVvAn6fez385br9a6LonP7zjS+.CM1rdTMqyGMQomkEAogDU4AbfUKSgtdWZpBlb3IL0jhrdexl5enP7U3ALk+naGiUtELpKNeNvXFW4Wi6NbH0WkCvEw89vmIhwJE1erc+qkUl06Ir4kp5EAwgoQyXUfwRmJ5iSFOoyeiymvikzXhjdhXPHYRiDCU0wZfuZ8yCE9i8X+A8ioEx571Crng+HBmSCSlG1ikdvoJ26uRcrHUw3Wb.QIY5IFr976oeypOsSF5llCxjaMcj1ixCLB+q9SlRWP1ISo6Tk47OnCopqDxwlWdk8LxYYnfTE6ojTcCK5TpLAZWcVF2po9Oztgghq.p.VVirtLYVafHbR7HAm4CKYsXJt2MRjZ3MLf+GIImPXgPmuWZhlqL3Htm1Xy8PfNuCEA5mv8H95r5jAD0HXBBXa0sqTYS+Yss4.MusAxsPDldqDaFRCnHC2EbmjE.81yscqrynI1XcVrtIhJcQk.vq0.PRaV1lG41BYkP50SYeKzaWTBArVAzqsw7.F+TKYuQhbcAIz.hTeQK8cCfHfmIoeN2MLT4J3HF6pk8TzXXrXpLjAVRSjpnnR1gt6ftdof1FB5X5U1jFberVM23cs1t81atwVs1Z801b6Myt+C7d5igtm6dqVLeqVF+V21kNAKgMK.AaYKwJpzYE8+MQ7BbWNAFYenohGVXeItigMZB2+l.N+EvkKpkzXtiIHoeQQEKwY+jSAs9jvoQTOhsmPLNhXlrmq20idLL1selw9I.icsoDgsepSYW.oe54ra+Tfy18YN6m4r+hyY+kfIJh3KEm4aIWgC2KLqnar4leump3C.45y99o1TUDKfcluO7sLdq9q0c69zdN74cygOqMG9r9b3yFygOaNG9r085C7SesapRDYY90KLnqo4xwwNtXdqM5+PauInV
      

      Here´s a video of the Snippet above.
      BugHise-ezgif.com-optimize.gif

      Does this happend to you or is my project? I´m using version 3.6.2

      posted in Bug Reports
      F
      fazzitog