Commit Graph

26 Commits

Author SHA1 Message Date
falkTX
25ecafb56f Fix note-off timing (and crash) 2016-07-17 15:56:43 +02:00
Nick Lanham
1715d437e9 Add state support and startup state polling for the ui 2012-03-25 18:10:49 +02:00
Nick Lanham
8f635353df Don't keep filename around if only scanning 2012-02-21 13:39:14 +01:00
Nick Lanham
6bb66abca2 Keep empty instruments in sample list, to match up with hydrogen layout. NB: this will break existing patterns created against older versions of DrMr that used kits with empty instruments. Sorry about that. 2012-02-21 13:16:37 +01:00
Nick Lanham
bf7262d12f Get instrument names during a scan-only parse 2012-02-21 12:53:29 +01:00
Nick Lanham
8b334e9b67 Add parser test (usually ifdefed out) 2012-02-21 10:29:54 +01:00
Nick Lanham
fd14574c5f Oops, walk layer list properly to free filenames. Fixes segfault when loading multi-layer kits. 2012-02-18 15:50:49 +01:00
Nick Lanham
72205464a9 Fix some memory leaks when loading a kit 2012-02-17 12:16:40 +01:00
Nick Lanham
7252cb8b51 Fix a mem leak 2012-02-17 12:08:24 +01:00
Nick Lanham
f6a8f9a514 Number of fixes: don't hold mutex while loading, fix ui crash when kit index out of range, don't load negative kit indexes, respond to midi base note port events.
Most important here is that the mutex change means the run loop with not block for a significant period ever, which previously was causing the jack thread to get zombified.
2012-02-15 22:56:08 +01:00
Nick Lanham
61bb1fe89e Use -Wall, and clean-up things so no warnings 2012-02-15 12:20:11 +01:00
Nick Lanham
c284a0ba8e Opps, use second buffer so as not to clobber path 2012-02-15 12:17:14 +01:00
Nick Lanham
f109726bd7 Expand paths with ~ with HOME environment variable.
Also: add a bit of doc about default_drumkit_locations and RATE_CONV_QUALITY
2012-02-14 12:16:35 +01:00
Nick Lanham
48bf1f33b9 Use libsamplerate to convert samples not at the same rate as the plugin is running at
This adds a dependency on libsamplerate
2012-02-14 12:03:18 +01:00
Nick Lanham
b93495a770 Scan /usr/share/drmr/drumkits and ~/.drmr/drumkits for kits. Don't warn if a dir to scan doesn't exist 2012-02-13 16:41:29 +01:00
Nick Lanham
dc17012ed6 Free up scanned kit memory on cleanup. Fixes a memory leak 2012-02-13 16:20:29 +01:00
Nick Lanham
45b2eeae22 Lots of fixes (multi-layer, ui):
- Fix ui to properly re-init sample table
- Fix ui to only adjust existing sliders
- Actually load multi-layer kits
- Play correct layer for multi-layer
2012-02-13 16:11:30 +01:00
Nick Lanham
9e760341b4 Make parser layer aware 2012-02-13 12:57:32 +01:00
Nick Lanham
c8a7423e3e Add gtk ui and make pan controls work 2012-02-13 11:24:26 +01:00
Nick Lanham
8ed58ec1c6 Move load_sample into drmr_hydrogen.c 2012-02-07 21:33:20 +01:00
Nick Lanham
4809e697c0 Fix a few race conditions and handle unloadable samples better 2012-02-07 21:08:33 +01:00
Nick Lanham
e7ed85db4d Add license info (GPL3) 2012-02-07 12:52:59 +01:00
Nick Lanham
9c1e713914 Fix some segfaults for kits with invalid instrument entries. Also fix a couple in internal segfaults. 2012-02-07 12:22:26 +01:00
Nick Lanham
a2e14e6652 Control to set kit index 2012-02-07 12:00:07 +01:00
Nick Lanham
44cd116946 Scan for hydrogen kits 2012-02-07 10:59:24 +01:00
Nick Lanham
1976f033a3 initial commit, working basics.
- loads a hard-coded hydrogen kit
- repsonds to midi
- no individual control
- no gui
2012-02-06 22:54:18 +01:00