JP Cimalando
0e33784307
Merge pull request #543 from jpcima/fix-with-sndfile-2
...
Make sure to expose widechar sndfile API
2020-11-04 10:46:46 +01:00
Jean Pierre Cimalando
65ca3adf65
Allow sfizz library targets to expose st_audiofile publicly
...
This fixes the problems with programs which link sfizz internal
API: the tests, benchmarks, demos. The MSVC comfiguration would
fail to fail "sndfile.h" while building the tests.
2020-11-04 10:17:04 +01:00
Jean Pierre Cimalando
d5f49595d3
Make sure to expose widechar sndfile API
2020-11-04 09:53:59 +01:00
JP Cimalando
38ac7cf66f
Merge pull request #542 from jpcima/fix-with-sndfile
...
Fix with sndfile
2020-11-04 09:42:41 +01:00
Jean Pierre Cimalando
0bcf626786
Fix AudioReader::getInstrument under libsndfile
2020-11-04 08:55:34 +01:00
Jean Pierre Cimalando
cda079eef8
Fix the sndfile conditional not well handled in demo programs
...
The conditional ST_AUDIO_FILE_USE_SNDFILE appears in private headers,
which are used by some demo programs. Linking to sfizz does not inherit
this flag, and FileInstrument gets wrong values for loop constants.
2020-11-04 08:45:57 +01:00
Paul Ferrand
a906b6e927
Updated libaiff
2020-11-04 08:28:44 +01:00
Jean Pierre Cimalando
af7ee06a81
Fix a pkg-config error in some situations
2020-11-01 15:11:14 +01:00
JP Cimalando
621d46d085
Merge pull request #539 from jpcima/demos
...
Separate demos programs and unit tests
2020-11-01 11:49:12 +01:00
Jean Pierre Cimalando
3fc7d70f1f
Update libaiff in attempt to fix MSVC errors
2020-11-01 11:27:41 +01:00
Jean Pierre Cimalando
f6b148aad3
Organize cxxopts as external library
2020-11-01 10:57:41 +01:00
Jean Pierre Cimalando
3332687a41
Move feature out of tests and in their own directory
2020-11-01 10:56:49 +01:00
Jean Pierre Cimalando
d8e8a46729
Fix a mismatch of struct/class
2020-11-01 10:26:53 +01:00
Paul Ferrand
5d90b2a82c
Merge pull request #533 from paulfd/voice-synth-pimpl
...
Refactor of Synth and Voice into a pimpl pattern
2020-11-01 10:09:06 +01:00
Jean Pierre Cimalando
2863e5aedf
Keep the cmake minimum required to 3.5
2020-11-01 10:05:33 +01:00
Paul Ferrand
faadb70b02
Include cleanups
2020-11-01 09:10:53 +01:00
Paul Ferrand
cfae639d5f
Final cleanups
2020-11-01 08:33:18 +01:00
Paul Ferrand
81a4ed22eb
Final refactor into VoiceManager
...
Cleanups..
2020-11-01 08:33:18 +01:00
Paul Ferrand
1b87fa3764
Move even more stuff in the voiceList_
2020-11-01 08:33:18 +01:00
Paul Ferrand
4aeb12446e
move findFreeVoice to the voiceList
2020-11-01 08:33:18 +01:00
Paul Ferrand
1fcfbdbaf7
move getNumActiveVoices in the voiceList
2020-11-01 08:33:18 +01:00
Paul Ferrand
ed151880d9
Move the polyphony logic in the voice list and refactor
2020-11-01 08:33:18 +01:00
Paul Ferrand
0f7fadc7a9
Cave in for clang-tidy
2020-11-01 08:33:18 +01:00
Paul Ferrand
13ff2350d3
Move the playing attack voice method in the voiceList
2020-11-01 08:33:18 +01:00
Paul Ferrand
887f475317
Cosmetics
2020-11-01 08:33:18 +01:00
Paul Ferrand
f21864cdc7
Reinsert default hdcc
2020-11-01 08:33:18 +01:00
Paul Ferrand
77e3562f2b
Mark moves noexcept and remove the assert
2020-11-01 08:33:18 +01:00
Paul Ferrand
3214211a06
Refactor of Synth and Voice into a pimpl pattern
2020-11-01 08:33:18 +01:00
Jean Pierre Cimalando
b646cfc8a1
Accelerate libaiff byte-swapping
2020-11-01 08:08:50 +01:00
Jean Pierre Cimalando
c0413720a6
Accelerate the AIFF reader significantly
2020-11-01 07:57:57 +01:00
Jean Pierre Cimalando
89441894a8
Update libaiff for a compressed file speedup
2020-11-01 07:18:11 +01:00
JP Cimalando
0cff698361
Merge pull request #532 from jpcima/restore-sfz-path
...
VST state file search
2020-11-01 07:05:21 +01:00
JP Cimalando
a53c0b5d46
Merge pull request #538 from jpcima/wav-chunk-padding
...
Process WAV chunk padding correctly
2020-11-01 04:36:34 +01:00
Jean Pierre Cimalando
7bde1e32ec
Process WAV chunk padding correctly
2020-11-01 04:34:09 +01:00
JP Cimalando
391fb7ab5b
Merge pull request #536 from jpcima/aiff
...
Support AIFF files
2020-11-01 04:31:28 +01:00
Paul Ferrand
04bb6d2dae
Merge pull request #537 from paulfd/appveyor-tests
...
Enable tests on appveyor
2020-11-01 00:10:13 +01:00
Paul Ferrand
adc7bb9a8a
enable tests on appveyor
2020-10-31 20:52:38 +01:00
Jean Pierre Cimalando
b39fa44c98
Add libaiff to makefiles [ci skip]
2020-10-31 16:15:35 +01:00
Jean Pierre Cimalando
b40f93afba
Skip building audiofile libs if using sndfile
2020-10-31 16:12:02 +01:00
Jean Pierre Cimalando
03fb748fc1
Update libaiff for PCM->float speedup
2020-10-31 16:04:39 +01:00
Jean Pierre Cimalando
0825f034c2
Support the AIFF instrument
2020-10-31 15:32:58 +01:00
Jean Pierre Cimalando
ef7a1969d3
Support loading AIFF files
2020-10-31 15:32:45 +01:00
JP Cimalando
ed98c366b1
Merge pull request #535 from jpcima/st-audiofile-bugfix
...
Fix st-audiofile bug which may prevent opening MP3
2020-10-31 12:10:13 +01:00
Jean Pierre Cimalando
1df11d072b
Fix st-audiofile bug which may prevent opening MP3
2020-10-31 12:09:40 +01:00
JP Cimalando
9aded8ce4f
Merge pull request #534 from paulfd/audiofile-leaks
...
Free the audiofile structs on `st_close`
2020-10-30 13:57:16 +01:00
Paul Ferrand
db5911f811
Free the audiofile structs on st_close
...
Otherwise they leak
2020-10-30 11:49:22 +01:00
Jean Pierre Cimalando
e254fe021d
Stop path scoring at the first component mismatch
2020-10-30 08:36:52 +01:00
Jean Pierre Cimalando
73051b7135
Improve complexity of the file scoring
2020-10-30 08:17:20 +01:00
Jean Pierre Cimalando
59e939e907
Ensure utf-8 to be used as path encoding
2020-10-30 08:11:17 +01:00
Jean Pierre Cimalando
f1053aa31b
Add a debugging helper to dump the trie
2020-10-30 08:05:54 +01:00