84 Commits

Author SHA1 Message Date
nkymut
5fcb96f73c codeformat 2025-03-11 23:33:45 +08:00
nkymut
2ccb95aec0 Refactor: Consolidate configuration variables into midiConfig object
- add options argument to .midi
- add midiConfig object with properties
2025-03-11 23:29:37 +08:00
nkymut
3c2692bdda remove debugging artifacts 2025-03-09 06:06:59 +08:00
nkymut
43523b73c4 codeformat 2025-02-09 15:12:14 +08:00
nkymut
b98ebc696d remove midimap JSDoc 2025-02-09 12:19:30 +08:00
nkymut
f802f18d68 refactor(midi): extract MIDI message handlers into dedicated functions
- Move MIDI API logic into separate functions following #1274 (sendCC, sendProgramChange, sendPitchBend, etc.)
2025-02-09 10:56:51 +08:00
nkymut
919c2854d5 Merge branch 'main' of https://github.com/tidalcycles/strudel into add-program-change 2025-02-09 10:53:03 +08:00
nkymut
451cdcc3a9 fix sendChannelAfterTouch -> sendChannelAftertouch 2025-02-07 04:39:24 +08:00
nkymut
5ff1d35272 'miditouch' change sendKeyAfterTouch to sendChannelAfterTouch 2025-02-07 00:08:31 +08:00
Felix Roos
efd4071637
remove midisounds for now 2025-02-06 13:51:53 +01:00
nkymut
20dcae68c1 add sysex handler to midicmd 2025-02-05 07:42:06 +08:00
Felix Roos
848edb1f69
doc: midisounds 2025-02-03 22:56:51 +01:00
Felix Roos
88fb0b3b75
fix: pnpm check 2025-02-03 22:45:19 +01:00
Felix Roos
e99f229b57
doc: defaultmidimap + midimaps 2025-02-03 22:37:59 +01:00
Felix Roos
c810a02a79
- add defaultmidimap function
- add midisounds function
- add midiport control
2025-02-03 21:55:57 +01:00
Felix Roos
d86df33b8c
allow loading midimap from url 2025-02-02 23:49:17 +01:00
Felix Roos
b74d5becd5
allow passing ccn numbers directly to midimapped control name 2025-02-02 23:37:20 +01:00
Felix Roos
b87b2aff9a
simplify more 2025-02-02 22:18:56 +01:00
Felix Roos
95b1548e5f
simplify 2025-02-02 22:16:11 +01:00
Felix Roos
0b1bc74c3b
feat: basic midimap handling 2025-02-02 22:01:53 +01:00
nkymut
3ffe3957ba Prettier! 2025-01-25 08:00:49 +08:00
nkymut
3189b365c8 fix midibend and miditouch 2025-01-25 03:27:46 +08:00
nkymut
b8b999eab5 add midibend, miditouch 2025-01-25 02:28:56 +08:00
nkymut
d06a75a2cd Add cc to midicmd, add API Reference for midi related controls 2025-01-24 05:37:11 +08:00
nkymut
57c48f0c45 Add 'sysex' control
- sysex(id, data) and both arguments are patternable
2025-01-23 08:30:06 +08:00
nkymut
a4792e29f5 update ProgramChange from pc to progNum
- add progNum keyword handler
- update midicmd handler to handle 'progNum' case
2025-01-22 06:48:55 +08:00
nkymut
13a4512601 Get sysex working
split sysex message into sysexid and sysexdata
sysexid is a device identification number or array
sysexdata is an array of data to be sent to the device
2025-01-18 14:31:11 +08:00
nkymut
c242f5f625 midi mapping to handle program change and sysex 2025-01-14 17:11:14 +08:00
nkymut
859f153ec6 Add program change(pc) and sysex to midi 2025-01-14 16:54:53 +08:00
Matthew Kaney
bd69ffb4b7 Add high-resolution CC option to midi 2024-11-16 14:35:18 -05:00
Raphaël Forment
23a4bf6641 Getting rid of second argument 2024-11-09 02:33:56 +01:00
Raphaël Forment
ec470aa2c6 Feat: midi() command support external instrument parameter mapping
This commit adds a second argument to the midi() command: mapping.
This argument should be an object containing a key-value map of
MIDI controls used by an external synthesizer. If any control is
used that matches the mapping, a CC message is sent.
2024-11-09 01:41:59 +01:00
Felix Roos
5ac59e95dd handle midin device not found error 2024-07-25 16:07:58 +02:00
Jade (Rose) Rowland
57ad278137 fixed osc server 2024-04-21 17:52:22 -04:00
Jade (Rose) Rowland
5d8eea7299 fixed 2024-04-21 17:29:29 -04:00
Felix Roos
81b33afcdb fix: do not reset cc input values on each eval 2024-04-12 12:30:13 +02:00
Jade (Rose) Rowland
0a6373f64c adjust latency 2024-04-06 17:40:08 -04:00
Jade (Rose) Rowland
183d3ea4a1 fix desktop midi 2024-04-06 17:28:30 -04:00
Jade (Rose) Rowland
8e4549d6d3 mfix 2024-04-06 17:07:54 -04:00
Felix Roos
1d92ee76b9 make velocity a regular value prop 2024-03-01 18:00:34 +01:00
Felix Roos
325152c782
Merge pull request #936 from Enelg52/midi-issues
fix midi issue on firefox and added quote error
2024-02-25 14:15:30 +01:00
Jade (Rose) Rowland
c06a3710c1 fixed 2024-02-19 23:43:35 -05:00
Enelg52
6da98a5f31 fix midi issue on firefox and quote error 2024-01-23 16:47:46 +01:00
Felix Roos
96bafa7f0b the big rename: @strudel.cycles/* -> @strudel/* 2024-01-18 09:54:37 +01:00
Felix Roos
0dcc55ee16 prevent error 2023-09-28 10:48:31 +02:00
Felix Roos
e4eff8c837 Merge remote-tracking branch 'origin/main' into midi-in 2023-09-28 10:40:24 +02:00
Felix Roos
4eb0a7b7c0 send start with accurate timing 2023-09-27 22:42:35 +02:00
Felix Roos
f11462bf41 sync start / stop automatically too 2023-09-27 22:28:52 +02:00
Felix Roos
dea1c31701 use midicmd instead of clock 2023-09-27 22:10:21 +02:00
Felix Roos
68ab43b3ab support midi clock via "clock" control
(not on desktop yet)
2023-09-27 21:26:24 +02:00