<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE score-partwise PUBLIC
"-//Recordare//DTD MusicXML 3.0 Partwise//EN"
"http://www.musicxml.org/dtds/partwise.dtd">
<score-partwise version="3.0">
<part-list>
<score-part id="P1">
<part-name>Music</part-name>
</score-part>
</part-list>
<part id="P1">
<measure number="1">
<attributes>
<divisions>1</divisions>
<key>
<fifths>0</fifths>
</key>
<time>
<beats>4</beats>
<beat-type>4</beat-type>
</time>
<clef>
<sign>G</sign>
<line>2</line>
</clef>
</attributes>
<note>
<pitch>
<step>C</step>
<octave>4</octave>
</pitch>
<duration>4</duration>
<type>whole</type>
</note>
</measure>
</part>
</score-partwise>
That is the code to produce a single C note in MusicXML.
Why the fuck is this an 'industry standard'?
That looks more like the "code" to select a clef, a time signature, a key, and then put a C note in the first bar, only the bit inside the <pitch> tags is "producing" a C note. Also I'm pretty sure its not meant to be human readable so who gives a fuck what it looks like.
>>59426033
Seems intresting. What library I use in cpp to convert a note(a certain freq) to a sound?
>>59426033
just use lilypond
>>59426675
>cpp
If you want to make music you'll have to use a meme language designed for it
https://www.youtube.com/watch?v=smQOiFt8e4Q&feature=youtu.be
>>59426033
xml was mistake because it allows retards to assume that resources are infinite
>>59426664
>Also I'm pretty sure its not meant to be human readable so who gives a fuck what it looks like.
>48 bytes to describe only two is totally fine.
>" le memory and cpu is cheap"
>>59426791
You can write audio dsp in any language. Its just numbers.
>>59426664
It very well could have been a binary format that would be like 10 bytes total.
>>59426906
>>59427190
fuck off with your binary blob cancer. It would just be as bad at compile time and also cant be edited in runtime.
>>59426906
>>59427190
Thats more of an argument against XML in general though, which desu I'd agree with, I don't like XML.
Also the actual industry standard for music in general rather than scoring is MIDI, which is a binary format.
>>59426675
>cpp
C pre-processor?