View on Asset Store (opens in new tab)
Package details
- Latest version
- 2.2.1
- Last updated
- First released
- Unity version
- 2020.3.26 or later
- Package size
- 21.3 MB
- Files
- 191
- Favorites
- 107
- Views in the past week
- 24
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- Free on
Keywords
Chunity: ChucK For Unity
by Music, Computing, Design Group at Stanford (opens in new tab)
Use Chunity to generate procedural audio natively from within Unity.
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
Chunity: ChucK For Unity screenshot 1
About this asset
Chunity is a plugin for using the ChucK programming language inside Unity!
ChucK is a programming language for real-time sound synthesis and music creation. It presents a unique time-based, concurrent programming model that's precise and expressive (we call this "strongly-timed"), dynamic control rates, and the ability to add and modify code on-the-fly. In addition, ChucK supports MIDI, OpenSoundControl, and HID devices. It's fun and easy to learn, and offers composers, researchers, performers, and game designers a powerful programming tool for building and experimenting with complex audio synthesis/analysis programs and real-time interactive music.
Chunity is the bridge between ChucK and Unity. It embeds ChucK as a native audio plugin in Unity. It also includes tools for communicating between ChucK and Unity using ChucK global variables. You can pass ints, floats, strings, and arrays between ChucK and Unity. You can also trigger events in ChucK, and use ChucK events to trigger callbacks in Unity! This can be used for calling Unity code with accurate timing down to the sample level.
Learn more about Chunity, including documentation, tutorials, example projects, and the original NIME paper describing Chunity:
http://chuck.stanford.edu/chunity/
Learn more about using ChucK in general:
http://chuck.stanford.edu/
In particular, you may want to download miniAudicle, the official IDE for ChucK files. This is not necessary as ChucK code can also be written inline in your Unity C# code. However, miniAudicle also provides syntax highlighting and the ability to run ChucK files independently of Unity for greater flexibility of testing your code. Download miniAudicle here:
http://chuck.stanford.edu/release/
Join the ChucK Community on Discord (FYI there is a #chunity channel):
From the publisher's Asset Store listing.
Compatibility
| Unity version | Built-in | URP | HDRP | Custom |
|---|---|---|---|---|
| 2020.3.26f1 | Compatible | Compatible | Compatible | Compatible |
As listed on the Asset Store.