Skip to content

-#1

Draft
Godly75 with Copilot wants to merge 2 commits into
masterfrom
copilot/create-vital-presets-from-wav
Draft

-#1
Godly75 with Copilot wants to merge 2 commits into
masterfrom
copilot/create-vital-presets-from-wav

Conversation

Copilot AI commented Nov 18, 2025

Copy link
Copy Markdown

Implements a PowerShell utility to batch-generate Vital synthesizer presets from WAV samples, analogous to the existing Python wavetable tool (wt-tool.py) but targeting Vital's JSON preset format.

Implementation

scripts/win/create-vital-presets.ps1

  • Reads init.vital template file and validates JSON structure
  • Scans directory for WAV files and generates individual .vital presets
  • Assigns samples to specified oscillator (1-3) and enables it
  • Updates preset metadata (name, author) based on source filename
  • CLI parameters: -InitVital, -WavFolder, -OutputFolder, -Oscillator

scripts/win/README-vital-presets.md

  • Usage documentation with examples and troubleshooting

Example Usage

.\create-vital-presets.ps1 `
  -InitVital "templates\init.vital" `
  -WavFolder "samples" `
  -OutputFolder "presets" `
  -Oscillator 1

Generates presets with structure:

{
  "preset_name": "sample_name",
  "settings": {
    "osc_1": {
      "sample": "C:\\path\\to\\sample.wav"
    },
    "osc_1_on": 1
  }
}
Original prompt

iets soortgelijk als mijn andere powershell script: is het mogelijk een ps1 script te maken dat een init.vital file neem en wav files uit een folder haalt en hier mee voor elke wav een apparte preset maakt voor vital?


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: Godly75 <38914962+Godly75@users.noreply.github.com>
Copilot AI changed the title [WIP] Create PowerShell script to generate Vital presets from WAV files Add PowerShell script to generate Vital presets from WAV files Nov 18, 2025
Copilot AI requested a review from Godly75 November 18, 2025 05:52
@Godly75 Godly75 changed the title Add PowerShell script to generate Vital presets from WAV files - Nov 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants