Page 1 of 1
Sustain note problem
Posted: Fri Jun 05, 2009 9:55 pm
by cs
Hi all,
What I was trying to do was to play an already working MIDI song on the pa2x and to change the instrument of a certain track with another type.
For example, 2 tracks are assigned to a piano. First piano plays the chords while the second piano is performing the melody side of the song.Of course, there are other tracks such as drums, bass and xylophone as well. What I did was to replace the second piano track with either a violin or accordion.
The concern is when the midi reaches a certain rhythm pattern. The replaced instrument produces a sustain single tone which is constantly present throughout the entire MIDI song(even when the song ends!).
To stop this from happening I toggled the MUTE icon (from mute enable to disable) on the track where the replaced instrument was assigned. But when the song repeats the rhythm pattern again the sustained tone reappears.
Does anybody have any idea what's causing this?
Thanks.

Posted: Sat Jun 06, 2009 12:10 am
by Reuben
Hi,
There are programs available (some shareware) that remove hanging notes from Midi files. One for example is GNMIDI.
Should fix your problem.
I suspect the original instrument had a natural decay so you you didn't notice the hanging (unresolved) note - while the replacement intrument doesn't.
All the best,
John
Posted: Sat Jun 06, 2009 8:31 am
by cs
Ok, thanks, at least there is a way to solve this annoying problem.
But do you think its possible to solve the problem directly on the pa2x itself without the having revert to s/w on the net?
Posted: Sat Jun 06, 2009 12:25 pm
by Rob Sherratt
SHIFT+START/STOP generates all notes off on the Pa2x and will stop any stuck notes. To fix the file you need to insert a MIDI Note OFF event for the note that is stuck. You can edit the MIDI file in Song Play Mode, then press SHIFT RECORD and then select the MIDI note editor to do it.
Regards,
Rob
Posted: Sat Jun 06, 2009 10:11 pm
by cs
Hi Rob,
I tried the SHIFT+START/STOP and as you said it did remove the stuck note, thank you for that tip. Also went into the song play mode & then pressed SHIFT RECORD. But all its done was to pop up a dialogue box to allow you to record in MP3....Maybe I misunderstood something here.
Therefore, I'm still not clear on how you get to the MIDI note editor.
Regards
Chris
Posted: Sat Jun 06, 2009 11:27 pm
by Rob Sherratt
Sorry about my incorrect post above. I must have been in pain at the time (I have to have a brain replacement operation soon)
Correct instructions:
Load your MIDI file into player number 1 (left hand one).
Go into Sequencer Mode.
Use the transport buttons to audition the MIDI file until the "stuck note" starts to play. Then pause playback and press SHIFT+START/STOP to kill the stick note. Then rewind the sequencer slightly until just before the "stuck note" starts.
From the keybed play notes until you find out which note corresponds to the "stuck note". Middle C is called C4, and the A, A# and B to the left are called A4, A#4 and B4. The A one octave higher is A5 etc. So remember the note name and the octave number. Les say for example that it is G3.
Press Menu, then select Event Edit.
Scroll down the list until you find an event type Note, Value 1 is G3, Value 2 is non zero, say its 95 for exaample.
Scroll further down to see if you can find an Event type Note, Value 1 is G3, and Value 2 is 0 (this corresponds to "note off"). You are looking for a Note=G3 with a velocity value, where there is no subsequent "note off" within say the next 30 entries in the event list.
Once you have found a Note=G3 which has no "note off" then I suggest you delete it, that's the simplest solution.
Then exit the event editor, and save your edited MIDI file.
Job done!
Best regards,
Rob
Posted: Sun Jun 07, 2009 4:07 pm
by cs
What you described to me is what I exactly needed to fix this MIDI problem.
I tried it out and eventually was able to remove the constant tone problem
It is also nice that you don't have to go out of the way to find software on the net to solve such problems
Thanks again for your help.
PS Nothing is wrong with your mind Rob!!

Keep up the good work!
cheers
chris
Posted: Sun Jun 07, 2009 6:57 pm
by Rob Sherratt
Hi Chris,
Actually it's not my brain but my gall bladder - I learned last week after about 3 days of tests that it has failed due to build up of a 3cm "stone" and I have to have it removed soon. So it's been on my mind a bit and I rushed the earlier reply from memory instead of checking it out. I'm glad the eventual solution worked for you!
Best regards,
Rob
Posted: Sun Jun 07, 2009 7:08 pm
by cs
I'm Sorry to 'hear' that Rob......!
Just like to say all the best and wish you a speedy recovery.
Best regards
Chris
Posted: Mon Jun 08, 2009 1:33 pm
by macboy
Great explanation Rob !
Posted: Mon Jun 08, 2009 8:02 pm
by sehasafade12
Rob Sherratt wrote:Hi Chris,
Actually it's not my brain but my gall bladder - I learned last week after about 3 days of tests that it has failed due to build up of a 3cm "stone" and I have to have it removed soon. So it's been on my mind a bit and I rushed the earlier reply from memory instead of checking it out. I'm glad the eventual solution worked for you!
Best regards,
Rob
Hello Rob:
Hope you feel better. In regards to the gall bladder stone, I know it very well. Yes, it is painful hope you remove it as soon as possible. Wish you best of health.
Best regards,
Fahim