HISE Docs

PerformanceLabel

Shows the plugins CPU, RAM and Voices Use.

ID Default Value Description
Font Oxygen Bold Select a Font
FontSize 14.0 Change the Fonts size

CPU

The CPU value returns the percentage of time that the CPU needs to calculate the content of the current audio buffer.

E.g.: 30% means that if you have to fill 512 samples that will produce 10ms of audio at 44,1kHz, it might take up to 3 ms to calculate it.

Discussion in the Forum

Scripting calls

You can get access to the PerformanceLabels individual values with these Scripting methods:

Engine.getCpuUsage()

Engine.getMemoryUsage()

Engine.getNumVoices()

Console.print(Engine.getCpuUsage());

Console.print(Engine.getMemoryUsage());

Console.print(Engine.getNumVoices());