Skip to content

Commit

Permalink
modality template
Browse files Browse the repository at this point in the history
  • Loading branch information
okyeron committed Feb 5, 2023
1 parent 094289a commit 4a70dd6
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
Binary file modified .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ hachi-ni-firmware/images/.DS_Store
hachi-ni-firmware/webconfig/.DS_Store
hachi-ni-firmware/build/.DS_Store
hachi-ni-firmware/.DS_Store
.DS_Store
45 changes: 45 additions & 0 deletions Modality.MKtlDescription/8x2.desc.scd
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
///////// Example for an external MIDI device ///////
/*
This is the default pot values for the hachi-ni (8x2) device.

Default Bank 1 - ccs 32-47
*/

(
deviceName: "hachi-ni",
protocol: \midi,
deviceType: \faderbox,
elementTypes: [\knob],
status: (
linux: "unknown",
osx: "tested",
win: "unknown"),

idInfo: "hachi-ni",

deviceInfo: (
vendorURI: "https://github.com/okyeron/hachi-ni",
manualURI: "https://github.com/okyeron/hachi-ni",
description: "Sixteen MIDI potentiometers",
features: [
"MIDI trs and USB)"],
notes: "A customizable 16 channel midi controller. Available as a kit.",
longName: "hachi-ni",
),

elementsDesc: (
key: \kn,
shared: (
elementType: \knob,
midiMsgType: \control,
midiChan: 0,
spec: \midiCC, \ioType: \inout),
elements: (
(1..16).collect {
|num, i| (key: num.asSymbol, midiNum: 31 + num, \style: (row: i div: 8, column: i % 8) )
}

)
)
);

0 comments on commit 4a70dd6

Please sign in to comment.