Previous Thread
Index
Next Thread
Print Thread
Go To
Band-in-a-Box for Windows
Joined: Mar 2011
Posts: 31
D
Dave R Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Mar 2011
Posts: 31
I thought I'd post this question to see if other Forumites with more experience with MIDI editing could provide some suggestions to try to solve a MIDI related problem.

In the last few weeks, I decided to take some favorite MIDI files that I have collected over the years and import them into BIAB (2011). I have successfully imported the chords and melody tracks from about 60 MIDI files, but 1 or 2 of them exhibit a strange problem that I haven't been able to isolate and/or remedy (as of yet). I don't want to spend an inordinate amount of time or effort trying to figure out what's going on, but I thought someone may have run across this already, or know where to look for the source of the problem.

What I generally do is open the MIDI file first in Realband to examine its structure and identify the tracks for the melodies that I want to capture in BIAB. Most of these arrangements are pretty complex, requiring import of multiple channels from the source file in order to capture the good sound of the original file. Using the "Import chords from MIDI file" function, after inspection of the source file in Realband, I decide which channels to import to the Melody and/or Soloist tracks of BIAB. After importation, I then (usually) use the sequencer mode within BIAB to rechannel the imported tracks, so they don't appear on the channels used for the BIAB styles (2,3,6,7, and 10 plus Thru Channel 5). After selecting the appropriate style to go along with the melody, these files are then saved as .MGX files. In a few instances, with simpler, less complex melody tracks, I have been able to import the note information from the original MIDI file into the Melody or Soloist track, and then use the BIAB patch change features to change the Melody or Soloist track as needed to achieve the desired results, then saving that file as an .MGU file.

The problem that I have observed with two MIDI files that I have imported is that the song plays fine the first time it is run in BIAB, but when BIAB loops the song back to play again, or if you manually click “Play” after the song has played one time, one of the re-channeled tracks (comprising part of the melody) has a problem with correct sound playback on the second or subsequent playbacks. Usually only one of the re-channeled tracks is affected, and the problem is that some of the pitch bends during the second or subsequent playbacks of the song are not played correctly for that channel.

I need to indicate that I use an external MIDI synth, the Roland SD-50. I suspect that during the initial playing of these problem song files, there is some MIDI controller event somewhere in the body of the song that gets sent out to the SD-50, which affect playback on the second and subsequent runs. I have done some troubleshooting, and I have found that for one of the problem songs, the “rogue” event is near the end of the song, and for the other problem song, it is near the middle of the song. However, there are thousands of events to look at, making isolation of the exact cause a daunting task.

I have found that the only way to "fix" these problem files is to manually send a "GM Mode ON" message manually from BIAB to the SD-50 before trying to re-play the song. I looked at the MIDI Monitor and saw that the "GM Mode ON" message sends a Controller 122 message with the data value = 127 to all 16 MIDI channels (this is the Local Control ON message).

