Getting Started
this guide assumes that you want to run an application on a KLST_TINY
board. see How to Upload or Run Applications for other platforms.
- connect audio connector
HEADPHONES+MIC
to headphones or speakers - connect USB port
DEVICE+PWR
to computer
a white LED located next to the USB port lights up.
- install the Klangstrom hardware library, see Installation for detailed instructions.
- (re)start the Arduino IDE
- select platform:
Tools > Board > Klangstrom (MCU) > Klangstrom (STM32)
- select board:
Tools > Board part number > KLST_TINY(STM32F446RE)
-
select upload method:
Tools > Upload Method > STM32CubeProgrammer (DFU)
. - note for linux users: if you have problems connecting to the programmer, make sure to copy udev rules from Drivers folder to
/etc/udev/rules.d/
(seeReadme.txt
in/home/USER/STMicroelectronics/STM32Cube/STM32CubeProgrammer/Drivers/rules
)
after selecting a platform all examples are available under File > Examples > Klangstrom > …
.
- open example:
File > Examples > Klangstrom > klangstrom > KLST--Blink
- compile + upload sketch:
Sketch > Upload
once the example is uploaded LED_00
blinks and a single 110Hz note plays. now try running the same example in the simulator:
- select platform:
Tools > Board > Klangstrom (DESKTOP) > Klangstrom (SDL)
- compile + upload sketch:
Sketch > Upload
once the example runs a window appears with also LED_00
blinking and a single 110Hz note playing.
Where to go from here?
the project is structured into three different sections:
- Klangstrom ( Application )
- Klang ( Sound + Digital Audio Signal Processing )
- Strom ( Composition + Methods + Structure )
browsing, running and modifying examples is most playful way to learn about Klangstrom. a more structured approach is to browse through topics in the Operation Manual.