Commit Graph

143 Commits

Author SHA1 Message Date
53f2c1847f pass convert as block to map 2023-07-25 10:20:31 +01:00
dced3bc183 forward Remote args with triple dot 2023-07-25 10:03:43 +01:00
0693ac8fec use when over in, no need to pattern match 2023-07-25 09:53:00 +01:00
4f08ed836b use case in for steps 2023-07-25 08:17:51 +01:00
a05cf510f7 typo 2023-07-23 11:21:50 +01:00
57946fa151 add ButtonColorMixin 2023-07-23 11:04:04 +01:00
6a21aa686a use anonymouse double splat 2023-07-22 16:44:34 +01:00
917a591956 use unless over if ! 2023-07-22 16:44:24 +01:00
89a9d4947c use numbered parameter in _get_levels 2023-07-22 13:26:19 +01:00
1e694b21aa use numbered parameters when building class arrays 2023-07-22 13:05:38 +01:00
fefcbe6661 RequestRemote factory class added 2023-07-22 10:08:18 +01:00
ce8c82a2ca add init_event_threads, end_event_threads
to Worker module.

run now handles init/end event threads
2023-07-21 14:37:17 +01:00
04775e8a3e use symbols 2023-07-20 09:50:44 +01:00
ba64d8fd4a observer alias for callback added 2023-07-20 09:50:31 +01:00
95cccdcfc7 add Builder module 2023-07-20 09:50:16 +01:00
3f54eb0ad7 add VERSION constant 2023-07-18 19:36:14 +01:00
d5f1dd7814 get method added to BusMode class 2023-07-18 10:34:51 +01:00
049b8614a2 strip comp,gate,denoiser,eq sections added
fix eq.on example in apply
2023-07-18 08:19:17 +01:00
0980cebffe fixes nomethoderror 2023-07-18 07:30:15 +01:00
e5be645818 fixes bug reading midi values 2023-07-18 07:30:04 +01:00
721fb53012 added delay reader method 2023-07-17 19:59:49 +01:00
9dfda173da added alias methods for VirtualStrip 2023-07-17 19:59:32 +01:00
4e419fa74f fixes bug setting button states
getters now return boolean values.
2023-07-17 14:13:39 +01:00
2efd07b3d5 snakecase, camelcase functions moved into
Util::String

module Cache added.
2023-07-17 14:13:08 +01:00
eb4920f4a5 POTATOX64 added to KindEnum 2023-07-17 08:41:03 +01:00
ac7d9c0d03 Events::Callback now a class
on_event method renamed to trigger

events example updated to reflect changes to Events module
2023-07-17 08:34:34 +01:00
6d080af041 implement patch 2023-07-17 07:10:08 +01:00
d93ffc90a0 fix bug in option 2023-07-17 06:48:59 +01:00
f03a44044d option implemented 2023-07-17 06:30:09 +01:00
099ef38fad replace core extensions with util functions 2023-07-17 06:03:37 +01:00
37e8f67573 fx class implemented 2023-07-16 23:30:24 +01:00
2e69321aca make register a private method 2023-07-16 22:33:50 +01:00
ae30e929ac fixes bug in RecorderMode 2023-07-16 22:33:21 +01:00
d387503fa2 rework factory method.
each kind Class separately defined.

Kinds.get now uses fetch() (throws error if invalid key)
2023-07-16 22:33:02 +01:00
f14a549c03 now using standard Ruby logger module
easy_logging removed from dependencies

@configs now raises error on invalid key
2023-07-16 11:08:24 +01:00
35355fb31c String class extended with camelcase method 2023-07-15 00:17:09 +01:00
24edb0b134 Device class implemented 2023-07-15 00:16:54 +01:00
077a14fe62 VMCAPIError now takes fn and res as args 2023-07-15 00:16:35 +01:00
3c59c5d41c typo fix 2023-07-15 00:16:10 +01:00
c0d2379b62 ensure we initialize comp arrays
use zip,map to calculate comps
2023-07-14 21:03:40 +01:00
cccc348378 fix getter,setter in Button class 2023-07-14 17:08:11 +01:00
2f93fc14f9 command class implemented 2023-07-14 17:07:56 +01:00
ecdf9fa4cc recorder implemented 2023-07-14 16:12:18 +01:00
b047d6c706 use map to build vban instream/outstream 2023-07-14 15:00:20 +01:00
4b311520d4 add FileReader class to configs.rb
handles reading from yml and storing into configs hash
2023-07-14 14:37:49 +01:00
9c02586cef README, LICENSE added 2023-07-14 12:32:12 +01:00
07836b7c26 lint 2023-07-14 12:07:02 +01:00
01f50a2fc4 remove unnecessary initialize method 2023-07-14 12:04:04 +01:00
6ccdfafc27 run through standard 2023-07-14 12:01:41 +01:00
d2160535a3 lint 2023-07-14 11:47:21 +01:00
aa159d9414 run through standard 2023-07-14 11:45:08 +01:00
e3b72b9c45 run files through standard 2023-07-14 11:44:49 +01:00
5cb70d3ade ldirty? added
_get_levels added

