MakeMusic
SmartMusic Finale Garritan MusicXML

XML Tab Notation to Midi

Moderator: Michael Good

XML Tab Notation to Midi

Postby MusoBob » Mon Dec 05, 2016 8:56 am

What program can I open some Tabs in xml that have bends and save as midi with the pitch bends included ?

Image
MusoBob
 
Posts: 6
Joined: December, 2016

Re: XML Tab Notation to Midi

Postby MusoBob » Mon Dec 05, 2016 6:53 pm

The program I was saving the xml with wasn't saving all the info, but Guitar Pro saved to xml, opened that xml, saved that xml to midi with the bends and vibrato.
So these programs need to adopted a standard for import/export.

Re: 3.0 Standard Confusion? Not bidirectional import vs. exp
MusoBob
 
Posts: 6
Joined: December, 2016

Re: XML Tab Notation to Midi

Postby Mogens Lundholm » Mon Dec 05, 2016 10:59 pm

Interesting because I implemented vibrato, but realised that MusicXML does not have vibrato.
(I misunderstood the word and thought that tremolo and vibrato was the same).

Do you have a small MusicXML file with vibrato? (to upload)
Mogens Lundholm
 
Posts: 60
Joined: March, 2014

Re: XML Tab Notation to Midi

Postby MusoBob » Tue Dec 06, 2016 2:52 am

There is the original Guitar Pro file, it was saved to xml, the xml was imported in Guitar Pro then exported to midi with bends and vibrato.
The vibrato is around the end, you will hear in the midi.

lessons_blues-blues_licks_begginer_blues.zip
MusoBob
 
Posts: 6
Joined: December, 2016

Re: XML Tab Notation to Midi

Postby Mogens Lundholm » Tue Dec 06, 2016 11:16 am

Thanks. This is very interesting for me. The vibrato is defined with:
<other-technical>vibrato</other-technical>

and for bend:

<technical><string>3</string><fret>7</fret></technical>

The MusicXML DTD says:
"The other-technical element is used to define any technical indications
not yet in the MusicXML format."

and

"Technical indications give performance information for individual instruments."

I would like to have "vibrato" defined generally and similar to "tremolo"
in "ELEMENT ornaments". The definition could also be similar to trill.
But I can implement vibrato using <other-technical>. Then I can understand
the Guitar Pro file, but still "vibrato" is just a word, that Guitar Pro wrote.
They could have written "guitar-vibrato" or "tomato". And if my program
understand "tomato" and plays a vibrato then ... . Anyway I will implement the
Guitar Pro solution for now.

As can be seen in the Midi-file, the vibrato and bends are implemented using
the command/event "Pitch Bend" (Midi Command E0), which changes the tune of
all notes in the track. So that a bass string will be bent to, if played at
the same time.
An alternative to "Pitch Bend" should be "Midi Tuning Standard". This uses the
Meta-command (Midi command F0 7F). But in spite of all my efforts I have not
been able to tell if the synthesisers in PC and Mac have support for
Midi Tuning Standard. Does anybody know?
Mogens Lundholm
 
Posts: 60
Joined: March, 2014

Re: XML Tab Notation to Midi

Postby MusoBob » Tue Dec 06, 2016 5:27 pm

As can be seen in the Midi-file, the vibrato and bends are implemented using
the command/event "Pitch Bend" (Midi Command E0), which changes the tune of
all notes in the track. So that a bass string will be bent to, if played at
the same time.


Here's one with separate channels for each string, but the program exporting doesn't save the bend info in the xml or midi.

Midi6ch_separate_tracks2.zip
MusoBob
 
Posts: 6
Joined: December, 2016

Re: XML Tab Notation to Midi

Postby Mogens Lundholm » Wed Dec 07, 2016 5:44 pm

Thanks again. I noticed that my program was not tolerant concerning upper case letters in
the extension ".xml". And separate tracks for each string can solve the problem.
However - about the MusicXML commands: I don't think that upper case letters are allowed.
But I am not sure. But I think that "<Slur type="start" number="1"/>" should be
"<slur type="start" number="1"/>" with lower case letters in "slur".

What is your scope? Seems like "Guitar Pro" works. Can't you just use Guitar Pro?

/Mogens
Mogens Lundholm
 
Posts: 60
Joined: March, 2014

Re: XML Tab Notation to Midi

Postby MusoBob » Thu Dec 08, 2016 9:14 pm

I was using PGmusic's Biab/RealBand, they are going to fix it so it exports the same as it imports, then if it don't save the bends in the midi I can do it with Guitar Pro.
I sent them the above info about CAPS, thanks for that.

I just purchased Presonus Progression 3 as it imported/saved xml, it took vst's and had ReWire, but the exported midi had no bends in it, there was no midi out and they removed the support for vst instruments, as there was no trial version I found this out after, so that turned into another saga getting Presonus to fix it. The sound is not good as you need Direct Input/Dry Guitar to be usable.

This is TuxGuitar Midi Out to RealGuitar, the next is Progression 3 sound.
They just need xml import for Tux, it has export.

Tux RealRick & Progression3.mp4
MusoBob
 
Posts: 6
Joined: December, 2016

Who is online

Users browsing this forum: Google [Bot] and 0 guests