Package vavi.sound.smaf.message

Examples of vavi.sound.smaf.message.ExpressionMessage


                            break;
                        case 0x0a: // pan -  0x00 ~ x040 ~ 0x7f
                            smafMessage = new PanMessage(duration, channel, value);
                            break;
                        case 0x0b: // expression - normal: 0x00 ~ 0x7f
                            smafMessage = new ExpressionMessage(duration, channel, value);
                            break;
                        default:
                            smafMessage = new UndefinedMessage(duration);
Debug.println("unknown 0x00, 0x" + StringUtil.toHex2(e2) + ", 3, " + StringUtil.toHex2(data));
                            break;
                        }
                        break;
                    case 2: // modulation (short) 0x01 ~ 0x0e
                        smafMessage = new ModulationMessage(duration, channel, modulationTable[data]);
                        break;
                    case 1: // pitch bend (short) 0x01 ~ 0x0e
                        smafMessage = new PitchBendMessage(duration, channel, (data * 8) << 7);
                        break;
                    case 0: // expression (short) 0x01 ~ 0x0e
                        smafMessage = new ExpressionMessage(duration, channel, data == 1 ? 0 : data * 8 + 15);
                        break;
                    }
                }
            }
//Debug.println(available() + ", " + smafMessage);
View Full Code Here


                    break;
                case 0x0a: // �p���|�b�g MSB
                    smafMessage = new PanMessage(duration, channel, value);
                    break;
                case 0x0b: // �G�N�X�v���b�V���� MSB
                    smafMessage = new ExpressionMessage(duration, channel, value);
                    break;
                case 0x06: // �f�[�^�G���g���[ MSB
                case 0x26: // �f�[�^�G���g���[ LSB
                case 0x40: // �z�[���h 1 (�_���p�[)
                case 0x47: // �t�B���^�E���]�i���X MA-5
View Full Code Here

TOP

Related Classes of vavi.sound.smaf.message.ExpressionMessage

Copyright © 2018 www.massapicom. 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.