diff options
Diffstat (limited to 'src/engine/MidiAction.cpp')
-rw-r--r-- | src/engine/MidiAction.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/MidiAction.cpp b/src/engine/MidiAction.cpp index 819e63b..a6f161d 100644 --- a/src/engine/MidiAction.cpp +++ b/src/engine/MidiAction.cpp @@ -96,19 +96,19 @@ MidiAction::execute(SharedPtr<Raul::MIDISink> sink, Raul::TimeStamp time) void -MidiAction::write_state(Redland::Model& model) +MidiAction::write_state(Sord::Model& model) { using namespace Raul; Action::write_state(model); model.add_statement(rdf_id(model.world()), - Redland::Node(model.world(), Redland::Node::RESOURCE, "rdf:type"), - Redland::Node(model.world(), Redland::Node::RESOURCE, "machina:MidiAction")); + Sord::Curie(model.world(), "rdf:type"), + Sord::Curie(model.world(), "machina:MidiAction")); // FIXME: Assumes note on/note off model.add_statement(rdf_id(model.world()), - Redland::Node(model.world(), Redland::Node::RESOURCE, "machina:midiNote"), + Sord::Curie(model.world(), "machina:midiNote"), AtomRDF::atom_to_node(model, Atom((int)(_event.get()[1])))); } |