Class: MusaLCEServer::Handler Abstract Private

Inherits:
Object
  • Object
show all
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.

This class is abstract.

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

Bitwig::Handler, Live::Handler

Instance Method Summary collapse

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 is abstract.

This method returns an undefined value.

Sends panic (All Notes Off) to all tracks.

Raises:

  • (NotImplementedError)

    must be implemented by subclasses



222
223
224
# File 'lib/daw.rb', line 222

def panic!
  raise NotImplementedError
end

#reloadvoid

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

#versionvoid

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