Allow multiple files to be selected when loading audio files in the sampler
* What is useful? *
Dramatically increases efficiency and speed of sample-based track creation.
You can split a single randomly recorded file based on silence regions, for example by using a shell script like the following.
Code: Select all
$ cat ~/.local/bin/wavesplit.sh
#!/bin/sh
sox $1 ${1%.*}-.${1##*.} silence 1 0.125 1% 1 0.125 1% : newfile : restart
$
$ ls
20220610-041221.wav
$ wavesplit.sh 20220610-041221.wav
$ ls
20220610-041221-001.wav 20220610-041221-005.wav 20220610-041221-009.wav
20220610-041221-002.wav 20220610-041221-006.wav 20220610-041221-010.wav
20220610-041221-003.wav 20220610-041221-007.wav 20220610-041221-011.wav
20220610-041221-004.wav 20220610-041221-008.wav 20220610-041221.wav
$
If all audio files could be loaded into the sampler in a single step, it would dramatically reduce the time required.
It would also increase the variety of song styles using SunVox.
Sequencing a large number of samples with a tracker is also one of the old school and standard uses of music tracker software.
* What is an example of an imagined implementation? *
Example 1
1. select the sampler module
2. select "Load"
3. select multiple files by Shift+click or Shift+cursor, Ctrl+A, Ctrl+click, etc.
4. "OK"
5. all selected samples are assigned to each ++1 semitone and ++1 sample bank in turn from the currently selected note and sample bank respectively
6. the selected notes and sample banks are +1 from the last assigned one, so you can continue to load multiple audio files
Example 2
1. select the sampler module
2. select "Edit" => hamburger icon => "Load"
3. select multiple files by Shift+click, Shift+cursor, Ctrl+A, Ctrl+click, etc.
4. "OK"
5. all selected samples are assigned to each ++1 semitone and ++1 sample bank in turn from the currently selected note and sample bank respectively
6. the selected notes and sample banks are +1 from the last assigned one, so you can continue to load multiple audio files
Example 3
Read by wildcard specification for file name
Example 4
Option: Multiple sample assignments are made from C0
* What are your concerns? *
I feel that SunVox has a culture of aesthetics that encourages small data sizes, as SunVox contests recommend small project files with no samples.
This may be lost a bit by allowing large numbers of samples to be loaded at one time.