spectmorph.git
3 months agoVST: add chunk size test test-chunk-size
Stefan Westerfeld [Sat, 1 Dec 2018 17:30:34 +0000 (18:30 +0100)]
VST: add chunk size test

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
3 months agoSRC: add config entry for chunk size test
Stefan Westerfeld [Sat, 1 Dec 2018 17:30:11 +0000 (18:30 +0100)]
SRC: add config entry for chunk size test

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
3 months agoLIB: Instrument: fix unsafe data sharing between threads (using shared_ptr)
Stefan Westerfeld [Wed, 21 Nov 2018 13:19:48 +0000 (14:19 +0100)]
LIB: Instrument: fix unsafe data sharing between threads (using shared_ptr)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
3 months agoINSPECTOR: inspect1: insert mandatory version entry
Stefan Westerfeld [Wed, 21 Nov 2018 12:28:11 +0000 (13:28 +0100)]
INSPECTOR: inspect1: insert mandatory version entry

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoINSTEDIT: TODO~
Stefan Westerfeld [Mon, 19 Nov 2018 20:56:03 +0000 (21:56 +0100)]
INSTEDIT: TODO~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: avoid costly sha1 hash for simple cache lookup
Stefan Westerfeld [Mon, 19 Nov 2018 20:52:13 +0000 (21:52 +0100)]
LIB: avoid costly sha1 hash for simple cache lookup

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: WavSetBuilder: move actual clipping to cache for performance reasions
Stefan Westerfeld [Mon, 19 Nov 2018 20:39:25 +0000 (21:39 +0100)]
LIB: WavSetBuilder: move actual clipping to cache for performance reasions

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: adapt to changes in Sample WavData member
Stefan Westerfeld [Mon, 19 Nov 2018 20:13:09 +0000 (21:13 +0100)]
GLUI: adapt to changes in Sample WavData member

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: Instrument: enforce Sample WavData can't be changed
Stefan Westerfeld [Mon, 19 Nov 2018 20:12:36 +0000 (21:12 +0100)]
LIB: Instrument: enforce Sample WavData can't be changed

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: Encoder: make functions private that are not to be used from outside
Stefan Westerfeld [Mon, 19 Nov 2018 18:02:14 +0000 (19:02 +0100)]
LIB: Encoder: make functions private that are not to be used from outside

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: smenc: use new EncoderParams::setup_params() function
Stefan Westerfeld [Mon, 19 Nov 2018 17:43:18 +0000 (18:43 +0100)]
SRC: smenc: use new EncoderParams::setup_params() function

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: EncoderParams: add function to initialize params with defaults
Stefan Westerfeld [Mon, 19 Nov 2018 17:40:58 +0000 (18:40 +0100)]
LIB: EncoderParams: add function to initialize params with defaults

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTESTS: adapt tests to new window passing policy
Stefan Westerfeld [Mon, 19 Nov 2018 17:08:09 +0000 (18:08 +0100)]
TESTS: adapt tests to new window passing policy

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: smenc: pass window via EncoderParams
Stefan Westerfeld [Mon, 19 Nov 2018 17:07:41 +0000 (18:07 +0100)]
SRC: smenc: pass window via EncoderParams

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: Encoder: pass window as a part of EncoderParams
Stefan Westerfeld [Mon, 19 Nov 2018 17:06:55 +0000 (18:06 +0100)]
LIB: Encoder: pass window as a part of EncoderParams

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: cleanup EncoderParams initialization
Stefan Westerfeld [Mon, 19 Nov 2018 16:34:24 +0000 (17:34 +0100)]
LIB: cleanup EncoderParams initialization

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: smsfimport: support .sminst file format output
Stefan Westerfeld [Mon, 19 Nov 2018 16:16:57 +0000 (17:16 +0100)]
TOOLS: smsfimport: support .sminst file format output

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: Instrument: return Sample* upon successful add
Stefan Westerfeld [Mon, 19 Nov 2018 14:48:23 +0000 (15:48 +0100)]
LIB: Instrument: return Sample* upon successful add

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: smsfimport: avoid using namespace SpectMorph
Stefan Westerfeld [Mon, 19 Nov 2018 14:31:48 +0000 (15:31 +0100)]
TOOLS: smsfimport: avoid using namespace SpectMorph

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoINSTEDIT: TODO~
Stefan Westerfeld [Mon, 19 Nov 2018 12:48:41 +0000 (13:48 +0100)]
INSTEDIT: TODO~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: sminstbuilder: support clipped export - for mirko-ah and mirko-oh
Stefan Westerfeld [Mon, 19 Nov 2018 11:49:52 +0000 (12:49 +0100)]
TOOLS: sminstbuilder: support clipped export - for mirko-ah and mirko-oh

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: LiveDecoder: correctly report playback pos with zero values at start
Stefan Westerfeld [Sun, 18 Nov 2018 17:24:11 +0000 (18:24 +0100)]
LIB: LiveDecoder: correctly report playback pos with zero values at start

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoINSTEDIT: TODO--
Stefan Westerfeld [Fri, 16 Nov 2018 20:20:00 +0000 (21:20 +0100)]
INSTEDIT: TODO--

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: sminstbuilder: take clip start into account when converting loop positions
Stefan Westerfeld [Fri, 16 Nov 2018 20:18:59 +0000 (21:18 +0100)]
TOOLS: sminstbuilder: take clip start into account when converting loop positions

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: smwavset: fix loop frame number -> loop time ms conversion
Stefan Westerfeld [Fri, 16 Nov 2018 20:17:51 +0000 (21:17 +0100)]
SRC: smwavset: fix loop frame number -> loop time ms conversion

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: WavSetBuilder: fix loop time ms -> frame number conversion
Stefan Westerfeld [Fri, 16 Nov 2018 20:16:41 +0000 (21:16 +0100)]
LIB: WavSetBuilder: fix loop time ms -> frame number conversion

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoINSTEDIT: TODO+++
Stefan Westerfeld [Fri, 16 Nov 2018 17:53:27 +0000 (18:53 +0100)]
INSTEDIT: TODO+++

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agosmfcompare: compare some of the meta data as well (loop parameters, ...)
Stefan Westerfeld [Fri, 16 Nov 2018 17:47:02 +0000 (18:47 +0100)]
smfcompare: compare some of the meta data as well (loop parameters, ...)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: WavData: enforce bit depth for loading/creation
Stefan Westerfeld [Fri, 16 Nov 2018 16:32:20 +0000 (17:32 +0100)]
LIB: WavData: enforce bit depth for loading/creation

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoINSPECTOR: supply bit depth where needed
Stefan Westerfeld [Fri, 16 Nov 2018 16:30:27 +0000 (17:30 +0100)]
INSPECTOR: supply bit depth where needed

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: smsfimport: set bit depth before saving WavData
Stefan Westerfeld [Fri, 16 Nov 2018 16:27:49 +0000 (17:27 +0100)]
TOOLS: smsfimport: set bit depth before saving WavData

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: ascii2wav: support setting bit depth for export
Stefan Westerfeld [Fri, 16 Nov 2018 16:24:42 +0000 (17:24 +0100)]
TOOLS: ascii2wav: support setting bit depth for export

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: tld: supply bit depth
Stefan Westerfeld [Fri, 16 Nov 2018 16:19:37 +0000 (17:19 +0100)]
TOOLS: tld: supply bit depth

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: imiscutter: preserve bit depth on export
Stefan Westerfeld [Fri, 16 Nov 2018 16:17:50 +0000 (17:17 +0100)]
TOOLS: imiscutter: preserve bit depth on export

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: smlive: support --bits to set export bit depth
Stefan Westerfeld [Fri, 16 Nov 2018 16:16:32 +0000 (17:16 +0100)]
TOOLS: smlive: support --bits to set export bit depth

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: sampleedit: preserve bit depth
Stefan Westerfeld [Fri, 16 Nov 2018 16:11:28 +0000 (17:11 +0100)]
TOOLS: sampleedit: preserve bit depth

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTESTS: add WavData bit depth where appropriate
Stefan Westerfeld [Fri, 16 Nov 2018 16:10:37 +0000 (17:10 +0100)]
TESTS: add WavData bit depth where appropriate

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: smenc: set bit depth for text import
Stefan Westerfeld [Fri, 16 Nov 2018 16:05:48 +0000 (17:05 +0100)]
SRC: smenc: set bit depth for text import

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: smplay: cleanup constructor defaults
Stefan Westerfeld [Fri, 16 Nov 2018 16:04:28 +0000 (17:04 +0100)]
SRC: smplay: cleanup constructor defaults

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: smplay: support export bit depth > 16
Stefan Westerfeld [Fri, 16 Nov 2018 16:01:33 +0000 (17:01 +0100)]
SRC: smplay: support export bit depth > 16

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: use bit depth from original WavData where appropriate
Stefan Westerfeld [Fri, 16 Nov 2018 15:57:45 +0000 (16:57 +0100)]
LIB: use bit depth from original WavData where appropriate

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: add basic bit depth support to WavData
Stefan Westerfeld [Fri, 16 Nov 2018 15:53:41 +0000 (16:53 +0100)]
LIB: add basic bit depth support to WavData

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: smtool: tuning/normalization has been moved to AudioTool
Stefan Westerfeld [Fri, 16 Nov 2018 12:45:05 +0000 (13:45 +0100)]
SRC: smtool: tuning/normalization has been moved to AudioTool

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: add actual smooth tuning implementation for WavSetBuilder
Stefan Westerfeld [Thu, 15 Nov 2018 16:32:35 +0000 (17:32 +0100)]
LIB: add actual smooth tuning implementation for WavSetBuilder

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: Instrument: load/save smooth tuning parameters
Stefan Westerfeld [Thu, 15 Nov 2018 16:17:48 +0000 (17:17 +0100)]
LIB: Instrument: load/save smooth tuning parameters

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: improve saving code for auto_tune and auto_volume elements
Stefan Westerfeld [Thu, 15 Nov 2018 16:10:10 +0000 (17:10 +0100)]
LIB: improve saving code for auto_tune and auto_volume elements

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: use instrument encoder config keys when building a WavSet
Stefan Westerfeld [Thu, 15 Nov 2018 15:47:33 +0000 (16:47 +0100)]
LIB: use instrument encoder config keys when building a WavSet

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: add convenience function for sha1 hash of strings
Stefan Westerfeld [Thu, 15 Nov 2018 15:46:06 +0000 (16:46 +0100)]
LIB: add convenience function for sha1 hash of strings

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: Instrument: support loading/saving encoder config entries
Stefan Westerfeld [Thu, 15 Nov 2018 15:43:37 +0000 (16:43 +0100)]
LIB: Instrument: support loading/saving encoder config entries

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: EncoderParams: add API for manually setting config parameters
Stefan Westerfeld [Thu, 15 Nov 2018 15:42:25 +0000 (16:42 +0100)]
LIB: EncoderParams: add API for manually setting config parameters

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: handle encoder config items in sminstbuilder export
Stefan Westerfeld [Thu, 15 Nov 2018 14:28:20 +0000 (15:28 +0100)]
TOOLS: handle encoder config items in sminstbuilder export

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: smtool: implmented simple smset => sm command: extract-sm
Stefan Westerfeld [Thu, 15 Nov 2018 14:22:53 +0000 (15:22 +0100)]
SRC: smtool: implmented simple smset => sm command: extract-sm

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: WavSetBuilder: improved clipping code
Stefan Westerfeld [Thu, 15 Nov 2018 14:03:50 +0000 (15:03 +0100)]
LIB: WavSetBuilder: improved clipping code

