Skip to content

What Is Tested

Hisham edited this page Nov 25, 2026 · 4 revisions

What Is Tested

This is the one page that says how far SFX FORGE has been tried: what a script checks, what was only read from the code, and what nobody has done. Other pages link here instead of repeating it. When a run is made again, change the numbers and dates here.

The short answer

flowchart LR
  code["the code"]
  scripts["checked by scripts<br/>on the built firmware and the DLL"]
  emu["the link, against the SDK's emulator<br/>over a virtual MIDI cable"]
  hw["the hardware"]
  plugin["the VIBE FM plugin"]
  surface["a mixer controller or a DAW<br/>on the mixer's parameters"]
  ears["by ear, by eye, by hand"]
  other["the Unity package on other platforms<br/>than Windows x64"]
  code -->|"done"| scripts
  code -->|"done, songs of sixteenths only"| emu
  code -.->|"never"| hw
  code -.->|"never"| plugin
  code -.->|"never"| surface
  code -.->|"never, for the newest features"| ears
  code -.->|"never"| other
Loading
  • Tested by scripts: the firmware (25 checks), the Unity package's core (205 checks), its editor UI (171 EditMode tests), the showcase (32 editor checks, 41 PlayMode tests).
  • Tested against the emulator: the link, with songs whose patterns all have 16 steps.
  • Never: the hardware, the VIBE FM plugin, any platform but Windows x64, any Unity but 6000.3.8f1. Nobody has listened to the newest features (PERFORM, the beat) or played them by hand. Nobody has worked the mixer from a mixer controller or a DAW (firmware 1.7.1).

The numbers, as last run

sh build.sh was run on 25 Nov 2026 with firmware 1.7.1, the firmware as it is now: 1.7.0 with the mixer reported to the host as parameters, and one fix to the tour (it changes only the sound it selected itself). It was run with the SDK in .tools (SDK 27) and with a newer one (SDK 28), with the same result; the built .wasm was the same file both times. tests/dotnet was run the same day with 1.7.1: its identity checks expect the identity of 1.7.1. The other three rows are as the reference documents record their last run, made with firmware 1.7.0 (with PERFORM and the beat): they were not run again with 1.7.1. The package's code did not change with 1.7.1. The link runs have their dates further down.

Suite Result What it runs on
sh build.sh 25 lines PASSED, none failing; 266 ok lines (1.7.0 had 239) the built .wasm, in the SDK's wasmtest and on tests/host.mjs
tests/dotnet 205 checks, all passing (25 Nov 2026, with 1.7.1) Runtime/Core and the package's own sfxforge.dll, without Unity
tests/unity-inspectors 171 of 171 EditMode tests Unity 6000.3.8f1, Windows x64
the showcase's Verify 32 editor checks the demo project, headless, on a copy
PlayMode 41 tests: 26 passed, 15 skipped the same. The skipped ones need a device or the emulator, or record, and run only when asked for by name

Commands and how to read the output: Running The Tests.

What the scripts can see

A script reads numbers. It hears the output as samples and reads the song the device sends and what it stores.

The scripts check The scripts do not check
the sound that comes out: levels, timing, that a click falls on a beat what a page or a toast says: no check reads the display's text
the song after key presses, byte by byte how PERFORM's grid, the shades and the bar strip are drawn
the SysEx messages, in and out, also doubled and out of order the stage's buttons (its REC button on PERFORM among them) and its grids' shades
what the device stores (kits.bin, song6.bin, meter.bin, song.bin) solo on PERFORM; ERASE across a change of pattern
that the display's picture changed (a hash of its pixels) undo of RAMP and of a song loaded from a game; undo of FILL except on PERFORM
a format-5 song still renders bit for bit as before (by hashes) a DAW's song position at a finer grid

For the Unity editor UI the tests build the same elements in a test panel and press keys by code. Nobody has opened the real Inspector or the real windows, opened their menus, or typed into a field. The full list is in the Unity manual.

The newest features

