HISE Logo Forum
    • Categories
    • Register
    • Login
    1. HISE
    2. amounra
    3. Best
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 32
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: "Write Automation mode" doesn't work in exported AU plugins

      Pretty sure this is some of what I'm experiencing here?

      Link Preview Image
      How do you set a VST/AU Parameter from a script? and Automate?

      Hello all, I've been working on this problem for a while, I'd love to get some help if anyone has answers. I have some internal parameters used by my HISE s...

      favicon

      Forum (forum.hise.audio)

      posted in General Questions
      amounraA
      amounra
    • RE: Master Chain:! Illegal call in audio thread detected: HeapBlock free

      FWIW I get the exact same behavior in my projects in the scriptnode version with the AU/VST version of the editor.

      posted in Bug Reports
      amounraA
      amounra
    • Engine.getPlayhead() functionality

      Hey guys,

      I was searching for a way to sync HISE to the host's playhead and came upon a post about modifying HISE source to un-comment some lines used for accomplishing this sort of thing in the hi-core main.cpp module. (originally from post: https://forum.hise.audio/topic/2307/the-things-we-all-want-to-see-in-hise-3-0/18).

      void MainController::storePlayheadIntoDynamicObject(AudioPlayHead::CurrentPositionInfo &/*newPosition*/)
      {
      	//static const Identifier bpmId("bpm");
      	//static const Identifier timeSigNumerator("timeSigNumerator");
      	//static const Identifier timeSigDenominator("timeSigDenominator");
      	//static const Identifier timeInSamples("timeInSamples");
      	//static const Identifier timeInSeconds("timeInSeconds");
      	//static const Identifier editOriginTime("editOriginTime");
      	//static const Identifier ppqPosition("ppqPosition");
      	//static const Identifier ppqPositionOfLastBarStart("ppqPositionOfLastBarStart");
      	//static const Identifier frameRate("frameRate");
      	//static const Identifier isPlaying("isPlaying");
      	//static const Identifier isRecording("isRecording");
      	//static const Identifier ppqLoopStart("ppqLoopStart");
      	//static const Identifier ppqLoopEnd("ppqLoopEnd");
      	//static const Identifier isLooping("isLooping");
      
      	//ScopedLock sl(getLock());
      
      	//hostInfo->setProperty(bpmId, newPosition.bpm);
      	//hostInfo->setProperty(timeSigNumerator, newPosition.timeSigNumerator);
      	//hostInfo->setProperty(timeSigDenominator, newPosition.timeSigDenominator);
      	//hostInfo->setProperty(timeInSamples, newPosition.timeInSamples);
      	//hostInfo->setProperty(timeInSeconds, newPosition.timeInSeconds);
      	//hostInfo->setProperty(editOriginTime, newPosition.editOriginTime);
      	//hostInfo->setProperty(ppqPosition, newPosition.ppqPosition);
      	//hostInfo->setProperty(ppqPositionOfLastBarStart, newPosition.ppqPositionOfLastBarStart);
      	//hostInfo->setProperty(frameRate, newPosition.frameRate);
      	//hostInfo->setProperty(isPlaying, newPosition.isPlaying);
      	//hostInfo->setProperty(isRecording, newPosition.isRecording);
      	//hostInfo->setProperty(ppqLoopStart, newPosition.ppqLoopStart);
      	//hostInfo->setProperty(ppqLoopEnd, newPosition.ppqLoopEnd);
      	//hostInfo->setProperty(isLooping, newPosition.isLooping);
      }
      

      I made these specific changes, recompiled HISE without issue, and tested things out, but I've been unable to get this to work. I always get "undefined" as a result of calling Engine.getPlayhead().isPlaying, for instance (I've tried all the available functions though, and have uncommented them all). I've made these experiments in the AU/VST versions of HISE running inside Live, Logic, and Bitwig.

      I looked around for other variables in the HISE code that could be preventing these features from working, but couldn't find anything obvious. Am I missing something obvious?

      Having MIDI playback functionality without any transport sync is fairly useless for my purposes. Has anyone gotten this particular change to work, or is there another way I should be going about this?

      Thanks in advance :)

      a

      posted in Feature Requests playhead transport
      amounraA
      amounra
    • RE: Send Note message to individual component?

      That does the trick, thanks so much!

      a

      posted in Scripting
      amounraA
      amounra