/// summary ///合成主音1(方波) /// /summary Lead1Square = 80

时间:2022-06-10 06:30:50

1.界说一个枚举,乐器类型
    #region 乐器界说
    public enum MusicNo:uint
    {   /// <summary>
     /// //大钢琴
     /// </summary>
        AcousticGrandPiano = 0,
        /// <summary>
        ///敞亮的钢琴
        /// </summary>
        BrightAcousticPiano = 1,
        /// <summary>
        ///电子琴
        /// </summary>
        ElectricGrandPiano = 2,
        /// <summary>
        ///酒吧钢琴
        /// </summary>
        HonkyTonkPiano = 3,
        /// <summary>
        ///柔和钢琴
        /// </summary>
        RhodesPiano = 4,
        /// <summary>
        ///合唱效果钢琴
        /// </summary>
        ChorusedPiano = 5,
        /// <summary>
        ///羽管键琴
        /// </summary>
        Harpsichord = 6,
        /// <summary>
        ///克拉维科特琴
        /// </summary>
        Clavichord = 7,
        /// <summary>
        ///钢片琴
        /// </summary>
        Celesta = 8,
        /// <summary>
        ///钟琴
        /// </summary>
        Glockenspiel = 9,
        /// <summary>
        ///八音盒
        /// </summary>
        Musicbox = 10,
        /// <summary>
        ///颤音琴
        /// </summary>
        Vibraphone = 11,
        /// <summary>
        ///马林巴
        /// </summary>
        Marimba = 12,
        /// <summary>
        ///木琴
        /// </summary>
        Xylophone = 13,
        /// <summary>
        ///管钟
        /// </summary>
        TubularBells = 14,
        /// <summary>
        ///大扬琴
        /// </summary>
        Dulcimer = 15,
        /// <summary>
        /// 击杆风琴
        /// </summary>
        HammondOrgan = 16,
        /// <summary>
        /// 冲击式风琴
        /// </summary>
        PercussiveOrgan = 17,
        /// <summary>
        /// 摇滚风琴
        /// </summary>
        RockOrgan = 18,
        /// <summary>
        /// 教堂风琴
        /// </summary>
        ChurchOrgan = 19,
        /// <summary>
        /// 簧管风琴
        /// </summary>
        ReedOrgan = 20,
        /// <summary>
        /// 手风琴
        /// </summary>
        Accordian = 21,
        /// <summary>
        /// 口琴
        /// </summary>
        Harmonica = 22,
        /// <summary>
        ///探戈手风琴
        /// </summary>
        TangoAccordian = 23,
        /// <summary>
        /// 尼龙弦吉他
        /// </summary>
        AcousTicGuitarNylon = 24,
        /// <summary>
        /// 钢弦吉他
        /// </summary>
        AcousTicGuitarSteel = 25,
        /// <summary>
        /// 爵士电吉他
        /// </summary>
        ElectricGuitarJazz = 26,
        /// <summary>
        /// 清音电吉他
        /// </summary>
        ElectricGuitarClean = 27,
        /// <summary>
        /// 闷音电吉他
        /// </summary>
        ElectricGuitarMuted = 28,
        /// <summary>
        /// 加驱动效果的电吉他
        /// </summary>
        OverdrivenGuitar = 29,
        /// <summary>
        /// 加掉真效果的电吉他
        /// </summary>
        DistortionGuitar = 30,
        /// <summary>
        /// 吉他和音
        /// </summary>
        GuitarHarmonics = 31,
        /// <summary>
        ///大贝司(声学贝司)
        /// </summary>
        AcousticBass = 32,
        /// <summary>
        /// 电贝司(指弹)
        /// </summary>
        ElectricBassfinger = 33,
        /// <summary>
        /// 电贝司(拨片)
        /// </summary>
        ElectricBassPick = 34,
        /// <summary>
        /// 无品贝司
        /// </summary>
        FretlessBass = 35,
        /// <summary>
        ///  掌击Bass 1
        /// </summary>
        SlapBass1 = 36,
        /// <summary>
        /// 掌击Bass 2
        /// </summary>
        SlapBass2 = 37,
        /// <summary>
        /// 电子合成Bass 1
        /// </summary>
        SynthBass1 = 38,
        /// <summary>
        /// 电子合成Bass 2
        /// </summary>
        SynthBass2 = 39,
        /// <summary>
        ///  小提琴
        /// </summary>
        Violin = 40,
        /// <summary>
        /// 中提琴
        /// </summary>
        Viola = 41,
        /// <summary>
        /// 大提琴
        /// </summary>
        Cello = 42,
        /// <summary>
        /// 低音大提琴
        /// </summary>
        Contrabass = 43,
        /// <summary>
        ///弦乐群颤音音色
        /// </summary>
        TremoloStrings = 44,
        /// <summary>
        ///弦乐群拨弦音色
        /// </summary>
        PizzicatoStrings = 45,
        /// <summary>
        ///竖琴
        /// </summary>
        OrchestralHarp = 46,
        /// <summary>
        ///  定音鼓
        /// </summary>
        Timpani = 47,
        /// <summary>
        ///弦乐合奏音色1
        /// </summary>   
        StringEnsemble1 = 48,
        /// <summary>
        ///弦乐合奏音色2
        /// </summary>
        StringEnsemble2 = 49,
        /// <summary>
        ///合成弦乐合奏音色1
        /// </summary>
        SynthStrings1 = 50,
        /// <summary>
        ///合成弦乐合奏音色2
        /// </summary>
        SynthStrings2 = 51,
        /// <summary>
        ///人声合唱“啊”
        /// </summary>
        ChoirAahs = 52,
        /// <summary>
        ///人声“嘟”
        /// </summary>
        VoiceOohs = 53,
        /// <summary>
        ///合成人声
        /// </summary>
        SynthVoice = 54,
        /// <summary>
        ///管弦敲击齐奏
        /// </summary>
        OrchestraHit = 55,
        /// <summary>
        ///小号
        /// </summary>
        Trumpet = 56,
        /// <summary>
        ///长号
        /// </summary>
        Trombone = 57,
        /// <summary>
        ///大号
        /// </summary>
        Tuba = 58,
        /// <summary>
        ///加弱音器小号
        /// </summary>
        MutedTrumpet = 59,
        /// <summary>
        ///法国号(圆号)
        /// </summary>
        FrenchHorn = 60,
        /// <summary>
        ///铜管组(铜管乐器合奏音色)
        /// </summary>
        BrassSection = 61,
        /// <summary>
        ///合成铜管音色1
        /// </summary>
        SynthBrass1 = 62,
        /// <summary>
        ///合成铜管音色2
        /// </summary>
        SynthBrass2 = 63,
        /// <summary>
        ///高音萨克斯风
        /// </summary>
        SopranoSax = 64,
        /// <summary>
        ///次中音萨克斯风
        /// </summary>
        AltoSax = 65,
        /// <summary>
        ///中音萨克斯风
        /// </summary>
        TenorSax = 66,
        /// <summary>
        ///低音萨克斯风
        /// </summary>
        BaritoneSax = 67,
        /// <summary>
        ///双簧管
        /// </summary>
        Oboe = 68,
        /// <summary>
        ///英国管
        /// </summary>
        EnglishHorn = 69,
        /// <summary>
        ///巴松(大管)
        /// </summary>
        Bassoon = 70,
        /// <summary>
        ///单簧管(黑管)
        /// </summary>
        Clarinet = 71,
        /// <summary>
        ///短笛
        /// </summary>
        Piccolo = 72,
        /// <summary>
        ///长笛
        /// </summary>
        Flute = 73,
        /// <summary>
        ///竖笛
        /// </summary>
        Recorder = 74,
        /// <summary>
        ///排箫
        /// </summary>
        PanFlute = 75,
        /// <summary>
        ///[中文名称暂缺]
        /// </summary>
        BottleBlow = 76,
        /// <summary>
        ///日本尺八
        /// </summary>
        Shakuhachi = 77,
        /// <summary>
        ///口哨声
        /// </summary>
        Whistle = 78,
        /// <summary>
        ///奥卡雷那
        /// </summary>
        Ocarina = 79,
        /// <summary>
        ///合成主音1(方波)
        /// </summary>           
        Lead1Square = 80,
        /// <summary>
        ///合成主音2(锯齿波)
        /// </summary>
        Lead2Sawtooth = 81,
        /// <summary>
        ///合成主音3
        /// </summary>
        Lead3CaliopeLead = 82,
        /// <summary>
        ///合成主音4
        /// </summary>
        Lead4ChiffLead = 83,
        /// <summary>
        ///合成主音5
        /// </summary>
        Lead5Charang = 84,
        /// <summary>
        ///合成主音6(人声)
        /// </summary>
        Lead6Voice = 85,
        /// <summary>
        ///合成主音7(平行五度)
        /// </summary>
        Lead7Fifths = 86,
        /// <summary>
        ///合成主音8(贝司加主音)
        /// </summary>
        Lead8BassLead = 87,
        /// <summary>
        ///合成音色1(新世纪)
        /// </summary>
        Pad1NewAge = 88,
        /// <summary>
        ///合成音色2 (温暖)
        /// </summary>
        Pad2Warm = 89,
        /// <summary>
        ///合成音色3
        /// </summary>
        Pad3Polysynth = 90,
        /// <summary>
        ///合成音色4 (合唱)
        /// </summary>
        Pad4Choir = 91,
        /// <summary>
        ///合成音色5
        /// </summary>
        Pad5Bowed = 92,
        /// <summary>
        ///合成音色6 (金属声)
        /// </summary>
        Pad6Metallic = 93,
        /// <summary>
        ///合成音色7 (光环)
        /// </summary>
        Pad7Halo = 94,
        /// <summary>
        ///合成音色8
        /// </summary>
        Pad8Wweep = 5,
        /// <summary>
        ///合结果果 1 雨声
        /// </summary>