event theads now use a queue class
2023-07-14 01:49:26 +01:00
bdd4cbe9d8 rename type_ arg to mode 2023-07-14 01:48:35 +01:00
ea57227b46 add perenthesis in call() 2023-07-14 01:48:22 +01:00
3e6fe5c443 bug in read_from_yml fixed 2023-07-14 01:48:11 +01:00
5dbf3e547c apply extended to handle bus modes 2023-07-14 01:47:36 +01:00
416a69113a num_strip_levels and num_bus_levels
added to KindMap
2023-07-14 01:47:18 +01:00
06795329cc use maps to create higher class variables 2023-07-14 01:46:46 +01:00
520bab0fce level array variables moved into cache 2023-07-14 01:46:25 +01:00
d8baaf4758 LevelEnum added to Mixins
BusLevels, BusDevice classes added
2023-07-14 01:46:00 +01:00
ca861bd1b8 syntax changes 2023-07-14 00:56:16 +01:00
69901f3502 Events::Callbacks and Events::Tracker defined 2023-07-14 00:54:12 +01:00
c465fbf7a6 producer, consumer threads implemented 2023-07-13 21:57:32 +01:00
ecb33bc8a3 gainlayer, levels added to Strip class 2023-07-13 21:57:18 +01:00
48b9e931c4 extend base String class to add a snakecase method 2023-07-09 23:48:46 +01:00
875a5b6a23 override attach_function in CBindings
rename bindings in Base class
2023-07-09 23:48:35 +01:00
ca66af7d84 check configpath only if configpath exists
override Loader to_s
2023-07-09 21:05:47 +01:00
e91d8dbd37 read_from_yaml implemented 2023-07-09 19:44:43 +01:00
f7f8ed64ee Fades, Return and BusModes added to Bus class 2023-07-09 19:44:27 +01:00
58d6876c0f remove Config.load from configs()
now called inside the module
2023-07-09 19:43:57 +01:00
ccd7e93e94 StripMixins removed 2023-07-09 19:43:26 +01:00
6cb7ae020e module StripMixins removed 2023-07-09 19:31:27 +01:00
fd07978135 configs method added to Remote class 2023-07-09 05:50:57 +01:00
319300ba83 instream,outstream reader methods. 2023-07-09 05:50:39 +01:00
84761ef997 OutPuts and Fades mixins defined
and mixed into Strip class

add reader methods for PhysicalStrip class
2023-07-09 05:50:06 +01:00
3e02f0c451 apply now handles nested hashes
some debug logging added
2023-07-09 05:49:08 +01:00
492a904a5f overrides to_s for KindMap classes 2023-07-09 05:48:40 +01:00
9fbf67701c MacroButton class renemed to Button 2023-07-09 05:48:24 +01:00
abd64034b1 apply(), apply_config() implemented
version now printed in login logger.info string
2023-07-09 05:48:08 +01:00
80f76c36b7 reset profile (mostly) implemented 2023-07-09 05:47:37 +01:00
40d94033c5 gemspec, version file added 2023-07-07 02:38:13 +01:00
48a56f9db6 interface entry point.
defines a factory method for instantiating Remote objects

strip, bus, button, vban attributes implemented
2023-07-07 02:36:35 +01:00
bd011a9497 the common interface
sits  between higher and base classes
2023-07-07 02:35:34 +01:00
ceda486d91 module for defining mixins
only StripMixins are defined so far
2023-07-07 02:34:58 +01:00
69519b482d a basic interface for storing midi values 2023-07-07 02:34:35 +01:00
a58f5e08c6 meta functions
defines accessors, readers and writers
2023-07-07 02:34:17 +01:00
941c3339d8 higher classes bus, button, strip and vban modules
bus, strip are not fully implemented yet
2023-07-07 02:33:49 +01:00
0679959ae1 defines the KindMaps as Data classes
defines  a KindEnum class

defines a get method for fetching a KindMap
2023-07-07 02:32:18 +01:00
280ac4ef54 defines two error classes
VMError and VMCAPIError
2023-07-07 02:31:22 +01:00
02e4e3cd50 base class that all Remote clases will subclass
provides a wrapper around the C-API bindings
2023-07-07 02:30:49 +01:00
8e7e14aa6c fetches the dll path from the registry 2023-07-07 02:30:05 +01:00
d35a4be8e8 define the low level bindings
offers a call method for error handling
2023-07-07 02:29:43 +01:00