effect-web-midi 0.1.3 → 0.1.5
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.
- package/README.md +248 -0
- package/dist/src/MIDIErrors.js +1 -1
- package/dist/src/MIDIErrors.js.map +1 -1
- package/dist/src/Parsing.js +1 -1
- package/dist/src/Parsing.js.map +1 -1
- package/dist/src/Util.js +1 -1
- package/dist/src/internal/EMIDIAccess.js +2 -2
- package/dist/src/internal/EMIDIAccess.js.map +1 -1
- package/dist/src/internal/{errors.js → EMIDIErrors.js} +1 -1
- package/dist/src/internal/EMIDIErrors.js.map +1 -0
- package/dist/src/internal/EMIDIInput.js +1 -1
- package/dist/src/internal/EMIDIOutput.js +2 -2
- package/dist/src/internal/EMIDIOutput.js.map +1 -1
- package/dist/src/internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.js +1 -1
- package/dist/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.js +1 -1
- package/dist/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.js.map +1 -1
- package/dist/src/internal/{parsing.js → Parsing.js} +15 -16
- package/dist/src/internal/Parsing.js.map +1 -0
- package/dist/src/internal/StreamMaker.js +1 -1
- package/dist/src/internal/{util.js → Util.js} +1 -1
- package/dist/src/internal/{util.js.map → Util.js.map} +1 -1
- package/dist/src/internal/getPortByPortId/getPortByPortIdAndAccess.js +3 -3
- package/dist/src/internal/getPortByPortId/getPortByPortIdAndAccess.js.map +1 -1
- package/dist/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPort.js +1 -1
- package/dist/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.js +1 -1
- package/dist/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.js +1 -1
- package/dist/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.js.map +1 -1
- package/dist/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.js +1 -1
- package/dist-types/src/MIDIErrors.d.ts +1 -1
- package/dist-types/src/MIDIErrors.d.ts.map +1 -1
- package/dist-types/src/Parsing.d.ts +1 -1
- package/dist-types/src/Parsing.d.ts.map +1 -1
- package/dist-types/src/Util.d.ts +1 -1
- package/dist-types/src/internal/EMIDIAccess.d.ts +2 -2
- package/dist-types/src/internal/EMIDIAccess.d.ts.map +1 -1
- package/dist-types/src/internal/{errors.d.ts → EMIDIErrors.d.ts} +1 -1
- package/dist-types/src/internal/EMIDIErrors.d.ts.map +1 -0
- package/dist-types/src/internal/EMIDIOutput.d.ts +2 -2
- package/dist-types/src/internal/EMIDIOutput.d.ts.map +1 -1
- package/dist-types/src/internal/EMIDIPort.d.ts +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.d.ts +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.d.ts.map +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.d.ts +3 -3
- package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdAndAccess.d.ts.map +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.d.ts +3 -3
- package/dist-types/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPortIdInContext.d.ts.map +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.d.ts +3 -3
- package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdAndAccess.d.ts.map +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.d.ts +3 -3
- package/dist-types/src/internal/MIDIPortMethodCalls/closePortConnection/closePortConnectionByPortIdInContext.d.ts.map +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.d.ts +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.d.ts.map +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.d.ts +3 -3
- package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdAndAccess.d.ts.map +1 -1
- package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.d.ts +3 -3
- package/dist-types/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPortIdInContext.d.ts.map +1 -1
- package/dist-types/src/internal/{parsing.d.ts → Parsing.d.ts} +7 -1
- package/dist-types/src/internal/Parsing.d.ts.map +1 -0
- package/dist-types/src/internal/StreamMaker.d.ts +1 -1
- package/dist-types/src/internal/{util.d.ts → Util.d.ts} +2 -2
- package/dist-types/src/internal/Util.d.ts.map +1 -0
- package/dist-types/src/internal/getPortByPortId/getPortByPortIdAndAccess.d.ts +1 -1
- package/dist-types/src/internal/getPortByPortId/getPortByPortIdAndAccess.d.ts.map +1 -1
- package/dist-types/src/internal/getPortByPortId/getPortByPortIdInContext.d.ts +3 -3
- package/dist-types/src/internal/getPortByPortId/getPortByPortIdInContext.d.ts.map +1 -1
- package/dist-types/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.d.ts +3 -3
- package/dist-types/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdInContext.d.ts.map +1 -1
- package/dist-types/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.d.ts +1 -1
- package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.d.ts +2 -2
- package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.d.ts.map +1 -1
- package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.d.ts +1 -1
- package/dist-types/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.d.ts.map +1 -1
- package/dist-types/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.d.ts +1 -1
- package/dist-types/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.d.ts.map +1 -1
- package/package.json +2 -1
- package/src/MIDIErrors.ts +1 -1
- package/src/Parsing.ts +3 -1
- package/src/Util.ts +1 -1
- package/src/internal/EMIDIAccess.ts +3 -3
- package/src/internal/EMIDIInput.ts +1 -1
- package/src/internal/EMIDIOutput.ts +2 -2
- package/src/internal/EMIDIPort.ts +1 -1
- package/src/internal/MIDIPortMethodCalls/acquireReleasePortConnection/acquireReleasePortConnectionByPort.ts +1 -1
- package/src/internal/MIDIPortMethodCalls/makeMIDIPortMethodCallerFactory.ts +1 -1
- package/src/internal/MIDIPortMethodCalls/openPortConnection/openPortConnectionByPort.ts +1 -1
- package/src/internal/{parsing.ts → Parsing.ts} +23 -23
- package/src/internal/StreamMaker.ts +1 -1
- package/src/internal/{util.ts → Util.ts} +1 -1
- package/src/internal/getPortByPortId/getPortByPortIdAndAccess.ts +3 -3
- package/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPort.ts +1 -1
- package/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.ts +3 -3
- package/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPort.ts +1 -1
- package/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdAndAccess.ts +15 -15
- package/src/internal/mutablePropertyTools/doesMutablePortPropertyHaveSpecificValue/doesMutablePortPropertyHaveSpecificValueByPortIdInContext.ts +15 -15
- package/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdAndAccess.ts +6 -6
- package/src/internal/mutablePropertyTools/getMutablePortProperty/getMutablePortPropertyByPortIdInContext.ts +4 -4
- package/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.ts +1 -1
- package/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdAndAccess.ts +6 -6
- package/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPortIdInContext.ts +1 -1
- package/dist/src/internal/errors.js.map +0 -1
- package/dist/src/internal/parsing.js.map +0 -1
- package/dist-types/src/internal/errors.d.ts.map +0 -1
- package/dist-types/src/internal/parsing.d.ts.map +0 -1
- package/dist-types/src/internal/util.d.ts.map +0 -1
- /package/src/internal/{errors.ts → EMIDIErrors.ts} +0 -0
|
@@ -5,8 +5,8 @@ import * as Brand from 'effect/Brand'
|
|
|
5
5
|
import * as Effect from 'effect/Effect'
|
|
6
6
|
import * as EFunction from 'effect/Function'
|
|
7
7
|
import * as EMIDIPort from './EMIDIPort.ts'
|
|
8
|
-
import * as Errors from './
|
|
9
|
-
import * as Util from './
|
|
8
|
+
import * as Errors from './EMIDIErrors.ts'
|
|
9
|
+
import * as Util from './Util.ts'
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Thin wrapper around {@linkcode MIDIOutput} instance. Will be seen in all
|
|
@@ -6,7 +6,7 @@ import * as Equal from 'effect/Equal'
|
|
|
6
6
|
import * as Hash from 'effect/Hash'
|
|
7
7
|
import * as Inspectable from 'effect/Inspectable'
|
|
8
8
|
import * as Pipeable from 'effect/Pipeable'
|
|
9
|
-
import type * as Util from './
|
|
9
|
+
import type * as Util from './Util.ts'
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Unique symbol used for distinguishing {@linkcode EMIDIPort} instances
|
|
@@ -3,7 +3,7 @@ import type * as Scope from 'effect/Scope'
|
|
|
3
3
|
import * as EMIDIInput from '../../EMIDIInput.ts'
|
|
4
4
|
import * as EMIDIOutput from '../../EMIDIOutput.ts'
|
|
5
5
|
import * as EMIDIPort from '../../EMIDIPort.ts'
|
|
6
|
-
import type { UnavailablePortError } from '../../
|
|
6
|
+
import type { UnavailablePortError } from '../../EMIDIErrors.ts'
|
|
7
7
|
import * as C from '../closePortConnection/closePortConnectionByPort.ts'
|
|
8
8
|
import type { TouchPort } from '../makeMIDIPortMethodCallerFactory.ts'
|
|
9
9
|
import * as O from '../openPortConnection/openPortConnectionByPort.ts'
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as EMIDIInput from '../../EMIDIInput.ts'
|
|
2
2
|
import * as EMIDIOutput from '../../EMIDIOutput.ts'
|
|
3
3
|
import * as EMIDIPort from '../../EMIDIPort.ts'
|
|
4
|
-
import { remapErrorByName, UnavailablePortError } from '../../
|
|
4
|
+
import { remapErrorByName, UnavailablePortError } from '../../EMIDIErrors.ts'
|
|
5
5
|
import { makeMIDIPortMethodCallerFactory } from '../makeMIDIPortMethodCallerFactory.ts'
|
|
6
6
|
|
|
7
7
|
/**
|
|
@@ -22,9 +22,13 @@ export const withParsedDataField = <
|
|
|
22
22
|
) =>
|
|
23
23
|
Stream.map(self, ({ midiMessage, ...obj }) => ({
|
|
24
24
|
...obj,
|
|
25
|
+
_tag: 'ParsedMIDIMessage' as const,
|
|
25
26
|
midiMessage: dataEntryParser(midiMessage),
|
|
26
27
|
})) as Stream.Stream<
|
|
27
|
-
Omit<A, 'midiMessage'> & {
|
|
28
|
+
Omit<A, 'midiMessage' | '_tag'> & {
|
|
29
|
+
readonly _tag: 'ParsedMIDIMessage'
|
|
30
|
+
readonly midiMessage: ParsedMIDIMessages
|
|
31
|
+
},
|
|
28
32
|
E,
|
|
29
33
|
R
|
|
30
34
|
>
|
|
@@ -54,36 +58,26 @@ export const withTouchpadPositionUpdates = <
|
|
|
54
58
|
> =>
|
|
55
59
|
Stream.mapAccum(
|
|
56
60
|
self,
|
|
57
|
-
{ x:
|
|
61
|
+
{ x: null as number | null, y: null as number | null },
|
|
58
62
|
(ctx, current) => {
|
|
59
63
|
const { midiMessage, ...rest } = current
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
'Touchpad Release'
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
const position = {
|
|
68
|
-
x: select(ctx.x, (midiMessage as PitchBendChange).value, ctx.x),
|
|
69
|
-
y: select((midiMessage as ControlChange).value, ctx.y, ctx.y),
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
const seenPressedTouchpadEventsInARow = select(
|
|
73
|
-
ctx.seenPressedTouchpadEventsInARow + 1,
|
|
74
|
-
ctx.seenPressedTouchpadEventsInARow + 1,
|
|
75
|
-
ctx.seenPressedTouchpadEventsInARow,
|
|
76
|
-
)
|
|
64
|
+
const state = isControlChange(midiMessage)
|
|
65
|
+
? { ...ctx, y: midiMessage.value }
|
|
66
|
+
: isPitchBendChange(midiMessage)
|
|
67
|
+
? { ...ctx, x: midiMessage.value }
|
|
68
|
+
: midiMessage._tag === 'Touchpad Release'
|
|
69
|
+
? { x: null, y: null }
|
|
70
|
+
: ctx
|
|
77
71
|
|
|
78
72
|
return [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
(position.x !== ctx.x || position.y !== ctx.y)
|
|
73
|
+
state,
|
|
74
|
+
state.x !== null && state.y !== null
|
|
82
75
|
? Stream.make(current, {
|
|
83
76
|
...rest,
|
|
84
77
|
midiMessage: {
|
|
85
78
|
_tag: 'Touchpad Position Update' as const,
|
|
86
|
-
|
|
79
|
+
x: state.x,
|
|
80
|
+
y: state.y,
|
|
87
81
|
} satisfies TouchpadPositionUpdate,
|
|
88
82
|
})
|
|
89
83
|
: Stream.succeed(current),
|
|
@@ -175,6 +169,12 @@ function dataEntryParser(
|
|
|
175
169
|
return unknown()
|
|
176
170
|
}
|
|
177
171
|
|
|
172
|
+
export const isControlChange = (e: { _tag: string }): e is ControlChange =>
|
|
173
|
+
e._tag === 'Control Change'
|
|
174
|
+
|
|
175
|
+
export const isPitchBendChange = (e: { _tag: string }): e is PitchBendChange =>
|
|
176
|
+
e._tag === 'Pitch Bend Change'
|
|
177
|
+
|
|
178
178
|
export interface NoteRelease
|
|
179
179
|
extends Readonly<{ _tag: 'Note Release'; channel: number; note: number }> {}
|
|
180
180
|
|
|
@@ -8,7 +8,7 @@ import * as Stream from 'effect/Stream'
|
|
|
8
8
|
import type * as EMIDIAccess from './EMIDIAccess.ts'
|
|
9
9
|
import type * as EMIDIInput from './EMIDIInput.ts'
|
|
10
10
|
import type * as EMIDIOutput from './EMIDIOutput.ts'
|
|
11
|
-
import * as Util from './
|
|
11
|
+
import * as Util from './Util.ts'
|
|
12
12
|
|
|
13
13
|
// TODO: make an experiment to see if listeners are automatically removed on disconnect
|
|
14
14
|
|
|
@@ -5,7 +5,7 @@ import * as EFunction from 'effect/Function'
|
|
|
5
5
|
import * as Record from 'effect/Record'
|
|
6
6
|
import * as Stream from 'effect/Stream'
|
|
7
7
|
import * as Struct from 'effect/Struct'
|
|
8
|
-
import type * as Errors from './
|
|
8
|
+
import type * as Errors from './EMIDIErrors.ts'
|
|
9
9
|
|
|
10
10
|
export const midiPortStaticFields = [
|
|
11
11
|
'id',
|
|
@@ -7,7 +7,7 @@ import * as EMIDIAccess from '../EMIDIAccess.ts'
|
|
|
7
7
|
import * as EMIDIInput from '../EMIDIInput.ts'
|
|
8
8
|
import * as EMIDIOutput from '../EMIDIOutput.ts'
|
|
9
9
|
import type * as EMIDIPort from '../EMIDIPort.ts'
|
|
10
|
-
import * as Errors from '../
|
|
10
|
+
import * as Errors from '../EMIDIErrors.ts'
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
@@ -83,7 +83,7 @@ export const getInputByPortIdAndAccess = getPortByIdAndRemap({
|
|
|
83
83
|
onInputFound: EFunction.flow(EMIDIInput.make, Effect.succeed),
|
|
84
84
|
onOutputFound: rawOutput =>
|
|
85
85
|
Effect.dieMessage(
|
|
86
|
-
`Assertion failed: getInputById
|
|
86
|
+
`Assertion failed: getInputById expected id=${rawOutput.id} to point at input, but it points at output instead`,
|
|
87
87
|
),
|
|
88
88
|
})
|
|
89
89
|
|
|
@@ -94,7 +94,7 @@ export const getInputByPortIdAndAccess = getPortByIdAndRemap({
|
|
|
94
94
|
export const getOutputByPortIdAndAccess = getPortByIdAndRemap({
|
|
95
95
|
onInputFound: rawInput =>
|
|
96
96
|
Effect.dieMessage(
|
|
97
|
-
`Assertion failed: getOutputById
|
|
97
|
+
`Assertion failed: getOutputById expected id=${rawInput.id} to point at output, but it points at input instead`,
|
|
98
98
|
),
|
|
99
99
|
onOutputFound: EFunction.flow(EMIDIOutput.make, Effect.succeed),
|
|
100
100
|
})
|
|
@@ -5,7 +5,7 @@ import * as EMIDIInput from '../EMIDIInput.ts'
|
|
|
5
5
|
import * as EMIDIOutput from '../EMIDIOutput.ts'
|
|
6
6
|
import * as EMIDIPort from '../EMIDIPort.ts'
|
|
7
7
|
import * as StreamMaker from '../StreamMaker.ts'
|
|
8
|
-
import * as Util from '../
|
|
8
|
+
import * as Util from '../Util.ts'
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
*
|
package/src/internal/makePortStateChangesStream/makePortStateChangesStreamByPortIdAndAccess.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
// TODO: makeInputStateChangesStreamByPortIdAndAccess
|
|
2
2
|
export const makeInputStateChangesStreamByPortIdAndAccess = () => {
|
|
3
|
-
throw new Error('
|
|
3
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
// TODO: makeOutputStateChangesStreamByPortIdAndAccess
|
|
7
7
|
export const makeOutputStateChangesStreamByPortIdAndAccess = () => {
|
|
8
|
-
throw new Error('
|
|
8
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
// TODO: makePortStateChangesStreamByPortIdAndAccess
|
|
12
12
|
export const makePortStateChangesStreamByPortIdAndAccess = () => {
|
|
13
|
-
throw new Error('
|
|
13
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
14
14
|
}
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
// TODO: isInputConnectionClosedByPortIdAndAccess
|
|
2
2
|
export const isInputConnectionClosedByPortIdAndAccess = () => {
|
|
3
|
-
throw new Error('
|
|
3
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
// TODO: isInputConnectionOpenByPortIdAndAccess
|
|
7
7
|
export const isInputConnectionOpenByPortIdAndAccess = () => {
|
|
8
|
-
throw new Error('
|
|
8
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
// TODO: isInputConnectionPendingByPortIdAndAccess
|
|
12
12
|
export const isInputConnectionPendingByPortIdAndAccess = () => {
|
|
13
|
-
throw new Error('
|
|
13
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// TODO: isInputDeviceConnectedByPortIdAndAccess
|
|
17
17
|
export const isInputDeviceConnectedByPortIdAndAccess = () => {
|
|
18
|
-
throw new Error('
|
|
18
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
// TODO: isInputDeviceDisconnectedByPortIdAndAccess
|
|
22
22
|
export const isInputDeviceDisconnectedByPortIdAndAccess = () => {
|
|
23
|
-
throw new Error('
|
|
23
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// TODO: isOutputConnectionClosedByPortIdAndAccess
|
|
27
27
|
export const isOutputConnectionClosedByPortIdAndAccess = () => {
|
|
28
|
-
throw new Error('
|
|
28
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
// TODO: isOutputConnectionOpenByPortIdAndAccess
|
|
32
32
|
export const isOutputConnectionOpenByPortIdAndAccess = () => {
|
|
33
|
-
throw new Error('
|
|
33
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
// TODO: isOutputConnectionPendingByPortIdAndAccess
|
|
37
37
|
export const isOutputConnectionPendingByPortIdAndAccess = () => {
|
|
38
|
-
throw new Error('
|
|
38
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
// TODO: isOutputDeviceConnectedByPortIdAndAccess
|
|
42
42
|
export const isOutputDeviceConnectedByPortIdAndAccess = () => {
|
|
43
|
-
throw new Error('
|
|
43
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
// TODO: isOutputDeviceDisconnectedByPortIdAndAccess
|
|
47
47
|
export const isOutputDeviceDisconnectedByPortIdAndAccess = () => {
|
|
48
|
-
throw new Error('
|
|
48
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// TODO: isPortConnectionClosedByPortIdAndAccess
|
|
52
52
|
export const isPortConnectionClosedByPortIdAndAccess = () => {
|
|
53
|
-
throw new Error('
|
|
53
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
// TODO: isPortConnectionOpenByPortIdAndAccess
|
|
57
57
|
export const isPortConnectionOpenByPortIdAndAccess = () => {
|
|
58
|
-
throw new Error('
|
|
58
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
// TODO: isPortConnectionPendingByPortIdAndAccess
|
|
62
62
|
export const isPortConnectionPendingByPortIdAndAccess = () => {
|
|
63
|
-
throw new Error('
|
|
63
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
// TODO: isPortDeviceConnectedByPortIdAndAccess
|
|
67
67
|
export const isPortDeviceConnectedByPortIdAndAccess = () => {
|
|
68
|
-
throw new Error('
|
|
68
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
// TODO: isPortDeviceDisconnectedByPortIdAndAccess
|
|
72
72
|
export const isPortDeviceDisconnectedByPortIdAndAccess = () => {
|
|
73
|
-
throw new Error('
|
|
73
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
74
74
|
}
|
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
// TODO: isInputConnectionClosedByPortIdInContext
|
|
2
2
|
export const isInputConnectionClosedByPortIdInContext = () => {
|
|
3
|
-
throw new Error('
|
|
3
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
// TODO: isInputConnectionOpenByPortIdInContext
|
|
7
7
|
export const isInputConnectionOpenByPortIdInContext = () => {
|
|
8
|
-
throw new Error('
|
|
8
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
// TODO: isInputConnectionPendingByPortIdInContext
|
|
12
12
|
export const isInputConnectionPendingByPortIdInContext = () => {
|
|
13
|
-
throw new Error('
|
|
13
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// TODO: isInputDeviceConnectedByPortIdInContext
|
|
17
17
|
export const isInputDeviceConnectedByPortIdInContext = () => {
|
|
18
|
-
throw new Error('
|
|
18
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
// TODO: isInputDeviceDisconnectedByPortIdInContext
|
|
22
22
|
export const isInputDeviceDisconnectedByPortIdInContext = () => {
|
|
23
|
-
throw new Error('
|
|
23
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// TODO: isOutputConnectionClosedByPortIdInContext
|
|
27
27
|
export const isOutputConnectionClosedByPortIdInContext = () => {
|
|
28
|
-
throw new Error('
|
|
28
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
// TODO: isOutputConnectionOpenByPortIdInContext
|
|
32
32
|
export const isOutputConnectionOpenByPortIdInContext = () => {
|
|
33
|
-
throw new Error('
|
|
33
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
// TODO: isOutputConnectionPendingByPortIdInContext
|
|
37
37
|
export const isOutputConnectionPendingByPortIdInContext = () => {
|
|
38
|
-
throw new Error('
|
|
38
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
// TODO: isOutputDeviceConnectedByPortIdInContext
|
|
42
42
|
export const isOutputDeviceConnectedByPortIdInContext = () => {
|
|
43
|
-
throw new Error('
|
|
43
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
// TODO: isOutputDeviceDisconnectedByPortIdInContext
|
|
47
47
|
export const isOutputDeviceDisconnectedByPortIdInContext = () => {
|
|
48
|
-
throw new Error('
|
|
48
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
// TODO: isPortConnectionClosedByPortIdInContext
|
|
52
52
|
export const isPortConnectionClosedByPortIdInContext = () => {
|
|
53
|
-
throw new Error('
|
|
53
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
// TODO: isPortConnectionOpenByPortIdInContext
|
|
57
57
|
export const isPortConnectionOpenByPortIdInContext = () => {
|
|
58
|
-
throw new Error('
|
|
58
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
// TODO: isPortConnectionPendingByPortIdInContext
|
|
62
62
|
export const isPortConnectionPendingByPortIdInContext = () => {
|
|
63
|
-
throw new Error('
|
|
63
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
// TODO: isPortDeviceConnectedByPortIdInContext
|
|
67
67
|
export const isPortDeviceConnectedByPortIdInContext = () => {
|
|
68
|
-
throw new Error('
|
|
68
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
// TODO: isPortDeviceDisconnectedByPortIdInContext
|
|
72
72
|
export const isPortDeviceDisconnectedByPortIdInContext = () => {
|
|
73
|
-
throw new Error('
|
|
73
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
74
74
|
}
|
|
@@ -5,8 +5,8 @@ import * as Option from 'effect/Option'
|
|
|
5
5
|
import * as Record from 'effect/Record'
|
|
6
6
|
import * as EMIDIAccess from '../../EMIDIAccess.ts'
|
|
7
7
|
import type * as EMIDIPort from '../../EMIDIPort.ts'
|
|
8
|
-
import * as Errors from '../../
|
|
9
|
-
import type * as Util from '../../
|
|
8
|
+
import * as Errors from '../../EMIDIErrors.ts'
|
|
9
|
+
import type * as Util from '../../Util.ts'
|
|
10
10
|
import * as Get from './getMutablePortPropertyByPort.ts'
|
|
11
11
|
|
|
12
12
|
const getPortByIdGeneric2 =
|
|
@@ -91,20 +91,20 @@ export const getPortConnectionStateByPortIdAndAccess = <TE = never, TR = never>(
|
|
|
91
91
|
|
|
92
92
|
// TODO: getInputConnectionStateByPortIdAndAccess
|
|
93
93
|
export const getInputConnectionStateByPortIdAndAccess = () => {
|
|
94
|
-
throw new Error('
|
|
94
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
// TODO: getInputDeviceStateByPortIdAndAccess
|
|
98
98
|
export const getInputDeviceStateByPortIdAndAccess = () => {
|
|
99
|
-
throw new Error('
|
|
99
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
// TODO: getOutputConnectionStateByPortIdAndAccess
|
|
103
103
|
export const getOutputConnectionStateByPortIdAndAccess = () => {
|
|
104
|
-
throw new Error('
|
|
104
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
105
105
|
}
|
|
106
106
|
|
|
107
107
|
// TODO: getOutputDeviceStateByPortIdAndAccess
|
|
108
108
|
export const getOutputDeviceStateByPortIdAndAccess = () => {
|
|
109
|
-
throw new Error('
|
|
109
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
110
110
|
}
|
|
@@ -18,20 +18,20 @@ export const getPortConnectionStateByPortId = (id: EMIDIPort.BothId) =>
|
|
|
18
18
|
|
|
19
19
|
// TODO: getInputConnectionStateByPortId
|
|
20
20
|
export const getInputConnectionStateByPortId = () => {
|
|
21
|
-
throw new Error('
|
|
21
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
// TODO: getInputDeviceStateByPortId
|
|
25
25
|
export const getInputDeviceStateByPortId = () => {
|
|
26
|
-
throw new Error('
|
|
26
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
// TODO: getOutputConnectionStateByPortId
|
|
30
30
|
export const getOutputConnectionStateByPortId = () => {
|
|
31
|
-
throw new Error('
|
|
31
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
// TODO: getOutputDeviceStateByPortId
|
|
35
35
|
export const getOutputDeviceStateByPortId = () => {
|
|
36
|
-
throw new Error('
|
|
36
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
37
37
|
}
|
package/src/internal/mutablePropertyTools/matchMutablePortProperty/matchMutablePortPropertyByPort.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as Record from 'effect/Record'
|
|
|
7
7
|
import * as EMIDIInput from '../../EMIDIInput.ts'
|
|
8
8
|
import * as EMIDIOutput from '../../EMIDIOutput.ts'
|
|
9
9
|
import * as EMIDIPort from '../../EMIDIPort.ts'
|
|
10
|
-
import * as Util from '../../
|
|
10
|
+
import * as Util from '../../Util.ts'
|
|
11
11
|
import * as Get from '../getValueInRawPortFieldUnsafe.ts'
|
|
12
12
|
|
|
13
13
|
/**
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
// TODO: matchInputConnectionStateByPortIdAndAccess
|
|
2
2
|
export const matchInputConnectionStateByPortIdAndAccess = () => {
|
|
3
|
-
throw new Error('
|
|
3
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
// TODO: matchInputDeviceStateByPortIdAndAccess
|
|
7
7
|
export const matchInputDeviceStateByPortIdAndAccess = () => {
|
|
8
|
-
throw new Error('
|
|
8
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
// TODO: matchOutputConnectionStateByPortIdAndAccess
|
|
12
12
|
export const matchOutputConnectionStateByPortIdAndAccess = () => {
|
|
13
|
-
throw new Error('
|
|
13
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// TODO: matchOutputDeviceStateByPortIdAndAccess
|
|
17
17
|
export const matchOutputDeviceStateByPortIdAndAccess = () => {
|
|
18
|
-
throw new Error('
|
|
18
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
// TODO: matchPortConnectionStateByPortIdAndAccess
|
|
22
22
|
export const matchPortConnectionStateByPortIdAndAccess = () => {
|
|
23
|
-
throw new Error('
|
|
23
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
// TODO: matchPortDeviceStateByPortIdAndAccess
|
|
27
27
|
export const matchPortDeviceStateByPortIdAndAccess = () => {
|
|
28
|
-
throw new Error('
|
|
28
|
+
throw new Error('Not implemented 😿 YET!! 🤩')
|
|
29
29
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as Effect from 'effect/Effect'
|
|
2
2
|
import type * as EMIDIAccess from '../../EMIDIAccess.ts'
|
|
3
3
|
import type * as EMIDIPort from '../../EMIDIPort.ts'
|
|
4
|
-
import type * as Errors from '../../
|
|
4
|
+
import type * as Errors from '../../EMIDIErrors.ts'
|
|
5
5
|
import * as Get from '../../getPortByPortId/getPortByPortIdInContext.ts'
|
|
6
6
|
import * as Match from './matchMutablePortPropertyByPort.ts'
|
|
7
7
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"errors.js","sourceRoot":"","sources":["../../../src/internal/errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAGvC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAE3C,+EAA+E;AAC/E,WAAW;AAEX,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAA;AAE/E,MAAM,WAAW,GAAG,CAClB,UAAoB,EACpB,EAAE,CACF,MAAM,CAAC,MAAM,CAAC;IACZ,IAAI,EAAE,CAAC,UAAU;QACf,MAAM,CAAC,qBAAqB,CAEnB;IACX,OAAO,EAAE,MAAM,CAAC,qBAAqB;IACrC,KAAK,EAAE,MAAM,CAAC,qBAAqB,CAAC,IAAI,CACtC,MAAM,CAAC,YAAY,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CACrC;IACD,KAAK,EAAE,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAA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