Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
using-worker-threads-with-konduktiva [2025/07/29 03:11] – steve.wang | using-worker-threads-with-konduktiva [2025/09/06 01:21] (current) – steve.wang | ||
---|---|---|---|
Line 2: | Line 2: | ||
**Overview: ** Sometimes running too many actions in the same nodejs thread can cause Konduktiva sequencing to be delayed because of the heavy load on the system and the single threaded nature of nodejs. To avoid this issue, we can create other threads and run heavy actions there. Reading the [[https:// | **Overview: ** Sometimes running too many actions in the same nodejs thread can cause Konduktiva sequencing to be delayed because of the heavy load on the system and the single threaded nature of nodejs. To avoid this issue, we can create other threads and run heavy actions there. Reading the [[https:// | ||
+ | |||
+ | ** Available versions: **: Only in worker scheduler version (Steve experimental version). | ||
**Things To Note:** This tutorial assumes you have already installed Konduktiva successfully using the [[https:// | **Things To Note:** This tutorial assumes you have already installed Konduktiva successfully using the [[https:// | ||
Line 46: | Line 48: | ||
e.modeFilters.sameAsChromatic = new K.QuantizedMap(QResults.keyspan, | e.modeFilters.sameAsChromatic = new K.QuantizedMap(QResults.keyspan, | ||
</ | </ | ||
+ | ===== Separate Repository ===== | ||
+ | |||
+ | Konduktiva still uses internal version | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// | ||
+ | |||
+ | ===== Debugging (Not implemented yet) ===== | ||
+ | Second argument for changing behaviour of automatic removal of code files used by Worker. This is very useful for debugging because it allows user to see all the code Worker has access to and the operations worker can run. This can be done by pasting the code files used by Worker into Nodejs repl. Can help significantly with type issues (code to text and back to code) | ||
+ | |||
+ | Argument accepts strings that dictate what action is taken regarding the code files Worker uses. Argument called removal. | ||
+ | |||
+ | false: Does not remove worker code files. | ||
+ | undefined : Removes if worker exit without error but keeps if error. | ||
+ | true; Remove worker code file not matter situation. | ||
+ | |||
- | [[https:// | + | [[adding-midi-file-to-musical-environment|Learn about playing midi files in Konduktiva]] |