Commit graph

24 commits

Author SHA1 Message Date
Harry van Haaren
be14f4005a midi: allow clearing clip from GenericMIDI binding
This commit allows the user to clear clips from the Luppp grid
with a MIDI message. The binding method is very similar to the
existing "grid:event" style, with added to "action" representing
1 for press, and 0 for release, -1 now represents a "clear" event.

As such, the following binding would clear clip track 1, scene 1,
when midi note number 60 had a note on event. Note that the value
for "send" is also set to -1, indicating it is not a send binding.

Active set to -1 indicates that the clip should be cleared:

{
  "action": "grid:event",
  "status": 144,
  "data":    60,
  "track":    1,
  "scene":    1,
  "send":    -1,
  "active":  -1
}

See Github issue #134
2017-09-29 18:48:16 +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
Harry van Haaren
c37376ce76 -Hacked APC footswitch scene++ functionality into GenericMIDI 2014-04-28 18:34:30 +01:00
Harry van Haaren
d208f8959a -Added LICENSE 2013-12-08 21:44:43 +00:00
Harry van Haaren
04fc086a5d -Added "special" selection from GUI 2013-12-04 13:50:08 +00:00
Harry van Haaren
6cf8602d95 -Refactoring time handling to process() - bar() - process() 2013-10-12 22:03:36 +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
3c1d86b7ba -Footpedal clip sampling using APC shift button working & tested 2013-10-08 22:32:25 +01:00
Harry van Haaren
9c578ef07f -Updated GridLogic / Event / GenericMIDI to handle footswitch MIDI binding 2013-10-08 21:53:41 +01:00
Harry van Haaren
32b952800a -Working on Jack quit code, cleanup, virtual destructors etc 2013-09-20 23:28:59 +01:00
Harry van Haaren
3116222e62 -Added Catch testing framework to main Luppp program 2013-09-11 12:57:31 +01:00
Harry van Haaren
a0fb8cb5b5 -Refactoring, working on State::reset() 2013-09-06 01:28:14 +01:00
Harry van Haaren
e72fc9dd44 -Scene launch feedback 2013-08-25 23:36:08 +01:00
Harry van Haaren
6ad3a0e11b -Updated ClipSelector code, working on LaunchScene support 2013-08-22 05:48:59 +01:00
Harry van Haaren
8f71d7411b -Removed State member variable from GridLogic, LooperClip should be analysed for data 2013-08-22 00:46:58 +01:00
Harry van Haaren
96b78f0c5a -Renamed GridState::LOADED to STOPPED 2013-08-22 00:26:01 +01:00
Harry van Haaren
44f6e26da1 -Loading clips now uses GridLogic, and _loaded status is in LooperClip 2013-08-22 00:05:00 +01:00
Harry van Haaren
c2585b32a2 -Removed all warnings from compile 2013-08-13 16:35:27 +01:00
Harry van Haaren
0306a1873e -Updated APC handling, bug hunting 2013-08-13 00:41:17 +01:00
Harry van Haaren
d90921319b -Bug hunting, copying different buffers to master outs, refactored buffers to be allocated statically 2013-08-13 00:02:59 +01:00
Harry van Haaren
a5071a3bbb -APC / GUI feedback using GridState now implemented. 2013-08-06 23:19:56 +01:00
Harry van Haaren
90edacad60 -Fixed GridLogic, now sends proper feedback to APC / GUI. 2013-08-06 22:42:04 +01:00
Harry van Haaren
eb94b51162 -Updated Controller ControllerUpdater, added GUI Controller subclass, added progress test for feedback 2013-08-04 18:04:26 +01:00
Harry van Haaren
a4c526c112 -Refactoring Controller grid logic into GridLogic class, updated State enum from Controller to GridLogic 2013-08-01 19:58:26 +01:00