### Download and Run Tony Application Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Instructions for downloading the Tony application (a specialized tool for melody transcription) using wget, making it executable with chmod, and running it. This is the initial setup step before performing transcriptions. ```bash # Download Tony wget https://code.soundsoftware.ac.uk/attachments/download/2885/Tony-2.2.1-x86_64.AppImage chmod +x Tony-2.2.1-x86_64.AppImage ./Tony-2.2.1-x86_64.AppImage ``` -------------------------------- ### Install and Use Vamp Analysis Plugins Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Details the process of downloading, extracting, and installing Vamp plugin packs for Sonic Visualiser on Linux. It then shows how to load an audio file and prepare to use these plugins for automatic feature extraction. ```bash # Download and install Vamp plugins first wget https://code.soundsoftware.ac.uk/attachments/download/2691/vamp-plugin-pack-0.1.0-linux64.tar.gz tar xzf vamp-plugin-pack-0.1.0-linux64.tar.gz mkdir -p ~/.vamp cp vamp-plugin-pack-0.1.0-linux64/*.so ~/.vamp/ # In Sonic Visualiser: # 1. Load audio: File > Open > "drum_track.wav" ``` -------------------------------- ### Download Sonic Visualiser Releases Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Provides commands to download the latest release of Sonic Visualiser for various operating systems (Windows, Linux, macOS) and the source code. Includes instructions for making the AppImage executable and installing Debian packages. ```bash # Windows 64-bit installer wget https://code.soundsoftware.ac.uk/attachments/download/2877/sonic-visualiser-5.2.1-win64.msi # or mirror wget https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v5.2.1/sonic-visualiser-5.2.1-win64.msi # Linux AppImage (any 64-bit distro) wget https://code.soundsoftware.ac.uk/attachments/download/2880/SonicVisualiser-5.2.1-x86_64.AppImage chmod +x SonicVisualiser-5.2.1-x86_64.AppImage ./SonicVisualiser-5.2.1-x86_64.AppImage # Ubuntu/Debian package wget https://code.soundsoftware.ac.uk/attachments/download/2878/sonic-visualiser_5.2.1_amd64.deb sudo dpkg -i sonic-visualiser_5.2.1_amd64.deb # macOS Intel/ARM universal binary wget "https://code.soundsoftware.ac.uk/attachments/download/2879/Sonic%20Visualiser%205.2.1.dmg" # Source code wget https://github.com/sonic-visualiser/sonic-visualiser/releases/download/sv_v5.2.1/sonic-visualiser-5.2.1.tar.gz tar xzf sonic-visualiser-5.2.1.tar.gz cd sonic-visualiser-5.2.1 # Build instructions in repository ``` -------------------------------- ### Launch and Visualize Audio Files Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Demonstrates how to launch Sonic Visualiser from the command line with an audio file and outlines a typical GUI workflow for adding spectrograms, adjusting parameters, and navigating the visualization. ```bash # Launch Sonic Visualiser with audio file sonic-visualiser recording.wav # Example workflow in GUI: # 1. File > Open > Select "vocal_performance.mp3" # 2. Pane > Add New Pane (creates overview pane) # 3. Layer > Add Spectrogram (in new pane) # 4. Right-click spectrogram > Edit Layer > Adjust parameters: # - Window Size: 2048 # - Window Overlap: 75% # - Colour Scale: Meter # - Frequency Scale: Log # 5. View > Zoom In/Out to examine close-up details # 6. Playback controls: Space to play/pause, click waveform to seek # Multiple panes automatically stay time-synchronized during playback # Use mouse wheel or View menu to zoom different panes independently ``` -------------------------------- ### Download and Run Sonic Lineup - AppImage Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt This snippet shows how to download the Sonic Lineup AppImage, make it executable, and run it. It's a straightforward process for quickly visualizing and comparing audio files. ```bash # Download Sonic Lineup wget https://code.soundsoftware.ac.uk/attachments/download/2886/SonicLineup-2.1-x86_64.AppImage chmod +x SonicLineup-2.1-x86_64.AppImage ./SonicLineup-2.1-x86_64.AppImage ``` -------------------------------- ### Sonic Annotator Plugin Management - Bash Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Provides commands for listing available Vamp plugins and detailed information about the outputs of a specific plugin using Sonic Annotator. ```bash # List available plugins sonIC-annotator -l # List plugin outputs sonIC-annotator -d vamp:qm-vamp-plugins:qm-tempotracker ``` -------------------------------- ### MIDI Import and Overlay Workflow Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt This section details the process of importing MIDI files into Sonic Visualiser to overlay note data with audio spectrograms. It covers playback configuration, instrument selection, velocity scaling, and a use case for comparing vocal recordings with MIDI scores and pitch tracks. ```bash # MIDI import workflow: # 1. Load audio reference: File > Open > "piano_recording.wav" # 2. Add spectrogram: Layer > Add Spectrogram # 3. Import MIDI: File > Import Annotation Layer > "score.mid" # 4. MIDI notes appear as note layer with: # - Pitch on vertical axis (aligned with spectrogram Hz scale) # - Duration shown as horizontal bars # - Velocity displayed as color intensity # Playback configuration: # 1. Right-click MIDI layer > Edit Layer # 2. Set instrument: General MIDI instrument picker # 3. Adjust velocity scaling # 4. Enable/disable: Click eye icon to show/hide # Comparison use case: # - Load vocal recording # - Import MIDI score # - Add pitch tracker: Transform > Pitch Tracker # - View three layers stacked: # * Spectrogram (audio frequency content) # * MIDI notes (intended pitches) # * Extracted pitch track (performed pitches) # - Visually identify deviations from score ``` -------------------------------- ### Selection and Looping Playback in Sonic Visualiser Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt This section outlines the workflow for selecting audio regions, enabling looping playback, and snapping selections to features like beats. It also details playback speed adjustments for transcription work and provides essential keyboard shortcuts. ```bash # Selection workflow: # 1. Load file: File > Open > "song.wav" # 2. Click and drag on waveform to select region # 3. Playback > Play Selection (or Shift+Space) # 4. Enable looping: Playback > Loop Playback (or 'L' key) # Snap to features: # 1. Add beat tracker: Transform > Beat Tracker # 2. Edit > Select Mode > "Snap to features" # 3. Drag selection boundaries - they snap to beat locations # 4. For comparison: Select two regions, use Playback > Compare # Time-stretch playback (slow down/speed up without pitch change): # Playback > Playback Speed # - Options: 0.25x, 0.5x, 0.75x, 1x, 1.5x, 2x, 4x # - Display stays synchronized at all speeds # - Useful for transcription work at 0.5x speed # Keyboard shortcuts: # Space: Play/Pause # Shift+Space: Play selection # L: Toggle loop # , (comma): Previous frame # . (period): Next frame ``` -------------------------------- ### Sonic Annotator Basic Batch Extraction - Bash Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Demonstrates the basic command-line usage of Sonic Annotator for batch feature extraction from multiple audio files using a specified Vamp plugin and outputting results as CSV. ```bash # Basic batch extraction sonIC-annotator -d vamp:qm-vamp-plugins:qm-tempotracker:beats \ -w csv --csv-basedir ./output \ audio/*.wav ``` -------------------------------- ### Sonic Visualiser Session Management - Bash Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Illustrates the process of saving and reopening analysis sessions in Sonic Visualiser. It describes the steps and the typical XML structure of a session file, including how to create portable sessions with relative paths. ```bash # Save session: # 1. Complete analysis work with multiple layers # 2. File > Save Session As > "analysis_project.sv" # Session file includes: # - Audio file references (paths) # - All annotation layers # - View configurations (zoom, pane layout) # - Transform history # Session file is XML format, human-readable # Reopen session: # File > Open Session > "analysis_project.sv" # All layers and settings restored # Session file structure example: # # # # # # # # # # Portable sessions: # File > Export Session As > Template # Creates relative paths for sharing across machines ``` -------------------------------- ### Batch Processing with sonic-annotator CLI Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt This command demonstrates how to use the sonic-annotator command-line interface for batch processing audio files, specifically for tempo and beat tracking. It specifies the vamp plugin to use, input audio files, and the desired output format (CSV). ```bash sonic-annotator -d vamp:qm-vamp-plugins:qm-tempotracker:beats \ *.wav -w csv --csv-one-file beats.csv ``` -------------------------------- ### Sonic Annotator Directory Processing - Bash Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Shows how to process all WAV files within a directory using Sonic Annotator, leveraging `find` and `xargs` for efficient batch execution and outputting results to a specified directory. ```bash # Process entire directory find ./recordings -name "*.wav" -print0 | \ xargs -0 sonic-annotator \ -d vamp:vamp-example-plugins:zerocrossing:counts \ -w csv --csv-basedir ./results ``` -------------------------------- ### Tony Transcription Workflow and Export Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt This section details the step-by-step process for using the Tony application to transcribe audio, including auto-analysis, playback, manual correction tools (merging, splitting, octave shift), and exporting the pitch and note tracks to CSV files. It also shows the format of the exported notes.csv file. ```bash # Transcription workflow: # 1. File > Open > "soprano_solo.wav" # 2. Tony auto-analyzes and displays: # - Pitch track (continuous frequency contour) # - Note layer (segmented into discrete notes) # 3. Play back with Space - hear synthesized notes # 4. Correction tools: # - Click alternative pitch track to select different extraction # - Select notes and press 'M' to merge # - Select note and press 'S' to split # - Select and press 'O' for octave shift # - Delete key removes incorrect notes # 5. File > Export Pitch Track > "pitch.csv" # 6. File > Export Note Track > "notes.csv" # notes.csv format: # start_time,duration,frequency,label # 0.523,0.412,440.0,"A4" # 0.935,0.301,493.88,"B4" # Citation for research: # Mauch et al., "Computer-aided Melody Note Transcription Using # the Tony Software", TENOR 2015 ``` -------------------------------- ### Export Audio Regions and Annotations Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt This section explains how to export selected audio regions as new audio files (WAV, FLAC) and how to export annotation layers in various formats including CSV, RDF/Turtle, JSON, and Audacity's Lab format. It also includes a command for batch exporting using sonic-annotator. ```bash # Export audio region: # 1. Select region in waveform # 2. File > Export Audio Data # 3. Choose format: WAV (uncompressed) or FLAC # 4. Specify output: "excerpt_chorus.wav" # Result: New audio file containing only selected region # Export annotation layers: # 1. Right-click annotation layer # 2. Export Layer to File # 3. Format options: # - CSV (comma-separated values) # - RDF/Turtle (semantic web format) # - JSON # - Lab files (Audacity label format) # CSV export example output: # time,label # 0.123456,"intro" # 4.567890,"verse1" # 19.234567,"chorus" # Batch export via sonic-annotator: disebabkan sonic-annotator -t template.n3 -w csv \ --csv-basedir ./output \ input1.wav input2.wav input3.wav # template.n3 defines which features to extract # Creates separate CSV files per input file ``` -------------------------------- ### Sonic Annotator Advanced Feature Extraction - Bash Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Illustrates how to use Sonic Annotator with a transform file (N3 format) to specify multiple features and processing parameters for a single audio file. ```bash # Multiple features with transform file cat > extract_features.n3 << 'EOF' @prefix xsd: . @prefix vamp: . @prefix : <#> . :transform a vamp:Transform ; vamp:plugin ; vamp:step_size "2048"^^xsd:int ; vamp:block_size "16384"^^xsd:int . EOF sonic-annotator -t extract_features.n3 -w csv input.wav ``` -------------------------------- ### Annotate Audio with Time Labels and Curves Source: https://context7.com/sonic-visualiser/sonic-visualiser.github.io/llms.txt Explains how to create various types of annotations within Sonic Visualiser, including time instants, time segments, and note data. It also covers exporting and importing annotations in formats like CSV and JSON. ```bash # In Sonic Visualiser GUI: # 1. Load audio file: File > Open > "interview.wav" # 2. Create annotation layer: Layer > Add New Time Instant Layer # 3. Enter annotation mode: Edit Mode toggle (or press Enter) # 4. Click on waveform at points of interest # 5. Type labels directly (e.g., "Question 1", "Speaker change") # 6. For time segments: Layer > Add New Time Value Layer # - Click and drag to create regions # - Double-click to edit labels and values # 7. For pitch curves: Layer > Add New Note Layer # - Draw notes by clicking and dragging # - Snap to frequency grid (right-click > Edit Layer) # Export annotations # File > Export Annotation Layer > "annotations.csv" # Output format: # 0.500000,"Question 1" # 2.340000,"Speaker change" # 5.120000,"Laughter" # Import existing annotations # File > Import Annotation Layer > Select "timestamps.txt" # Supported formats: CSV, JSON, RDF ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.