~/talk

Making Noise with Kotlin Native

Talkat KotlinConf 2018 · 2018-10-03..10-05· [creative-coding, kotlin]
links:none on file
slides:none on file

Kotlin/Native generates native binaries with a C interop layer so a terminal aquarium becomes a hardware audio synth: a C DSP library produces PCM sine waves, PortAudio handles cross‑platform audio, and ncurses drives the UI. Build uses the Konan compiler + Gradle plugin, Docker for docker cross‑compile to arm32hf Raspberry Pi, and optional static linking to embed libs. The demo plays live audio from the compiled binary and the module integration is working but CV I/O is still pending.

AI-written summary · about

  1. 0:00Intro
  2. 1:14Modular synthesizer
  3. 3:32Why Kotlin Native
  4. 5:28Quick Overview
  5. 6:08Convert C code to Kotlin
  6. 6:58GCC
  7. 8:03Hopper
  8. 8:36Program KXE
  9. 9:15Inspect Assembly
  10. 10:00Aquarium
  11. 10:38POSIX
  12. 11:48Gradle
  13. 13:15Gradle W
  14. 13:49Sea Lion
  15. 17:33Kotlin Native Module
  16. 18:04My Fish
  17. 18:41Cottons Binding
  18. 19:15Read a File
  19. 21:22Interface with Standard Library
  20. 22:45Memory Allocation
  21. 23:23Memory Management
  22. 24:30C Interface
  23. 26:04Compile
  24. 26:41Dependencies
  25. 27:37Def Files
  26. 28:31Gradle Task
  27. 30:49Embed a static library
  28. 31:21Embed the dotA
  29. 31:34The difference between dotA and dotLive
  30. 31:57C pointer
  31. 32:28C class mapping
  32. 33:16Window C pointer
  33. 33:30Cleaning up the API
  34. 33:59Building a synthesizer
  35. 34:35Writing in C
  36. 35:19Sine Wave Generator
  37. 36:07PortAudio
  38. 37:11PlayStream
  39. 37:23Header File
  40. 37:43Def File
  41. 38:30Fish as Instrument
  42. 39:11Tap a Raspberry Pi
  43. 39:23CrossCompile
  44. 39:56Docker
  45. 40:14Raspberry Pi
  46. 41:25pitchfork
  47. 42:47modular rig
  48. 43:14terminal tedium
  49. 44:09Takeaways
  50. 44:36Kotlin Native Wishlist
  51. 45:41Resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.