2009-06-25 07:16:22 -07:00
|
|
|
|
/*
|
|
|
|
|
* NRPN.cs
|
|
|
|
|
* Copyright (c) 2009 kbinani
|
|
|
|
|
*
|
|
|
|
|
* This file is part of Boare.Lib.Vsq.
|
|
|
|
|
*
|
|
|
|
|
* Boare.Lib.Vsq is free software; you can redistribute it and/or
|
|
|
|
|
* modify it under the terms of the BSD License.
|
|
|
|
|
*
|
|
|
|
|
* Boare.Lib.Vsq is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
|
*/
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#if JAVA
|
|
|
|
|
package org.kbinani.vsq;
|
|
|
|
|
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import java.lang.reflect.*;
|
|
|
|
|
import org.kbinani.*;
|
|
|
|
|
#else
|
2009-07-29 10:03:20 -07:00
|
|
|
|
using System;
|
|
|
|
|
using System.Reflection;
|
2009-09-07 03:44:18 -07:00
|
|
|
|
using bocoree;
|
2010-03-16 20:14:08 -07:00
|
|
|
|
using bocoree.java.util;
|
2009-09-07 03:44:18 -07:00
|
|
|
|
|
2009-06-25 07:16:22 -07:00
|
|
|
|
namespace Boare.Lib.Vsq {
|
2009-09-07 03:44:18 -07:00
|
|
|
|
using boolean = System.Boolean;
|
2010-03-16 20:14:08 -07:00
|
|
|
|
using Integer = System.Int32;
|
|
|
|
|
#endif
|
2009-09-07 03:44:18 -07:00
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public class NRPN {
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5000) Version number(MSB) &, Device number(LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_VERSION_AND_DEVICE = 0x5000;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5001) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_DELAY = 0x5001;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5002) Note number(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_NOTE_NUMBER = 0x5002;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5003) Velocity(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_VELOCITY = 0x5003;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5004) Note Duration in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_NOTE_DURATION = 0x5004;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5005) Note Location(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_NOTE_LOCATION = 0x5005;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5006) Attack Type(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_ATTACK_TYPE = 0x5006;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5007) Attack Duration in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_ATTACK_DURATION = 0x5007;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5008) Attack Depth(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_ATTACK_DEPTH = 0x5008;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x500c) Index of Vibrato DB(MSB: ID_H00, LSB:ID_L00)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_INDEX_OF_VIBRATO_DB = 0x500c;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x500d) Vibrato configuration(MSB: Index of Vibrato Type, LSB: Duration &, Configuration parameter of vibrato)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_VIBRATO_CONFIG = 0x500d;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x500e) Vibrato Delay(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_VIBRATO_DELAY = 0x500e;
|
|
|
|
|
// // <summary>
|
|
|
|
|
// // (0x5011) Unknonw(MSB), only used in VOCALOID1
|
|
|
|
|
// // </summary>
|
|
|
|
|
// public const int CVM_NM_UNKNOWN1 = 0x5011;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5012) Number of phonetic symbols in bytes(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL_BYTES = 0x5012;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5013) Phonetic symbol 1(MSB:Phonetic symbol 1, LSB: Consonant adjustment 1)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL1 = 0x5013;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5014) Phonetic symbol 2(MSB:Phonetic symbol 2, LSB: Consonant adjustment 2)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL2 = 0x5014;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5015) Phonetic symbol 3(MSB:Phonetic symbol 3, LSB: Consonant adjustment 3)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL3 = 0x5015;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5016) Phonetic symbol 4(MSB:Phonetic symbol 4, LSB: Consonant adjustment 4)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL4 = 0x5016;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5017) Phonetic symbol 5(MSB:Phonetic symbol 5, LSB: Consonant adjustment 5)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL5 = 0x5017;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5018) Phonetic symbol 6(MSB:Phonetic symbol 6, LSB: Consonant adjustment 6)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL6 = 0x5018;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5019) Phonetic symbol 7(MSB:Phonetic symbol 7, LSB: Consonant adjustment 7)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL7 = 0x5019;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x501a) Phonetic symbol 8(MSB:Phonetic symbol 8, LSB: Consonant adjustment 8)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL8 = 0x501a;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x501b) Phonetic symbol 9(MSB:Phonetic symbol 9, LSB: Consonant adjustment 9)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL9 = 0x501b;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x501c) Phonetic symbol 10(MSB:Phonetic symbol 10, LSB: Consonant adjustment 10)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL10 = 0x501c;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x501d) Phonetic symbol 11(MSB:Phonetic symbol 11, LSB: Consonant adjustment 11)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL11 = 0x501d;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x501e) Phonetic symbol 12(MSB:Phonetic symbol 12, LSB: Consonant adjustment 12)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL12 = 0x501e;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x501f) Phonetic symbol 13(MSB:Phonetic symbol 13, LSB: Consonant adjustment 13)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL13 = 0x501f;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5020) Phonetic symbol 14(MSB:Phonetic symbol 14, LSB: Consonant adjustment 14)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL14 = 0x5020;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5021) Phonetic symbol 15(MSB:Phonetic symbol 15, LSB: Consonant adjustment 15)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL15 = 0x5021;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5022) Phonetic symbol 16(MSB:Phonetic symbol 16, LSB: Consonant adjustment 16)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL16 = 0x5022;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5023) Phonetic symbol 17(MSB:Phonetic symbol 17, LSB: Consonant adjustment 17)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL17 = 0x5023;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5024) Phonetic symbol 18(MSB:Phonetic symbol 18, LSB: Consonant adjustment 18)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL18 = 0x5024;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5025) Phonetic symbol 19(MSB:Phonetic symbol 19, LSB: Consonant adjustment 19)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL19 = 0x5025;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5026) Phonetic symbol 20(MSB:Phonetic symbol 20, LSB: Consonant adjustment 20)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL20 = 0x5026;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5027) Phonetic symbol 21(MSB:Phonetic symbol 21, LSB: Consonant adjustment 21)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL21 = 0x5027;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5028) Phonetic symbol 22(MSB:Phonetic symbol 22, LSB: Consonant adjustment 22)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL22 = 0x5028;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5029) Phonetic symbol 23(MSB:Phonetic symbol 23, LSB: Consonant adjustment 23)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL23 = 0x5029;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x502a) Phonetic symbol 24(MSB:Phonetic symbol 24, LSB: Consonant adjustment 24)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL24 = 0x502a;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x502b) Phonetic symbol 25(MSB:Phonetic symbol 25, LSB: Consonant adjustment 25)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL25 = 0x502b;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x502c) Phonetic symbol 26(MSB:Phonetic symbol 26, LSB: Consonant adjustment 26)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL26 = 0x502c;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x502d) Phonetic symbol 27(MSB:Phonetic symbol 27, LSB: Consonant adjustment 27)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL27 = 0x502d;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x502e) Phonetic symbol 28(MSB:Phonetic symbol 28, LSB: Consonant adjustment 28)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL28 = 0x502e;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x502f) Phonetic symbol 29(MSB:Phonetic symbol 29, LSB: Consonant adjustment 29)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL29 = 0x502f;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5030) Phonetic symbol 30(MSB:Phonetic symbol 30, LSB: Consonant adjustment 30)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL30 = 0x5030;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5031) Phonetic symbol 31(MSB:Phonetic symbol 31, LSB: Consonant adjustment 31)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL31 = 0x5031;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5032) Phonetic symbol 32(MSB:Phonetic symbol 32, LSB: Consonant adjustment 32)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL32 = 0x5032;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5033) Phonetic symbol 33(MSB:Phonetic symbol 33, LSB: Consonant adjustment 33)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL33 = 0x5033;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5034) Phonetic symbol 34(MSB:Phonetic symbol 34, LSB: Consonant adjustment 34)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL34 = 0x5034;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5035) Phonetic symbol 35(MSB:Phonetic symbol 35, LSB: Consonant adjustment 35)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL35 = 0x5035;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5036) Phonetic symbol 36(MSB:Phonetic symbol 36, LSB: Consonant adjustment 36)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL36 = 0x5036;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5037) Phonetic symbol 37(MSB:Phonetic symbol 37, LSB: Consonant adjustment 37)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL37 = 0x5037;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5038) Phonetic symbol 38(MSB:Phonetic symbol 38, LSB: Consonant adjustment 38)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL38 = 0x5038;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5039) Phonetic symbol 39(MSB:Phonetic symbol 39, LSB: Consonant adjustment 39)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL39 = 0x5039;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x503a) Phonetic symbol 40(MSB:Phonetic symbol 40, LSB: Consonant adjustment 40)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL40 = 0x503a;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x503b) Phonetic symbol 41(MSB:Phonetic symbol 41, LSB: Consonant adjustment 41)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL41 = 0x503b;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x503c) Phonetic symbol 42(MSB:Phonetic symbol 42, LSB: Consonant adjustment 42)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL42 = 0x503c;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x503d) Phonetic symbol 43(MSB:Phonetic symbol 43, LSB: Consonant adjustment 43)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL43 = 0x503d;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x503e) Phonetic symbol 44(MSB:Phonetic symbol 44, LSB: Consonant adjustment 44)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL44 = 0x503e;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x503f) Phonetic symbol 45(MSB:Phonetic symbol 45, LSB: Consonant adjustment 45)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL45 = 0x503f;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5040) Phonetic symbol 46(MSB:Phonetic symbol 46, LSB: Consonant adjustment 46)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL46 = 0x5040;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5041) Phonetic symbol 47(MSB:Phonetic symbol 47, LSB: Consonant adjustment 47)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL47 = 0x5041;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5042) Phonetic symbol 48(MSB:Phonetic symbol 48, LSB: Consonant adjustment 48)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL48 = 0x5042;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5043) Phonetic symbol 49(MSB:Phonetic symbol 49, LSB: Consonant adjustment 49)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL49 = 0x5043;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5044) Phonetic symbol 50(MSB:Phonetic symbol 50, LSB: Consonant adjustment 50)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL50 = 0x5044;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5045) Phonetic symbol 51(MSB:Phonetic symbol 51, LSB: Consonant adjustment 51)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL51 = 0x5045;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5046) Phonetic symbol 52(MSB:Phonetic symbol 52, LSB: Consonant adjustment 52)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL52 = 0x5046;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5047) Phonetic symbol 53(MSB:Phonetic symbol 53, LSB: Consonant adjustment 53)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL53 = 0x5047;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5048) Phonetic symbol 54(MSB:Phonetic symbol 54, LSB: Consonant adjustment 54)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL54 = 0x5048;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5049) Phonetic symbol 55(MSB:Phonetic symbol 55, LSB: Consonant adjustment 55)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL55 = 0x5049;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x504a) Phonetic symbol 56(MSB:Phonetic symbol 56, LSB: Consonant adjustment 56)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL56 = 0x504a;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x504b) Phonetic symbol 57(MSB:Phonetic symbol 57, LSB: Consonant adjustment 57)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL57 = 0x504b;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x504c) Phonetic symbol 58(MSB:Phonetic symbol 58, LSB: Consonant adjustment 58)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL58 = 0x504c;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x504d) Phonetic symbol 59(MSB:Phonetic symbol 59, LSB: Consonant adjustment 59)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL59 = 0x504d;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x504e) Phonetic symbol 60(MSB:Phonetic symbol 60, LSB: Consonant adjustment 60)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL60 = 0x504e;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x504f) Phonetic symbol continuation(MSB, 0x7f=end, 0x00=continue)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PHONETIC_SYMBOL_CONTINUATION = 0x504f;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5050) v1mean in Cent/5(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_V1MEAN = 0x5050;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5051) d1mean in millisec/5(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_D1MEAN = 0x5051;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5052) d1meanFirstNote in millisec/5(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_D1MEAN_FIRST_NOTE = 0x5052;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5053) d2mean in millisec/5(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_D2MEAN = 0x5053;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5054) d4mean in millisec/5(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_D4MEAN = 0x5054;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5055) pMeanOnsetFirstNote in Cent/5(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PMEAN_ONSET_FIRST_NOTE = 0x5055;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5056) vMeanNoteTransition in Cent/5(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_VMEAN_NOTE_TRNSITION = 0x5056;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5057) pMeanEndingNote in Cent/5(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_PMEAN_ENDING_NOTE = 0x5057;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5058) AddScooptoUpIntervals &, AddPortamentoToDownIntervals(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_ADD_PORTAMENTO = 0x5058;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5059) changAfterPeak(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_CHANGE_AFTER_PEAK = 0x5059;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x505a) Accent(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_ACCENT = 0x505a;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// (0x507f) Note message continuation(MSB)
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_NM_NOTE_MESSAGE_CONTINUATION = 0x507f;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5075) Extended Note message; Voice Overlap(MSB, LSB)(VoiceOverlap = ((MSB & 0x7f) << 7) | (LSB & 0x7f) - 8192)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_VOICE_OVERLAP = 0x5075;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5076) Extended Note message; Flags length in bytes(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_FLAGS_BYTES = 0x5076;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5077) Extended Note message; Flag(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_FLAGS = 0x5077;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5078) Extended Note message; Flag continuation(MSB)(MSB, 0x7f=end, 0x00=continue)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_FLAGS_CONINUATION = 0x5078;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5079) Extended Note message; Moduration(MSB, LSB)(Moduration = ((MSB & 0x7f) << 7) | (LSB & 0x7f) - 100)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_MODURATION = 0x5079;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x507a) Extended Note message; PreUtterance(MSB, LSB)(PreUtterance = ((MSB & 0x7f) << 7) | (LSB & 0x7f) - 8192)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_PRE_UTTERANCE = 0x507a;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x507e) Extended Note message; Envelope: value1(MSB, LSB) actual value = (value3.msb & 0xf) << 28 | (value2.msb & 0x7f) << 21 | (value2.lsb & 0x7f) << 14 | (value1.msb & 0x7f) << 7 | (value1.lsb & 0x7f)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_ENV_DATA1 = 0x507e;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x507d) Extended Note message; Envelope: value2(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_ENV_DATA2 = 0x507d;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x507c) Extended Note message; Envelope: value3(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_ENV_DATA3 = 0x507c;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x507b) Extended Note message; Envelope: data point continuation(MSB)(MSB, 0x7f=end, 0x00=continue)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CVM_EXNM_ENV_DATA_CONTINUATION = 0x507b;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6000) Version number &, Device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_BS_VERSION_AND_DEVICE = 0x6000;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6001) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_BS_DELAY = 0x6001;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6002) Laugnage type(MSB, optional LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_BS_LANGUAGE_TYPE = 0x6002;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6100) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_CV_VERSION_AND_DEVICE = 0x6100;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6101) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_CV_DELAY = 0x6101;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6102) Volume value(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_CV_VOLUME = 0x6102;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6200) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_P_VERSION_AND_DEVICE = 0x6200;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6201) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_P_DELAY = 0x6201;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6202) Pan value(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_PAN = 0x6202;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6300) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_E_VESION_AND_DEVICE = 0x6300;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6301) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_E_DELAY = 0x6301;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6302) Expression vlaue(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_E_EXPRESSION = 0x6302;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6400) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_VR_VERSION_AND_DEVICE = 0x6400;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6401) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_VR_DELAY = 0x6401;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6402) Vibrato Rate value(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_VR_VIBRATO_RATE = 0x6402;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6500) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_VD_VERSION_AND_DEVICE = 0x6500;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6501) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_VD_DELAY = 0x6501;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6502) Vibrato Depth value(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_VD_VIBRATO_DEPTH = 0x6502;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6600) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_FX2_VERSION_AND_DEVICE = 0x6600;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6601) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_FX2_DELAY = 0x6601;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6602) Effect2 Depth(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_FX2_EFFECT2_DEPTH = 0x6602;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6700) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_PBS_VERSION_AND_DEVICE = 0x6700;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6701) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_PBS_DELAY = 0x6701;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x6702) Pitch Bend Sensitivity(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int CC_PBS_PITCH_BEND_SENSITIVITY = 0x6702;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5300) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int PC_VERSION_AND_DEVICE = 0x5300;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5301) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int PC_DELAY = 0x5301;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5302) Voice Type(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int PC_VOICE_TYPE = 0x5302;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5400) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int PB_VERSION_AND_DEVICE = 0x5400;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5401) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int PB_DELAY = 0x5401;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5402) Pitch Bend value(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int PB_PITCH_BEND = 0x5402;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5500) Version number &, device number(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int VCP_VERSION_AND_DEVICE = 0x5500;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5501) Delay in millisec(MSB, LSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int VCP_DELAY = 0x5501;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5502) Voice Change Parameter ID(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int VCP_VOICE_CHANGE_PARAMETER_ID = 0x5502;
|
2009-06-25 07:16:22 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// (0x5503) Voice Change Parameter value(MSB)
|
|
|
|
|
/// </summary>
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public const int VCP_VOICE_CHANGE_PARAMETER = 0x5503;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
private NRPN() {
|
2009-07-29 10:03:20 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public static Iterator iterator() {
|
|
|
|
|
return new NrpnIterator();
|
|
|
|
|
}
|
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public static String getName( int nrpn ) {
|
|
|
|
|
for ( Iterator itr = iterator(); itr.hasNext(); ) {
|
|
|
|
|
ValuePair<String, Integer> v = (ValuePair<String, Integer>)itr.next();
|
|
|
|
|
if ( v.getValue() == nrpn ) {
|
|
|
|
|
return v.getKey();
|
2009-07-29 10:03:20 -07:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 指定したコントロールに対応するVoice Change Parameter IDの値を調べます
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="curve_name"></param>
|
|
|
|
|
/// <returns></returns>
|
2009-09-07 03:44:18 -07:00
|
|
|
|
public static byte getVoiceChangeParameterID( String curve_name ) {
|
2009-07-29 10:03:20 -07:00
|
|
|
|
byte lsb = 0x31;
|
2010-03-16 20:14:08 -07:00
|
|
|
|
curve_name = curve_name.ToLower();
|
|
|
|
|
if ( curve_name.Equals( "harmonics" ) ) {
|
|
|
|
|
lsb = 0x30;
|
|
|
|
|
} else if ( curve_name.Equals( "bre" ) ) {
|
|
|
|
|
lsb = 0x31;
|
|
|
|
|
} else if ( curve_name.Equals( "bri" ) ) {
|
|
|
|
|
lsb = 0x32;
|
|
|
|
|
} else if ( curve_name.Equals( "cle" ) ) {
|
|
|
|
|
lsb = 0x33;
|
|
|
|
|
} else if ( curve_name.Equals( "por" ) ) {
|
|
|
|
|
lsb = 0x34;
|
|
|
|
|
} else if ( curve_name.Equals( "ope" ) ) {
|
|
|
|
|
lsb = 0x35;
|
|
|
|
|
} else if ( curve_name.Equals( "reso1freq" ) ) {
|
|
|
|
|
lsb = 0x40;
|
|
|
|
|
} else if ( curve_name.Equals( "reso2freq" ) ) {
|
|
|
|
|
lsb = 0x41;
|
|
|
|
|
} else if ( curve_name.Equals( "reso3freq" ) ) {
|
|
|
|
|
lsb = 0x42;
|
|
|
|
|
} else if ( curve_name.Equals( "reso4freq" ) ) {
|
|
|
|
|
lsb = 0x43;
|
|
|
|
|
} else if ( curve_name.Equals( "reso1bw" ) ) {
|
|
|
|
|
lsb = 0x50;
|
|
|
|
|
} else if ( curve_name.Equals( "reso2bw" ) ) {
|
|
|
|
|
lsb = 0x51;
|
|
|
|
|
} else if ( curve_name.Equals( "reso3bw" ) ) {
|
|
|
|
|
lsb = 0x52;
|
|
|
|
|
} else if ( curve_name.Equals( "reso4bw" ) ) {
|
|
|
|
|
lsb = 0x53;
|
|
|
|
|
} else if ( curve_name.Equals( "reso1amp" ) ) {
|
|
|
|
|
lsb = 0x60;
|
|
|
|
|
} else if ( curve_name.Equals( "reso2amp" ) ) {
|
|
|
|
|
lsb = 0x61;
|
|
|
|
|
} else if ( curve_name.Equals( "reso3amp" ) ) {
|
|
|
|
|
lsb = 0x62;
|
|
|
|
|
} else if ( curve_name.Equals( "reso4amp" ) ) {
|
|
|
|
|
lsb = 0x63;
|
|
|
|
|
} else if ( curve_name.Equals( "gen" ) ) {
|
|
|
|
|
lsb = 0x70;
|
2009-07-29 10:03:20 -07:00
|
|
|
|
}
|
|
|
|
|
return lsb;
|
|
|
|
|
}
|
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
public static boolean is_require_data_lsb( int nrpn ) {
|
2009-07-29 10:03:20 -07:00
|
|
|
|
switch ( nrpn ) {
|
|
|
|
|
case CVM_NM_VERSION_AND_DEVICE:
|
|
|
|
|
case CVM_NM_DELAY:
|
|
|
|
|
case CVM_NM_NOTE_DURATION:
|
|
|
|
|
case CVM_NM_INDEX_OF_VIBRATO_DB:
|
|
|
|
|
case CVM_NM_VIBRATO_CONFIG:
|
|
|
|
|
case CVM_NM_PHONETIC_SYMBOL1:
|
|
|
|
|
case CC_BS_VERSION_AND_DEVICE:
|
|
|
|
|
case CC_BS_DELAY:
|
|
|
|
|
case CC_BS_LANGUAGE_TYPE:
|
|
|
|
|
case CC_CV_VERSION_AND_DEVICE:
|
|
|
|
|
case CC_CV_DELAY:
|
|
|
|
|
case CC_P_VERSION_AND_DEVICE:
|
|
|
|
|
case CC_P_DELAY:
|
|
|
|
|
case CC_E_VESION_AND_DEVICE:
|
|
|
|
|
case CC_E_DELAY:
|
|
|
|
|
case CC_VR_VERSION_AND_DEVICE:
|
|
|
|
|
case CC_VR_DELAY:
|
|
|
|
|
case CC_VD_VERSION_AND_DEVICE:
|
|
|
|
|
case CC_VD_DELAY:
|
|
|
|
|
case CC_FX2_VERSION_AND_DEVICE:
|
|
|
|
|
case CC_FX2_DELAY:
|
|
|
|
|
case CC_PBS_VERSION_AND_DEVICE:
|
|
|
|
|
case CC_PBS_DELAY:
|
|
|
|
|
case CC_PBS_PITCH_BEND_SENSITIVITY:
|
|
|
|
|
case PC_VERSION_AND_DEVICE:
|
|
|
|
|
case PC_DELAY:
|
|
|
|
|
case PB_VERSION_AND_DEVICE:
|
|
|
|
|
case PB_DELAY:
|
|
|
|
|
case PB_PITCH_BEND:
|
|
|
|
|
case VCP_VERSION_AND_DEVICE:
|
|
|
|
|
case VCP_DELAY:
|
|
|
|
|
case CVM_EXNM_ENV_DATA1:
|
|
|
|
|
case CVM_EXNM_ENV_DATA2:
|
|
|
|
|
return true;
|
|
|
|
|
case CVM_NM_NOTE_NUMBER:
|
|
|
|
|
case CVM_NM_VELOCITY:
|
|
|
|
|
case CVM_NM_NOTE_LOCATION:
|
|
|
|
|
case CVM_NM_VIBRATO_DELAY:
|
|
|
|
|
//case CVM_NM_UNKNOWN1:
|
|
|
|
|
case CVM_NM_PHONETIC_SYMBOL_BYTES:
|
|
|
|
|
case CVM_NM_PHONETIC_SYMBOL_CONTINUATION:
|
|
|
|
|
case CVM_NM_V1MEAN:
|
|
|
|
|
case CVM_NM_D1MEAN:
|
|
|
|
|
case CVM_NM_D1MEAN_FIRST_NOTE:
|
|
|
|
|
case CVM_NM_D2MEAN:
|
|
|
|
|
case CVM_NM_D4MEAN:
|
|
|
|
|
case CVM_NM_PMEAN_ONSET_FIRST_NOTE:
|
|
|
|
|
case CVM_NM_VMEAN_NOTE_TRNSITION:
|
|
|
|
|
case CVM_NM_PMEAN_ENDING_NOTE:
|
|
|
|
|
case CVM_NM_ADD_PORTAMENTO:
|
|
|
|
|
case CVM_NM_CHANGE_AFTER_PEAK:
|
|
|
|
|
case CVM_NM_ACCENT:
|
|
|
|
|
case CVM_NM_NOTE_MESSAGE_CONTINUATION:
|
|
|
|
|
case CC_CV_VOLUME:
|
|
|
|
|
case CC_PAN:
|
|
|
|
|
case CC_E_EXPRESSION:
|
|
|
|
|
case CC_VR_VIBRATO_RATE:
|
|
|
|
|
case CC_VD_VIBRATO_DEPTH:
|
|
|
|
|
case CC_FX2_EFFECT2_DEPTH:
|
|
|
|
|
case PC_VOICE_TYPE:
|
|
|
|
|
case VCP_VOICE_CHANGE_PARAMETER_ID:
|
|
|
|
|
case VCP_VOICE_CHANGE_PARAMETER:
|
|
|
|
|
case CVM_EXNM_ENV_DATA3:
|
|
|
|
|
case CVM_EXNM_ENV_DATA_CONTINUATION:
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
2009-06-25 07:16:22 -07:00
|
|
|
|
}
|
|
|
|
|
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#if !JAVA
|
2009-06-25 07:16:22 -07:00
|
|
|
|
}
|
2010-03-16 20:14:08 -07:00
|
|
|
|
#endif
|