Simulator & Debugger

The extension provides two distinct ways to test your DSP logic without needing hardware connected: the highly interactive Pedal Simulator, and the low-level Debugger.

Pedal Simulator

The Pedal Simulator provides a user-friendly, interactive 3D pedal interface based on the easy-spin-ui framework. This allows you to test your effects with the exact look and feel of the physical Easy Spin hardware.

Pedal Simulator

Key Features

Real-time Audio Monitor

Hear your effect in real-time. Use the Audio Monitor panel to select your input source. You can choose from built-in test audio files optimized for different testing scenarios, or supply your own WAV files.

Interactive Controls

The simulator provides real-time, drag-and-drop control of POT0, POT1, and POT2 right on the virtual pedal. You can also click the footswitch to toggle the Bypass state, ensuring your effect behaves correctly across its full parameter range.

Program Bank Management

The Pedal Simulator also serves as your visual bank editor. You can drag and drop .spn or .spndiagram files into any of the 8 slots to build out a program bank (.spnbank file), then program them all to the pedal in one go.

How to Use the Simulator

  1. Open the Command Palette (Ctrl+Shift+P) and select “FV-1: Open Pedal Simulator”.

  2. Select an audio source and click the pedal footswitch to enable the effect.

Low-Level Debugging

For advanced troubleshooting, the old simulator interface is preserved as the Debugger. It integrates with the VS Code debug infrastructure and provides deep access to internal variables and signals.

Debugger

Key Features

Multi-trace Oscilloscope & Visualizations

Visualize any register or symbol with logarithmic zoom (ranging from 1ms to 1s). The oscilloscope allows you to inspect the accumulator, hardware POTs, and internal registers simultaneously.

Simulator Visualizations

Additionally, the Spectrogram view provides a frequency-domain representation of your signal.

Simulator Spectrogram

Memory Visualization

The Delay Memory view provides a live map of the 32k-word delay RAM.

Delay Memory Visualization

It shows the current read/write pointers and how your program is utilizing delay memory in real-time.

Step-through Debugging

Set breakpoints in your assembly code or visual diagram and step through your program instruction-by-instruction. While paused, you can inspect the exact state of all 32 registers, the accumulator, and the LFOs.

Interactive Controls

The debugger provides real-time control of POT0, POT1, and POT2 via sliders in the UI. You can also toggle the Bypass state to compare your processed signal with the dry input, ensuring your effect behaves correctly across its full parameter range.

How to Use the Debugger

  1. Open a block diagram (.spndiagram) or assembly file (.spn).

  2. Press Ctrl+Shift+P and select “FV-1: Launch Debugger” (or press F5).

  3. The VS Code debug view will open and the program will be stopped on the first instruction.

Click the panel to enable audio monitoring and visualizations…

Enable Audio Monitoring

…then click the “Continue (F5)” button to begin debugging.

Continue Debugging

Tip

Always test your designs using both the Pedal Simulator and the Debugger before programming to hardware to ensure logic correctness and avoid unexpected behavior.