Vio-Audio 1.0

A sound editor for the keyboard, in the spirit of Audacity.
Opens WAV, MP3, OGG and FLAC, records from the microphone, cuts, copies and pastes, has effects
with undo, and saves WAV, FLAC or OGG.

Keys
  Space             play/stop (the selection, or from the cursor)
  Enter             play the selection, or everything from the start
  Left/Right        move the cursor (Ctrl: faster), PgUp/PgDn one page
  Home/End          start/end
  Shift + these     select
  A                 select all
  Up/Down           zoom in/out, F shows everything
  R                 record on/off (goes in at the cursor), Tab switches the microphone
  X / C / V         cut / copy / paste, Del deletes the selection
  T                 trim to the selection
  Z / Y             undo / redo
  D                 insert another file at the cursor
  K                 mix another file in, from the cursor on (for example music under a voice)
  E                 list of all edit commands and effects
  N G I U L B M     normalize, volume, fade in, fade out, silence, reverse, mono
  O                 open
  S / W             save / save as (the ending .wav, .flac or .ogg chooses the format)
  F1                all keys
  Esc               end (asks first when something is not saved)
  Menu > Info       Info window, L shows the licence

Without a selection, the effects work on the whole sound. 16-bit WAV and FLAC files are saved
again in place, everything else (MP3, OGG, 24-bit WAV, new recordings) asks for a name first, so
the original stays as it is. There is room for about 15 minutes of stereo sound.

Install
  Copy vioaudio.vpk to Violyx and press Enter on it in Files, or type: install vioaudio.vpk

Build it yourself
  Copy vioaudio.c, xznflac.h and xznogg.h into the examples folder of the Violyx SDK (sdk/ in the
  Violyx source, 0.3.5 or newer: its packer knows the picture icon, vioaudio.png is also in
  sdk/icons) and run there:

  make APP=examples/vioaudio NAME=vioaudio TITLE=Vio-Audio EXTRA='-Ihelpers/inc -I../third_party/stb -I../third_party/minimp3 -I../third_party/dr_flac -I../third_party/ogg/include -I../third_party/vorbis/include' LIBSRC='$(VORBIS)' LIBFLAGS='-w -I../third_party/vorbis/lib -include helpers/vxogg.h' VPKFLAGS='--cols 76 --rows 20 --author Merecete --icon " ▐▀▀▀▌| ▐   ▌|██ ██▌" --icon-png icons/vioaudio.png'

  The package is then in build/vioaudio.vpk. xznflac.h and xznogg.h are the FLAC and OGG
  encoders of XZN, with the sample rate as a setting.

Licence
  BSD 3-Clause License, see LICENSE. Copyright (c) 2026, Merecete.

  Vio-Audio contains parts of other authors, their source code is in the Violyx source
  (third_party/):
  libvorbis  Copyright (c) 2002-2020 Xiph.org Foundation, BSD 3-Clause License
  libogg     Copyright (c) 2002, Xiph.org Foundation, BSD 3-Clause License
  stb_vorbis Sean Barrett, public domain (or MIT)
  minimp3    lieff, CC0 1.0 (public domain)
  dr_flac    David Reid, public domain (or MIT-0)
