trompamusic / trompace-client

A python library to read from and write to the Trompa CE
Apache License 2.0
1 stars 0 forks source link

Model for AudioObject #9

Closed asarasua closed 4 years ago

asarasua commented 4 years ago

We agreed on using AudioObject for audio files. We have however not agreed specifically on the fields that need to be filled and their content.

I'm in the process of uploading example data with synthetic choir performances to api-test and I'm using mutation queries as the one below (afterwards, these will be linked as exampleOfWork to the scores from which they were synthesized). I'd like to hear your thoughts on these to see if anything should be added or changed @musicog @alastair

mutation {
  CreateAudioObject(
    contributor: "https://www.voiceful.io"
    creator: "https://www.voiceful.io"
    date: { year: 2020, month: 1, day: 13 }
    description: "El Rossinyol - Alto voice"
    format: "audio/wav"
    language: en
    inLanguage: "cat"
    source: "https://sugartune.s3-eu-west-1.amazonaws.com/trompa_examples/out_Rossinyol_catanyol_vm0_sr1_miquel_tenor_47bpm_part3.wav"
    subject: "Catalan choir piece"
    title: "El Rossinyol - Alto voice"
    name: "El Rossinyol - Alto voice"
    url: "https://sugartune.s3-eu-west-1.amazonaws.com/trompa_examples/out_Rossinyol_catanyol_vm0_sr1_miquel_tenor_47bpm_part3.wav"
    contentUrl: "https://sugartune.s3-eu-west-1.amazonaws.com/trompa_examples/out_Rossinyol_catanyol_vm0_sr1_miquel_tenor_47bpm_part3.wav"
    copyrightYear: 2020
    datePublished: { year: 2020, month: 1, day: 13 }
    genre: "Traditional"
    version: "0.9.57"
  ) {
    identifier
  }
}
asarasua commented 4 years ago

We're having the modeling discussion in different places. We decided to use MediaObject instead of AudioObject so the relevant issue is #17.