Load multiple sample audio files at once

Post Reply
User avatar
tkna
Posts: 16
Joined: Thu Mar 24, 2022 1:15 pm
Location: Tokyo, Japan

Load multiple sample audio files at once

Post by tkna »

* What is it? *

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
$
After that, the current specification requires that for each sample, the audio files be loaded one at a time by repeatedly clicking with the mouse and specifying the key and sample bank to load.
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.
User avatar
Keres
Posts: 466
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: Load multiple sample audio files at once

Post by Keres »

not really sure, but you might want to take a look at this:
https://warmplace.ru/soft/sunvox/sunvox ... rom_memory
User avatar
tkna
Posts: 16
Joined: Thu Mar 24, 2022 1:15 pm
Location: Tokyo, Japan

Re: Load multiple sample audio files at once

Post by tkna »

I guess that means I need to create my own front-end program, but unfortunately it is still difficult for me.

Is there such a thing as a compilation of front-end tools that assist with SunVox functionality?
It would be easy to understand if those who can develop freely release front-end tools and these are listed as reference auxiliary tools in manuals and other documents.
User avatar
Keres
Posts: 466
Joined: Mon Mar 21, 2016 9:41 am
Location: N. Tulsa Ok.
Contact:

Re: Load multiple sample audio files at once

Post by Keres »

yeah i would really like to re-construct a tuba sample pack that i collected in 2006. was like hours of work to put all the samples in, but the payoff was HUGE! you are right though, it takes foever to make good multisamples in sunvox.
Post Reply