Commit Graph

23 Commits

Author SHA1 Message Date
Alex Birch
39f9d86bd1 remove shared access to fluidsynth instance 2019-07-28 22:51:51 +01:00
Alex Birch
d4a060b769 move message-routing, midi-rendering concerns into FluidSynthModel 2019-07-28 22:22:25 +01:00
Alex Birch
f87ec7c8e4 remove some unused methods on FluidSynthModel. make FilePicker update displayed text upon load. read and write into XML just the bits that we need, and take advantage of attribute names' being indexed. take more care in setting sfont_id. 2019-07-27 23:04:20 +01:00
Alex Birch
0587e2f68a decided against maintaining a separate 'presets' property in the ValueTree, since this is a view modelling concern that only the table cares about. instead, store as a tree. let the table component be responsible for maintaining a view over a subset of presets, instead of bothering the ValueTree with this. this is an effort to dial back the use of the store, and prefer to use it where it provides the most value rather than using it for everything. 2019-07-20 18:49:39 +01:00
Alex Birch
fc1d45d77c separate functions to refresh presets, banks. update list of presets when bank changes. filter presets list by current bank. 2019-07-15 21:28:35 +01:00
Alex Birch
4140b3b85b progress integrating table with store, decoupling from fluidsynth model 2019-07-13 22:37:26 +01:00
Alex Birch
d972a23ce8 move soundFont to its own tag. remove extraneous valueTree. listen directly to relevant part of tree. 2019-07-10 23:13:58 +01:00
Alex Birch
a990072f1f progress moving uiWidth/Height into audio params, and moving soundFontPath out of SharesParams (for better listener support, and to generalize) 2019-07-07 17:35:31 +01:00
Alex Birch
6d2267e23a prefer references where owner will definitely outlive recipient. replace some fluidsynth raw pointers with smart pointers. 2019-07-07 00:22:47 +01:00
Alex Birch
218beb00e7 encapsulate responsibility of params. add params for ADSR and filter. attempt to sync Slider. not obviously working yet. 2019-07-01 23:55:14 +01:00
Alex Birch
23c0a2dd37 make sliders send MIDI CC to FluidSynth. Make name column in table wider. Make synth wider. 2019-06-30 21:40:24 +01:00
Alex Birch
bcf0d7dd7d envelope, filter cutoff/resonance mapped to default modulators (with semi-random magic numbers) 2019-06-23 19:40:36 +01:00
Alex Birch
370d599f62 failed attempt to add a particular modulator 2019-06-22 19:07:10 +01:00
Alex Birch
f220cbb6e2 rewrite source to compile against new public APIs of FluidSynth 2 2019-06-22 19:07:09 +01:00
Alex Birch
b5a807fe91 make sample rate changeable, probably 2018-04-15 21:32:26 +01:00
Alex Birch
a82e7e450b presets and banks saved correctly in audio plugin host. display seems to work also. 2018-04-13 01:14:07 +01:00
Alex Birch
7dc05c72c9 progress in saving/loading presets/banks 2018-04-13 00:40:27 +01:00
Alex Birch
114bb2f10a make file picker contruct using whatever soundfont path is available at construction-time. work towards giving Processor access to change its File on load. 2018-04-11 00:08:15 +01:00
Alex Birch
191641ddd1 switch to JUCE Strings so we can copy and compare more easily. make state load attempt to load soundfont and restore window size. 2018-04-10 23:29:32 +01:00
Alex Birch
d7b87fe84f change to construction-time reference 2018-04-10 01:20:23 +01:00
Alex Birch
9427a029b9 fixed circular reference 2018-04-10 01:17:50 +01:00
Alex Birch
27b9dfb9df try to hook up soundfont path. perhaps encountering circular dependency on FSModel's inclusion of my plugin processor 2018-04-10 00:51:21 +01:00
Alex Birch
dc16a231fe add lazarus source 2018-02-27 00:25:20 +00:00