Uploaded September 2026 | Updated November 2026, 1 day ago
https://audio.dev/ -- @audiodevcon
---
Using Strongly-Typed Units in Digital Audio Software - Roth Michaels - ADC 2025
---
API or math mistakes with units can cause problems ranging from a digital audio processing outputting silence to crashing your Mars rover—we’ll discuss real-life examples of both! There are efforts to solve these problems in the C++ standard library and open-source libraries that can be used today by audio developers.
The combination of user-defined types, conversion operators/constructors, and operator overloading in C++ give us the tools to use strong-types and avoid unit mistakes; std::chrono is a great example of this that everyone should be using. Unfortunately, when dealing with units beyond time many developers still use primitive types encoding units in variable names or comments.
This talk will provide an overview and update on progress of the proposed units library described in “P3045: Quantities and units library” which is currently going through standardization for C++29 and an update on progress. There will also be an introduction to mp-units, the open-source implementation of the proposed standard library features that you can use today.
To demonstrate how the proposed standard library can be extended to custom domains, extensions implementing various quantities and units used in digital audio / DSP that go beyond “physical” units. This will be code you can use today using mp-units and we are looking for industry experience and feedback!
We will close with a request for feedback and questions to see if these APIs will work for you.
---
Roth Michaels
Roth Michaels is a Principal Software Engineer at Native Instruments, an industry leader in real-time audio software for music production and broadcast/film post-production. In his current role he is involved with software architecture and bringing together three merged engineering organizations and legacy codebases: Brainworx, iZotope, and Native Instruments. He also supports the Audio Research team to help accelerate moving research to productization and developing fast prototyping tools for product teams. Before merging with Native Instruments, when he joined iZotope, Roth was the lead library designer of a new internal cross-platform ""Glass"", part of which is now available as open-source. More recently in his former role as Mix/Master Software Architect, Roth helped develop the reference implementation to move iZotope's products to subscription and led the team that launched the company’s first SaaS offering for music producers. Roth studied music composition at Brandeis University and continued his studies in the Dartmouth Digital Musics program. Roth began his career in software development writing software for his own compositions, and the works of other composers and artists, and teaching MaxMSP to composers and musicians; both private instruction and designing university courses. Before joining iZotope, he was working as a consultant for small startups working on mobile applications specializing in location services and Bluetooth.
---
ADC is an annual event celebrating all audio development technologies, from music applications and game audio to audio processing and embedded systems. ADC’s mission is to help attendees acquire and develop new audio development skills, and build a network that will support their audio developer career.
Annual ADC Conference - https://audio.dev/
linkedin.com/company/audiodevcon
twitter.com/audiodevcon
facebook.com/audiodevcon
instagram.com/audiodevcon
reddit.com/r/audiodevcon
https://mastodon.social/@audiodevcon
---
Streamed & Edited by Digital Medium Ltd: online.digital-medium.co.uk
---
Organized and produced by JUCE: juce.com
---
Special thanks to the ADC25 Team:
Sophie Carus
Derek Heimlich
Andrew Kirk
Bobby Lombardi
Tom Poole
Ralph Richbourg
Jim Roper
Jonathan Roper
Prashant Mishra
#adc #audiodev #dsp #audio #conferenceaudio #audioprocessing #audioproduction #audioprogramming #sound #music #musictech #soundtech #audiotech #audiotechnology
https://audio.dev/ -- @audiodevcon
---
Using Strongly-Typed Units in Digital Audio Software - Roth Michaels - ADC 2025
---
API or math mistakes with units can cause problems ranging from a digital audio processing outputting silence to crashing your Mars rover—we’ll discuss real-life examples of both! There are efforts to solve these problems in the C++ standard library and open-source libraries that can be used today by audio developers.
The combination of user-defined types, conversion operators/constructors, and operator overloading in C++ give us the tools to use strong-types and avoid unit mistakes; std::chrono is a great example of this that everyone should be using. Unfortunately, when dealing with units beyond time many developers still use primitive types encoding units in variable names or comments.
This talk will provide an overview and update on progress of the proposed units library described in “P3045: Quantities and units library” which is currently going through standardization for C++29 and an update on progress. There will also be an introduction to mp-units, the open-source implementation of the proposed standard library features that you can use today.
To demonstrate how the proposed standard library can be extended to custom domains, extensions implementing various quantities and units used in digital audio / DSP that go beyond “physical” units. This will be code you can use today using mp-units and we are looking for industry experience and feedback!
We will close with a request for feedback and questions to see if these APIs will work for you.
---
Roth Michaels
Roth Michaels is a Principal Software Engineer at Native Instruments, an industry leader in real-time audio software for music production and broadcast/film post-production. In his current role he is involved with software architecture and bringing together three merged engineering organizations and legacy codebases: Brainworx, iZotope, and Native Instruments. He also supports the Audio Research team to help accelerate moving research to productization and developing fast prototyping tools for product teams. Before merging with Native Instruments, when he joined iZotope, Roth was the lead library designer of a new internal cross-platform ""Glass"", part of which is now available as open-source. More recently in his former role as Mix/Master Software Architect, Roth helped develop the reference implementation to move iZotope's products to subscription and led the team that launched the company’s first SaaS offering for music producers. Roth studied music composition at Brandeis University and continued his studies in the Dartmouth Digital Musics program. Roth began his career in software development writing software for his own compositions, and the works of other composers and artists, and teaching MaxMSP to composers and musicians; both private instruction and designing university courses. Before joining iZotope, he was working as a consultant for small startups working on mobile applications specializing in location services and Bluetooth.
---
ADC is an annual event celebrating all audio development technologies, from music applications and game audio to audio processing and embedded systems. ADC’s mission is to help attendees acquire and develop new audio development skills, and build a network that will support their audio developer career.
Annual ADC Conference - https://audio.dev/
linkedin.com/company/audiodevcon
twitter.com/audiodevcon
facebook.com/audiodevcon
instagram.com/audiodevcon
reddit.com/r/audiodevcon
https://mastodon.social/@audiodevcon
---
Streamed & Edited by Digital Medium Ltd: online.digital-medium.co.uk
---
Organized and produced by JUCE: juce.com
---
Special thanks to the ADC25 Team:
Sophie Carus
Derek Heimlich
Andrew Kirk
Bobby Lombardi
Tom Poole
Ralph Richbourg
Jim Roper
Jonathan Roper
Prashant Mishra
#adc #audiodev #dsp #audio #conferenceaudio #audioprocessing #audioproduction #audioprogramming #sound #music #musictech #soundtech #audiotech #audiotechnology









