O'Reilly logo

Getting Started With JUCE by Martin Robinson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. Using Media Files

JUCE provides its own classes for reading and writing files and many helper classes for specific media formats. This chapter introduces the main examples of these classes. In this chapter we will cover the following topics:

  • Using simple input and output streams
  • Reading and writing image files
  • Playing audio files
  • Working with the Binary Builder tool to turn binary files into source code

By the end of this chapter, you will be able to manipulate a range of media files using JUCE.

Using simple input and output streams

In Chapter 3, Essential Data Structures, we introduced the JUCE File class, which is used for specifying file paths in a cross-platform manner. In addition, the File class includes some convenience functions for ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required