ArticleslgStudy

computer science

JUCE

JUCE is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand JUCE rather than just read about it. In short: JUCE is an open-source cross-platform C++ application framework, used for the development of desktop and mobile applications. JUCE is used in particular for its GUI and plug-ins libraries.

JUCE — main illustration
JUCE — illustration

Key takeaways

  • JUCE belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect JUCE to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of JUCE from memory before moving on to harder problems.

Reference excerpt

JUCE is an open-source cross-platform C++ application framework, used for the development of desktop and mobile applications. JUCE is used in particular for its GUI and plug-ins libraries. It is dual licensed under the AGPLv3 and a commercial license. The aim of JUCE is to allow software to be written such that the same source code will compile and run identically on Windows, macOS and Linux platforms. It supports various development environments and compilers.

History JUCE resulted from a split-out of the underlying C++ code that was developed by Julian Storer to create Tracktion's (now Waveform) DAW graphic and audio capabilities. It was first released to the public in 2004. JUCE and Raw Material Software were acquired in November 2014 by London-based hardware manufacturer ROLI for an undisclosed amount. In April 2020 it was announced that JUCE had been sold by ROLI to PACE Anti-Piracy Inc..

Official support JUCE is intended to be usable in exactly the same way on multiple platforms and compilers. Raw Material Software gives the following list of platforms and compilers on which support is officially confirmed; others may work, but have not been officially tested.

Supported platforms JUCE is supported on the following platforms.

Windows Vista, 7, 8, 10 and 11 macOS versions 10.7 and later iOS versions 9 and later Linux kernel series 2.6 and later Android using NDK-v5 and later

Supported compilers JUCE is officially confirmed to work properly with the following compilers.

GCC versions 5 and later LLVM - LLVM Clang versions 3.4 and later Microsoft Visual Studio - Visual C++ 2015 and later

Features Like many other frameworks (e.g., Qt, wxWidgets, GTK, etc.), JUCE contains classes providing a range of functions that cover user-interface elements, graphics, audio, XML and JSON parsing, networking, cryptography, multi-threading, an integrated interpreter that mimics ECMAScript's syntax, and various other commonly used features. Application developers needing several third-party libraries may thus be able to consolidate and use only the JUCE library, or at least reduce the number of third-party libraries they use. In this, the original inspiration was Java's JDK, and JUCE was intended to be "something similar for C++". A notable feature of JUCE when compared to other similar frameworks is its large set of audio functionality; this is because JUCE was originally developed as a framework for Tracktion, an audio sequencer, before being split off into a standalone product. JUCE has support for audio devices (such as CoreAudio, ASIO, ALSA, JACK, WASAPI, DirectSound) and MIDI playback, polyphonic synthesizers, built-in readers for common audio file formats (such as WAV, AIFF, FLAC, MP3 and Vorbis), as well as wrappers for building various types of audio plugin, such as VST effects and instruments. This has led to its widespread use in the audio development community. JUCE comes with wrapper classes for building audio and browser plugins. When building an audio plugin, a single binary is produced that supports multiple plugin formats (VST & VST3, RTAS, AAX, Audio Units). Since all the platform and format-specific code is contained in the wrapper, a user can build Mac and Windows VST/VST3/RTAS/AAX/AUs from a single codebase. Since JUCE7 targeting, and hosting, of LV2 plugins is also possible. Previously this was done with the use of various forks. Browser plugins are handled in a similar way: a single binary is produced that functions as both an NPAPI and an ActiveX plugin.

Tools The "Projucer" is an IDE tool for creating and managing JUCE projects. When the files and settings for a JUCE project have been specified, the Projucer automatically generates a collection of 3rd-party project files to allow the project to be compiled natively on each target platform. It can currently generate Xcode projects, Visual Studio projects, Linux Makefiles, Android Ant builds and CodeBlocks projects. As well as providing a way to manage a project's files and settings, it also has a code editor, an integrated GUI editor, wizards for creating new projects and files, and a live coding engine useful for user interface design.

Version history Version 1 - 2004 Version 4 - November 2015 Version 5 - April 2017 Version 6 - April 2020 - key updates included adding CMake support for project building, revamping the DSP module, introducing VST3 support on Linux, and Clang support for Windows, along with updated webview components on macOS/iOS and a variety of other platform-specific enhancements. Version 7 - June 2022 - significant updates included the introduction of Audio Random Access (ARA) SDK and LV2 plug-in support, new rendering options for macOS and iOS, hardware-synchronized drawing across platforms, updated Android APIs, a revamped AudioPlayHead, and enhanced accessibility features.

See also

Widget toolkit List of open-source application frameworks List of widget toolkits

References

External links Official website

Illustrations

JUCE illustration

Worked examples

Example 1 — a first encounter with JUCE

Start with the simplest possible case. Write down what JUCE claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to JUCE before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about JUCE ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of JUCE

In research
JUCE appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses JUCE in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
JUCE is common in secondary-school and first-year university syllabi. It links to neighbouring topics C++ libraries, Free computer libraries, Free software programmed in C++, so understanding it makes those chapters shorter.
In everyday life
Look for JUCE outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “JUCE” →

How to study JUCE in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what JUCE means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain JUCE out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is JUCE in simple terms?

JUCE is an open-source cross-platform C++ application framework, used for the development of desktop and mobile applications. JUCE is used in particular for its GUI and plug-ins libraries.

Why does JUCE matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study JUCE?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on JUCE.

Tags

  • C++ libraries
  • Free computer libraries
  • Free software programmed in C++
  • Widget toolkits

Keep exploring