Commit Graph

69 Commits

Author SHA1 Message Date
xenakios
0e0f28687e remove unused variables, nodiscard for openaudiofile method 2018-10-15 18:43:33 +03:00
xenakios
cabf6de7c3 Another attempt at getting the play cursor to update more often. Looks like getting somewhere with that but needs more work. 2018-09-13 13:47:19 +03:00
xenakios
89c1944fc4 Cleanups 2018-09-01 15:31:48 +03:00
xenakios
8d008e5d2e Support resampled playrate changes for non stretched playback 2018-08-20 15:49:51 +03:00
xenakios
24cac9b5c1 Change and add license texts to apply for GPL3 2018-06-04 22:04:53 +03:00
xenakios
b4af0d0ebf Make audio source set play range immediately if it is set when the seek crossfade is active. This effectively disables the smoothed audio but this will have to do for now. The smoothed playback needs to be redesigned from scratch later. Revert the larger disk buffer size. Readme changes. 2018-06-01 14:20:01 +03:00
xenakios
b8e408a73e Use CriticalSection in audio source. Add bool argument for seek to get immediate seeks. etc 2018-05-31 13:55:32 +03:00
xenakios
552c165628 Maybe nicer fix for restoring the play range. Use recursive mutex in audio source. 2018-05-21 20:25:32 +03:00
xenakios
eabcd891b3 Calculate disk sample read count. Increase disk read cache 4x. 2018-05-19 15:03:30 +03:00
xenakios
021944dc37 Comment out some logging 2018-05-18 21:34:08 +03:00
xenakios
db7a15d161 Made rewind a parameter. Attempts to fix the time range not being recalled properly in hosts because the time range parameters may be quickly changed when the plugin is initializing and doing the sound source smoothing fades. etc 2018-05-18 16:20:51 +03:00
xenakios
28f14ddf7a Add looping enabled parameter 2018-05-09 12:33:06 +03:00
xenakios
8a4aee93ec When changing audio file, set the first buffer flag to flush the existing stretched audio faster 2018-05-09 12:17:28 +03:00
xenakios
cfbbad0e74 The stretch source doesn't really need to do anything except inc the param change count when the spectral module enabled parameters have changed. However this could get messed up if the spectral module order isn't correctly set in the stretcher instances already...Hmm. 2018-05-01 19:17:59 +03:00
xenakios
81882b9ecb Remove the now unneeded map 2018-04-26 23:15:39 +03:00
xenakios
c8f865dd4a Almost getting there but some still is still messed up... 2018-04-26 23:07:08 +03:00
xenakios
cd15a0ea48 Messy attempt to make the spectral module enabled parameters be tied to particular modules, this needs to be seriously examined... 2018-04-26 21:45:37 +03:00
xenakios
2f3a526291 Remove the freeze seek code as it wasn't working. Best to postpone until the stretcher code has been rewritten. 2018-04-23 20:55:25 +03:00
xenakios
890c568155 Attempt implementing seek while frozen, doesn't work too well like this...Don't use opengl stuff at all if the opengl module isn't set available. 2018-04-02 20:07:55 +03:00
xenakios
faf84a7233 Commented out parameter check. Damn, this got included in the public release... 2018-03-21 17:26:00 +02:00
xenakios
6d7671e8cf The spectral module enabled parameters still not doing so great... 2018-03-09 18:05:33 +02:00
xenakios
7fe4ea982e Remove the spectral module selection and move parameters. Initial attempt to implement the module enabled parameters. Might need to redesign this a bit... 2018-03-06 13:44:36 +02:00
xenakios
c391a2c0af Added free filter envelope random transform 2018-03-03 17:22:23 +02:00
xenakios
195a630060 Implemented free filter processing. Note that the envelope manipulation from the GUI is not handled thread safely yet 2018-02-27 15:02:34 +02:00
xenakios
e8d134ce48 More work on free filter 2018-02-27 04:06:53 +02:00
xenakios
1f24ffb1b6 Moved dry source playback into its own method. Allow moving waveform time selection without having to press shift 2018-02-23 17:43:29 +02:00
xenakios
122c90bf3f Smooth play range change almost working... 2018-02-22 21:03:46 +02:00
xenakios
a8079b277f Attempt to do fade outs and fade ins when seeking source sound, but not working yet. Readme changes. 2018-02-22 20:01:29 +02:00
xenakios
c98b7c70e4 Report unstretched play range length when playing original source 2018-02-22 02:04:30 +02:00
xenakios
715a753893 Resample unprocessed source sound as needed 2018-02-21 20:16:07 +02:00
xenakios
e6a7d26d27 Preliminary work to play the sound source unprocessed 2018-02-21 19:34:39 +02:00
xenakios
b6f5c0ea7d Shorten the FFT switch crossfade length. Remove commented out code. Formatting change. 2018-02-13 22:16:18 +02:00
xenakios
b179285b93 Added method to sound source to get playback position percent. Avoid seeking sound source when changing FFT size. Readme change. 2018-01-31 20:06:12 +02:00
xenakios
42061670a8 Clean up. Removed the MultiStretchAudioSource, hopefully it doesn't need to be restored later... 2018-01-30 18:56:00 +02:00
xenakios
ced5a5e22a Increase spec process enabled button size. Init spread spec process to disabled. Remove checks for spec process enabled states from processBlock 2018-01-30 17:54:06 +02:00
xenakios
84164da2d7 Finally added enabled buttons for the spectral steps. 2018-01-30 17:32:23 +02:00
xenakios
22aaaeb836 Got rid of unnecessary buffers. There may have at some point been some reason to do it like that though... 2017-12-27 17:57:00 +02:00
xenakios
7dcf9831f2 Try zeroing even more buffers, but no help... 2017-12-27 17:43:36 +02:00
xenakios
a6ec40904c Rename member. Attempt clearing buffers more thoroughly but old audio still appears to be present when restarting playback... 2017-12-27 17:35:30 +02:00
xenakios
8a92376713 Hardcode 8 channels for stretchsource xfade buffer 2017-12-17 19:54:12 +02:00
xenakios
11be9bfde5 Comment out some logging code 2017-12-15 21:12:49 +02:00
xenakios
dc86913533 Added pause playback feature with fades for smoothing 2017-12-14 22:17:45 +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
e411a99f70 If capture buffer used, refresh waveform when GUI has been closed and reopened. 2017-12-13 05:18:39 +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
5737b92165 Layout parameters in a grid for now etc 2017-12-12 19:54:54 +02:00
xenakios
75be994714 Constness 2017-12-03 23:28:54 +02:00
xenakios
5f24356658 Init FFT windowing type 2017-11-28 20:46:04 +02:00