Of course, I can mentally flag these two songs and remember to send the "GM Mode ON" message after playing them as a “work-around” for the problem (I would also want to send this message so that it doesn't mess up any other song that is played after it), but if it is not too complicated to imbed some additional MIDI events into these two files to take care of the problem automatically, that would be preferred. I did try to manually add the “Local Control ON” message at the beginning of all of the imported channels for one of the songs (which has 10 imported channels divided between the Melody and Soloist tracks), but that didn't fix the problem, which still occurs during the second playback. I didn't add the” Local Control ON” message to the BIAB channels used by the BIAB style because I don't think they are being affected by the problem, and also I don't think that you can do this in BIAB (probably have to go back to Realband.......getting too messy for me!). I would think that if there is some sort of MIDI event sequence that can be appended onto the END of these files, which can reset "normal" operation, this would automatically fix the problem when re-playing these files (or any other file loaded after it).

Any thoughts and/or suggestions would be appreciated.

Thanks,
Dave R.

Band-in-a-Box for Windows
Joined: Jan 2003
Posts: 5,025
Veteran
Offline
Veteran
Joined: Jan 2003
Posts: 5,025
Dave,

Have you tried using the Piano Roll to isolate the messages? I assume they would show up as event data if you have selected the correct midi channel, CC # and bar # in the Piano Roll. I know the guitar bends show when properly selected, so I assume the GM reset message should also appear there. The key is selecting the correct set up, as mentioned above, to see the data.

You might be able to hi-lite the data and use copy/paste to place it in the desired position of your song.

Trax

Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
Try placing Control Event 123 (MIDI Reset "Panic" Button) at the beginning of the file.

If that doesn't do the trick, try placing it at the end of the file as well.



--Mac

Band-in-a-Box for Windows
Joined: Mar 2011
Posts: 31
D
Dave R Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Mar 2011
Posts: 31
Mac,

Thanks for the tip. One question......I'm assuming that I should add Control Event 123 just to the channel that I am having the problem with? Or does that controller message have to be added to all of the channels which have been imported from the MIDI file into the Soloist and Melody tracks of BIAB?

Thanks,
Dave R.

Band-in-a-Box for Windows
Joined: May 2000
Posts: 38,502
M
Mac Offline
Veteran
Offline
Veteran
M
Joined: May 2000
Posts: 38,502
Well, it depends on what is going on inside the offending files.

Try it the easiest way first and if no joy, go for broke.

Bear in mind that this is only a suggestion from a MIDIOT who does not have the files to examine. It may be someting else entirely.

123 Panic can get the MIDIOT out of a lot of different troubles, though, since it will reset the MIDI synth back to square one. Sounds to me like these files are sending a command or two that does not get reset before the song ends. There can be lots of reasons for that, whoever created the file may have done so on a software or machine that does not require such resets. So the whole thing would work for them on their setup and they post it somewhere. The downloading of free MIDI files is nice, but there is a lot of stuff like this one must contend with from time to time.


--Mac

Band-in-a-Box for Windows
Joined: Jan 2011
Posts: 4,026
Veteran
Offline
Veteran
Joined: Jan 2011
Posts: 4,026
Scroll down your events list and see if there are changes in instrument patches, I have seen this in midi I have had problems before. I have erased the instrument patches from the beginning to end before and chose the sounds I wanted manually and it cleared up problems. Also events that have only 0 as a value can sometimes be a problem , especially if it appears to be of an unknown use. Most have at least 1 as a value . Save it as a new name in case it won't work after the changes.

Band-in-a-Box for Windows
Joined: May 2000
Posts: 21,609
Veteran
Offline
Veteran
Joined: May 2000
Posts: 21,609
For Roland JV (and others) the sysex message is F0 7E 7F 09 01 F7
That resets the synth to GM (performance) mode.
You can get the sysex file here-
http://www.gmarts.org/index.php?go=334


Can BiaB do sysex?? Never got that deep in BiaB, I'm in RB by that point..
I guess it can -
http://www.pgmusic.com/bandbox_featurelist.htm
Use ctrl+F to open the Find window and type in 'sysex'.

Last edited by rharv; 05/11/11 05:03 PM.

Make your sound your own!
.. I do not work here, but the benefits are still awesome
Band-in-a-Box for Windows
Joined: Mar 2011
Posts: 31
D
Dave R Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Mar 2011
Posts: 31
Here's a status update...

I fixed one of the problem imported MIDI files by going to the affected channel imported into the BIAB Melody Track (there is more than one channel that was imported into the Melody Track), and I appended the #121 All Controllers Off message (value = 0) at the very end on that channel. That stops the Pitch Bend problem that was happening with that channel on replay.

With the other problem imported MIDI file, that trick didn't work! That song needed 10 imported channels to capture the total sound effectively, so I initially imported 3 into the Melody track and the other 7 into the Soloist track. The pitch bend problem is on one of the 3 channels within the Melody track. What I've done is move the 2 channels that are not having problems from the Melody track into the Soloist track, so that I have isolated the problem channel all by itself in the Melody track. I then reverted the Melody track back to single channel mode, which makes it easier to work on the problem channel. The only thing which "fixes" this imported file, is to manually send the GM Mode On message from BIAB to the SD-50 before replaying the song, which, according to what the MIDI monitor displays, is that a #122 Local Mode ON message (value =0) is sent out on all 16 channels to the SD-50. I tried embedding a #122 message at the beginning of the problem channel, but that also didn't fix the pitch bend problem on replay.

That problem channel does have an embedded patch change for about 16 bars within it, after which it changes back to the primary patch. So, I might try following the suggestion to delete all the embedded patch instructions on that channel, and have the changes made by BIAB using the bar settings function (which you can only do if the Melody Track is not in sequencer mode).

In the meantime, I have an another "almost-as-good" MIDI file for that song, which I have imported with no problems. But, I still want to play around to see if I can fix the problem file.

FYI, I did find one web page with some helpful MIDI info here:

http://home.roadrunner.com/~jgglatt/tech/midispec/ctllist.htm

I'll report back after I try the patch change modifications.

Dave R.

Band-in-a-Box for Windows
Joined: Mar 2011
Posts: 31
D
Dave R Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Mar 2011
Posts: 31
Problem solved!

After I isolated the problem imported channel by itself on the BB Melody Track, I set the MIDI Event filter to look at "Other" controller events on the channel. I found a number of Controller #98 & #99 events (Non-Registered Parameter events) plus a number of Controller #100 & #101 events (Registered Parameter events), as well as a number of Controller #6 events (Data Entry events) spread throughout the song. I deleted all of these events, and that eliminated the Pitch Bend on second playback sound problem. I also found that, after deleting all of the "rogue" events, I didn't need to append a #121 Controller event (value = 0, all controllers off) to the end of the event list.

Thanks all for your suggestions.

Dave R.

Band-in-a-Box for Windows
Joined: May 2000
Posts: 21,609
Veteran
Offline
Veteran
Joined: May 2000
Posts: 21,609
Great problem solving.
This is how MIDI works; if you tell a computer to do something it will do it. Might not be what you want, but it will do it!

Those Non Registered Events can wreak havoc on different systems.


Make your sound your own!
.. I do not work here, but the benefits are still awesome
Band-in-a-Box for Windows
Joined: Dec 2000
Posts: 12,580
Veteran
Offline
Veteran
Joined: Dec 2000
Posts: 12,580
I've always believed that computers only do exactly what you tell them to do, except for when they don't...


John

Laptop-HP Omen I7 Win11Pro 32GB 2x2TB, 1x4TB SSD
Desktop-ASUS-I7 Win10Pro 32GB 2x1.5TB, 2x2TB, 1x4TB SATA

BB2024/UMC404HD/Casios/Cakewalk/Reaper/Studio One/MixBus/Notion/Finale/Dorico/Noteworthy/NI/Halion/IK

http://www.sus4chord.com
Band-in-a-Box for Windows
Joined: Jun 2005
Posts: 7,687
Veteran
Offline
Veteran
Joined: Jun 2005
Posts: 7,687
This is a good example of the problems with some of the free midi's you find on the internet. Those files play fine on the equipment the person who created the files used but try it on a different setup and you see what you get. He then posted them on some website and they were picked up by others who put together those huge compilations of midi files without even trying them out. They just see the song title and think it would be cool to add it to their online collection. Luckily there's still enough good ones floating around that it's worth it to go trolling from time to time.

Bob


Biab/RB latest build, Win 11 Pro, Ryzen 5 5600 G, 512 Gig SSD, 16 Gigs Ram, Steinberg UR22 MkII, Roland Sonic Cell, Kurzweil PC3, Hammond SK1, Korg PA3XPro, Garritan JABB, Hypercanvas, Sampletank 3, more.
Band-in-a-Box for Windows
Joined: Mar 2011
Posts: 31
D
Dave R Offline OP
Enthusiast
OP Offline
Enthusiast
D
Joined: Mar 2011
Posts: 31
FYI,

With all the messing around I've been doing, I also discovered a slight "glitch" with the BIAB "GM Mode ON" message. Apparently, BIAB sends out a GM1 message and not the newer GM2 message, because when I send that message to the synth, it locks into GM1 mode only, and from that point you can't get the synth to turn on a GM2 patch, although BIAB does send out the correct GM2 patch change message. If I need to send out this message, I have to then power cycle the SD-50 synth to use a GM2 patch!

I just posted this minor software change request on the BIAB wishlist.

Cheers,

Dave R.

Previous Thread
Next Thread
Go To

Link Copied to Clipboard
ChatPG

Ask sales and support questions about Band-in-a-Box using natural language.

ChatPG's knowledge base includes the full Band-in-a-Box User Manual and sales information from the website.

PG Music News
Band-in-a-Box® 2024 Review: 4.75 out of 5 Stars!

If you're looking for a in-depth review of the newest Band-in-a-Box® 2024 for Windows version, you'll definitely find it with Sound-Guy's latest review, Band-in-a-Box® 2024 for Windows Review: Incredible new capabilities to experiment, compose, arrange and mix songs.

A few excerpts:
"The Tracks view is possibly the single most powerful addition in 2024 and opens up a new way to edit and generate accompaniments. Combined with the new MultiPicker Library Window, it makes BIAB nearly perfect as an 'intelligent' composer/arranger program."

"MIDI SuperTracks partial generation showing six variations – each time the section is generated it can be instantly auditioned, re-generated or backed out to a previous generation – and you can do this with any track type. This is MAJOR! This takes musical experimentation and honing an arrangement to a new level, and faster than ever."

"Band in a Box continues to be an expansive musical tool-set for both novice and experienced musicians to experiment, compose, arrange and mix songs, as well as an extensive educational resource. It is huge, with hundreds of functions, more than any one person is likely to ever use. Yet, so is any DAW that I have used. BIAB can do some things that no DAW does, and this year BIAB has more DAW-like functions than ever."

Happy Easter! Holiday Hours...

2024 is well underway - it's already Easter Weekend!

Our Customer Service hours this weekend are:

Friday, March 29: 8-4
Saturday, March 30: 8-4
Sunday, March 31: closed

Regular hours resume Monday, April 1st - no joke!

Convenient Ways to Listen to Band-in-a-Box® Songs Created by Program Users!

The User Showcase Forum is an excellent place to share your Band-in-a-Box® songs and listen to songs other program users are creating!

There are other places you can listen to these songs too! Visit our User Showcase page to sort by genre, artist (forum name), song title, and date - each listing will direct you to the forum post for that song.

If you'd rather listen to these songs in one place, head to our Band-in-a-Box® Radio, where you'll have the option to select the genre playlist for your listening pleasure. This page has SoundCloud built in, so it won't redirect you. We've also added the link to the Artists SoundCloud page here, and a link to their forum post.

We hope you find some inspiration from this amazing collection of User Showcase Songs!

Congratulations to the 2023 User Showcase Award Winners!

We've just announced the 2023 User Showcase Award Winners!

There are 45 winners, each receiving a Band-in-a-Box 2024 UltraPAK! Read the official announcement to see if you've won.

Our User Showcase Forum receives more than 50 posts per day, with people sharing their Band-in-a-Box songs and providing feedback for other songs posted.

Thank you to everyone who has contributed!

Video: Volume Automation in Band-in-a-Box® 2024 for Windows®

We've created a video to help you learn more about the Volume Automation options in Band-in-a-Box® 2024 for Windows.

Band-in-a-Box® 2024: Volume Automation

www.pgmusic.com/manuals/bbw2024full/chapter11.htm#volume-automation

Video: Audio Input Monitoring with Band-in-a-Box® 2024 for Windows®

We've created this short video to explain Audio Input Monitoring within Band-in-a-Box® 2024, and included some tips & troubleshooting details too!

Band-in-a-Box® 2024: Audio Input Monitoring

3:17: Tips
5:10: Troubleshooting

www.pgmusic.com/manuals/bbw2024full/chapter11.htm#audio-input-monitoring

Video: Enhanced Melodists in Band-in-a-Box® 2024 for Windows®!

We've enhanced the Melodists feature included in Band-in-a-Box® 2024 for Windows!

Access the Melodist feature by pressing F7 in the program to open the new MultiPicker Library and locate the [Melodist] tab.

You can now generate a melody on any track in the program - very handy! Plus, you select how much of the melody you want generated - specify a range, or apply it to the whole track.

See the Melodist in action with our video, Band-in-a-Box® 2024: The Melodist Window.

Learn even more about the enhancements to the Melodist feature in Band-in-a-Box® 2024 for Windows at www.pgmusic.com/manuals/bbw2024upgrade/chapter3.htm#enhanced-melodist

Forum Statistics
Forums66
Topics81,399
Posts732,550
Members38,442
Most Online2,537
Jan 19th, 2020
Newest Members
danielsk, Mark Morgan, zagrajbarke, Ernest J, Izzy
38,442 Registered Users
Top Posters(30 Days)
MarioD 199
Al-David 133
DC Ron 115
rsdean 85
dcuny 83
Today's Birthdays
(charlie), WobblyGstring
Powered by UBB.threads™ PHP Forum Software 7.7.5