![Guide to C++ ValueTrees - The Secret Weapon of JUCE - Brett g Porter - ADC 2024
https://audio.dev/ @audiodevcon
Guide to C++ ValueTrees - The Secret Weapon of JUCE - Brett g Porter - ADC 2024
The JUCE website says The ValueTree class is JUCEs secret weapon, and its true. They give you:
- A really easy way to capture and pass around the entire state of your applications data at run time
- A rich mechanism to watch that data at a fine degree of granularity
- Trivially easy persistence of application state
...but at the cost (in comparison to using native POD or class/struct variables) of being:
- slower
- less convenient to use
- less type-safe, since all values are stored in the JUCE var variant type.
This talk will explore the new Cello library to abstract away the underlying API calls in favor of syntax thats more like working with POD data. The original goal was to be able to write code something like the below, but using ValueTrees as the backing data store:
struct MyStruct : public cello::Object
{
cello::Value<int> x;
cello::Value<float> y;
};
MyStruct demo;
// will be executed any time the value of X changes
demo.x.onPropertyChange = [&demo] ()
{
std::cout << x changed to <<demo.x << n;
}
// after executing this line, stdout should print: x changed to 100
demo.x = 100;
...and its surprising how close to that we were able to get.
This project has a set of overlapping goals:
- make working with ValueTrees more like working with C++ objects and less like calling API functions
- add type-safety and type conversions without explicit use of VariantConverter objects
- reduce boilerplate wherever possible
- handle undo/redo management invisibly
- support validation of values when they are accessed
- explore the gray area between compile-time strong typing as in C++ and the kind of runtime dynamic typing thats possible using the ValueTree API
- explore the available methods of reactive programming enabled with this system
- build out new functionality thats implied by the capabilities of ValueTrees but perhaps not obvious, like:
- creating a kind of NoSQL database
- creating an in-process sync mechanism to make ValueTrees thread-safe
- creating a simple IPC implementation
- In general, add support for more complex use cases where the complexity can be hidden inside the framework.
Slides: https://data.audio.dev/talks/2024/beyond-valuetrees/slides.pptx
Brett g Porter
Brett g Porter is a composer, trombonist, and developer of music software, currently Lead Software Engineer at Artiphon, where he designs strange little electronic musical instruments. He is a frequent speaker on the topic of Music Technology at industry events including SXSW, the Audio Developers Conference, the NAMM Show, and the Audio Engineering Society convention. He also serves on the executive board of the MIDI Manufacturers Association, which defines and maintains the MIDI standards used by electronic instruments, and has been active in several of the working groups tasked with developing the MIDI 2.0 specifications. Brett holds degrees in composition and electronic music from the Frost School of Music at the University of Miami.
ADC is an annual event celebrating all audio development technologies, from music applications and game audio to audio processing and embedded systems. ADC’s mission is to help attendees acquire and develop new audio development skills, and build a network that will support their audio developer career.
Annual ADC Conference - https://audio.dev/
https://www.linkedin.com/company/audiodevcon
https://twitter.com/audiodevcon
https://facebook.com/audiodevcon
https://instagram.com/audiodevcon
https://www.reddit.com/r/audiodevcon/
https://mastodon.social/@audiodevcon
Streamed & Edited by Digital Medium Ltd: https://online.digital-medium.co.uk
Organized and produced by JUCE: https://juce.com/
Special thanks to the ADC24 Team:
Sophie Carus
Derek Heimlich
Andrew Kirk
Bobby Lombardi
Tom Poole
Ralph Richbourg
Jim Roper
Jonathan Roper
Prashant Mishra
#cpp #adc #juce #audiodev #dsp #audio #conferenceaudio #audioprocessing #audioproduction #audioprogramming #musictech #soundtech #audiotech #audiotechnology Guide to C++ ValueTrees - The Secret Weapon of JUCE - Brett g Porter - ADC 2024](https://i.ytimg.com/vi/usUz6CHl-Es/mqdefault.jpg)