clip start/end ms => sample position conversion is now properly rounded

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: add smfcompare - debug tool to compare binary contents of .smset files
Stefan Westerfeld [Wed, 14 Nov 2018 17:28:11 +0000 (18:28 +0100)]
TOOLS: add smfcompare - debug tool to compare binary contents of .smset files

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTESTS: add wav data normalization test
Stefan Westerfeld [Wed, 14 Nov 2018 14:25:20 +0000 (15:25 +0100)]
TESTS: add wav data normalization test

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: WavData: fix normalization issues caused by libsndfile float API
Stefan Westerfeld [Wed, 14 Nov 2018 14:23:49 +0000 (15:23 +0100)]
LIB: WavData: fix normalization issues caused by libsndfile float API

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: use deterministic random values for attack envelope
Stefan Westerfeld [Sun, 11 Nov 2018 16:59:50 +0000 (17:59 +0100)]
LIB: use deterministic random values for attack envelope

Running the encoder twice should produce the same attack envelope, which is
better for debugging.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTESTS: avg_energy: produce useful result (-200) if energy delta is zero
Stefan Westerfeld [Sun, 11 Nov 2018 13:20:44 +0000 (14:20 +0100)]
TESTS: avg_energy: produce useful result (-200) if energy delta is zero

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agogitignore
Stefan Westerfeld [Sun, 11 Nov 2018 12:45:45 +0000 (13:45 +0100)]
gitignore

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: Menu: fix class vs. struct clang warning
Stefan Westerfeld [Sat, 10 Nov 2018 17:41:53 +0000 (18:41 +0100)]
GLUI: Menu: fix class vs. struct clang warning

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: remove unnecessary checks in BinBuffer (size_t is always >= 0)
Stefan Westerfeld [Sat, 10 Nov 2018 17:40:46 +0000 (18:40 +0100)]
LIB: remove unnecessary checks in BinBuffer (size_t is always >= 0)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: fix inconsistent override clang warning
Stefan Westerfeld [Sat, 10 Nov 2018 17:40:21 +0000 (18:40 +0100)]
GLUI: fix inconsistent override clang warning

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoVST: build against static sndfile, flac, ogg, vorbis on macOS
Stefan Westerfeld [Sat, 10 Nov 2018 17:05:46 +0000 (18:05 +0100)]
VST: build against static sndfile, flac, ogg, vorbis on macOS

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: avoid auto lambda parameters (would require C++14)
Stefan Westerfeld [Sat, 10 Nov 2018 17:05:10 +0000 (18:05 +0100)]
LIB: avoid auto lambda parameters (would require C++14)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoMACOS: add static libs sndfile, flac, ogg, vorbis as dependency
Stefan Westerfeld [Sat, 10 Nov 2018 17:03:25 +0000 (18:03 +0100)]
MACOS: add static libs sndfile, flac, ogg, vorbis as dependency

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: add tune-all-frames auto-tune method
Stefan Westerfeld [Fri, 9 Nov 2018 16:51:09 +0000 (17:51 +0100)]
GLUI: add tune-all-frames auto-tune method

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: add tune-all-frames auto-tune method
Stefan Westerfeld [Fri, 9 Nov 2018 16:50:50 +0000 (17:50 +0100)]
LIB: add tune-all-frames auto-tune method

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: adapt to new Instrument::AutoVolume param struct
Stefan Westerfeld [Fri, 9 Nov 2018 16:23:37 +0000 (17:23 +0100)]
GLUI: adapt to new Instrument::AutoVolume param struct

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: implement additional auto volume method: global volume
Stefan Westerfeld [Fri, 9 Nov 2018 16:23:06 +0000 (17:23 +0100)]
LIB: implement additional auto volume method: global volume

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: better sminstbuilder export for auto tune|volume
Stefan Westerfeld [Fri, 9 Nov 2018 15:47:24 +0000 (16:47 +0100)]
TOOLS: better sminstbuilder export for auto tune|volume

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: Instrument: save/load auto_tune & auto_volume
Stefan Westerfeld [Fri, 9 Nov 2018 15:29:23 +0000 (16:29 +0100)]
LIB: Instrument: save/load auto_tune & auto_volume

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: split Instrument implementation into header/source file
Stefan Westerfeld [Fri, 9 Nov 2018 13:19:45 +0000 (14:19 +0100)]
LIB: split Instrument implementation into header/source file

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: add checkbox support for auto-tune
Stefan Westerfeld [Fri, 9 Nov 2018 12:46:37 +0000 (13:46 +0100)]
GLUI: add checkbox support for auto-tune

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: use auto tune from AudioTool
Stefan Westerfeld [Fri, 9 Nov 2018 12:33:34 +0000 (13:33 +0100)]
SRC: use auto tune from AudioTool

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: add auto tune support to Instrument
Stefan Westerfeld [Fri, 9 Nov 2018 11:07:13 +0000 (12:07 +0100)]
LIB: add auto tune support to Instrument

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: AudioTool: add basic auto tuning
Stefan Westerfeld [Fri, 9 Nov 2018 11:05:01 +0000 (12:05 +0100)]
LIB: AudioTool: add basic auto tuning

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTESTS: make WavSetBuilder keep samples optional (performance, file size)
Stefan Westerfeld [Thu, 8 Nov 2018 15:32:52 +0000 (16:32 +0100)]
TESTS: make WavSetBuilder keep samples optional (performance, file size)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: make WavSetBuilder keep samples optional (performance, file size)
Stefan Westerfeld [Thu, 8 Nov 2018 15:32:39 +0000 (16:32 +0100)]
SRC: make WavSetBuilder keep samples optional (performance, file size)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: make WavSetBuilder keep samples optional (performance, file size)
Stefan Westerfeld [Thu, 8 Nov 2018 15:32:29 +0000 (16:32 +0100)]
GLUI: make WavSetBuilder keep samples optional (performance, file size)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: make WavSetBuilder keep samples optional (performance, file size)
Stefan Westerfeld [Thu, 8 Nov 2018 15:32:15 +0000 (16:32 +0100)]
LIB: make WavSetBuilder keep samples optional (performance, file size)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: make switch to sample a bit more correct
Stefan Westerfeld [Thu, 8 Nov 2018 15:17:38 +0000 (16:17 +0100)]
GLUI: make switch to sample a bit more correct

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: improve instrument editor drawing
Stefan Westerfeld [Thu, 8 Nov 2018 15:00:20 +0000 (16:00 +0100)]
GLUI: improve instrument editor drawing

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: draw normalized sample if auto volume is active
Stefan Westerfeld [Thu, 8 Nov 2018 14:55:14 +0000 (15:55 +0100)]
GLUI: draw normalized sample if auto volume is active

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: put original samples into WavSetBuilder result
Stefan Westerfeld [Thu, 8 Nov 2018 14:54:24 +0000 (15:54 +0100)]
LIB: put original samples into WavSetBuilder result

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: allow storing analysis data (Audio) within the Instrument
Stefan Westerfeld [Thu, 8 Nov 2018 14:53:55 +0000 (15:53 +0100)]
LIB: allow storing analysis data (Audio) within the Instrument

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoGLUI: provide UI for auto volume adjust, prototype others
Stefan Westerfeld [Wed, 7 Nov 2018 17:58:52 +0000 (18:58 +0100)]
GLUI: provide UI for auto volume adjust, prototype others

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: WavSetBuilder now supports automatic volume normalization
Stefan Westerfeld [Wed, 7 Nov 2018 17:57:38 +0000 (18:57 +0100)]
LIB: WavSetBuilder now supports automatic volume normalization

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: provide auto_volume option in Instrument class
Stefan Westerfeld [Wed, 7 Nov 2018 17:57:06 +0000 (18:57 +0100)]
LIB: provide auto_volume option in Instrument class

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: provide functions for audio volume adjustment in AudioTool
Stefan Westerfeld [Wed, 7 Nov 2018 17:56:32 +0000 (18:56 +0100)]
LIB: provide functions for audio volume adjustment in AudioTool

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: add AudioTool energy computation
Stefan Westerfeld [Tue, 6 Nov 2018 16:07:25 +0000 (17:07 +0100)]
LIB: add AudioTool energy computation

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTESTS: test AudioTool volume computation
Stefan Westerfeld [Tue, 6 Nov 2018 15:31:26 +0000 (16:31 +0100)]
TESTS: test AudioTool volume computation

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: add AudioTool header, provide basic AudioBlock -> energy estimation
Stefan Westerfeld [Tue, 6 Nov 2018 15:29:52 +0000 (16:29 +0100)]
LIB: add AudioTool header, provide basic AudioBlock -> energy estimation

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTESTS: add AudioBlock -> BlockEnergy estimation test
Stefan Westerfeld [Tue, 6 Nov 2018 15:05:59 +0000 (16:05 +0100)]
TESTS: add AudioBlock -> BlockEnergy estimation test

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: provide new smwavset command: build -> builds smset from sminst file
Stefan Westerfeld [Tue, 6 Nov 2018 13:45:19 +0000 (14:45 +0100)]
SRC: provide new smwavset command: build -> builds smset from sminst file

