Commit Graph

46 Commits

Author SHA1 Message Date
falkTX
0c2c794717 Remove yet another print 2016-07-17 16:31:16 +02:00
falkTX
e001761793 Comment out printf during run 2016-07-17 16:26:22 +02:00
falkTX
242815968d Don't use unsigned 2016-07-17 16:04:19 +02:00
falkTX
25ecafb56f Fix note-off timing (and crash) 2016-07-17 15:56:43 +02:00
falkTX
8fac001331 Correct offset 2016-07-17 15:25:51 +02:00
falkTX
a26418b7f4 Set offset when triggering samples 2016-07-17 15:05:03 +02:00
falkTX
a593de0836 Fix crash when saving state without a kit loaded 2015-05-09 20:35:18 +02:00
falkTX
f6e1a21108 Fix loading filenames starting with "file://" (used in lv2 presets) 2014-10-24 03:12:39 +01:00
falkTX
f7ae7079c9 Fix typos leading to state not being saved 2014-10-24 02:34:16 +01:00
Nick Lanham
8a0bcb4610 Updates for evolving LV2 spec. Fixes atom calls (now have atom in name) and state interface 2012-04-16 17:09:26 +02:00
Nick Lanham
8da1de3091 Communicate sample zero position to plugin so it can store/restore it, and code to actually do the store/restore 2012-04-03 23:38:41 +02:00
Nick Lanham
0dadd354c3 Store ignore state and get it from core properly 2012-04-03 22:53:16 +02:00
Nick Lanham
f2c4125869 Core: Have options for ignore velocity and note_off. UI: Toggle buttons for those core options 2012-04-02 13:57:29 +02:00
Nick Lanham
534525ce9b Use midi velocity to set intensity of sample. Core only 2012-04-02 11:35:08 +02:00
Nick Lanham
925f6b20a4 Allow sample to be triggered by clicking on notification led 2012-03-27 16:34:12 +02:00
Nick Lanham
ee8eb9179d Simple notification (flash frame border) for sample trigger 2012-03-26 13:44:28 +02:00
Nick Lanham
20893784fc Remove kit_num port 2012-03-25 20:52:22 +02:00
Nick Lanham
16d4bd4c3a Remove a few debugging messages 2012-03-25 19:20:19 +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
58ecf566fa Send notifications of kit load back to the ui 2012-03-23 14:19:57 +01:00
Nick Lanham
20e94c55fb Switch to using atoms to pass paths from ui to core for kit loading 2012-03-22 19:37:18 +01:00
Nick Lanham
990caaf510 Move to using atom instead of event. So far just pass midi via atom. 2012-03-22 14:15:00 +01:00
Nick Lanham
b9d1bc7040 No need for activate/deactive. Free when more than one prefix on knob is set 2012-02-25 11:33:22 +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
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
d76a3fcee4 Make midi base note a control 2012-02-14 15:39:53 +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
11d60f0e5b Play layer 0 when no appropriate layer could be found 2012-02-13 16:33:51 +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
c8a7423e3e Add gtk ui and make pan controls work 2012-02-13 11:24:26 +01:00
Nick Lanham
d36035e0ab Bump gains to 32. Add pans pointer (no controls yet) 2012-02-12 21:40:12 +01:00
Nick Lanham
ba2b776b0b Fix gain calculation 2012-02-12 13:33:38 +01:00
Nick Lanham
8ed58ec1c6 Move load_sample into drmr_hydrogen.c 2012-02-07 21:33:20 +01:00
Nick Lanham
c31bea22f5 Free things properly in cleanup 2012-02-07 21:30:32 +01:00
Nick Lanham
7e857abd89 Be a bit less clever but more correct about copying sample data 2012-02-07 21:25:43 +01:00
Nick Lanham
cd1e3f90b3 Set samples to NULL to avoid double free 2012-02-07 21:19:44 +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
e608ed3906 remove printf, fix error message 2012-02-07 12:54:42 +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
a4c2826def Add per sample gains (up to sixteen) 2012-02-07 09:31:51 +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