Commit graph

17929 commits

Author SHA1 Message Date
Len Ovens
4b69495f82 Initialize variable every loop so MCP profiles don't accumulate. 2015-10-03 13:06:34 -07:00
Paul Davis
2dddf6504b NOOP: delete trailing whitespace 2015-10-03 14:03:29 -04:00
Paul Davis
1e5672de98 reset IP MIDI port when deleting a mackie surface port 2015-10-03 13:51:17 -04:00
Paul Davis
9d7b5f6df9 reset shared_ptr to master surface when clearing surfaces, to ensure Surface destructor is called 2015-10-03 13:50:59 -04:00
Paul Davis
98b5d5a808 Merge branch 'zamaudio-click-level' 2015-10-03 13:14:37 -04:00
Damien Zammit
7d2dd9db0c Click: Normalized then dropped by 6dB
Applied gain to both emph click and default click using sox.
This results in louder click sound by default and user is
able to boost click to 0dBFS using the fader on the pref pane.

Signed-off-by: Damien Zammit <damien@zamaudio.com>
2015-10-03 13:14:25 -04:00
Paul Davis
4403ce4bd4 make a start on providing direct choice of MIDI ports where an MCP device can be reached 2015-10-03 13:13:58 -04:00
Paul Davis
29c484cd95 NOOP: reformat indentation 2015-10-03 13:13:58 -04:00
Paul Davis
91d3aabf53 NOOP: reformat indentation 2015-10-03 13:13:58 -04:00
Paul Davis
76398911d4 more code-control when laying out Mackie Control GUI panel 2015-10-03 13:13:58 -04:00
Paul Davis
6bf0d4f627 add basic support for HUI heartbeat, only used for HUI devices 2015-10-03 13:13:58 -04:00
Paul Davis
4ef45aacc1 add DeviceType specifier for mackie devices.
Incomplete, because we need a way to handle multiple devices of different types
2015-10-03 13:13:58 -04:00
Paul Davis
13765d41e3 NOOP: reformat indentation 2015-10-03 13:13:58 -04:00
Paul Davis
c8448cb0dd add device type to Mackie device info 2015-10-03 13:13:57 -04:00
Paul Davis
53c47e0ccd add support to display and set key aliases in mackie GUI 2015-10-03 13:13:57 -04:00
Robin Gareus
6357770588 additional check for DSP falloff. 2015-10-03 17:46:55 +02:00
Robin Gareus
20038fedf4 less verbose unit-tests 2015-10-03 17:46:39 +02:00
Robin Gareus
01105dc971 DSP load fall-off from 100%.
get_dsp_load_unbound() will return large values >100% for testing, 
but actual fall-off is from 100%.
2015-10-03 17:46:19 +02:00
Robin Gareus
9fc3883cbb fix float calc:
divide large number. not multiply a small.
2015-10-03 17:44:56 +02:00
Robin Gareus
f0c1d58f59 fix windows compilation 2015-10-03 11:20:15 +02:00
Paul Davis
2a420184b9 initial pass at a profile (key bindings) for MCU Pro surface.
Lots more work to do here
2015-10-02 22:10:28 -04:00
Paul Davis
3733fd7f31 remove undefined and unused method declaration 2015-10-02 22:08:15 -04:00
Paul Davis
0ee737f129 another change from modifier_state() to main_modifier_state() 2015-10-02 22:08:15 -04:00
Paul Davis
c78426968f avoid handling pitchbend (fader) messages while SHIFT modifier is active.
See comment in code for more detail
2015-10-02 22:08:15 -04:00
Paul Davis
40a4e2e6af no longer call ::zero_all() when deleting an MCP surface object.
The ports required may no longer exist, and it requires a lot of messages. A reset is sent instead
2015-10-02 22:08:14 -04:00
Paul Davis
9476657cd1 use ::main_modifier_state() in some more places 2015-10-02 22:08:14 -04:00
Paul Davis
ef6b0bdb07 necessary header changes for new redisplay code in MCP 2015-10-02 22:08:14 -04:00
Paul Davis
4d47760d61 add new (fast) redisplay timer that pushes parameter display text to MCP device.
Changes are queued in a FIFO, and pulled when a timeout in the MCP event loop fires.
2015-10-02 22:08:14 -04:00
Paul Davis
05a8107ff6 fix comment spelling 2015-10-02 22:08:14 -04:00
Paul Davis
2cdfeda884 use Surface::reset() when deleting MackieControlProtocol, rather than sending lots of messages.
This may be a bit "strong" because on the MCU Pro (at least) it causes a fader recalibration.
2015-10-02 22:08:14 -04:00
Paul Davis
ccf505c3a2 implement backlight, fader touch sensitivity and recalibrate fader functions for MCP GUI 2015-10-02 22:08:14 -04:00
Paul Davis
04b9df1fd9 avoid sending replicated fader set position messages 2015-10-02 22:08:14 -04:00
Paul Davis
3bc7f863ca explicitly drop control surface protocols before disconnecting from engine.
This is not bomb/thread proof yet, because it still requires at least one process callback to function
2015-10-02 22:08:14 -04:00
Paul Davis
fd4a34251c add missing "fi" to stage2.run script used for linux install 2015-10-02 22:08:14 -04:00
Paul Davis
136b659f1c remove debug output 2015-10-02 22:08:14 -04:00
Paul Davis
64b4877ef6 the return of the 1 second fade out at session close 2015-10-02 22:08:14 -04:00
Robin Gareus
a05e48dab0 fix unbound DSP calc. 2015-10-02 22:28:03 +02:00
Robin Gareus
79fecf0b61 escape markup in region list 2015-10-02 19:38:32 +02:00
Robin Gareus
3aa24b222b add missing markup escape
(e.g. import file with ampersand)
2015-10-02 19:14:24 +02:00
Robin Gareus
87c36aba60 use new error-messages 2015-10-02 17:51:17 +02:00
Robin Gareus
798c235d4d define more backend error-messages. 2015-10-02 17:49:31 +02:00
Robin Gareus
3f99c44ff6 improve CoreAudio error reporting 2015-10-02 17:28:28 +02:00
Paul Davis
918133a342 fix handler of fader (pitchbend) messages in Mackie Control so that the outbound messages match the inbound ones
Pitch bend values really can span 0 to 16384, not 16383
2015-10-02 10:22:00 -04:00
Paul Davis
71bf231199 allow aliasing Mackie Control buttons to other buttons 2015-10-02 10:21:20 -04:00
Paul Davis
eebbf64484 provide Main/cancel-solo as an action and make rude solo button(s) use it 2015-10-02 07:32:56 -04:00
Paul Davis
5c63ed589c catch changes in click status and alter LED appropriately 2015-10-02 07:32:56 -04:00
Paul Davis
a4fced6d63 change zoom and scrub handling to use modifier bits 2015-10-02 07:32:56 -04:00
Paul Davis
d28c8c9bb4 spelling correction in error message 2015-10-02 07:32:56 -04:00
Robin Gareus
544815721f add a proper license to the GCC ABI check tool 2015-10-02 13:17:45 +02:00
Robin Gareus
4a31b03761 re-apply roll-delay after seek - fixes #5781 2015-10-01 23:17:01 +02:00