Feature Checked by Not done
the mixer as the host's parameters (firmware 1.7.1) tests/check-mixer.mjs, on tests/host.mjs: it reads the list of 71 parameters, sets levels, pans, mutes, solos and the selected sound with the SDK's own host functions (vibe_wasm_param_set, _value, _changed), presses MIX's keys and reads what the host is told, and reads from the samples that the song is silent when every sound is muted from the host. It also sets values that are no number, and runs the tour with mix_select from the host and DATA turned: every sound is as it was after it (27 ok lines) nobody has tried it with a real mixer controller, in the VIBE FM plugin, in a DAW or in the Playground. The check does not see a controller's faders and lights, or how a host lists the parameters. That a fader moved by an automation lane is not reported is read from the code
PERFORM (firmware 1.7.0) tests/check-perform.mjs: it presses the page's keys on the built firmware and reads the song and the sound (26 ok lines) nobody has played the page, looked at it while it plays, or listened to it. The check does not see the display, the stage's REC button, or solo
the beat and the time signature (firmware 1.7.0) tests/check-meter.mjs: what FILL writes, where the click falls, that the song's bytes stay as they were, what SAVE stores (21 ok lines) nobody has listened to the click at any beat, turned SHIFT + B by hand, or read the words (BAR 6/8, BEAT 3/8: BAR 6/8). Not tried: swing with a beat of three sixteenths, a bar that is not a whole number of beats, SHIFT + B on SONG, and that DEMO, a song from a game and UNDO leave the beat
a finer grid (firmware 1.6.0) the firmware's grid checks; tests/dotnet; eight EditMode tests of the song's Inspector a pattern at 1/32 or 1/64 has not crossed a MIDI port. Nobody has listened to a finer pattern in Unity

The link

The link was tested end to end against the SDK's emulator, with this package in Unity 6000.3 on Windows 11, over two loopMIDI ports, headless.

When Firmware What ran Result
25 Nov 2026 1.7.1 nothing of the link. Only the firmware's own checks (sh build.sh) and tests/dotnet ran the link, the Unity suites, the showcase's Verify and the videos were not run or made again with 1.7.1. No SysEx message changed in 1.7.1; the identity says 1.7.1
24 Nov 2026 1.7.0, the build with PERFORM and the beat, before the LINK page's footer was corrected (CC 20-23 became CC 20-25). That text is all the last 1.7.0 differs from it in; 1.7.1 has the mixer's parameters and one fix to the tour besides. The link was not run again with either the six link tests (Tests/LinkTakes.cs), one run all six passed
23 Nov 2026 1.7.0, the build of that day, before the beat the six link tests, one run; the recorded session (Tests/LinkSession.cs), once passed. The link video is that recording; it was not run again
22 Nov 2026 1.6.0 the six link tests, four times; the recorded session passed

What the six tests did: a patch and the song came from the device; the device said its identity; twenty transfers in a row arrived whole; a song and its sounds sent to the device came back the same; pads, intensity, a cue and text left for the device (nothing comes back for those, so the test only says that every message left).

What they did not do:

  • PERFORM was not open in any run, and the beat was a quarter.
  • Every pattern in those songs has 16 steps.
  • Pads and encoders coming from the device were not tried, nor SendPatch, nor the keys of the SFX Forge window and the Inspectors against a device.
  • The recorded session ran headless. Nobody heard it, and nobody has listened to the video.

Details and what the earlier runs found: the Unity manual, section 6.

Only read from the code

These are believed correct because someone read the code, not because a test ran them.

  • Two real flows inside the firmware. Only song_way.h was run on two threads (tests/stress-song-way.c). The queue and the volatile values are correct by reading. The test hosts call both flows from one thread.
  • A firmware up to 1.5.0 against any of this. What the documents say of an older firmware is read from its code.
  • Swing with a beat of three sixteenths. That the click is uneven there is read from the code.

Never done

  • The hardware and the plugin. Everything ran in the SDK's wasmtest, on tests/host.mjs, or in the SDK's emulator. Nobody has held a VIBE with this firmware.
  • A mixer controller or a DAW. The mixer's parameters (firmware 1.7.1) were set and read only by a script, through the SDK's host functions. No control surface, no plugin, no DAW and not the Playground.
  • Listening. The tests read numbers from rendered samples. Nobody listened to a generated sound, a variant, a baked file, or the click.
  • Any Unity but 6000.3.8f1, any platform but Windows x64. MIDI is implemented for Windows only (winmm), and the native library is built for Windows x64 only.
  • The showcase's standalone build was last run before firmware 1.5 and not again.
  • The videos are not a test. Scripts make them from the firmware and the game. A video made before a page existed does not show it.

How to keep this page true

  1. After a run, change the numbers and the date in "The numbers, as last run".
  2. A test made with the version before keeps its version here until it is run again. Never write that something was run with a newer version than it was.
  3. When you add a feature, add a row to "The newest features": what checks it, and what nobody has done.
  4. Never claim more than a run showed. "Passed" means the script's conditions held, not that it sounds right.

Next

Reference

Clone this wiki locally