Nick Lanham
534525ce9b
Use midi velocity to set intensity of sample. Core only
2012-04-02 11:35:08 +02:00
Nick Lanham
6992a246aa
Update for new lv2 packaging
2012-03-29 23:16:50 +02:00
Nick Lanham
6ffc33593a
Update for new sample zero possition feature
2012-03-27 17:00:29 +02:00
Nick Lanham
0e08f67e20
Update readme for notification led
2012-03-27 16:35:54 +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
a250ec71d4
Remove irrelevant note
2012-03-25 22:45:42 +02:00
Nick Lanham
88e747f4f1
Update readme for lv2unstable branch
2012-03-25 22:41:15 +02:00
Nick Lanham
c5ef4d1fda
actually set get_state uri (fix copy/paste bug)
2012-03-25 20:52:47 +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
6cbb56a357
Switch to atom:AtomPort as that's now what lv2 uses
2012-03-25 19:15:00 +02:00
Nick Lanham
75285073cb
Updates so cmake checks correct extensions and version for new lv2 stuff
2012-03-25 18:25:10 +02:00
Nick Lanham
7c88aa44f7
Fix totally broken lv2 checks
2012-03-25 18:21:31 +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
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
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
3f9a856362
Reduce required version of libsamplerate
2012-03-16 14:22:43 +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
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
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
06769d6fd7
Update markdown
2012-02-23 13:38:45 +01:00
Nick Lanham
f4ad858539
Update README for knob info
2012-02-23 13:29:54 +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
aa62651ab3
Ahh, much better way to stay resident, use -Wl,-znodelete in link
2012-02-23 13:11:20 +01:00
Nick Lanham
9b90186994
Don't use G_DEFINE_TYPE anymore, to be pre-gtk+2.24 compatible. Middle click resets knob to 0.0.
2012-02-23 12:54:39 +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
bb02dfe22e
Add htest and knobt targets
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
43fdd2f200
Update README for cmake, and move Makefile to Makefile.legacy
2012-02-23 12:54:39 +01:00
Nick Lanham
bfa9578ab2
Add CMakeLists.txt for cmake
2012-02-23 12:54:39 +01:00
Nick Lanham
37cad970c0
Update .gitignore
2012-02-23 12:54:39 +01:00
Nick Lanham
764b499f60
Track knob.png
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
57dae2306c
Draw knob in x-center of allocated area
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
3da6249e55
Support showing tooltip of value.
...
minor re-formatting
2012-02-23 12:54:38 +01:00
Nick Lanham
771fd5b528
Add nknob, modified/simlified version of phatknob
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
9e0de55c5c
Update .gitignore
2012-02-21 13:39:39 +01: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
b3dd5bb1b2
Set frame names to instrument names
2012-02-21 13:00:24 +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
2771edd323
Update .gitignore
2012-02-18 15:29:27 +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
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
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
c284a0ba8e
Opps, use second buffer so as not to clobber path
2012-02-15 12:17:14 +01:00
Nick Lanham
d76a3fcee4
Make midi base note a control
2012-02-14 15:39:53 +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
645a4b497c
Identify as an lv2:InstrumentPlugin
2012-02-13 18:08:35 +01:00
Nick Lanham
71208fa0c4
Oops, remove dep on drmr_ui.xml
2012-02-13 17:34:51 +01:00
Nick Lanham
bbbfea4564
Note SS on wiki
2012-02-13 17:10:34 +01:00
Nick Lanham
8b6ba8457d
Update README.md
2012-02-13 16:56:37 +01:00
Nick Lanham
e55718413d
Don't build debug
2012-02-13 16:48:25 +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
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
9e760341b4
Make parser layer aware
2012-02-13 12:57:32 +01:00
Nick Lanham
85a7e73969
Actually change kit on dropdown select
2012-02-13 12:02:17 +01:00
Nick Lanham
28b8597ea0
Change bundle to just drmr.lv2
2012-02-13 11:28:56 +01:00
Nick Lanham
5262d5fcea
Update .gitignore, get rid of dynamic manifest stuff for now
2012-02-13 11:26:39 +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
88081691c3
Fix a couple typos
2012-02-07 13:07:48 +01:00
Nick Lanham
4fe5bedd30
Add notes
2012-02-07 13:05:31 +01:00
Nick Lanham
66e6f9844f
Don't build debug
2012-02-07 12:57:56 +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
ade0388ba8
Fix README
2012-02-07 12:48:38 +01:00
Nick Lanham
fa85da3bd0
Add README
2012-02-07 12:43:14 +01:00
Nick Lanham
4d2fa99e34
Change default install location
2012-02-07 12:42:51 +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
ae0f9aaa53
Add .gitignore
2012-02-06 22:56:38 +01:00