effect-web-midi 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. package/README.md +7 -0
  2. package/dist/index.js +2 -0
  3. package/dist/index.js.map +1 -0
  4. package/dist/src/EMIDIAccess.js +68 -0
  5. package/dist/src/EMIDIAccess.js.map +1 -0
  6. package/dist/src/EMIDIInput.js +226 -0
  7. package/dist/src/EMIDIInput.js.map +1 -0
  8. package/dist/src/EMIDIOutput.js +225 -0
  9. package/dist/src/EMIDIOutput.js.map +1 -0
  10. package/dist/src/EMIDIPort.js +213 -0
  11. package/dist/src/EMIDIPort.js.map +1 -0
  12. package/dist/src/MIDIErrors.js +4 -0
  13. package/dist/src/MIDIErrors.js.map +1 -0
  14. package/dist/src/Parsing.js +2 -0
  15. package/dist/src/Parsing.js.map +1 -0
  16. package/dist/src/StreamMaker.js +1 -0
  17. package/dist/src/StreamMaker.js.map +1 -0
  18. package/dist/src/Util.js +4 -0
  19. package/dist/src/Util.js.map +1 -0
  20. package/dist/src/index.js +9 -0
  21. package/dist/src/index.js.map +1 -0
  22. package/dist/src/internal/EMIDIAccess.js +409 -0
  23. package/dist/src/internal/EMIDIAccess.js.map +1 -0
  24. package/dist/src/internal/EMIDIInput.js +69 -0
  25. package/dist/src/internal/EMIDIInput.js.map +1 -0
  26. package/dist/src/internal/EMIDIOutput.js +120 -0
  27. package/dist/src/internal/EMIDIOutput.js.map +1 -0
  28. package/dist/src/internal/EMIDIPort.js +125 -0
  29. package/dist/src/internal/EMIDIPort.js.map +1 -0
  30. package/dist/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.js +27 -0
  31. package/dist/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.js.map +1 -0
  32. package/dist/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.js +19 -0
  33. package/dist/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.js.map +1 -0
  34. package/dist/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.js +16 -0
  35. package/dist/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.js.map +1 -0
  36. package/dist/src/internal/MIDIPortMethodCalls/actOnPort.js +18 -0
  37. package/dist/src/internal/MIDIPortMethodCalls/actOnPort.js.map +1 -0
  38. package/dist/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPort.js +27 -0
  39. package/dist/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPort.js.map +1 -0
  40. package/dist/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.js +18 -0
  41. package/dist/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.js.map +1 -0
  42. package/dist/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.js +16 -0
  43. package/dist/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.js.map +1 -0
  44. package/dist/src/internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.js +21 -0
  45. package/dist/src/internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.js.map +1 -0
  46. package/dist/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.js +30 -0
  47. package/dist/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.js.map +1 -0
  48. package/dist/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.js +18 -0
  49. package/dist/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.js.map +1 -0
  50. package/dist/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.js +16 -0
  51. package/dist/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.js.map +1 -0
  52. package/dist/src/internal/StreamMaker.js +101 -0
  53. package/dist/src/internal/StreamMaker.js.map +1 -0
  54. package/dist/src/internal/errors.js +161 -0
  55. package/dist/src/internal/errors.js.map +1 -0
  56. package/dist/src/internal/getPortByPortId/getPortByPortIdAndAccess.js +53 -0
  57. package/dist/src/internal/getPortByPortId/getPortByPortIdAndAccess.js.map +1 -0
  58. package/dist/src/internal/getPortByPortId/getPortByPortIdInContext.js +18 -0
  59. package/dist/src/internal/getPortByPortId/getPortByPortIdInContext.js.map +1 -0
  60. package/dist/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPort.js +52 -0
  61. package/dist/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPort.js.map +1 -0
  62. package/dist/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.js +13 -0
  63. package/dist/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.js.map +1 -0
  64. package/dist/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.js +18 -0
  65. package/dist/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.js.map +1 -0
  66. package/dist/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.js +66 -0
  67. package/dist/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.js.map +1 -0
  68. package/dist/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdAndAccess.js +61 -0
  69. package/dist/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdAndAccess.js.map +1 -0
  70. package/dist/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdInContext.js +61 -0
  71. package/dist/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdInContext.js.map +1 -0
  72. package/dist/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPort.js +42 -0
  73. package/dist/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPort.js.map +1 -0
  74. package/dist/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.js +42 -0
  75. package/dist/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.js.map +1 -0
  76. package/dist/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.js +29 -0
  77. package/dist/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.js.map +1 -0
  78. package/dist/src/internal/mutablePropertyTools/getValueInRawPortFieldUnsafe.js +6 -0
  79. package/dist/src/internal/mutablePropertyTools/getValueInRawPortFieldUnsafe.js.map +1 -0
  80. package/dist/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.js +46 -0
  81. package/dist/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.js.map +1 -0
  82. package/dist/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdAndAccess.js +25 -0
  83. package/dist/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdAndAccess.js.map +1 -0
  84. package/dist/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.js +31 -0
  85. package/dist/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.js.map +1 -0
  86. package/dist/src/internal/parsing.js +117 -0
  87. package/dist/src/internal/parsing.js.map +1 -0
  88. package/dist/src/internal/util.js +59 -0
  89. package/dist/src/internal/util.js.map +1 -0
  90. package/dist-types/index.d.ts +2 -0
  91. package/dist-types/index.d.ts.map +1 -0
  92. package/dist-types/src/EMIDIAccess.d.ts +27 -0
  93. package/dist-types/src/EMIDIAccess.d.ts.map +1 -0
  94. package/dist-types/src/EMIDIInput.d.ts +26 -0
  95. package/dist-types/src/EMIDIInput.d.ts.map +1 -0
  96. package/dist-types/src/EMIDIOutput.d.ts +26 -0
  97. package/dist-types/src/EMIDIOutput.d.ts.map +1 -0
  98. package/dist-types/src/EMIDIPort.d.ts +26 -0
  99. package/dist-types/src/EMIDIPort.d.ts.map +1 -0
  100. package/dist-types/src/MIDIErrors.d.ts +2 -0
  101. package/dist-types/src/MIDIErrors.d.ts.map +1 -0
  102. package/dist-types/src/Parsing.d.ts +2 -0
  103. package/dist-types/src/Parsing.d.ts.map +1 -0
  104. package/dist-types/src/StreamMaker.d.ts +2 -0
  105. package/dist-types/src/StreamMaker.d.ts.map +1 -0
  106. package/dist-types/src/Util.d.ts +2 -0
  107. package/dist-types/src/Util.d.ts.map +1 -0
  108. package/dist-types/src/index.d.ts +9 -0
  109. package/dist-types/src/index.d.ts.map +1 -0
  110. package/dist-types/src/internal/EMIDIAccess.d.ts +339 -0
  111. package/dist-types/src/internal/EMIDIAccess.d.ts.map +1 -0
  112. package/dist-types/src/internal/EMIDIInput.d.ts +48 -0
  113. package/dist-types/src/internal/EMIDIInput.d.ts.map +1 -0
  114. package/dist-types/src/internal/EMIDIOutput.d.ts +93 -0
  115. package/dist-types/src/internal/EMIDIOutput.d.ts.map +1 -0
  116. package/dist-types/src/internal/EMIDIPort.d.ts +87 -0
  117. package/dist-types/src/internal/EMIDIPort.d.ts.map +1 -0
  118. package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.d.ts +16 -0
  119. package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.d.ts.map +1 -0
  120. package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.d.ts +15 -0
  121. package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.d.ts.map +1 -0
  122. package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.d.ts +13 -0
  123. package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.d.ts.map +1 -0
  124. package/dist-types/src/internal/MIDIPortMethodCalls/actOnPort.d.ts +11 -0
  125. package/dist-types/src/internal/MIDIPortMethodCalls/actOnPort.d.ts.map +1 -0
  126. package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPort.d.ts +23 -0
  127. package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPort.d.ts.map +1 -0
  128. package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.d.ts +15 -0
  129. package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.d.ts.map +1 -0
  130. package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.d.ts +13 -0
  131. package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.d.ts.map +1 -0
  132. package/dist-types/src/internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.d.ts +15 -0
  133. package/dist-types/src/internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.d.ts.map +1 -0
  134. package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.d.ts +21 -0
  135. package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.d.ts.map +1 -0
  136. package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.d.ts +15 -0
  137. package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.d.ts.map +1 -0
  138. package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.d.ts +13 -0
  139. package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.d.ts.map +1 -0
  140. package/dist-types/src/internal/StreamMaker.d.ts +202 -0
  141. package/dist-types/src/internal/StreamMaker.d.ts.map +1 -0
  142. package/dist-types/src/internal/errors.d.ts +260 -0
  143. package/dist-types/src/internal/errors.d.ts.map +1 -0
  144. package/dist-types/src/internal/getPortByPortId/getPortByPortIdAndAccess.d.ts +27 -0
  145. package/dist-types/src/internal/getPortByPortId/getPortByPortIdAndAccess.d.ts.map +1 -0
  146. package/dist-types/src/internal/getPortByPortId/getPortByPortIdInContext.d.ts +20 -0
  147. package/dist-types/src/internal/getPortByPortId/getPortByPortIdInContext.d.ts.map +1 -0
  148. package/dist-types/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPort.d.ts +71 -0
  149. package/dist-types/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPort.d.ts.map +1 -0
  150. package/dist-types/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.d.ts +4 -0
  151. package/dist-types/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.d.ts.map +1 -0
  152. package/dist-types/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.d.ts +20 -0
  153. package/dist-types/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.d.ts.map +1 -0
  154. package/dist-types/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.d.ts +62 -0
  155. package/dist-types/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.d.ts.map +1 -0
  156. package/dist-types/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdAndAccess.d.ts +16 -0
  157. package/dist-types/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdAndAccess.d.ts.map +1 -0
  158. package/dist-types/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdInContext.d.ts +16 -0
  159. package/dist-types/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdInContext.d.ts.map +1 -0
  160. package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPort.d.ts +36 -0
  161. package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPort.d.ts.map +1 -0
  162. package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.d.ts +22 -0
  163. package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.d.ts.map +1 -0
  164. package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.d.ts +17 -0
  165. package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.d.ts.map +1 -0
  166. package/dist-types/src/internal/mutablePropertyTools/getValueInRawPortFieldUnsafe.d.ts +7 -0
  167. package/dist-types/src/internal/mutablePropertyTools/getValueInRawPortFieldUnsafe.d.ts.map +1 -0
  168. package/dist-types/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.d.ts +71 -0
  169. package/dist-types/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.d.ts.map +1 -0
  170. package/dist-types/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdAndAccess.d.ts +7 -0
  171. package/dist-types/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdAndAccess.d.ts.map +1 -0
  172. package/dist-types/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.d.ts +28 -0
  173. package/dist-types/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.d.ts.map +1 -0
  174. package/dist-types/src/internal/parsing.d.ts +72 -0
  175. package/dist-types/src/internal/parsing.d.ts.map +1 -0
  176. package/dist-types/src/internal/util.d.ts +33 -0
  177. package/dist-types/src/internal/util.d.ts.map +1 -0
  178. package/index.ts +1 -0
  179. package/package.json +83 -0
  180. package/src/EMIDIAccess.ts +271 -0
  181. package/src/EMIDIInput.ts +270 -0
  182. package/src/EMIDIOutput.ts +269 -0
  183. package/src/EMIDIPort.ts +267 -0
  184. package/src/MIDIErrors.ts +13 -0
  185. package/src/Parsing.ts +12 -0
  186. package/src/StreamMaker.ts +12 -0
  187. package/src/Util.ts +19 -0
  188. package/src/index.ts +8 -0
  189. package/src/internal/EMIDIAccess.ts +893 -0
  190. package/src/internal/EMIDIInput.ts +114 -0
  191. package/src/internal/EMIDIOutput.ts +228 -0
  192. package/src/internal/EMIDIPort.ts +233 -0
  193. package/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.ts +43 -0
  194. package/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.ts +39 -0
  195. package/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.ts +27 -0
  196. package/src/internal/MIDIPortMethodCalls/actOnPort.ts +66 -0
  197. package/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPort.ts +38 -0
  198. package/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.ts +38 -0
  199. package/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.ts +27 -0
  200. package/src/internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.ts +73 -0
  201. package/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.ts +44 -0
  202. package/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.ts +38 -0
  203. package/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.ts +27 -0
  204. package/src/internal/StreamMaker.ts +414 -0
  205. package/src/internal/errors.ts +220 -0
  206. package/src/internal/getPortByPortId/getPortByPortIdAndAccess.ts +116 -0
  207. package/src/internal/getPortByPortId/getPortByPortIdInContext.ts +26 -0
  208. package/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPort.ts +148 -0
  209. package/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.ts +14 -0
  210. package/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.ts +51 -0
  211. package/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.ts +127 -0
  212. package/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdAndAccess.ts +74 -0
  213. package/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdInContext.ts +74 -0
  214. package/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPort.ts +63 -0
  215. package/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.ts +110 -0
  216. package/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.ts +37 -0
  217. package/src/internal/mutablePropertyTools/getValueInRawPortFieldUnsafe.ts +12 -0
  218. package/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.ts +183 -0
  219. package/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdAndAccess.ts +29 -0
  220. package/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.ts +86 -0
  221. package/src/internal/parsing.ts +219 -0
  222. package/src/internal/util.ts +152 -0
