Commit Graph

93 Commits

Author SHA1 Message Date
xenakios
7d8616ec70 Add menu actions and logic to deal with playing only when the host plays. Also seek to stretch source active time range beginning when starting play. 2017-12-20 01:12:47 +02:00
xenakios
b6e46bd293 Add settings menu button 2017-12-20 00:50:47 +02:00
xenakios
bcd03d923e Some initial work on using AudioPlayHead 2017-12-19 23:00:42 +02:00
xenakios
77f514701c Add properties file stuff. Store and restore last file import folder. 2017-12-19 05:24:27 +02:00
xenakios
a8e70b76b7 Somewhat better layout order of the parameter components 2017-12-19 03:50:55 +02:00
xenakios
7238c71e66 Detect host offline rendering state and if active, use the stretchsource directly instead of the thread buffered source 2017-12-19 00:37:02 +02:00
xenakios
d900572506 Added detector for invalid sample values in plugin output 2017-12-18 22:27:12 +02:00
xenakios
8c9749a90c Added parameter for max capture length 2017-12-18 19:48:40 +02:00
xenakios
f3d769504d Show FFT size in samples in the info label. 2017-12-17 22:57:37 +02:00
xenakios
e0a341972d Add license texts to source code files 2017-12-17 21:40:35 +02:00
xenakios
8a92376713 Hardcode 8 channels for stretchsource xfade buffer 2017-12-17 19:54:12 +02:00
xenakios
ec13410088 Use the file extensions supported by the AudioFormatManager 2017-12-17 18:43:29 +02:00
xenakios
7ea18cc805 Add method to get sanitized samplerate as getSampleRate might return 0.0 when called from outside audio processing method. Comment out Spectral visualizer instance in editor. 2017-12-17 18:16:39 +02:00
xenakios
9cad298ef3 Use home directory for import file dialog initial location 2017-12-15 21:35:27 +02:00
xenakios
11be9bfde5 Comment out some logging code 2017-12-15 21:12:49 +02:00
xenakios
ff6c0dd529 Increase maximum time stretch amount. Rename plugin binary. 2017-12-15 21:00:15 +02:00
xenakios
3a16caa712 Save and restore spectral processing order 2017-12-15 18:26:09 +02:00
xenakios
9cddb76202 Use custom range mapping functions for filter frequencies 2017-12-15 17:43:59 +02:00
xenakios
45dccb830d Workaround a bug in Juce/MacOS file dialog stuff. Show error messages in GUI. 2017-12-15 06:17:11 +02:00
xenakios
dd9b7f3be3 Some skew for low and high pass filter params 2017-12-15 04:34:22 +02:00
xenakios
dc86913533 Added pause playback feature with fades for smoothing 2017-12-14 22:17:45 +02:00
xenakios
6ad663da47 Use parameter index constants 2017-12-14 19:57:14 +02:00
xenakios
40096fc87d Propagate host provided maximum block size to buffering audio source 2017-12-14 19:06:26 +02:00
xenakios
a3c2a07e5b Enable compressor as needed. Apply harmonics bandwidth and Gauss mode 2017-12-14 05:02:04 +02:00
xenakios
76880a8d5f Update output channel count on the fly. Somewhat hacky... 2017-12-14 00:44:46 +02:00
xenakios
3fc51ab8c6 Mono output doesn't currently work... 2017-12-14 00:22:21 +02:00
xenakios
d05a5d41a8 Preliminary work to enable multichannel output again with a parameter to determine the output channels to render 2017-12-14 00:19:46 +02:00
xenakios
71a9419e51 Can afford to update the spectral processing order while dragging the mouse. Changed the drag behavior and drawing again but still not that great. 2017-12-13 23:49:21 +02:00
xenakios
66fe05f842 Try adding some visual feedback for the spectral order drags 2017-12-13 21:25:42 +02:00
xenakios
6760dd3e67 Actually set the processing order on mouse up 2017-12-13 20:16:20 +02:00
xenakios
c78c42c153 Added component to allow reordering the spectral processing stages 2017-12-13 19:55:35 +02:00
xenakios
e980344bb3 Remove capture toggle button from editor. Also remove JS engine and dynamic object as those are not used currently. 2017-12-13 18:48:52 +02:00
xenakios
bd1eabf3bf Add more parameters including input capture enabled. A slightly nasty timer hack had to be implemented for that but can't be helped since the Juce provided bool parameter doesn't do callbacks...Small tweaks and fixes. 2017-12-13 18:30:09 +02:00
xenakios
3dc95b6f1d Avoid setting the audio buffer more than once 2017-12-13 05:23:57 +02:00
xenakios
e411a99f70 If capture buffer used, refresh waveform when GUI has been closed and reopened. 2017-12-13 05:18:39 +02:00
xenakios
891a85b5a5 Init zero octave parameter to proper value. Use param index constant. 2017-12-12 23:38:24 +02:00
xenakios
1576cfcf97 Use tryEnter for loop xfadelen setting. Fix oopsie in rate parameter setting... 2017-12-12 20:46:52 +02:00
xenakios
5a17f43763 Use Juce CriticalSection for main audio processor too. Use tryEnter for changing main volume parameter. Looks like it's best to do the tryEnter stuff for everything possible... 2017-12-12 20:43:43 +02:00
xenakios
7805f1a0aa Switch to using Juce CriticalSection in StretchSource. Especially when used with tryEnter, seems to help the audio glitches a lot, even when running under the debugger... 2017-12-12 20:27:29 +02:00
xenakios
68d5674eb9 Use parameter index constants. Init octave mixer parameters. 2017-12-12 20:00:51 +02:00
xenakios
5737b92165 Layout parameters in a grid for now etc 2017-12-12 19:54:54 +02:00
xenakios
572b1d2515 Added more parameters. Added int constants for parameter indexes. Initial work to do GUI layout with Javascript. Disabled spectrum visualizer for now. 2017-12-12 19:14:43 +02:00
xenakios
2fe40137cc argh 2017-12-05 02:09:20 +02:00
xenakios
b4502ba442 Add harmonics processing parameters. Add harmonics processing visualization etc 2017-12-03 23:47:28 +02:00
xenakios
75be994714 Constness 2017-12-03 23:28:54 +02:00
xenakios
ccf7ba303f SpectralVisualizer optimizations, create objects only when needed etc 2017-12-03 22:51:57 +02:00
xenakios
16868d5ccd Allow FFT object to be constructed without inverse FFT. Added SpectralVisualizer component that does an extremely inefficient visualization of the spectral processing stages. 2017-12-03 22:00:40 +02:00
xenakios
a1f7c52eb0 All/most spectral processing stages now in stand alone functions 2017-12-03 19:09:42 +02:00
xenakios
4a2cc8ff71 Initial work to separate spectrum processing implementations into stand alone functions from the ProcessedStretch class, to allow visualizations etc without having to instantiate the full ProcessedStretch object 2017-12-03 18:39:47 +02:00
xenakios
e52241ba86 Avoid resetting active source play range when changing file. Update xfade cache when changing file. 2017-11-28 21:10:22 +02:00