Old 09-19-2019, 10:58 PM   #1
dangguidan
Human being with feelings
 
Join Date: Jan 2019
Posts: 102
Default Can't MIDI's overall key signature be set?

Can't MIDI's overall key signature be set?
Although the five-line spectrum window can input the key signature, after MIDI is exported, the input key signature disappears.
dangguidan is offline   Reply With Quote
Old 09-22-2019, 09:19 AM   #2
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,080
Default

what is the 5 line spectrum window? no idea what you are talking about
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is offline   Reply With Quote
Old 09-22-2019, 09:52 AM   #3
Icchan
Human being with feelings
 
Icchan's Avatar
 
Join Date: Dec 2011
Location: Finland
Posts: 492
Default

MIDI has no key signature. (read the specification, since you'd do yourself a favor understanding what MIDI really is about, too few musicians have any proper grasp on the basics of a protocol they use daily... which is weird)

the "5-line spectrum window" you're referring to the "Notation editor" or "Notation view" of underlying MIDI-data.

It's nothing more than an abstraction layer and when you export the MIDI, you're stripping away any functionality that's not supported by MIDI, and one of them being a concept of "Key signature".

MIDI is open ended, so it can have data in it to signify Key signature, but it would need the software/hardware that interprets the MIDI to be set up to use that particular piece of data as a "key center".
__________________
Support FR's to make reaper more usable!
PRE-Fader Metering, TCP Parameter knobs, Splitting Midi Editor, Big MIDI Indicators
Icchan is offline   Reply With Quote
Old 09-22-2019, 10:35 AM   #4
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,080
Default

oh I see... it means the Notation View only... 5 line notation staff...

OK I see what the OP is asking now... so what he could do, is name his midi files to include the key sig and then
set that in reaper

and yes, neither xml nor .mid hold the key sig. as far as I can see
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain

Last edited by hopi; 09-22-2019 at 10:44 AM.
hopi is offline   Reply With Quote
Old 09-22-2019, 11:56 AM   #5
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 10,252
Default

There is actually a MIDI specification for key signature. If you set the key signature using the REAPER notation editor and then export a .mid file, the key signature should be embedded in the .mid file.
schwa is offline   Reply With Quote
Old 09-22-2019, 03:31 PM   #6
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,080
Default

oh thanks schwa.... I did try that but was confused by the result but now I know better...
does it work for xml the same way?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is offline   Reply With Quote
Old 09-22-2019, 06:43 PM   #7
dangguidan
Human being with feelings
 
Join Date: Jan 2019
Posts: 102
Default

Quote:
Originally Posted by schwa View Post
There is actually a MIDI specification for key signature. If you set the key signature using the REAPER notation editor and then export a .mid file, the key signature should be embedded in the .mid file.
The problem now is that key signature has been inserted into the notation editor, but after MIDI exports, all this information has been lost.
dangguidan is offline   Reply With Quote
Old 09-23-2019, 03:50 AM   #8
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 10,252
Default

The key signature should be embedded in the exported .mid file. Would you care to attach one of the exported MIDI files?

schwa is offline   Reply With Quote
Old 09-23-2019, 06:23 AM   #9
dangguidan
Human being with feelings
 
Join Date: Jan 2019
Posts: 102
Default

Midi and screenshots were uploaded, and key signature was still not seen in other sequencers.
Attached Images
File Type: jpg K_S.jpg (25.2 KB, 12 views)
Attached Files
File Type: mid k_S.mid (299 Bytes, 5 views)
dangguidan is offline   Reply With Quote
Old 09-23-2019, 06:44 AM   #10
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 10,252
Default

Thanks for posting the file. Could you post the .RPP as well?
schwa is offline   Reply With Quote
Old 09-23-2019, 08:06 AM   #11
dangguidan
Human being with feelings
 
Join Date: Jan 2019
Posts: 102
Default

Sorry, the MIDI was not saved before.
I redesigned an RPP and inserted four key signatures, set to A B C D.
Attached Files
File Type: rpp K_S.RPP (3.9 KB, 3 views)
dangguidan is offline   Reply With Quote
Old 09-23-2019, 08:14 AM   #12
dangguidan
Human being with feelings
 
Join Date: Jan 2019
Posts: 102
Default

I also uploaded a correct MIDI file, key signatures set to A B C D.
Attached Files
File Type: zip K_S right.zip (285 Bytes, 1 views)
dangguidan is offline   Reply With Quote
Old 09-23-2019, 09:04 AM   #13
schwa
Administrator
 
schwa's Avatar
 
Join Date: Mar 2007
Location: NY
Posts: 10,252
Default

This is a bit obscure, but I think the problem is this: if you have MIDI editor View > Notation view options > Key signatures > Key signature changes affect all tracks enabled, then key signature changes are stored with the project. If that preference is disabled, then key signature changes are stored with the track. If key signature changes are stored with the project, they will only be exported when you choose File > Export project MIDI from the main REAPER menu. If key signature changes are stored with the track, they will only be exported when you choose File > Export to new MIDI file from the MIDI editor menu.

I think we should probably change this on our side so the key signatures are exported in all combinations of preferences and export methods.
schwa is offline   Reply With Quote
Old 09-23-2019, 11:40 AM   #14
hopi
Human being with feelings
 
hopi's Avatar
 
Join Date: Oct 2008
Location: Right Hear
Posts: 15,080
Default

yes plz schwa.... it would seem to make much more sense when exporting the MIDI file, that it included the key signatures used regardless of other reaper settings.... isn't true that then we would just not need other settings?
__________________
...should be fixed for the next build... http://tinyurl.com/cr7o7yl
https://soundcloud.com/hopikiva/angel-rain
hopi is offline   Reply With Quote
Old 09-24-2019, 10:26 AM   #15
Icchan
Human being with feelings
 
Icchan's Avatar
 
Join Date: Dec 2011
Location: Finland
Posts: 492
Default

@Schwa, dang it, thanks for correcting me. I had completely glossed over meta data fields in the .mid file itself... that's true. the key signature has a support as system exclusive message as well... and I forgot that completely.

Thank you and sorry about me spreading misinformation. I really should have dealt more with MIDI-files instead of the raw protocol itself (I'm mostly dealing with MIDI in embedded electronics systems)

Thanks and sorry about that ;D
__________________
Support FR's to make reaper more usable!
PRE-Fader Metering, TCP Parameter knobs, Splitting Midi Editor, Big MIDI Indicators
Icchan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 11:16 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.