@@ -0,0 +1,270 @@
1
+ export {
2
+ // type AcquiredThing,
3
+ // AllPortsRecord,
4
+ // assert,
5
+ // assumeImpl,
6
+ // clearPortById,
7
+ // type DualSendMIDIMessageFromAccess,
8
+ // EMIDIAccess,
9
+ // type EMIDIAccessInstance,
10
+ // type GetThingByPortId,
11
+ // type GetThingByPortIdAccessFirst,
12
+ // type GetThingByPortIdAccessLast,
13
+ // type GetThingByPortIdAccessLastSecondHalf,
14
+ // getAllPortsRecord,
15
+ getInputsRecord as getRecord,
16
+ // getOutputsRecord,
17
+ InputsRecord as Record,
18
+ // is,
19
+ // layer,
20
+ // layerMostRestricted,
21
+ // layerSoftwareSynthSupported,
22
+ // layerSystemExclusiveAndSoftwareSynthSupported,
23
+ // layerSystemExclusiveSupported,
24
+ // makeAllPortsStateChangesStream,
25
+ // makeAllPortsStateChangesStreamInContext,
26
+ makeMessagesStreamByInputId as makeMessagesStreamById,
27
+ makeMessagesStreamByInputIdAndAccess as makeMessagesStreamByIdAndAccess,
28
+ // OutputsRecord,
29
+ // type PolymorphicAccessInstance,
30
+ // type PolymorphicAccessInstanceClean,
31
+ // type RequestMIDIAccessOptions,
32
+ // request,
33
+ // resolve,
34
+ // type SendFromAccessArgs,
35
+ // type SendMIDIMessageAccessFirst,
36
+ // type SendMIDIMessageAccessLast,
37
+ // type SentMessageEffectFromAccess,
38
+ // send,
39
+ // sendInContext,
40
+ // sendToPortById,
41
+ // type TargetPortSelector,
42
+ // type TypeId,
43
+ } from './internal/EMIDIAccess.ts'
44
+ export {
45
+ assert,
46
+ type EMIDIInput,
47
+ Id,
48
+ is,
49
+ // make,
50
+ makeMessagesStreamByPort as makeMessagesStream,
51
+ type PolymorphicInput,
52
+ type PolymorphicInputClean,
53
+ } from './internal/EMIDIInput.ts'
54
+ // export {
55
+ // assert,
56
+ // clear,
57
+ // type DualSendMIDIMessageFromPort,
58
+ // type EMIDIOutput,
59
+ // is,
60
+ // make,
61
+ // type PolymorphicOutput,
62
+ // type PolymorphicOutputClean,
63
+ // type SendFromPortArgs,
64
+ // type SendMIDIMessagePortFirst,
65
+ // type SendMIDIMessagePortLast,
66
+ // type SentMessageEffectFromPort,
67
+ // send,
68
+ // } from './internal/EMIDIOutput.ts'
69
+ // export {
70
+ // assert,
71
+ // assumeImpl,
72
+ // type EMIDIPort,
73
+ // type EMIDIPortImpl,
74
+ // type ExtractTypeFromPort,
75
+ // is,
76
+ // isImplOfSpecificType,
77
+ // makeImpl,
78
+ // type PolymorphicPort,
79
+ // type PolymorphicPortClean,
80
+ // type TypeId,
81
+ // } from './internal/EMIDIPort.ts'
82
+ export {
83
+ // type GetPortById,
84
+ getInputByPortIdAndAccess as getByIdAndAccess,
85
+ // getOutputByPortIdAndAccess,
86
+ // getPortByPortIdAndAccess,
87
+ } from './internal/getPortByPortId/getPortByPortIdAndAccess.ts'
88
+ export {
89
+ getInputByPortIdInContext as getById,
90
+ // getOutputByPortIdInContext,
91
+ // getPortByPortIdInContext,
92
+ } from './internal/getPortByPortId/getPortByPortIdInContext.ts'
93
+ export {
94
+ acquireReleaseInputConnectionByPort as acquireReleaseConnection,
95
+ // acquireReleaseOutputConnectionByPort,
96
+ // acquireReleasePortConnectionByPort,
97
+ } from './internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.ts'
98
+ export {
99
+ acquireReleaseInputConnectionByPortIdAndAccess as acquireReleaseConnectionByIdAndAccess,
100
+ // acquireReleaseOutputConnectionByPortIdAndAccess,
101
+ // acquireReleasePortConnectionByPortIdAndAccess,
102
+ } from './internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.ts'
103
+ export {
104
+ acquireReleaseInputConnectionByPortIdInContext as acquireReleaseConnectionById,
105
+ // acquireReleaseOutputConnectionByPortIdInContext,
106
+ // acquireReleasePortConnectionByPortIdInContext,
107
+ } from './internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.ts'
108
+ // export { actOnPort } from './internal/MIDIPortMethodCalls/actOnPort.ts'
109
+ export {
110
+ closeInputConnectionByPort as closeConnection,
111
+ // closeOutputConnectionByPort,
112
+ // closePortConnectionByPort,
113
+ // makePortConnectionCloser,
114
+ } from './internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPort.ts'
115
+ export {
116
+ closeInputConnectionByPortIdAndAccess as closeConnectionByIdAndAccess,
117
+ // closeOutputConnectionByPortIdAndAccess,
118
+ // closePortConnectionByPortIdAndAccess,
119
+ } from './internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.ts'
120
+ export {
121
+ closeInputConnectionByPortIdInContext as closeConnectionById,
122
+ // closeOutputConnectionByPortIdInContext,
123
+ // closePortConnectionByPortIdInContext,
124
+ } from './internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.ts'
125
+ // export {
126
+ // makeMIDIPortMethodCallerFactory,
127
+ // type TouchPort,
128
+ // } from './internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.ts'
129
+ export {
130
+ // makePortConnectionOpener,
131
+ openInputConnectionByPort as openConnection,
132
+ // openOutputConnectionByPort,
133
+ // openPortConnectionByPort,
134
+ } from './internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.ts'
135
+ export {
136
+ openInputConnectionByPortIdAndAccess as openConnectionById,
137
+ // openOutputConnectionByPortIdAndAccess,
138
+ // openPortConnectionByPortIdAndAccess,
139
+ } from './internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.ts'
140
+ export {
141
+ openInputConnectionByPortIdInContext as openConnectionByIdAndAccess,
142
+ // openOutputConnectionByPortIdInContext,
143
+ // openPortConnectionByPortIdInContext,
144
+ } from './internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.ts'
145
+ export {
146
+ // type DualMakeStateChangesStream,
147
+ // type MakeStateChangesStreamPortFirst,
148
+ // type MakeStateChangesStreamPortLast,
149
+ makeInputStateChangesStreamByPort as makeStateChangesStream,
150
+ // makeOutputStateChangesStreamByPort,
151
+ // makePortStateChangesStreamByPort,
152
+ // type StateChangesStream,
153
+ } from './internal/makePortStateChangesStream/makePortStateChangesStreamByPort.ts'
154
+ export {
155
+ makeInputStateChangesStreamByPortIdAndAccess as makeStateChangesStreamByIdAndAccess,
156
+ // makeOutputStateChangesStreamByPortIdAndAccess,
157
+ // makePortStateChangesStreamByPortIdAndAccess,
158
+ } from './internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.ts'
159
+ export {
160
+ makeInputStateChangesStreamByPortIdInContext as makeStateChangesStreamById,
161
+ // makeOutputStateChangesStreamByPortIdInContext,
162
+ // makePortStateChangesStreamByPortIdInContext,
163
+ } from './internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.ts'
164
+ export {
165
+ isInputConnectionClosedByPort as isConnectionClosed,
166
+ isInputConnectionOpenByPort as isConnectionOpen,
167
+ isInputConnectionPendingByPort as isConnectionPending,
168
+ isInputDeviceConnectedByPort as isDeviceConnected,
169
+ isInputDeviceDisconnectedByPort as isDeviceDisconnected,
170
+ // isOutputConnectionClosedByPort,
171
+ // isOutputConnectionOpenByPort,
172
+ // isOutputConnectionPendingByPort,
173
+ // isOutputDeviceConnectedByPort,
174
+ // isOutputDeviceDisconnectedByPort,
175
+ // isPortConnectionClosedByPort,
176
+ // isPortConnectionOpenByPort,
177
+ // isPortConnectionPendingByPort,
178
+ // isPortDeviceConnectedByPort,
179
+ // isPortDeviceDisconnectedByPort,
180
+ } from './internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.ts'
181
+ export {
182
+ isInputConnectionClosedByPortIdAndAccess as isConnectionClosedByIdAndAccess,
183
+ isInputConnectionOpenByPortIdAndAccess as isConnectionOpenByIdAndAccess,
184
+ isInputConnectionPendingByPortIdAndAccess as isConnectionPendingByIdAndAccess,
185
+ isInputDeviceConnectedByPortIdAndAccess as isDeviceConnectedByIdAndAccess,
186
+ isInputDeviceDisconnectedByPortIdAndAccess as isDeviceDisconnectedByIdAndAccess,
187
+ // isOutputConnectionClosedByPortIdAndAccess,
188
+ // isOutputConnectionOpenByPortIdAndAccess,
189
+ // isOutputConnectionPendingByPortIdAndAccess,
190
+ // isOutputDeviceConnectedByPortIdAndAccess,
191
+ // isOutputDeviceDisconnectedByPortIdAndAccess,
192
+ // isPortConnectionClosedByPortIdAndAccess,
193
+ // isPortConnectionOpenByPortIdAndAccess,
194
+ // isPortConnectionPendingByPortIdAndAccess,
195
+ // isPortDeviceConnectedByPortIdAndAccess,
196
+ // isPortDeviceDisconnectedByPortIdAndAccess,
197
+ } from './internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdAndAccess.ts'
198
+ export {
199
+ isInputConnectionClosedByPortIdInContext as isConnectionClosedById,
200
+ isInputConnectionOpenByPortIdInContext as isConnectionOpenById,
201
+ isInputConnectionPendingByPortIdInContext as isConnectionPendingById,
202
+ isInputDeviceConnectedByPortIdInContext as isDeviceConnectedById,
203
+ isInputDeviceDisconnectedByPortIdInContext as isDeviceDisconnectedById,
204
+ // isOutputConnectionClosedByPortIdInContext,
205
+ // isOutputConnectionOpenByPortIdInContext,
206
+ // isOutputConnectionPendingByPortIdInContext,
207
+ // isOutputDeviceConnectedByPortIdInContext,
208
+ // isOutputDeviceDisconnectedByPortIdInContext,
209
+ // isPortConnectionClosedByPortIdInContext,
210
+ // isPortConnectionOpenByPortIdInContext,
211
+ // isPortConnectionPendingByPortIdInContext,
212
+ // isPortDeviceConnectedByPortIdInContext,
213
+ // isPortDeviceDisconnectedByPortIdInContext,
214
+ } from './internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdInContext.ts'
215
+ export {
216
+ getInputConnectionStateByPort as getConnectionState,
217
+ getInputDeviceStateByPort as getDeviceState,
218
+ // getOutputConnectionStateByPort,
219
+ // getOutputDeviceStateByPort,
220
+ // getPortConnectionStateByPort,
221
+ // getPortDeviceStateByPort,
222
+ } from './internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPort.ts'
223
+ export {
224
+ getInputConnectionStateByPortIdAndAccess as getConnectionStateByIdAndAccess,
225
+ getInputDeviceStateByPortIdAndAccess as getDeviceStateByIdAndAccess,
226
+ // getOutputConnectionStateByPortIdAndAccess,
227
+ // getOutputDeviceStateByPortIdAndAccess,
228
+ // getPortConnectionStateByPortIdAndAccess,
229
+ // getPortDeviceStateByPortIdAndAccess,
230
+ } from './internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.ts'
231
+ export {
232
+ getInputConnectionStateByPortId as getConnectionStateById,
233
+ getInputDeviceStateByPortId as getDeviceStateById,
234
+ // getOutputConnectionStateByPortId,
235
+ // getOutputDeviceStateByPortId,
236
+ // getPortConnectionStateByPortId,
237
+ // getPortDeviceStateByPortId,
238
+ } from './internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.ts'
239
+ export {
240
+ // type DualMatchPortState,
241
+ // type MatcherConfigPlain,
242
+ // type MatchResult,
243
+ // type MatchStatePortFirst,
244
+ // type MatchStatePortLast,
245
+ // type MIDIPortMutableProperty,
246
+ matchInputConnectionStateByPort as matchConnectionState,
247
+ matchInputDeviceStateByPort as matchDeviceState,
248
+ // matchOutputConnectionStateByPort,
249
+ // matchOutputDeviceStateByPort,
250
+ // matchPortConnectionStateByPort,
251
+ // matchPortDeviceStateByPort,
252
+ // type PortStateHandler,
253
+ // type StateCaseToHandlerMap,
254
+ } from './internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.ts'
255
+ export {
256
+ matchInputConnectionStateByPortIdAndAccess as matchConnectionStateByIdAndAccess,
257
+ matchInputDeviceStateByPortIdAndAccess as matchDeviceStateByIdAndAccess,
258
+ // matchOutputConnectionStateByPortIdAndAccess,
259
+ // matchOutputDeviceStateByPortIdAndAccess,
260
+ // matchPortConnectionStateByPortIdAndAccess,
261
+ // matchPortDeviceStateByPortIdAndAccess,
262
+ } from './internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdAndAccess.ts'
263
+ export {
264
+ matchInputConnectionStateByPortIdInContext as matchConnectionStateById,
265
+ matchInputDeviceStateByPortIdInContext as matchDeviceStateById,
266
+ // matchOutputConnectionStateByPortIdInContext,
267
+ // matchOutputDeviceStateByPortIdInContext,
268
+ // matchPortConnectionStateByPortIdInContext,
269
+ // matchPortDeviceStateByPortIdInContext,
270
+ } from './internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.ts'
@@ -0,0 +1,269 @@
1
+ export {
2
+ // type AcquiredThing,
3
+ // AllPortsRecord,
4
+ // assert,
5
+ // assumeImpl,
6
+ clearPortById,
7
+ type DualSendMIDIMessageFromAccess,
8
+ // EMIDIAccess,
9
+ // type EMIDIAccessInstance,
10
+ // type GetThingByPortId,
11
+ // type GetThingByPortIdAccessFirst,
12
+ // type GetThingByPortIdAccessLast,
13
+ // type GetThingByPortIdAccessLastSecondHalf,
14
+ // getAllPortsRecord,
15
+ // getInputsRecord,
16
+ getOutputsRecord as getRecord,
17
+ // InputsRecord,
18
+ // is,
19
+ // layer,
20
+ // layerMostRestricted,
21
+ // layerSoftwareSynthSupported,
22
+ // layerSystemExclusiveAndSoftwareSynthSupported,
23
+ // layerSystemExclusiveSupported,
24
+ // makeAllPortsStateChangesStream,
25
+ // makeAllPortsStateChangesStreamInContext,
26
+ // makeMessagesStreamByInputId,
27
+ OutputsRecord as Record,
28
+ // type PolymorphicAccessInstance,
29
+ // type PolymorphicAccessInstanceClean,
30
+ // type RequestMIDIAccessOptions,
31
+ // request,
32
+ // resolve,
33
+ type SendFromAccessArgs,
34
+ type SendMIDIMessageAccessFirst,
35
+ type SendMIDIMessageAccessLast,
36
+ type SentMessageEffectFromAccess,
37
+ // send,
38
+ sendInContext,
39
+ sendToPortById,
40
+ type TargetPortSelector,
41
+ // type TypeId,
42
+ } from './internal/EMIDIAccess.ts'
43
+ // export {
44
+ // assert,
45
+ // type EMIDIInput,
46
+ // is,
47
+ // make,
48
+ // makeMessagesStream,
49
+ // type PolymorphicInput,
50
+ // type PolymorphicInputClean,
51
+ // } from './internal/EMIDIInput.ts'
52
+ export {
53
+ assert,
54
+ clear,
55
+ type DualSendMIDIMessageFromPort,
56
+ type EMIDIOutput,
57
+ Id,
58
+ is,
59
+ // make,
60
+ type PolymorphicOutput,
61
+ type PolymorphicOutputClean,
62
+ type SendFromPortArgs,
63
+ type SendMIDIMessagePortFirst,
64
+ type SendMIDIMessagePortLast,
65
+ type SentMessageEffectFromPort,
66
+ send,
67
+ } from './internal/EMIDIOutput.ts'
68
+ // export {
69
+ // assert,
70
+ // assumeImpl,
71
+ // type EMIDIPort,
72
+ // type EMIDIPortImpl,
73
+ // type ExtractTypeFromPort,
74
+ // is,
75
+ // isImplOfSpecificType,
76
+ // makeImpl,
77
+ // type PolymorphicPort,
78
+ // type PolymorphicPortClean,
79
+ // type TypeId,
80
+ // } from './internal/EMIDIPort.ts'
81
+ export {
82
+ // type GetPortById,
83
+ // getInputByPortIdAndAccess,
84
+ getOutputByPortIdAndAccess as getByIdAndAccess,
85
+ // getPortByPortIdAndAccess,
86
+ } from './internal/getPortByPortId/getPortByPortIdAndAccess.ts'
87
+ export {
88
+ // getInputByPortIdInContext,
89
+ getOutputByPortIdInContext as getById,
90
+ // getPortByPortIdInContext,
91
+ } from './internal/getPortByPortId/getPortByPortIdInContext.ts'
92
+ export {
93
+ // acquireReleaseInputConnectionByPort,
94
+ acquireReleaseOutputConnectionByPort as acquireReleaseConnection,
95
+ // acquireReleasePortConnectionByPort,
96
+ } from './internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.ts'
97
+ export {
98
+ // acquireReleaseInputConnectionByPortIdAndAccess,
99
+ acquireReleaseOutputConnectionByPortIdAndAccess as acquireReleaseConnectionByIdAndAccess,
100
+ // acquireReleasePortConnectionByPortIdAndAccess,
101
+ } from './internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.ts'
102
+ export {
103
+ // acquireReleaseInputConnectionByPortIdInContext,
104
+ acquireReleaseOutputConnectionByPortIdInContext as acquireReleaseConnectionById,
105
+ // acquireReleasePortConnectionByPortIdInContext,
106
+ } from './internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.ts'
107
+ // export { actOnPort } from './internal/MIDIPortMethodCalls/actOnPort.ts'
108
+ export {
109
+ // closeInputConnectionByPort,
110
+ closeOutputConnectionByPort as closeConnection,
111
+ // closePortConnectionByPort,
112
+ // makePortConnectionCloser,
113
+ } from './internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPort.ts'
114
+ export {
115
+ // closeInputConnectionByPortIdAndAccess,
116
+ closeOutputConnectionByPortIdAndAccess as closeConnectionByIdAndAccess,
117
+ // closePortConnectionByPortIdAndAccess,
118
+ } from './internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.ts'
119
+ export {
120
+ // closeInputConnectionByPortIdInContext,
121
+ closeOutputConnectionByPortIdInContext as closeConnectionById,
122
+ // closePortConnectionByPortIdInContext,
123
+ } from './internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.ts'
124
+ // export {
125
+ // makeMIDIPortMethodCallerFactory,
126
+ // type TouchPort,
127
+ // } from './internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.ts'
128
+ export {
129
+ // makePortConnectionOpener,
130
+ // openInputConnectionByPort,
131
+ openOutputConnectionByPort as openConnection,
132
+ // openPortConnectionByPort,
133
+ } from './internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.ts'
134
+ export {
135
+ // openInputConnectionByPortIdAndAccess,
136
+ openOutputConnectionByPortIdAndAccess as openConnectionByIdAndAccess,
137
+ // openPortConnectionByPortIdAndAccess,
138
+ } from './internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.ts'
139
+ export {
140
+ // openInputConnectionByPortIdInContext,
141
+ openOutputConnectionByPortIdInContext as openConnectionById,
142
+ // openPortConnectionByPortIdInContext,
143
+ } from './internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.ts'
144
+ export {
145
+ // type DualMakeStateChangesStream,
146
+ // type MakeStateChangesStreamPortFirst,
147
+ // type MakeStateChangesStreamPortLast,
148
+ // makeInputStateChangesStreamByPort,
149
+ makeOutputStateChangesStreamByPort as makeStateChangesStream,
150
+ // makePortStateChangesStreamByPort,
151
+ // type StateChangesStream,
152
+ } from './internal/makePortStateChangesStream/makePortStateChangesStreamByPort.ts'
153
+ export {
154
+ // makeInputStateChangesStreamByPortIdAndAccess,
155
+ makeOutputStateChangesStreamByPortIdAndAccess as makeStateChangesStreamByIdAndAccess,
156
+ // makePortStateChangesStreamByPortIdAndAccess,
157
+ } from './internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.ts'
158
+ export {
159
+ // makeInputStateChangesStreamByPortIdInContext,
160
+ makeOutputStateChangesStreamByPortIdInContext as makeStateChangesStreamById,
161
+ // makePortStateChangesStreamByPortIdInContext,
162
+ } from './internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.ts'
163
+ export {
164
+ // isInputConnectionClosedByPort,
165
+ // isInputConnectionOpenByPort,
166
+ // isInputConnectionPendingByPort,
167
+ // isInputDeviceConnectedByPort,
168
+ // isInputDeviceDisconnectedByPort,
169
+ isOutputConnectionClosedByPort as isConnectionClosed,
170
+ isOutputConnectionOpenByPort as isConnectionOpen,
171
+ isOutputConnectionPendingByPort as isConnectionPending,
172
+ isOutputDeviceConnectedByPort as isDeviceConnected,
173
+ isOutputDeviceDisconnectedByPort as isDeviceDisconnected,
174
+ // isPortConnectionClosedByPort,
175
+ // isPortConnectionOpenByPort,
176
+ // isPortConnectionPendingByPort,
177
+ // isPortDeviceConnectedByPort,
178
+ // isPortDeviceDisconnectedByPort,
179
+ } from './internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.ts'
180
+ export {
181
+ // isInputConnectionClosedByPortIdAndAccess,
182
+ // isInputConnectionOpenByPortIdAndAccess,
183
+ // isInputConnectionPendingByPortIdAndAccess,
184
+ // isInputDeviceConnectedByPortIdAndAccess,
185
+ // isInputDeviceDisconnectedByPortIdAndAccess,
186
+ isOutputConnectionClosedByPortIdAndAccess as isConnectionClosedByIdAndAccess,
187
+ isOutputConnectionOpenByPortIdAndAccess as isConnectionOpenByIdAndAccess,
188
+ isOutputConnectionPendingByPortIdAndAccess as isConnectionPendingByIdAndAccess,
189
+ isOutputDeviceConnectedByPortIdAndAccess as isDeviceConnectedByIdAndAccess,
190
+ isOutputDeviceDisconnectedByPortIdAndAccess as isDeviceDisconnectedByIdAndAccess,
191
+ // isPortConnectionClosedByPortIdAndAccess,
192
+ // isPortConnectionOpenByPortIdAndAccess,
193
+ // isPortConnectionPendingByPortIdAndAccess,
194
+ // isPortDeviceConnectedByPortIdAndAccess,
195
+ // isPortDeviceDisconnectedByPortIdAndAccess,
196
+ } from './internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdAndAccess.ts'
197
+ export {
198
+ // isInputConnectionClosedByPortIdInContext,
199
+ // isInputConnectionOpenByPortIdInContext,
200
+ // isInputConnectionPendingByPortIdInContext,
201
+ // isInputDeviceConnectedByPortIdInContext,
202
+ // isInputDeviceDisconnectedByPortIdInContext,
203
+ isOutputConnectionClosedByPortIdInContext as isConnectionClosedById,
204
+ isOutputConnectionOpenByPortIdInContext as isConnectionOpenById,
205
+ isOutputConnectionPendingByPortIdInContext as isConnectionPendingById,
206
+ isOutputDeviceConnectedByPortIdInContext as isDeviceConnectedById,
207
+ isOutputDeviceDisconnectedByPortIdInContext as isDeviceDisconnectedById,
208
+ // isPortConnectionClosedByPortIdInContext,
209
+ // isPortConnectionOpenByPortIdInContext,
210
+ // isPortConnectionPendingByPortIdInContext,
211
+ // isPortDeviceConnectedByPortIdInContext,
212
+ // isPortDeviceDisconnectedByPortIdInContext,
213
+ } from './internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdInContext.ts'
214
+ export {
215
+ // getInputConnectionStateByPort,
216
+ // getInputDeviceStateByPort,
217
+ getOutputConnectionStateByPort as getConnectionState,
218
+ getOutputDeviceStateByPort as getDeviceState,
219
+ // getPortConnectionStateByPort,
220
+ // getPortDeviceStateByPort,
221
+ } from './internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPort.ts'
222
+ export {
223
+ // getInputConnectionStateByPortIdAndAccess,
224
+ // getInputDeviceStateByPortIdAndAccess,
225
+ getOutputConnectionStateByPortIdAndAccess as getConnectionStateByIdAndAccess,
226
+ getOutputDeviceStateByPortIdAndAccess as getDeviceStateByIdAndAccess,
227
+ // getPortConnectionStateByPortIdAndAccess,
228
+ // getPortDeviceStateByPortIdAndAccess,
229
+ } from './internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.ts'
230
+ export {
231
+ // getInputConnectionStateByPortId,
232
+ // getInputDeviceStateByPortId,
233
+ getOutputConnectionStateByPortId as getConnectionStateById,
234
+ getOutputDeviceStateByPortId as getDeviceStateById,
235
+ // getPortConnectionStateByPortId,
236
+ // getPortDeviceStateByPortId,
237
+ } from './internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.ts'
238
+ export {
239
+ // type DualMatchPortState,
240
+ // type MatcherConfigPlain,
241
+ // type MatchResult,
242
+ // type MatchStatePortFirst,
243
+ // type MatchStatePortLast,
244
+ // type MIDIPortMutableProperty,
245
+ // matchInputConnectionStateByPort,
246
+ // matchInputDeviceStateByPort,
247
+ matchOutputConnectionStateByPort as matchConnectionState,
248
+ matchOutputDeviceStateByPort as matchDeviceState,
249
+ // matchPortConnectionStateByPort,
250
+ // matchPortDeviceStateByPort,
251
+ // type PortStateHandler,
252
+ // type StateCaseToHandlerMap,
253
+ } from './internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.ts'
254
+ export {
255
+ // matchInputConnectionStateByPortIdAndAccess,
256
+ // matchInputDeviceStateByPortIdAndAccess,
257
+ matchOutputConnectionStateByPortIdAndAccess as matchConnectionStateByIdAndAccess,
258
+ matchOutputDeviceStateByPortIdAndAccess as matchDeviceStateByIdAndAccess,
259
+ // matchPortConnectionStateByPortIdAndAccess,
260
+ // matchPortDeviceStateByPortIdAndAccess,
261
+ } from './internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdAndAccess.ts'
262
+ export {
263
+ // matchInputConnectionStateByPortIdInContext,
264
+ // matchInputDeviceStateByPortIdInContext,
265
+ matchOutputConnectionStateByPortIdInContext as matchConnectionStateById,
266
+ matchOutputDeviceStateByPortIdInContext as matchDeviceStateById,
267
+ // matchPortConnectionStateByPortIdInContext,
268
+ // matchPortDeviceStateByPortIdInContext,
269
+ } from './internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.ts'