HISE Logo Forum
    • Categories
    • Register
    • Login

    Latest Development Builds

    Scheduled Pinned Locked Moved General Questions
    42 Posts 5 Posters 11.2k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      I forgot to update the internal list. These are the function names:

      /** Fades all voices with the given event id to the target volume (in decibels). */
      Synth.addVolumeFade(int eventId, int fadeTimeMilliseconds, int targetVolume);
      
      /** Adds a pitch fade to the given event ID. */
      Synth.addPitchFade(int eventId, int fadeTimeMilliseconds, int targetCoarsePitch, int targetFinePitch);
      
      

      targetCoarsePitch is in semitones and targetFinePitch is in cents.

      It is currently using only linear fading. And if you fade to silence, the notes continue to play (although I could add something like Synth.killEvent(eventId).

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

        Thanks that's great. Perhaps you could add an extra argument for the functions to determine if the voice is killed or not after the fade completes?

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

        1 Reply Last reply Reply Quote 0
        • LevitanusL
          Levitanus
          last edited by

          Hello! I've just last night saw this project and very impressed. Thanks for you work!!! Now I would like to establish whole the process of compilation to test my tryings as they would be finalized (GUI, optimization e.t.c.). Now i found the 5th part of tutorial about building the compiller and link to the JUCE is not working. Can be used JUCE fromte master folder from github, or it should be downloaded separately from official repository, or you have to upload required version again?

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

            Hi Levitanus and welcome to the Forum.

            The fifth part of the tutorial is a bit dated and I heavily streamlined the compilation procedure since then.

            Basically you just need Xcode / VS2015, the plugin SDKs and the complete repository of HISE (which now includes also the JUCE source code and the Projucer binary that is needed for compiling).

            If you're on OS X, this is the current list of steps. If you're on Windows, the procedure should be almost the same - just replace "Xcode" with "Visual Studio 2015" :)

            1. Get the tools

            You’ll need:

            • Xcode / Visual Studio 2015 Community,

            • The source code of HISE: https://github.com/christophhart/HISE/archive/master.zip

            • The latest build of HISE which I’ve just uploaded here:
              OS X: https://www.dropbox.com/s/7yazh959ksok9zv/HISE.zip?dl=0
              Windows: tba (or you can build it yourself from the GitHub repo).

            For legal reasons, I can’t supply the SDKs of the different plugin architectures (VST / AAX), so you need to download them and extract them in the specified subfolder after you extracted the HISE source. There is a Readme file in the subdirectory tools/SDK that explains every step needed to get the missing SDKs. If you want to skip this step for now, just select AU as export option (the AU files are included in JUCE).

            2. Setup HISE

            Then you’ll need to setup a few things inside HISE (I assume you have setup a project properly and created a user interface script):

            1. Your Project Settings (File -> Settings -> Project Properties)
            • Project Name
            • Version
            • plugin code (something like ‚Abcd‘).
            1. Your Company Settings (File -> Settings -> Company Properties)
            • Company Name
            • manufacture code (also something like ‚Abcd‘).
            1. The compiler Settings (File -> Settings -> Compiler Properties)
            • point HISE to the folder where you downloaded the HISE repository
            • choose „Use IPP“: No (unless you have IPP already installed).

            3. Export your preset

            Now you should be able to export your instrument into any target (or just AU if you didn’t get the other SDKs) via File -> Export -> Export as Instrument. It'll open an terminal window and launch the compiler from there so you can watch it work :)

            The compiled results should be available in the Binaries/Compiled subfolder of your project.

            Let me know if this works for you.

            1 Reply Last reply Reply Quote 1
            • LevitanusL
              Levitanus
              last edited by Levitanus

              Thank You for so informative answer!
              Now another building problem:
              Could not find file: C:\Program Files\HISE\AutogeneratedProject.jucer

              Compiling 64bit Instrument plugin test hise ...
              Microsoft (R) Build Engine 14.0.25420.1

              MSBUILD : error MSB1009: file of project does not exists
              Ключ: Builds\VisualStudio2015\test hise.sln
              Compiling finished.Cleaning up...

              I have installed juce from the build, then took source and copied it into the hise folder. The made path in the compiller settings

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

                It seems that you haven't specified a Project folder. This is covered in the first part of the tutorial (last paragraph):

                favicon

                (hise.audio)

                But thanks, I'll add a cleaner error message for this.

                1 Reply Last reply Reply Quote 1
                • LevitanusL
                  Levitanus
                  last edited by

                  Christophб I've got it! I specified project folder not inside the porjects directory.

                  1 Reply Last reply Reply Quote 0
                  • LevitanusL
                    Levitanus
                    last edited by

                    Sorry for my Noobism.
                    It seems projucer can't find juce modules inside the JUCE folder, I see them inside, but don't know how to locate them...

                    1 Reply Last reply Reply Quote 0
                    • LevitanusL
                      Levitanus
                      last edited by

                      well, the next step:

                      #cmd
                      
                      Re-saving file: C:\Program Files\HISE\HISE-master\projects\test4\Binaries\Autoge
                      neratedProject.jucer
                      Error when saving: At least one of your JUCE module paths is invalid!
                      Please go to Config -> Modules and ensure each path points to the correct JUCE m
                      odules folder.
                      
                      Compiling 64bit Instrument plugin test4 ...
                      Microsoft (R) Build Engine версии 14.0.25420.1
                      (C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены.
                      
                        Plugin.cpp
                        PresetData.cpp
                        BinaryData.cpp
                        hi_core.cpp
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\BinaryData.cpp: No such file or directory [C:\Program Files\HISE\HISE-master
                      \projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\hi_core.cpp: No such file or directory [C:\Program Files\HISE\HISE-master\pr
                      ojects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                        hi_dsp_library.cpp
                        hi_frontend.cpp
                        hi_modules.cpp
                        hi_scripting.cpp
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\hi_dsp_library.cpp: No such file or directory [C:\Program Files\HISE\HISE-ma
                      ster\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\hi_modules.cpp: No such file or directory [C:\Program Files\HISE\HISE-master
                      \projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\hi_frontend.cpp: No such file or directory [C:\Program Files\HISE\HISE-maste
                      r\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                        juce_audio_basics.cpp
                        juce_audio_devices.cpp
                        juce_audio_formats.cpp
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\hi_scripting.cpp: No such file or directory [C:\Program Files\HISE\HISE-mast
                      er\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_audio_basics.cpp: No such file or directory [C:\Program Files\HISE\HISE
                      -master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_audio_devices.cpp: No such file or directory [C:\Program Files\HISE\HIS
                      E-master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                        juce_audio_plugin_client_utils.cpp
                        juce_audio_plugin_client_VST2.cpp
                        juce_audio_processors.cpp
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_audio_formats.cpp: No such file or directory [C:\Program Files\HISE\HIS
                      E-master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_audio_plugin_client_VST2.cpp: No such file or directory [C:\Program Fil
                      es\HISE\HISE-master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxpr
                      oj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_audio_plugin_client_utils.cpp: No such file or directory [C:\Program Fi
                      les\HISE\HISE-master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxp
                      roj]
                        juce_audio_utils.cpp
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_audio_processors.cpp: No such file or directory [C:\Program Files\HISE\
                      HISE-master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                        juce_core.cpp
                        juce_cryptography.cpp
                        juce_data_structures.cpp
                        juce_events.cpp
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_audio_utils.cpp: No such file or directory [C:\Program Files\HISE\HISE-
                      master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_data_structures.cpp: No such file or directory [C:\Program Files\HISE\H
                      ISE-master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_events.cpp: No such file or directory [C:\Program Files\HISE\HISE-maste
                      r\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_core.cpp: No such file or directory [C:\Program Files\HISE\HISE-master\
                      projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_cryptography.cpp: No such file or directory [C:\Program Files\HISE\HISE
                      -master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                        juce_graphics.cpp
                      ..\..\Source\Plugin.cpp(2): fatal error C1083: Не удается открыть файл включени
                      е: JuceHeader.h: No such file or directory [C:\Program Files\HISE\HISE-master\p
                      rojects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                        juce_gui_basics.cpp
                        juce_gui_extra.cpp
                        juce_opengl.cpp
                        juce_tracktion_marketplace.cpp
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_graphics.cpp: No such file or directory [C:\Program Files\HISE\HISE-mas
                      ter\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_gui_extra.cpp: No such file or directory [C:\Program Files\HISE\HISE-ma
                      ster\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_gui_basics.cpp: No such file or directory [C:\Program Files\HISE\HISE-m
                      aster\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_tracktion_marketplace.cpp: No such file or directory [C:\Program Files\
                      HISE\HISE-master\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      c1xx : fatal error C1083: Не удается открыть файл источник: ..\..\JuceLibraryCo
                      de\juce_opengl.cpp: No such file or directory [C:\Program Files\HISE\HISE-maste
                      r\projects\test4\Binaries\Builds\VisualStudio2015\test4.vcxproj]
                      Compiling finished.Cleaning up...
                      Не удается найти C:\Program Files\HISE\HISE-master\projects\test4\Binaries\Compi
                      led\test4 x64.exp
                      Не удается найти C:\Program Files\HISE\HISE-master\projects\test4\Binaries\Compi
                      led\test4 x64.lib
                      Для продолжения нажмите любую клавишу . . .
                      
                      1 Reply Last reply Reply Quote 0
                      • Christoph HartC
                        Christoph Hart
                        last edited by

                        Can you post the AutogeneratedProject.jucer file (it's a XML)?

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

                          BTW, the project folder does not need to be in the HISE source folder (and maybe something is messing up the file paths because of this).

                          1 Reply Last reply Reply Quote 0
                          • LevitanusL
                            Levitanus
                            last edited by Levitanus

                            sorry, only now have access to computer)
                            https://www.dropbox.com/s/6ku86gpv3bo127w/AutogeneratedProject.jucer?dl=0
                            I've added personal paths to the packages inside the jucer

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

                              Have you used the latest build (not the one from the download page but compiled from Git?

                              It seems that you are using an old version which is using different settings for the HISE and the JUCE source paths (which I've streamlined recently).

                              Here is a recent build:

                              https://www.dropbox.com/s/bfv2metds7vueqe/HISE Win.zip?dl=0

                              Try exporting again with this build (You might want to clean the Build directory via File -> Settings -> Clean Build Directory first).

                              1 Reply Last reply Reply Quote 0
                              • LevitanusL
                                Levitanus
                                last edited by

                                Thank You! I built the hise.exe from project standalone and finelly it buils standalone app of the synth!
                                But now it can't find VSTSDK. I've downloaded it from steinberg and extracted to the SDK\VSTSDK (without extra "VST3***" folder)
                                Tryed different ways to unpack it, but still can't reach it...

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

                                  You need this directory structure:

                                  %HISE FOLDER%/tools/SDK/VST3 SDK/plugininterfaces
                                  %HISE FOLDER%/tools/SDK/VST3 SDK/public.sdk
                                  

                                  Don't be confused. You need the VST3 SDK folder, although it won't use the VST3 files, but the also included VST 2.4 files...

                                  1 Reply Last reply Reply Quote 1
                                  • LevitanusL
                                    Levitanus
                                    last edited by

                                    ahh, ok, thanks!
                                    Hope, the last question in this thread :)
                                    How to build hiseVST? I've tried plugin prohect, but it has exporter only for VS2013, and i haven't got it... VS15 can't compille the project, it seems, updating of project doesn't fix the problem.
                                    Generally, i'm interesting how to setup correct routing in instrument, while working with more than stereopair in out. And it's the matter of interesting in the plugin.

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

                                      Ah shoot, I forgot to update those. I'll fix this.

                                      However the plugin is also just stereo out at the moment (I wanted to add a multichannel version of the plugin for some time, but it was never on my high priority list.

                                      1 Reply Last reply Reply Quote 1
                                      • LevitanusL
                                        Levitanus
                                        last edited by Levitanus

                                        • However the plugin is also just stereo out at the moment (I wanted to add a multichannel version of the plugin for some time, but it was never on my high priority list.

                                        only hise editor-plugin or any plugin exported from hise?

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

                                          Alright, I pushed the new plugin project for VS2015 (it had also AAX enabled by default, which is not so smart considering that most folks don't have the AAX SDK)...

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

                                            only hise editor-plugin or any plugin exported from hise?

                                            Currently neither. However this came up a few times before so maybe I'll just add support for it - it shouldn't be too hard to implement, the hard part was getting the internal routing multichannel capable...

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

                                            27

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            102.7k

                                            Posts