Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

nyanpasu64/padsynth

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation:

cargo install --git https://github.com/nyanpasu64/padsynth.git
# If you cloned the repo:
cargo install --path .

Usage: padsynth <WAV> <CONFIG> <OUT_WAV>

  • <WAV> Audio file to resynthesize
  • <CONFIG> Configuration file for resynthesis
  • <OUT_WAV> Output file to write to

CONFIG files are in RON format, and are conventionally named name.pad-cfg. For the schema, see src/cfg.rs. Example:

(
    input: (
        loop_begin: 48,
        transpose: (
            detune_cents: -10,
        ),
        pitch: Midi(60),
    ),
    output: (
        sample_rate: 10000,
        duration: Smp(8192),  // 8 * 1024
        mode: Harmonic(stdev: 0.012),
        master_volume: Power(0.5),
        random_amplitudes: false,
        chord: [
            (
                pitch: Midi(60),
                volume: Ampl(1),
            ),
            (
                pitch: Midi(67),
                volume: Ampl(1),
            ),
        ],
        seed: 0,
    ),
)

About

Command-line tool to resynthesize (with chords) looped wav files using PADsynth algorithm

Resources

Stars

Watchers

Forks

Releases

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.