Class: MusaLCEServer::Handler Abstract Private
- Inherits:
-
Object
- Object
- MusaLCEServer::Handler
- Defined in:
- lib/daw.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Base class for DAW-specific OSC message handlers.
Handles communication with DAW controller extensions via OSC. Subclasses implement DAW-specific message handling.
Direct Known Subclasses
Instance Method Summary collapse
-
#panic! ⇒ void
abstract
private
Sends panic (All Notes Off) to all tracks.
-
#reload ⇒ void
private
Requests the DAW controller extension to reload its configuration.
-
#version ⇒ void
private
Sends the server version to the DAW controller extension.
Instance Method Details
#panic! ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Sends panic (All Notes Off) to all tracks.
222 223 224 |
# File 'lib/daw.rb', line 222 def panic! raise NotImplementedError end |
#reload ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Requests the DAW controller extension to reload its configuration.
206 207 208 209 |
# File 'lib/daw.rb', line 206 def reload @logger.info 'Asking controller reset and reload' send_osc '/reload' end |
#version ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
This method returns an undefined value.
Sends the server version to the DAW controller extension.
213 214 215 216 |
# File 'lib/daw.rb', line 213 def version @logger.info "Sending version #{VERSION}" send_osc '/version', VERSION end |