Commit Graph

88 Commits (40035dee3c74400840a188453d8d7156b1cdeab8)

Author SHA1 Message Date
Georg Krause 40035dee3c Make LooperClip a Time Observer and reset playhead after all beats are played back 2019-05-23 13:34:37 +02:00
Georg Krause d3dfa921c7 Fix setting clips individual playspeed 2019-05-23 13:34:37 +02:00
Georg Krause 985db72d8d Cleanup Code, Remove Debug prints, Add Changelog 2019-05-23 13:34:37 +02:00
Georg Krause 4c0d6f1b0f Set recFpb when loading clip 2019-05-23 13:34:37 +02:00
Georg Krause b196c3667e calculate playspead based on fpd & fix wrong clip reset
This commit calculates the play speed for a looperclip based on the frames per beat, this avoids displacement due to different clip length
Also there was a wrong clip reset when the playhead gets reset in getSample because of the end of buffer. This is not really a nice fix but works for further testing of clipsync
2019-05-23 13:34:37 +02:00
Georg Krause d7bf7db236 Fix blank line 2019-04-24 08:57:29 +02:00
Georg Krause f394454d20 Cleanup and documentation 2019-04-24 08:57:29 +02:00
Georg Krause 1422ab277d Prevent setting playhead from outside for now, only allow reset 2019-04-24 08:57:29 +02:00
Georg Krause 71feed4220 Small cleanup 2019-04-24 08:57:29 +02:00
Georg Krause d8c639abf4 Make xrec possible again 2019-04-24 08:57:29 +02:00
Georg Krause a29349338f Update controller after each state change 2019-04-24 08:57:29 +02:00
Georg Krause 7412bb49df Make state set functions private 2019-04-24 08:57:29 +02:00
Georg Krause db1b94d78c Reset Clip State on Controllers if playback was queued but clip is empty 2019-04-24 08:57:29 +02:00
Georg Krause ea89f07cc9 Fix loading of a clip 2019-04-24 08:57:29 +02:00
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 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 b0f4d8bc00 do clip playhead reset right 2018-07-02 22:52:48 +02:00
Georg Krause dd09c3f0ba calculate tempo related numbers on higher precision 2018-06-15 11:25:33 +02:00
Georg Krause 0846755493 Add one more timing debug output 2018-06-08 18:34:57 +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
Harry van Haaren 5692d5123d looperclip: use [] to access vector not .at()
Optimize away a bunch of bad performance

Signed-off-by: Harry van Haaren <harryhaaren@gmail.com>
2018-03-25 20:49:28 +01:00
Harry van Haaren a2e154a8be restyled looper and looperclip 2017-03-27 21:14:53 +01:00
coderkun 59b146f052 Use stereo input and stereo audio buffer 2017-03-27 20:53:03 +01:00
Harry van Haaren 01f71ec5e4 astyle: global restyle of codebase (fixes #153)
This to bring common fomatting to the whole project,
including submissions. To format a file to this style:

astyle --style=linux -t8 <file>

Future patches / pull-requests should be in this format.
2016-12-27 13:04:05 +00:00
Gerald 97ae7fbec5 Time observers get reset upon change of jack transport to rolling, fixed issue
with jack transport and bars (bars are 1 based), removed debug code
2016-09-29 19:08:28 +01:00
Gerald 804bca9135 Loops get retriggered when setting bpm 2016-09-29 19:08:28 +01:00
Gerald bc71739b3a Fixed issue with glitches on beats/bars 2016-09-29 19:08:17 +01:00
Gerald 883ab99542 Fixed Timing issues in TimeManager. This resolves also an issue related to loading
samples
2016-09-20 12:38:08 +02:00
Gerald 25560ed160 Fixed the issue: Loosing sync after N Beats, found and fixed issue with
metronome dial (integeger numbers where getting translated to fraktional floats in setBpm()), needs more testing
2016-09-15 14:39:13 +02:00
Harry van Haaren 04bff4cde2 -Fixed ClipSelector clear name, fixed looperclip playing on load bug 2013-12-11 18:22:12 +00:00
Harry van Haaren d208f8959a -Added LICENSE 2013-12-08 21:44:43 +00:00
Harry van Haaren d25a7ab339 -Aesthetic code improvements 2013-12-07 23:27:33 +00:00
Harry van Haaren d7c0f4b73f -Fixed timing bug 2013-12-05 19:57:17 +00:00
Harry van Haaren 60decf79ba -Load sample remembers location, updated Special colour / Rclick menu layout 2013-12-04 14:46:44 +00:00
Harry van Haaren 264f655adc -Fixed scroll size in GOptions, removed print in LooperClip 2013-11-19 22:15:26 +00:00
Harry van Haaren 7600c60f83 -Fixed session load resampling 2013-11-16 02:44:37 +00:00
Harry van Haaren e86b964d5b -Fixed saving with record issue, now won't save record or _queue record buffers 2013-11-14 14:03:23 +00:00
Harry van Haaren 6c014ae2a6 -Updated Stately, working on handling save-errors better 2013-11-14 13:29:22 +00:00
Harry van Haaren 3fdd71b7dd -Fixed crash when saving *during* recording. Buffer size mismatch was the cause. Need to properly handle Stately::error(), this is just a quick-fix stop-crash. 2013-11-13 12:03:24 +00:00
Harry van Haaren f09515d8a5 -Added "Clear" item in right-click, "removes" clips from grid 2013-11-02 14:10:26 +00:00
Harry van Haaren 1105553c63 -Implemented bar() / beat() handling inside nframes: timing issues resolved 2013-11-02 04:07:27 +00:00
Harry van Haaren 123b2bb141 -Commited hack fix for "dual scene play" bug: gridlogic "qStops" all clips on a track on qPlay of a new scene. 2013-11-02 00:13:57 +00:00
Harry van Haaren 55c9b171bd -Removed cout prints 2013-11-01 23:31:18 +00:00
Harry van Haaren 6cf8602d95 -Refactoring time handling to process() - bar() - process() 2013-10-12 22:03:36 +01:00
Harry van Haaren eb8b040077 -Working on sampleAccurate Bar() events 2013-10-12 14:41:54 +01:00
Harry van Haaren 09de7af563 -Big refactor of #includes, less compilation deps. Updated TimeManager Bar() to include nframes data 2013-10-12 13:19:37 +01:00
Harry van Haaren d0be631310 -Removing all non-RT prints from RT contexts 2013-09-21 01:37:46 +01:00