Package client.teavm

Klasse JSIDPlay2UtilitiesTeaVM

java.lang.Object
client.teavm.JSIDPlay2UtilitiesTeaVM

public class JSIDPlay2UtilitiesTeaVM extends Object
Utility entry point for the TeaVM-based implementation of JSIDPlay2, designed to generate standalone JavaScript code for auxiliary functions.

This class is separated from the main emulator build to provide functionality that is independent of the SID emulation engine. This allows the front-end to perform tasks, such as calculating and drawing filter curves, without the overhead of the full emulator.

Exported API

  • Felddetails

  • Konstruktordetails

    • JSIDPlay2UtilitiesTeaVM

      public JSIDPlay2UtilitiesTeaVM()
  • Methodendetails

    • main

      public static void main(String[] args)
    • js2filterCurve

      public static double[] js2filterCurve(String emulation, String name, float filter6581CurvePosition, float voiceNonLinearity, float steepness, float resonanceFactor, float offset, float nonLinearity, float minFetResistance, float k, float filter8580CurvePosition, float baseResistance, float b, float attenuation)