@@ -371,7 +371,18 @@ with
371371 | 6 uy -> Mono
372372 | 7 uy -> Level
373373 | v -> failwithf " unknown DelayParameter: %i " v
374-
374+ static member all =
375+ [|
376+ Time
377+ ModulationDepth
378+ ModulationFrequency
379+ Feedback
380+ FilterFrequency
381+ FilterWidth
382+ Mono
383+ Level
384+ |]
385+
375386[<RequireQualifiedAccess>]
376387type ReverbParameter =
377388| DelayLevel
@@ -383,7 +394,7 @@ type ReverbParameter =
383394| GateTime
384395| Level
385396with
386- static member All =
397+ static member all =
387398 [|
388399 DelayLevel
389400 PreDelay
416427 | GateTime -> 6 uy
417428 | Level -> 7 uy
418429 >> UMX.tag_ byte_ 7bits
430+
419431[<RequireQualifiedAccess>]
420432type EqualizerParameter =
421433| LowShelfFrequency
@@ -461,7 +473,18 @@ with
461473 | 6 uy -> OutputGain
462474 | 7 uy -> Mix
463475 | v -> failwithf " unknown CompressorParameter: %i " v
464-
476+ static member all =
477+ [|
478+ Attack
479+ Release
480+ Threshold
481+ Ratio
482+ Knee
483+ SideChainHighPass
484+ OutputGain
485+ Mix
486+ |]
487+
465488type EqualizerSettings ( bytes : sysex_data ) =
466489 let baseAddress = 0x497
467490 let getAt = SysexBufferEdit.getAt bytes baseAddress
@@ -951,6 +974,7 @@ type MachineDrumSysexRequests =
951974| DumpPattern of pattern : byte_7bits
952975| DumpSong of song : byte_7bits
953976| QueryStatus of statusType : MachineDrumStatusType
977+ | LoadPattern of pattern : byte_7bits
954978| LoadKit of kit : byte_7bits
955979| SaveKit of kit : byte_7bits
956980| SetCurrentKitName of string
965989 | DumpPattern _ -> 0x68 uy
966990 | DumpSong _ -> 0x6a uy
967991 | SetCurrentKitName _ -> 0x56 uy
992+ | LoadPattern _ -> 0x57 uy
968993 | LoadKit _ -> 0x58 uy
969994 | SaveKit _ -> 0x59 uy
970995 | QueryStatus _ -> 0x70 uy
@@ -988,6 +1013,7 @@ with
9881013 | DumpPattern pattern -> pattern |> Array.singleton
9891014 | DumpSong song -> song |> Array.singleton
9901015 | QueryStatus status -> status.Id |> Array.singleton
1016+ | LoadPattern pattern -> pattern |> Array.singleton
9911017 | LoadKit kit -> kit |> Array.singleton
9921018 | SaveKit kit -> kit |> Array.singleton
9931019 | SetCurrentKitName name ->
0 commit comments