Commit Graph

764 Commits (38e3e914d6347a923daa1ed51407c1fbbdfad9f4)

Author SHA1 Message Date
Georg Krause 38e3e914d6 Fix warning 2019-04-24 08:57:29 +02:00
Georg Krause 834260bed4 Clean up the Code 2019-04-24 08:57:29 +02:00
Georg Krause fe2815deb0 Introduce State transition functions 2019-04-24 08:57:29 +02:00
Georg Krause 140663b442 Remove function which handles the audio buffer outside of the LooperClip 2019-04-24 08:57:29 +02:00
Georg Krause 0b5b7bf199 Unify of single clips and the hole session
This introduces a new Event, called EventSaveClip which starts saving of a single clip. On the other side, the confusing and not anymore needed no_dealloc option in the
EventStateSaveBuffer was removed. I think this is now easier to understand.

Possible problem: The differentiation of the saving location is done by checking if gui->saveBufferPath is set, feedback here is welcome.
2019-04-24 08:57:29 +02:00
Georg Krause 7961658933 Rename Event for Saving Session 2019-04-24 08:57:29 +02:00
Georg Krause b03a660523 add some buffer debug output 2019-04-24 08:57:29 +02:00
Georg Krause c91d593818 move buffer resize request into LooperClip 2019-04-24 08:57:29 +02:00
Georg Krause 3378d6d7cd Fix typo 2019-04-05 22:21:37 +01:00
Georg Krause 9b3c6a4621 Add version fall back to meson config 2019-04-05 22:21:37 +01:00
Georg Krause 5424805add Print version with luppp --version or luppp -v 2019-03-28 18:46:57 +00:00
Harry van Haaren 0d99b3d584 metronome: add fancy fades, fixes #231
Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-07-24 21:31:47 +01:00
Harry van Haaren 7afcef5993 goptions: fix scan-build dead-init warning
Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-07-21 00:14:35 +01:00
Harry van Haaren 4edd419a63 timemanager: replace sprintf() with snprintf()
This avoids buffer overflows.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-07-21 00:03:07 +01:00
Harry van Haaren e3491dbe5f timemanager: error check tempos from "Use Tempo"
This commit adds a bpm conversion from the fpb to set the
tempo to, and then limits the values to the range as set
in config.hxx. A message is safely printed to the console
when a message is dropped. Fixes #240.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-07-20 23:59:52 +01:00
Harry van Haaren ff71473ace dial: fix unitialized variable
Before this the pan_style value was not initialized,
meaning that the dial could (very rarely) appear as
a pan style dial when it should not be. Thanks valgrind :)

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-07-15 12:08:07 +01:00
Georg Krause a20ae2ed49 stop recording on clip reset 2018-07-15 10:51:32 +02:00
Georg Krause 14872cad14 prevent scene names being cleared on scene launch 2018-07-15 09:36:27 +02:00
Harry van Haaren d43ae4a512 tests: remove auto open file at failure
This removes auto open of the failed assert, which was
a fancy feature but pretty darn hacky too.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-07-14 13:38:36 +01:00
Harry van Haaren 303b736a0b
Merge pull request #245 from georgkrause/fix242
Do clip playhead reset right, thanks @coderkun and @georgkrause
2018-07-14 12:30:28 +01:00
Harry van Haaren dd36d19806 jacksendreturn: fix compile of fabs()
fabs() is not part of std::, so remove that prefix to
fix compilation.

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-07-14 12:25:02 +01:00
Georg Krause 210a08f418 removed const from smoothing_value
I wanted to make this const to prevent changes, but since the smoothing_value needs to be calculated based on the samplerate which
is a member of jack this does not work, I dont know how to do this. Any hints welcome.
2018-07-11 21:51:42 +02:00
Georg Krause 21e53c391d calculate smoothing value depending on samplerate
Because smoothing "speed" distinguish between two sample rates, we need to calculate the right smoothing value for the used sample
rate on runtime. This commit changes this. The SMOOTHING_CONST in config.hxx can still be used to configurate the general speed for
smoothing.
2018-07-09 14:38:52 +02:00
Georg Krause 701e9dc24b apply smoothing to input to send button 2018-07-09 14:16:41 +02:00
Georg Krause abdf24dada apply smoothing to input to mix button 2018-07-09 14:09:44 +02:00
Georg Krause 08835eac75 apply smoothing to input to key button 2018-07-09 13:57:06 +02:00
Georg Krause 74c40a55e3 apply smoothing to input volume 2018-07-09 13:54:11 +02:00
Georg Krause 211a8c886f apply smoothing to master return vol 2018-07-09 13:50:39 +02:00
Georg Krause df763be9fb apply smoothing to input sidechain volume 2018-07-09 13:46:31 +02:00
Georg Krause c7f268a45b apply smoothing to input to send volume 2018-07-09 13:34:13 +02:00
Georg Krause 8b9b3bce44 apply smoothing to input to mix volume 2018-07-09 13:29:09 +02:00
Georg Krause 73662713d3 apply smoothing to sidechain key control 2018-07-09 11:40:14 +02:00
Georg Krause eff6d2a824 apply smoothing to Postfader Sends (Snd-Button) 2018-07-09 11:33:50 +02:00
Georg Krause 4a176c2d96 reduce smoothing const
This values introduces a latency of 5ms on 44.1kHz which shouldn't be noticable for anyone. At least I can't notice it. This will be
the base for calculating the smoothing value based on the samplerate, because higher samplerates need other values.
2018-07-09 11:23:46 +02:00
Georg Krause dc63930e87 apply smoothing to fx send button 2018-07-05 21:51:26 +02:00
Georg Krause 079154cc60 apply smoothing to fx sends 2018-07-05 21:24:32 +02:00
Georg Krause d1d06b6607 apply internal default naming of private vars 2018-07-05 21:08:07 +02:00
Georg Krause b0f4d8bc00 do clip playhead reset right 2018-07-02 22:52:48 +02:00
Harry van Haaren 4328296257
Merge pull request #226 from georgkrause/smoothing
Smoothing, thanks @georgkrause
2018-06-23 15:35:47 +01:00
Georg Krause dd09c3f0ba calculate tempo related numbers on higher precision 2018-06-15 11:25:33 +02:00
Georg Krause 15cd87cf2f delay bpm change until next bar 2018-06-08 19:26:31 +02:00
Georg Krause 7174454d31 disable time debug upstream 2018-06-08 19:26:03 +02:00
Georg Krause 0846755493 Add one more timing debug output 2018-06-08 18:34:57 +02:00
Georg Krause b0b3a3c4e5 Add timing debug options 2018-06-08 18:34:51 +02:00
Georg Krause a0cca4d78f Reset Playhead on the first beat of the first bar of a loop 2018-06-08 18:34:43 +02:00
Georg Krause 9849918565 add smoothing for sidechain signal knobs 2018-06-03 10:37:47 +02:00
Georg Krause a0963debda update comment 2018-06-03 10:37:47 +02:00
Georg Krause a537a9725e implement smoothing for sends; refactore confusing names 2018-06-03 10:37:47 +02:00
Georg Krause b178ab2110 improve setting the pan and implement smoothing for the panning 2018-06-03 10:37:47 +02:00
Georg Krause b816f05279 use global smoothing const 2018-06-03 10:37:47 +02:00