Commit Graph

39 Commits

Author SHA1 Message Date
falkTX
f6e1a21108 Fix loading filenames starting with "file://" (used in lv2 presets) 2014-10-24 03:12:39 +01:00
Peter Nelson
79f48b9eee Check presence and number of samples before triggering activity LED 2013-02-15 22:44:08 +00:00
Peter Nelson
190c9f3a36 Move activity LED next to knobs to save screen estate 2013-02-13 15:29:31 +00:00
Peter Nelson
7e467e3a74 Fix crash on plugin close due to free on uninitialised pointer 2013-02-13 15:24:39 +00: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
925f6b20a4 Allow sample to be triggered by clicking on notification led 2012-03-27 16:34:12 +02:00
Nick Lanham
b5f2a60d44 Check that range is valid in case callback happens before ui is fully built 2012-03-27 16:02:30 +02:00
Nick Lanham
b219c64dc5 Switch to using led images for trigger notification 2012-03-27 16:02:11 +02:00
Nick Lanham
ee8eb9179d Simple notification (flash frame border) for sample trigger 2012-03-26 13:44:28 +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
dc2872309c Add a label for the currently loaded kit 2012-03-23 14:57:34 +01: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
1a624dd489 Need an extra row if there aren't a multiple of the # of samples columns 2012-03-17 16:37:46 +01:00
Nick Lanham
c4db0d29a0 Allow setting of sample zero position, and add compiler options to change default 2012-03-16 14:20:24 +01:00
Nick Lanham
d3cc0531bf Don't use hard coded path for knob image, use bundle-path from lv2 host 2012-02-23 14:12:03 +01:00
Nick Lanham
cdbbe334f1 Put sample # in ()s after sample name in frame title 2012-02-23 13:17:28 +01:00
Nick Lanham
e4de7f2924 Only destroy ourselves if we haven't already been destroyed 2012-02-23 12:54:39 +01:00
Nick Lanham
2944f6762c Add option to cmake to use old style sliders 2012-02-23 12:54:39 +01:00
Nick Lanham
8081a768c4 Change packing, include nknob.c in build 2012-02-23 12:54:38 +01:00
Nick Lanham
3030202fa4 Use nknobs instead of sliders 2012-02-23 12:54:38 +01:00
Nick Lanham
fedf1a87a6 Don't ignore port_events for gain/pan if I haven't shown the ui yet, just remember them. 2012-02-23 12:52:53 +01:00
Nick Lanham
b3dd5bb1b2 Set frame names to instrument names 2012-02-21 13:00:24 +01:00
Nick Lanham
06c5522d12 Fix slider callbacks (return FALSE so can drag without port event). Zero gain/pan vals. Set size requests on ranges. 2012-02-17 15:23:02 +01:00
Nick Lanham
7c178e31cc Store previous gain/pan values to restore to sliders when we init a new kit 2012-02-17 14:18:53 +01:00
Nick Lanham
2cb080285b Use change-value signal which behaves much more sensibly 2012-02-16 19:24:29 +01:00
Nick Lanham
68d8b449cf Don't set gain value after callback is set, since we'll then write it back to the ui 2012-02-16 19:07:42 +01:00
Nick Lanham
a678e1b12e Hide combo and show no kit label when an invalid kit index or kit is specified 2012-02-16 12:55:59 +01:00
Nick Lanham
632b68e7c4 Update UI when changing kit_combo after 100 milliseconds to deal with hosts that don't send back port events 2012-02-16 12:45:47 +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
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
85a7e73969 Actually change kit on dropdown select 2012-02-13 12:02:17 +01:00
Nick Lanham
c8a7423e3e Add gtk ui and make pan controls work 2012-02-13 11:24:26 +01:00