Midifile after reaching the end going back to beginning

Started by vanzee, February 15, 2021, 08:32:23 AM

Previous topic - Next topic

vanzee

Hello,

I have recorded a midifile.
In this midifile I have placed a fade-out that
stops at four bars before the end of the midifile.
At the end of the last measure the midifile stops and goes
back to the beginning, this is OK.
I would like the midifile to stop at the end of the fade-out
and goes back to the beginning.
The last four bars are too much.
Question:
how does a midifile know that the end has been reached and back
should be gone to the beginning?
Is there a sy*** or other command that determines this?
I have already searched via MixMaster and in the data list
to find this sy***, but without result.
Many thanks in advance.
Best Regards
Eddy Vanzee

Fred Smith

I don't know what keyboard you have, but my bet is it has nothing to do with your midi file. You have your playback on repeat.

Cheers,
Fred
Fred Smith,
Saskatoon, SK
Sun Lakes, AZ
Genos, Bose L1 compacts, Finale 2015
Check out my Registration Lessons

vanzee

Thank you very much for your answer,Fred.
My kbd is Genos.
Best Regards
Eddy Vanzee

overover

Quote from: vanzee on February 15, 2021, 08:32:23 AM
... I have recorded a midifile.
In this midifile I have placed a fade-out that stops at four bars before the end of the midifile.
At the end of the last measure the midifile stops and goes back to the beginning, this is OK.
I would like the midifile to stop at the end of the fade-out and goes back to the beginning.
The last four bars are too much.

Question:
how does a midifile know that the end has been reached and back should be gone to the beginning?
Is there a sy*** or other command that determines this?

I have already searched via MixMaster and in the data list to find this sy***, but without result. Many thanks in advance.

Hi Eddy,

the end of a MIDI file is defined by the "END" Marker. I have not yet found a way to display this meta event in "MixMaster". But directly on the Genos this is no problem:

- Go to "MIDI Multi Recording" and load your song if you haven't already.

- Touch "Step Edit".

- Scroll fully down the event list. You should see the "End" Marker as the last event in the list. (See also the attached picture.)

- Go one after the other through the channels Ch 1 - Ch 16 as well as the lists for "Sy***", "Lyrics" and "Chord" and delete all events that you no longer need in the last 4 bars (you mentioned) before the "End" marker.

- Then you can move the End marker "back" by these 4 measures (bars) by setting its position (Measure: Beat: Clock) to the desired new value. (Use the cursor keys and the data dial to do this.)

- Finally, you save the file again and the bars that are no longer needed should be gone. :)


Please refer also to the chapter "Step Recording/Editing Songs (Step Edit)" in the Genos Reference Manual, from page 85.
>>> https://uk.yamaha.com/en/products/musical_instruments/keyboards/arranger_workstations/genos/downloads.html#product-tabs


P.S.
After reaching the end of the MIDI file, the song position automatically jumps to the beginning of the song. If sounds or effects ending in a certain file are CUT OFF at the end of the file by this "jumping back" to the beginning of the song, you would have to do exactly the opposite of what has just been described, i.e. the End marker one or two measures behind to create additional empty bars.


Hope this helps!

Best regards,
Chris



[attachment deleted by admin]
● Everyone kept saying "That won't work!" - Then someone came along who didn't know that, and - just did it.
● Never put the Manual too far away: There's more in it than you think! ;-)

Wim NL


Menu 2 > Song Recording > Multi Record > Step Edit > Tap on CH1 an change it in Sy*** page 3/3 > OK
Tap on 001 and scrol with the dial to the end.
Delete with multi select the events after the endpoint you want first.
Change there the endpoint in when the song has to stop.
Then save the song.
Best Regards,
Wim

vanzee

Hello Chris & Wim

thank you very much for your help and for putting me on the right path.
Here's what I tried and my findings:

System "Chris":
-I load the midifile in "Midi Multi Recording";
-go to "Step Edit;
-in "Event Filter" I check all items "ON";
-the midifile contains 119 bars, the "End point" is at "119: 4: 0204";
-I go to "Ch1", choose "Multi Select" and delete everything from "116";
-I do the same for all other parts;
-I now go back to "Sy***" and change the "MBT" to "116: 1: 0000";
-I press "Save" and save the midifile.
-I look at the midi file in "Song"> "Score" and see that it now stops on
"MBT" "117: 1", one bar beyond intended. I can live with that.

System "Wim":
-Only removed the items in "Sy***" and changed "End" to "116: 1: 0000";
-midifile saved and checked in "Song"> "Score" and in "Step Edit":
"End" is now back to "19: 4: 0204".
This turns out to be unsuccessful.

MixMaster system:
-I load the midifile in "MixMaster";
-go to "List View> View" and select all items > "Update";
-I remove everything from bar "116";
-save the midifile and place it in Genos;
-check in "Score"> midifile stops at "117: 1",
in "Step Edit", "End" is set to "117: 1: 0180".

My conclusion:
-it is possible to move the endpoint "End",
to do this it is necessary to delete all "events" first
to the desired endpoint, this endpoint can then be adjusted
as desired.

-Apparently it is still necessary to proceed as
in system "Chris": delete everything per part.

-Also in MixMaster it is possible to obtain the desired result,
check in "Step Edit" in Genos shows that the endpoint "End"
is placed automatically.

-It is known that MixMaster and Genos are one bar different.
With this knowledge it may be possible to achieve the desired result
to be obtained by taking this into account.
Best Regards
Eddy Vanzee

tyros5psr


thank you very much for all this great and useful information

Wim NL

Midi Multi Record.
Tick the Bar 001.1
Change it in 116.1
Press record and press play till end of song.
This will delete all channel data.
Then Remove the sy*** data from the SY*** from 116.1 till end of song.
Change end of song in SY*** to 116.1
Best Regards,
Wim

vanzee

Hello Wim,
thank you for the reply.
This time it worked out well as you discribed by recording.
I'll remember that it's important to delete all events
from the desired "end"-MBT to the endpoint one way or another.
It's also usefull to know that MixMaster can do the job.
Best Regards
Eddy Vanzee

vlbrgt

The hexadecimal code for an end marker in a midi file's track is 'FF 2F 00' .
FF -> Meta event
2F -> Meta type
00 -> 0 bytes are following

MixMaster does not show the end event in ListView. It is not detected by the used dll.
However the end marker (FF 2F 00) will automatically be inserted after the very last midi event.
If in MixMaster you remove for example the last 4 measures, the end marker will be moved just after the last existing event in the list.

In a Format 1 midi file each track has a End Marker (FF 2F 00).
This is not of concern for the genos. Genos only works with format 0 midi files.
If a format 1 midi file is loaded into Genos, it will be transfered to format 0.
Except Multipad files that are format 1 midi files.

Regards
Etienne


If plan A doesn't work, don't forget that the alphabet has 25 more letters.
Volbragte@telenet.be
https://voetsoft.be
Genos

vanzee

Best Regards
Eddy Vanzee