Audio files containing sampled instruments can have metadata describing the note
that was played on the instrument.
_("interpreted-by"),
_("Information about the people behind a remix and similar "
"interpretations"), gst_tag_merge_strings_with_comma);
+ gst_tag_register_static (GST_TAG_MIDI_BASE_NOTE, GST_TAG_FLAG_META,
+ G_TYPE_UINT,
+ _("midi-base-note"), _("Midi note number of the audio track."), NULL);
}
/**
* Since: 1.2
*/
#define GST_TAG_INTERPRETED_BY "interpreted-by"
+/**
+ * GST_TAG_MIDI_BASE_NOTE:
+ *
+ * <ulink url="http://en.wikipedia.org/wiki/Note#Note_designation_in_accordance_with_octave_name">Midi note number</ulink>
+ * of the audio track. This is useful for sample instruments and in particular
+ * for multi-samples.
+ *
+ * Since: 1.2
+ */
+#define GST_TAG_MIDI_BASE_NOTE "midi-base-note"
G_END_DECLS