< Back to IRCAM Forum

[feature request] OSC message to load MusicXML file

Hi,

there is already a way to start/stop Antescofo once a given file is loaded by using OSC messages.
It would be useful to have a way to load a file in Antescofo from outside Antescofo.
I’m talking about an OSC message that would instruct Antescofo to load a MusicXML or “Antescofo format” file.

So if a user sends an OSC message to the port that Antescofo uses, along with the path of the file, it should do one of the two possible scenarios:

a. User invokes Antescofo with foo.xml (MusicXML file). In that case Ascograph’s function that converts MusicXML to “Antescofo format” should be invoked, save it to the local directory and then load up the file in Antescofo.
b. User invokes Antescofo with bar.txt (Antescofo format), Antescofo should load up the file in Antescofo.

With this feature it will be easy to control Antescofo from a device that doesn’t have Max installed.

Any updates on this?

Sorry for our late reply!

The feature you are requesting (loading MusicXML or MIDI via OSC is already there!

  • Just invoke Antescofo with [load foo.xml] (load is alias for ‘score’ and ‘read’) in Max or PureData while AscoGraph is Open (and connected to Max/Pd).
  • Ignore Errors in Max/Pd console coming from Antescofo… You’ll notice that AscoGraph has parsed and converted your XML/MIDI to Antescofo format.
  • If you just save that score in Ascograph, it’ll be automatically loaded to your Antescofo in Max/Pd session.

Hope this helps.

and happy new year! :slight_smile:

Hi Arshia,

I think you misunderstood. The objective is to invoke Antescofo from a device that doesn’t have Max (or Antescofo) installed.
In more detail:
Device1 is a Windows laptop, Device2 is a Mac laptop. Mac has Max/MSP and Antescofo installed, Windows doesn’t have anything Antescofo related and only acts as a “remote control” for the Mac. The goal is to be able to control Antescofo on the Mac (from the Windows laptop), without touching the Mac laptop at all.
This is already possible with start/stop (once a score is loaded), but not with load (or I don’t know how to do it).

Mac can be setup to have Max, Antescofo and Ascograph open already but Windows needs to instruct the Mac to load the score (or switch to a different score). Is there a way to send a Max command (e.g. load foo.xml) through an OSC message and have it executed by Max?
For the above reasons, saving the score in Ascograph (by using the Ascograph GUI) is also not available as an option.

You can substitute “Windows laptop” with “iOS/Android tablet”.
tablet: remote control
Mac laptop with Max and Antescofo: microphone input and processing

Happy new year!