Examples of BankSelectMessage


Examples of vavi.sound.smaf.message.BankSelectMessage

                        switch (data) {
                        case 0: // program change - 0x00 ~ 0x7f
                            smafMessage = new ProgramChangeMessage(duration, channel, value);
                            break;
                        case 1: // bank select - normal: 0x00 ~ 0x7f, drum: 0x80 ~ 0xff
                            smafMessage = new BankSelectMessage(duration, channel, value);
                            break;
                        case 2: // octave shift - 0x00, 0x01, 0x02, 0x03, 0x04, 0x81, 0x82, 0x83, 0x84
                            smafMessage = new OctaveShiftMessage(duration, channel, value);
                            break;
                        case 3: // modulation -  0x00 ~ 0x7f
View Full Code Here

Examples of vavi.sound.smaf.message.BankSelectMessage

                int channel = status & 0x0f;
                int control = read(is);
                int value   = read(is);
                switch (control) { // TODO no specification
                case 0x00: // �o���N�Z���N�g MSB
                    smafMessage = new BankSelectMessage(duration, channel, value, BankSelectMessage.Significant.Least);
                    break;
                case 0x20: // �o���N�Z���N�g LSB
                    smafMessage = new BankSelectMessage(duration, channel, value, BankSelectMessage.Significant.Most);
                    break;
                case 0x01: // ���W�����[�V�����f�v�X MSB
                    smafMessage = new ModulationMessage(duration, channel, value);
                    break;
                case 0x07: // ���C���{�����[�� MSB
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.