Mainly useful for debugging.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoTOOLS: sminstbuilder --export now exports loop markers, too
Stefan Westerfeld [Mon, 5 Nov 2018 17:31:20 +0000 (18:31 +0100)]
TOOLS: sminstbuilder --export now exports loop markers, too

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoSRC: add smwavset option to export loop markers in ms
Stefan Westerfeld [Mon, 5 Nov 2018 17:30:43 +0000 (18:30 +0100)]
SRC: add smwavset option to export loop markers in ms

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: cleanup InstEncCache API
Stefan Westerfeld [Mon, 5 Nov 2018 15:58:19 +0000 (16:58 +0100)]
LIB: cleanup InstEncCache API

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: use sha1 instead of sha256 for blob deduplication
Stefan Westerfeld [Mon, 5 Nov 2018 13:38:35 +0000 (14:38 +0100)]
LIB: use sha1 instead of sha256 for blob deduplication

Using sha1 is faster, but still correct.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: InstEncCache: adapt to new InstEncoder API
Stefan Westerfeld [Sun, 4 Nov 2018 19:56:56 +0000 (20:56 +0100)]
LIB: InstEncCache: adapt to new InstEncoder API

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
4 months agoLIB: change InstEncoder API: output to filename => output to Audio object
Stefan Westerfeld [Sun, 4 Nov 2018 19:55:20 +0000 (20:55 +0100)]
LIB: change InstEncoder API: output to filename => output to Audio object

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>