Commit Graph

51 Commits

Author SHA1 Message Date
Alex Birch
568495ea74
picking soundfont no longer crashes synth 2019-07-09 20:44:26 +01:00
Alex Birch
374394330f
successfully save/load ui width/height 2019-07-08 23:36:27 +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
7582fbcc9e
sliders control fluidsynth when user interacts with them, but also update their position to reflect incoming MIDI messages, without attempting to control fluidsynth (since audio processor will have already done so) 2019-07-04 23:48:20 +01:00
Alex Birch
82f18ed4a0
successfully notified release slider UI to move 2019-07-03 23:38:56 +01:00
Alex Birch
1fe64e31f7
start setting up a global shared state and listeners 2019-07-02 23:27:56 +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
e1f8eb9268
fix pitch wheel. make logging debug-only. 2019-07-01 21:15:33 +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
070f0d2a87
add sustain modulator. increase range of release to cover all positives (though there is still a range of negatives that are duplicated). set all sound controller CCs to 0. this breaks MIDI spec (64 = middle = no change) to accommodate soundfont spec (middle of range on envelope generators is far from 'no change') 2019-06-30 19:25:02 +01:00
Alex Birch
1d7fdc6860
put sliders next to table 2019-06-30 11:39:39 +01:00
Alex Birch
a7d375a2bb
sliders in groups 2019-06-30 10:59:07 +01:00
Alex Birch
542994d672
try to find the ranges of these filters, and curves that give access to the useful parts 2019-06-29 22:10:28 +01:00
Alex Birch
b0f10b7940
add aftertouch. correct system reset 2019-06-23 23:17:28 +01:00
Alex Birch
13fd1c60e0
send to fluidsynth: program change, channel pressure, reset, and sysex (whatever that is). also attempt pitchbend. 2019-06-23 23:06: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
c8ae1b0e9a
send control change events to fluidsynth! 2019-06-23 18:12:25 +01:00
Alex Birch
78e6f71e81
disable (unused) microphone input 2019-06-23 11:13:25 +01:00
Alex Birch
cbfae52348
add privacy notice 2019-06-23 00:22:05 +01:00
Alex Birch
9677dbfc56
set effects channels to 0, since none were used. this fixes the 'no sound' problem 2019-06-22 23:24:16 +01:00
Alex Birch
06691aa744
update XCode project from Projucer (e.g. for C++17, and to put VST SDKs on include path) 2019-06-22 22:59:28 +01:00
Alex Birch
370d599f62
failed attempt to add a particular modulator 2019-06-22 19:07:10 +01:00
Alex Birch
6c96994946
update fluidsynth2 to commit b6b6931. fixes 'no audio' https://github.com/FluidSynth/fluidsynth/issues/399 2019-06-22 19:07:10 +01:00
Alex Birch
95f0f2b35b
repaint table when changing banks 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
Birch-san
02e43baca9
fix another not-include 2018-06-14 00:47:06 +01:00
Birch-san
559337564d
fix include 2018-06-14 00:43:17 +01:00
Alex Birch
6e88039085
we don't need an audio driver anyway 2018-04-17 22:10:01 +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
e8177d51cd
set displayed filepath when loading in state 2018-04-11 00:52:44 +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
649a1fcf36
looks like we do not listen to our own events, so move that elsewhere 2018-04-10 01:28:05 +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
9bbb27d780
copy JUCE demo plugin more closely. worry about coupling later; for now get ownership in right place. update lastUIW/H on resize. 2018-04-10 00:11:22 +01:00
Alex Birch
89b12b132a
make a pattern for notifying subscribers about VST state save/load. but it seems to run too early for Editor to benefit. 2018-03-18 23:35:29 +00:00
Alex Birch
592dd264c0
prevent unloading of nothing 2018-03-05 22:38:51 +00:00
Alex Birch
c78756aeef
begins life with no soundfont and survives 2018-03-05 22:33:20 +00:00
Alex Birch
86a0c005ef
initialize variables (thanks, daniel!) 2018-03-02 01:16:58 +00:00
Alex Birch
7d2cfd27e1
this is sometimes resulting in freeing memory which has not yet been malloced. need to understand better what's going on. possibly two concurrent invocations of initialiseSynth racing. 2018-02-27 23:42:24 +00:00
Alex Birch
289ddff4da
rename editor 2018-02-27 23:34:22 +00:00
Alex Birch
f89da1834c
audio plugin host appears to invoke initialise twice. use singleton fluidsynth model now to survive that. also, clear midi output to make VST3 stop complaining 2018-02-27 23:33:19 +00:00
Alex Birch
c129ce78a0
rename main class 2018-02-27 00:39:50 +00:00
Alex Birch
c708fd5914
delete classes that weren't meant to exist any more 2018-02-27 00:36:49 +00:00
Alex Birch
dc16a231fe
add lazarus source 2018-02-27 00:25:20 +00:00