Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
first_steps [2024/03/11 17:48] – steve.wang | first_steps [2025/08/01 22:39] (current) – steve.wang | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== First Steps with Konduktiva====== | ====== First Steps with Konduktiva====== | ||
**Overview: ** This tutorial will act as a guide about how to get started after installating Konduktiva. See how to [[https:// | **Overview: ** This tutorial will act as a guide about how to get started after installating Konduktiva. See how to [[https:// | ||
+ | |||
+ | To check the version of Konduktiva which is installed, run this in the directory: | ||
+ | <code javascript> | ||
+ | npm show konduktiva version | ||
+ | </ | ||
**Things To Note: ** Only follow this tutorial after you have correctly followed the installation instructions. | **Things To Note: ** Only follow this tutorial after you have correctly followed the installation instructions. | ||
Line 12: | Line 17: | ||
</ | </ | ||
- | OR | + | NOTE: await import |
- | <code javascript> | + | |
- | const K = await import(' | + | After this is loaded, you will need to open your DAW and set it up. Here [[https:// |
- | </code> | + | |
- | After this is loaded, you will need to open one instance of MIDI output. | + | Next, setup a default/ |
<code javascript> | <code javascript> | ||
Line 55: | Line 59: | ||
You can also restart the node session by pressing CTRL + D in the terminal and typing node again. Then you might want to try some of these other functions: | You can also restart the node session by pressing CTRL + D in the terminal and typing node again. Then you might want to try some of these other functions: | ||
+ | |||
+ | If there is no sound check out [[connecting-konduktiva-to-music-synthesizer-using-carla# | ||
The configuration object (first argument controls the type of sound you hear. Try passing in a different configuration object and some extra configurations (last argument). | The configuration object (first argument controls the type of sound you hear. Try passing in a different configuration object and some extra configurations (last argument). | ||
Line 66: | Line 72: | ||
Konduktiva can send MIDI messages to more than one music synthesizer session. Try opening another session of your music synthesizer and configure the new one to listen to channel 2. To hear a more obvious difference configure the second music synthesizer to use a different voice. Then, try this function: | Konduktiva can send MIDI messages to more than one music synthesizer session. Try opening another session of your music synthesizer and configure the new one to listen to channel 2. To hear a more obvious difference configure the second music synthesizer to use a different voice. Then, try this function: | ||
- | < | + | < |
let e = K.setUpMusicalEnvironment(K.defaultConfigurationObject, | let e = K.setUpMusicalEnvironment(K.defaultConfigurationObject, | ||
Line 73: | Line 79: | ||
</ | </ | ||
+ | |||
+ | You should hear both your music synthesizer sessions playing the same thing but with different voices. It should sound something like this: | ||
+ | {{ : | ||
+ | |||
To stop all players: | To stop all players: | ||
Line 78: | Line 88: | ||
e.stopAll() | e.stopAll() | ||
</ | </ | ||
- | |||
- | You should here both your music synthesizer sessions playing the same thing but with different voices. It should sound something like this: | ||
- | |||
- | ADD AUDIO HERE | ||
To here different sounds try these function calls. Remember to restart nodejs and Konduktiva everytime you run one of these funcitons. As you learn more about Konduktiva, you will learn other ways to do this so you do not have to restart node every single time. | To here different sounds try these function calls. Remember to restart nodejs and Konduktiva everytime you run one of these funcitons. As you learn more about Konduktiva, you will learn other ways to do this so you do not have to restart node every single time. |