Getting started with JUCE

With a basic grasp of C++ and this tutorial, you can quickly and easily start developing cross-platform GUI applications using the JUCE framework. The book takes a totally practical approach to its subject with examples and illustrations.

Getting started with JUCE

Starting
Martin Robinson

With a basic grasp of C++ and this tutorial, you can quickly and easily start developing cross-platform GUI applications using the JUCE framework. The book takes a totally practical approach to its subject with examples and illustrations.
$23.99
$39.99
RRP $23.99
RRP $39.99
eBook
Print + eBook
$12.99 p/month

Get Access

Get Unlimited Access to every Packt eBook and Video course

Enjoy full and instant access to over 3000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783283316
Paperback158 pages

About This Book

  • Begin developing user interfaces in code or with a graphical editor
  • Build and run the Introjucer tool
  • Create a JUCE project with the Introjucer tool

Who This Book Is For

This book is for programmers with a basic grasp of C++. The examples start at a basic level, making few assumptions beyond fundamental C++ concepts. Those without any experience with C++ should be able to follow and construct the examples, although you may need further support to understand the fundamental concepts.

Table of Contents

Chapter 1: Installing JUCE and the Introjucer Application
Installing JUCE for Mac OS X and Windows
Building and running the JUCE Demo application
Building and running the Introjucer application
Creating a JUCE project with the Introjucer application
Documentation and other examples
Summary
Chapter 2: Building User Interfaces
Creating buttons, sliders, and other components
Responding to user interaction and changes
Using other component types
Specifying colors
Using drawing operations
Configuring complex component arrangements
Summary
Chapter 3: Essential Data Structures
Understanding the numerical types
Specifying and manipulating text strings
Measuring and displaying time
Using dynamically allocated arrays
Employing smart pointer classes
Summary
Chapter 4: Using Media Files
Using simple input and output streams
Reading and writing image files
Playing audio files
Working with the Binary Builder tool
Summary
Chapter 5: Helpful Utilities
Using the dynamically typed objects
Employing undo management
Adding XML support
Understanding how JUCE handles multiple threads
Storing application properties
Adding menu bar controls
Summary

What You Will Learn

  • Create projects using the Introjucer tool
  • Build user interfaces using code and the graphical editor in the Introjucer
  • Respond to user interaction form sliders, buttons, and text entry
  • Perform fundamental drawing commands
  • Store and manipulate data in dynamic arrays
  • Convert binary files to source code for cross-platform compatibility
  • Store and manipulate application data and settings
  • Read, write, and display image files

In Detail

There are a number of frameworks available for developing cross-platform applications. JUCE achieves this with a combination of consistency, ease-of-use, and breadth of functionality. JUCE is a C++ toolkit for building cross-platform applications on PC, Mac, Linux, iOS, and Android. It encourages you to write consistent code and is particularly good for complex, customized GUIs and audio/midi processing; it also includes a vast range of classes to help with all your day-to-day programming tasks.

Getting started with JUCE is a practical, hands-on guide to developing applications using JUCE which will help you get started with many of the core aspects of the JUCE library. The book guides you through the installation of JUCE and covers the structure of the source code tree including some of the useful tools available for creating JUCE projects.

Getting started with JUCE will guide you through how to use the JUCE library, from the installation of basic tools to developing examples using many of its classes. It will take you through a series of practical examples that show you how to create user interfaces, illustrating the key features.

You will also learn how to deal with files, text strings, and other fundamental data using the JUCE library. In particular, you will learn how to create user interfaces both using code and using the Introjucer tool to layout and configure user interface functionality. You will also manipulate image and audio data and learn how to read and write common media file formats. With this book, you will learn everything you need to know to understand some of the additional helpful utilities offered by JUCE and how to use the JUCE documentation to get started with such classes.

Authors

Table of Contents

Chapter 1: Installing JUCE and the Introjucer Application
Installing JUCE for Mac OS X and Windows
Building and running the JUCE Demo application
Building and running the Introjucer application
Creating a JUCE project with the Introjucer application
Documentation and other examples
Summary
Chapter 2: Building User Interfaces
Creating buttons, sliders, and other components
Responding to user interaction and changes
Using other component types
Specifying colors
Using drawing operations
Configuring complex component arrangements
Summary
Chapter 3: Essential Data Structures
Understanding the numerical types
Specifying and manipulating text strings
Measuring and displaying time
Using dynamically allocated arrays
Employing smart pointer classes
Summary
Chapter 4: Using Media Files
Using simple input and output streams
Reading and writing image files
Playing audio files
Working with the Binary Builder tool
Summary
Chapter 5: Helpful Utilities
Using the dynamically typed objects
Employing undo management
Adding XML support
Understanding how JUCE handles multiple threads
Storing application properties
Adding menu bar controls
Summary

Book Details

ISBN 139781783283316
Paperback158 pages
Read More