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

Method getSamplesForMilliSeconds

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

Source from the content-addressed store, hash-verified

1598int ScriptingApi::Engine::getBufferSize() const { return getProcessor()->getLargestBlockSize(); }
1599
1600double ScriptingApi::Engine::getSamplesForMilliSeconds(double milliSeconds) const { return (milliSeconds / 1000.0) * getSampleRate(); }
1601
1602String ScriptingApi::Engine::getTempoName(int tempoIndex)
1603{

Callers 1

playNoteMethod · 0.80

Calls 1

getSampleRateFunction · 0.50

Tested by

no test coverage detected