Hey all,
I'm using the latest CVS of linuxsampler and up until recently, the Crisis General Midi giga file I use seems to now respond to whacked out midi program changes, for example midi bank 1, program 0 is 111 Shanai, which is very wrong.
I've checked both the giga file and my midi map i've made of all 128 instruments and from what I can see, they're all have their correct midi programs assigned.
Anyone have any ideas?
The giga file is available at http://moose.linux-coders.org/Soundfonts/CGM4LS
Thanks,
Andrew.
[SOLVED] Crisis General Midi responds to weird prog changes?
-
- User
- Posts: 67
- Joined: Mon Sep 01, 2008 8:53 am
[SOLVED] Crisis General Midi responds to weird prog changes?
Last edited by count_fuzzball on Mon Mar 08, 2010 8:20 pm, edited 1 time in total.
-
- User
- Posts: 67
- Joined: Mon Sep 01, 2008 8:53 am
Re: Crisis General Midi responds to whacky program changes?
When I attempt to select the edit option in the right click menu when clicking on an instrument from CGM, Fantasia throws out this:
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: setSelectedIndex: 110 out of bounds
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:601)
at org.jsampler.view.std.JSEditMidiInstrumentDlg.<init>(JSEditMidiInstrumentDlg.java:199)
at org.jsampler.view.std.JSMidiInstrumentsPane.editInstrument(JSMidiInstrumentsPane.java:94)
at org.jsampler.view.std.JSMidiInstrumentsPane$EditInstrumentAction.actionPerformed(JSMidiInstrumentsPane.java:131)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:111)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Anyone have any guesses why this is happening?
Thanks.
Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: setSelectedIndex: 110 out of bounds
at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:601)
at org.jsampler.view.std.JSEditMidiInstrumentDlg.<init>(JSEditMidiInstrumentDlg.java:199)
at org.jsampler.view.std.JSMidiInstrumentsPane.editInstrument(JSMidiInstrumentsPane.java:94)
at org.jsampler.view.std.JSMidiInstrumentsPane$EditInstrumentAction.actionPerformed(JSMidiInstrumentsPane.java:131)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at org.jvnet.substance.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:111)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6263)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6028)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4630)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4460)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Anyone have any guesses why this is happening?
Thanks.
-
- User
- Posts: 67
- Joined: Mon Sep 01, 2008 8:53 am
Re: Crisis General Midi responds to whacky program changes?
Aaarg. I finally tracked down what was causing this.
The indexes in each the giga file were messed up when I re-ordered it so that each instrument was in the GM instrument order!
I just had to rebuild my midi map for all 128 melodic instruments and the drumkits!
The indexes in each the giga file were messed up when I re-ordered it so that each instrument was in the GM instrument order!
I just had to rebuild my midi map for all 128 melodic instruments and the drumkits!