Commit graph

59 commits

Author SHA1 Message Date
Paul Fd
c25f9546b0 Add a test for #1077 2023-08-08 10:32:48 +02:00
Paul Ferrand
121d795559 Cover flac since we're at it 2023-05-29 14:02:16 +02:00
Paul Ferrand
8e4e6460d8 Add a test 2023-05-28 16:37:23 +02:00
Paul Ferrand
1859e66ea1 Move from LFS... 2022-07-27 11:01:07 +02:00
Paul Ferrand
ed3c05b4d6 tests/TestFiles/36-CajonCenter-1.wav,tests/TestFiles/36-CajonCenter-2.wav,tests/TestFiles/36-CajonCenter-3.wav,tests/TestFiles/36-CajonCenter-4.wav,tests/TestFiles/36-CajonCenter-5.wav,tests/TestFiles/closedhat.wav,tests/TestFiles/dummy16.wav,tests/TestFiles/dummy1.wav,tests/TestFiles/dummy2.wav,tests/TestFiles/kick.wav,tests/TestFiles/looped_flute.wav,tests/TestFiles/mono_sample.wav,tests/TestFiles/ramp_wave.wav,tests/TestFiles/root_key_38.wav,tests/TestFiles/root_key_62.wav,tests/TestFiles/short_non_wavetable.wav,tests/TestFiles/silence.wav,tests/TestFiles/snare.wav,tests/TestFiles/stereo_sample.wav,tests/TestFiles/wavetable_with_loop_at_endings.wav,benchmarks/sample.wav,benchmarks/sample.flac: convert to Git LFS 2022-07-24 00:25:45 +02:00
Paul Fd
803052b552 Parse <sample> with base64 data
Also added the necessary plumbing to load from RAM
It's missing AIFF since the API is file-based for now.
2021-11-24 12:04:41 +01:00
Paul Fd
aeb17c1fca Parse oscillator=auto and only have implicit wavetables if the file is short AND wavetable tags are in 2021-07-20 12:25:03 +02:00
Paul Fd
16a790a33d Small, all zero files are replaced by *silence 2021-04-15 11:02:04 +02:00
Paul Ferrand
b1f7a4bd66 Change the way the defaults and bounds for the opcodes are handled and read 2021-02-11 06:10:10 +01:00
Paul Ferrand
c27cb69a83 Build a set of "effective" keyswitches anduse it instead of sw_lokey/sw_hikey 2020-10-27 10:00:24 +01:00
Jean Pierre Cimalando
ffb8e2c52a Add tests 2020-09-22 20:30:38 +02:00
Jean Pierre Cimalando
85883481c9 Auto-enable oscillator=on when a wavetable is provided 2020-09-22 16:12:42 +02:00
Paul Ferrand
da75095a9b Explicitely signify if a loop if present
Before we tried to "guess", which causes problems if a loop spans the entire file
2020-08-18 23:09:03 +02:00
Jean Pierre Cimalando
2eb12daf0c Add a test for surge and clm wavetable files 2020-08-09 22:58:48 +02:00
Paul Ferrand
96fd3d9c67 Move the "synth" tests mostly to inline files
Easier to read
2020-06-14 17:55:38 +02:00
Paul Ferrand
5e74f910c6 Correct a bug with sfz v1 velcurve
The velcurve logic now uses the same as sfz v2 curves
2020-05-29 23:30:53 +02:00
Jean Pierre Cimalando
d3f8a0bce1 Process $ expansions inside #include 2020-05-18 18:02:41 +02:00
Jean Pierre Cimalando
ec7b9bbb1f Add the realcc test 2020-05-15 00:25:37 +02:00
Jean Pierre Cimalando
7773474b18 Support the opcode set_hdccN 2020-05-14 23:54:57 +02:00
Jean Pierre Cimalando
2de8fe237f Add a test for key switch MIDNAM 2020-04-18 21:35:55 +02:00
Jean Pierre Cimalando
5f94e34230 Rename all: note label -> key label 2020-04-15 18:10:28 +02:00
Paul Fd
5a0aafa793 Parse label_noteNN and add getters for the labels in the internal API 2020-04-15 18:10:25 +02:00
Paul Fd
0fd1c235de Added a basic curve test 2020-04-14 18:00:59 +02:00
JP Cimalando
1e6c0da220
Merge pull request #171 from paulfd/master-polyphony
Handle group opcodes now reads the master opcodes
2020-04-11 23:47:53 +02:00
Paul Fd
c2360bad45 Feed master opcodes to the handleGroupOpcodes 2020-04-07 16:24:38 +02:00
Jean Pierre Cimalando
0dca7dbc5e Add tests for oscillator_multi 2020-04-04 23:18:00 +02:00
Paul Fd
5a10af74ed Set the envelope free-running also when loopmode=one_shot 2020-04-01 10:03:15 +02:00
Paul Ferrand
5ff31ae181 Add some polyphony tests 2020-03-29 12:52:34 +02:00
Paul Fd
e84af98d27 Added tests and a send to to_mix.sfz 2020-03-07 22:09:46 +01:00
Paul Fd
532cd88e96 Add some tests on effect gains 2020-03-07 21:27:26 +01:00
Paul Fd
9ce32c636c WIP tests 2020-03-06 11:20:18 +01:00
Paul Ferrand
e1c6c6c3de Updated the tests with release_key too 2020-02-19 14:04:59 +01:00
Paul Ferrand
f86d93c670 Corrected #63
- The envelope does not sustain if the region has `trigger=release`
- Change the envelope setup to pass the region rather than
individual envelope parameters
2020-02-19 14:04:59 +01:00
Paul Ferrand
2818c8e197
Added a default_path test case 2020-01-26 21:16:05 +01:00
Jean Pierre Cimalando
06755812db Mechanism for case-sensitivity on Unix-style OS, integration code by @paulfd 2020-01-26 20:38:59 +01:00
Paul Ferrand
cf5c0d9939 Removed the numpy test files 2020-01-19 10:51:54 +01:00
Paul Ferrand
7fbcf05486 Added a test with bad/removed regions 2020-01-04 16:33:02 +01:00
Paul Ferrand
6377451027 Added tests for note-offs 2019-12-29 23:00:57 +01:00
Paul Ferrand
3608b3145a Added tests for looped regions in files 2019-12-29 20:14:39 +01:00
Paul Ferrand
8e39ffc18e Remove the channels from the inner engine 2019-12-23 01:25:20 +01:00
Paul Ferrand
d6c49ef827 Corrected a bug in the release logic
The correct check was that the remaining delay is strictly more than 0, and added a max for good measure.
2019-12-22 10:45:25 +01:00
Paul Ferrand
92aaa2a17e Added proper support for off_modes 2019-12-21 21:24:49 +01:00
Paul Ferrand
ed7d5369a7 Added note_offset and octave_offset 2019-12-21 18:57:32 +01:00
Paul Ferrand
8bc0a9c2f5 Clear the default path on a new control header 2019-12-21 18:20:04 +01:00
Paul Ferrand
8d2be44c57 Change default_path to handle partial paths 2019-12-21 17:37:09 +01:00
Paul Ferrand
68bf0b132d Releasing in the initial delay kills the voice 2019-12-21 15:32:38 +01:00
Paul Ferrand
3f2184227a Generalize the define regex
Handle underscore in the variable name and negative numbers
2019-12-17 15:24:49 +01:00
Paul Ferrand
0d0298b1be Added a test for set_cc, with extended CCs 2019-12-17 14:07:26 +01:00
Paul Ferrand
dc879a8a07 Corrected a bug with default_path
Generators should ignore the default_path
2019-12-16 00:00:58 +01:00
Paul Ferrand
92254e8c98 Corrected a bug with default_path
The default path was not properly reset when loading a new file
2019-12-15 23:53:11 +01:00