MCPcopy Create free account
hub / github.com/christophhart/HISE / setTimestretchOptions

Method setTimestretchOptions

hi_scripting/scripting/api/ScriptingApi.cpp:4685–4695  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4683}
4684
4685void ScriptingApi::Sampler::setTimestretchOptions(var newOptions)
4686{
4687 ModulatorSampler* s = dynamic_cast<ModulatorSampler*>(sampler.get());
4688
4689 if (s == nullptr)
4690 reportScriptError("Invalid sampler call");
4691
4692 ModulatorSampler::TimestretchOptions no;
4693 no.fromJSON(newOptions);
4694 s->setTimestretchOptions(no);
4695}
4696
4697var ScriptingApi::Sampler::getReleaseStartOptions()
4698{

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
fromJSONMethod · 0.45

Tested by

no test coverage detected