Skip to content

About

Browser sample app and integration test bed for libsonare's WebAssembly build, driven end to end through its UI

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1,041 Commits

Folders and files

Repository files navigation

sonare studio

CI License TypeScript Vue Platform Demo

sonare studio is a browser sample app that drives libsonare's WebAssembly build end to end, and serves as its integration test bed. Arrangement, piano roll, mixer, mastering, an engraved score and composition through libcantus run inside the tab on that build. Nothing is uploaded: projects stay in the browser's own storage until you export them as ordinary files.

🎧 Open the app  ·  📖 Documentation  ·  Getting started  ·  Keyboard shortcuts

A sample application, not a supported production DAW. It is pre-1.0 and comes with no warranty, and the code has not been independently audited. A project file from an earlier schema version is upgraded on open; one from a newer version is refused. There is no compatibility promise across libsonare major versions.

Schematic of the shell: menu bar, arrangement over a tabbed editor dock, device rack alongside, transport bar at the bottom

What it exercises

Each line below is driven through the UI by an end-to-end scenario.

  • Arrange — tracks, MIDI and audio clips, sections, markers, a chord track estimated from the notes, tempo and meter maps, warp, freeze and bounce. Arranging
  • Edit notes — piano roll, playing-technique marks and expression maps, groove, controller lanes, MIDI FX, music typing with step input, and a step sequencer. Editing notes
  • Play sound — built-in synth presets, GM programs and drum kits, SoundFont (SF2) with GS insertion effects, and a multi-timbral channel map. Instruments
  • Mix and master — gain, mute, buses and sends, snapshots, VCA groups, inserts, fader automation, master meters, a suggested starting mix, and a mastering chain with presets and A/B preview. Mixing and mastering
  • Read the score — the active clip engraved with Verovio, chord symbols, annotations, print, PDF, and MusicXML / .mxl export and import. Score
  • Compose — chord progressions and generated parts from libcantus, reroll, a project seed, the theory card, the placement guide and secondary-dominant reharmonization. Composing
  • Record and analyse audio — import, microphone recording, take comping and alignment, tempo, chord and section detection, audio-to-MIDI transcription, stem separation and the sample editor. Recording and analysing audio
  • Move files in and out — .szd, Standard MIDI File and MIDI 2.0 clip import and export, DAWproject, MusicXML, WAV, FLAC and MP3 mixdown, and WAV stems. Files and formats
  • Work offline — installable PWA, English and Japanese UI, remappable shortcuts, save and continue, autosave, and named revisions. Offline use and settings

What it verifies

The scenarios in scripts/e2e/scenarios/ drive a production build through menus, panels, dock tabs and keys, then check the project document and the rendered audio. Through them the suite reaches these parts of libsonare:

  • the project model
  • realtime playback in the AudioWorklet and the offline renderer
  • synth, GM and SoundFont synthesis
  • mixer strips, insert effects and the mastering chain
  • warp time-stretching
  • audio analysis: take alignment, transcription and stem separation

scripts/e2e/api-map.md lists each call on libsonare's public surface with the scenarios that reach it. A full run compares the calls it records against the list and fails when they differ.

A wrong result in analysis, mastering or synthesis output is a libsonare bug. Report it in the libsonare tracker, with the scenario that shows it if there is one.

Getting started

sonare-studio.libraz.net serves the hosted build of this repository, so there is nothing to install to use it, and nothing you open there is uploaded. The app needs a current Chromium- or Firefox-based browser. To run it locally you need Node 26 and Yarn 4 (pinned in mise.toml):

yarn install
yarn dev      # dev server with cross-origin-isolation headers; open the printed URL
yarn build    # production build into dist/

The start screen offers a new project or the bundled demo. Press Play and the audio engine boots on its own. Serving a build is covered in Deployment.

Documentation

The documentation is plain Markdown under docs/, in English and Japanese.

Non-goals

Not a supported production DAW, and no compatibility promise for project files across libsonare major versions. No MPE, no plugin hosting (VST/AU/CLAP), no notation editor beyond a few note gestures on the score, and no accounts, sync or collaboration. DAWproject and MusicXML round-trips are lossy by the nature of those formats, and the app lists what an export will drop before you confirm. What it does not do

License

AGPL-3.0-or-later

About

Browser sample app and integration test bed for libsonare's WebAssembly build, driven end to end through its UI

Topics

Resources

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages