1 #ifndef INCLUDE_AL_SEQUENCESERVER
2 #define INCLUDE_AL_SEQUENCESERVER
6 #include "al/ui/al_ParameterServer.hpp"
7 #include "al/ui/al_PresetSequencer.hpp"
8 #include "al/ui/al_SequenceRecorder.hpp"
63 return registerSequencer(sequencer);
66 return registerRecorder(recorder);
69 return registerMessageConsumer(consumer);
72 void setAddress(std::string address);
73 std::string getAddress();
77 static void changeCallback(
int value,
void *sender,
void *userData);
81 PresetSequencer *mSequencer;
82 SequenceRecorder *mRecorder;
84 std::vector<Composition *> mCompositions;
87 std::string mOSCQueryPath;
90 std::vector<osc::MessageConsumer *> mConsumers;
The ParameterServer class creates an OSC server to receive parameter values.
The PresetSequencer class allows triggering presets from a PresetHandler over time.
The SequenceRecorder class records preset changes in a ".sequence" file.
SequenceServer(ParameterServer ¶mServer)
using this constructor reuses the existing osc::Recv server from the ParameterServer object
void print()
print prints information about the server to std::out
void stopServer()
stopServer stops the OSC server thread. Calling this function is sometimes required when this object ...
virtual void onMessage(osc::Message &m)
Called for each message contained in packet.
SequenceServer(std::string oscAddress="127.0.0.1", int oscPort=9012)
SequenceServer constructor.