2024-09-05 15:26:05 +00:00
|
|
|
These scripts are used to generate notes from a MIDI sampler for a defined set of pitch and velocities.
|
|
|
|
The notes and begin/end time markers are recorded where each recorded audio file contains all the velocities for a single pitch.
|
|
|
|
The resulting samples are then used to calculate wavetables for use by the libcw wavetable oscillator.
|
|
|
|
(see: `dsp::multi_ch_wt_seq_osc` and `flow::piano_voice`).
|
2024-09-05 15:17:08 +00:00
|
|
|
|
2024-09-05 15:26:05 +00:00
|
|
|
`wt_util.py`
|
2024-09-05 15:17:08 +00:00
|
|
|
----------
|
|
|
|
Utilities used by all other modules
|
|
|
|
|
2024-09-05 15:26:05 +00:00
|
|
|
`gen_midi_csv.py`
|
2024-09-05 15:17:08 +00:00
|
|
|
---------------
|
|
|
|
Generate a MIDI file in CSV format to trigger the sampler with a sequence of velocities for a given pitch.
|
|
|
|
|
2024-09-05 15:26:05 +00:00
|
|
|
`sample_ivory.py`
|
2024-09-05 15:17:08 +00:00
|
|
|
---------------
|
|
|
|
Use the MIDI file from 'gen_midi_csv.py' to trigger the sampler and record the resulting audio and onset/offset TSV marker file.
|
|
|
|
|
2024-09-05 15:26:05 +00:00
|
|
|
`calc_sample_atk_dur.py`
|
2024-09-05 15:17:08 +00:00
|
|
|
----------------------
|
|
|
|
Calculate a list [(vel,bsi,esi)] which indicates the attack wavetable.
|
|
|
|
|
2024-09-05 15:26:05 +00:00
|
|
|
`calc_wavetables.py`
|
2024-09-05 15:17:08 +00:00
|
|
|
------------------
|
|
|
|
Create a JSON file of wave tables for all pitches and velocities.
|
|
|
|
|
2024-09-05 15:26:05 +00:00
|
|
|
`wt_osc.py`
|
2024-09-05 15:17:08 +00:00
|
|
|
---------
|
2024-09-05 15:26:05 +00:00
|
|
|
Generate a set of notes using the wavetables found by `calc_wavetables.py`.
|
2024-09-05 15:17:08 +00:00
|
|
|
This program implements a wavetable oscillator which can interpret the wavetables
|
2024-09-05 15:26:05 +00:00
|
|
|
created by `calc_wavetables.py`
|
2024-09-05 15:17:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
Obsolete
|
|
|
|
---------------------
|
2024-09-05 15:26:05 +00:00
|
|
|
`wt_study.py`
|
|
|
|
`low_hz_loops.py`
|
|
|
|
`debug_plot.py`
|
|
|
|
`gen_wave_tables.py`
|
|
|
|
`sample_looper.py`
|