JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
juce::WavAudioFormat Class Reference

Reads and Writes WAV format audio files. More...

#include "juce_WavAudioFormat.h"

Inheritance diagram for juce::WavAudioFormat:
juce::AudioFormat

Public Member Functions

 WavAudioFormat ()
 Creates a format object.
 
 ~WavAudioFormat () override
 Destructor.
 
Array< intgetPossibleSampleRates () override
 Returns a set of sample rates that the format can read and write.
 
Array< intgetPossibleBitDepths () override
 Returns a set of bit depths that the format can read and write.
 
bool canDoStereo () override
 Returns true if the format can do 2-channel audio.
 
bool canDoMono () override
 Returns true if the format can do 1-channel audio.
 
bool isChannelLayoutSupported (const AudioChannelSet &channelSet) override
 Returns true if the channel layout is supported by this format.
 
AudioFormatReadercreateReaderFor (InputStream *sourceStream, bool deleteStreamIfOpeningFails) override
 Tries to create an object that can read from a stream containing audio data in this format.
 
MemoryMappedAudioFormatReadercreateMemoryMappedReader (const File &) override
 Attempts to create a MemoryMappedAudioFormatReader, if possible for this format.
 
MemoryMappedAudioFormatReadercreateMemoryMappedReader (FileInputStream *) override
 
AudioFormatWritercreateWriterFor (OutputStream *streamToWriteTo, double sampleRateToUse, unsigned int numberOfChannels, int bitsPerSample, const StringPairArray &metadataValues, int qualityOptionIndex) override
 Tries to create an object that can write to a stream with this audio format.
 
AudioFormatWritercreateWriterFor (OutputStream *streamToWriteTo, double sampleRateToUse, const AudioChannelSet &channelLayout, int bitsPerSample, const StringPairArray &metadataValues, int qualityOptionIndex) override
 Tries to create an object that can write to a stream with this audio format.
 
bool replaceMetadataInFile (const File &wavFile, const StringPairArray &newMetadata)
 Utility function to replace the metadata in a wav file with a new set of values.
 
virtual AudioFormatWritercreateWriterFor (OutputStream *streamToWriteTo, double sampleRateToUse, unsigned int numberOfChannels, int bitsPerSample, const StringPairArray &metadataValues, int qualityOptionIndex)=0
 Tries to create an object that can write to a stream with this audio format.
 
virtual AudioFormatWritercreateWriterFor (OutputStream *streamToWriteTo, double sampleRateToUse, const AudioChannelSet &channelLayout, int bitsPerSample, const StringPairArray &metadataValues, int qualityOptionIndex)
 Tries to create an object that can write to a stream with this audio format.
 
- Public Member Functions inherited from juce::AudioFormat
virtual ~AudioFormat ()
 Destructor.
 
const StringgetFormatName () const
 Returns the name of this format.
 
virtual StringArray getFileExtensions () const
 Returns all the file extensions that might apply to a file of this format.
 
virtual bool canHandleFile (const File &fileToTest)
 Returns true if this the given file can be read by this format.
 
virtual bool isCompressed ()
 Returns true if the format uses compressed data.
 
virtual StringArray getQualityOptions ()
 Returns a list of different qualities that can be used when writing.
 

Static Public Member Functions

static StringPairArray createBWAVMetadata (const String &description, const String &originator, const String &originatorRef, Time dateAndTime, int64 timeReferenceSamples, const String &codingHistory)
 Utility function to fill out the appropriate metadata for a BWAV file.
 

Static Public Attributes

static const char *const bwavDescription
 Metadata property name used in BWAV chunks.
 
static const char *const bwavOriginator
 Metadata property name used in BWAV chunks.
 
static const char *const bwavOriginatorRef
 Metadata property name used in BWAV chunks.
 
static const char *const bwavOriginationDate
 Metadata property name used in BWAV chunks.
 
static const char *const bwavOriginationTime
 Metadata property name used in BWAV chunks.
 
static const char *const bwavCodingHistory
 Metadata property name used in BWAV chunks.
 
static const char *const bwavTimeReference
 Metadata property name used in BWAV chunks.
 
static const char *const acidOneShot
 Metadata property name used in acid chunks.
 
static const char *const acidRootSet
 Metadata property name used in acid chunks.
 
static const char *const acidStretch
 Metadata property name used in acid chunks.
 
static const char *const acidDiskBased
 Metadata property name used in acid chunks.
 
static const char *const acidizerFlag
 Metadata property name used in acid chunks.
 
static const char *const acidRootNote
 Metadata property name used in acid chunks.
 
static const char *const acidBeats
 Metadata property name used in acid chunks.
 
static const char *const acidDenominator
 Metadata property name used in acid chunks.
 
static const char *const acidNumerator
 Metadata property name used in acid chunks.
 
static const char *const acidTempo
 Metadata property name used in acid chunks.
 
static const char *const riffInfoArchivalLocation
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoArtist
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoBaseURL
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoCinematographer
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoComment
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoComment2
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoComments
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoCommissioned
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoCopyright
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoCostumeDesigner
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoCountry
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoCropped
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoDateCreated
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoDateTimeOriginal
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoDefaultAudioStream
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoDimension
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoDirectory
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoDistributedBy
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoDotsPerInch
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoEditedBy
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoEighthLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoEncodedBy
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoEndTimecode
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoEngineer
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoFifthLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoFirstLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoFourthLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoGenre
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoKeywords
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoLength
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoLightness
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoLocation
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoLogoIconURL
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoLogoURL
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoMedium
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoMoreInfoBannerImage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoMoreInfoBannerURL
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoMoreInfoText
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoMoreInfoURL
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoMusicBy
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoNinthLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoNumberOfParts
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoOrganisation
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoPart
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoProducedBy
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoProductName
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoProductionDesigner
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoProductionStudio
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoRate
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoRated
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoRating
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoRippedBy
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSecondaryGenre
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSecondLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSeventhLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSharpness
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSixthLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSoftware
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSoundSchemeTitle
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSource
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSourceFrom
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoStarring_ISTR
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoStarring_STAR
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoStartTimecode
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoStatistics
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoSubject
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoTapeName
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoTechnician
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoThirdLanguage
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoTimeCode
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoTitle
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoTrackNo
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoTrackNumber
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoURL
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoVegasVersionMajor
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoVegasVersionMinor
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoVersion
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoWatermarkURL
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoWrittenBy
 Metadata property name used in INFO chunks.
 
static const char *const riffInfoYear
 Metadata property name used in INFO chunks.
 
static const char *const aswgContentType
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgProject
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgOriginator
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgOriginatorStudio
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgNotes
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgSession
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgState
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgEditor
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgMixer
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgFxChainName
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgChannelConfig
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgAmbisonicFormat
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgAmbisonicChnOrder
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgAmbisonicNorm
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgMicType
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgMicConfig
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgMicDistance
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgRecordingLoc
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsDesigned
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgRecEngineer
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgRecStudio
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgImpulseLocation
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgCategory
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgSubCategory
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgCatId
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgUserCategory
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgUserData
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgVendorCategory
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgFxName
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgLibrary
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgCreatorId
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgSourceId
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgRmsPower
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgLoudness
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgLoudnessRange
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgMaxPeak
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgSpecDensity
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgZeroCrossRate
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgPapr
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgText
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgEfforts
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgEffortType
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgProjection
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgLanguage
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgTimingRestriction
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgCharacterName
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgCharacterGender
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgCharacterAge
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgCharacterRole
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgActorName
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgActorGender
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgDirector
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgDirection
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgFxUsed
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgUsageRights
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsUnion
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgAccent
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgEmotion
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgComposor
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgArtist
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgSongTitle
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgGenre
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgSubGenre
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgProducer
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgMusicSup
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgInstrument
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgMusicPublisher
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgRightsOwner
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsSource
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsLoop
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIntensity
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsFinal
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgOrderRef
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsOst
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsCinematic
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsLicensed
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsDiegetic
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgMusicVersion
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgIsrcId
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgTempo
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgTimeSig
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgInKey
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgBillingCode
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const aswgVersion
 Metadata property name used in ASWG/iXML chunks.
 
static const char *const ISRC
 Metadata property name used when reading an ISRC code from an AXML chunk.
 
static const char *const internationalStandardRecordingCode
 Metadata property name used when reading and writing ISRC codes to/from AXML chunks.
 
static const char *const tracktionLoopInfo
 Metadata property name used when reading a WAV file with a Tracktion chunk.
 

Additional Inherited Members

- Protected Member Functions inherited from juce::AudioFormat
 AudioFormat (String formatName, StringArray fileExtensions)
 Creates an AudioFormat object.
 
 AudioFormat (StringRef formatName, StringRef fileExtensions)
 Creates an AudioFormat object.
 

Detailed Description

Reads and Writes WAV format audio files.

See also
AudioFormat

@tags{Audio}

Definition at line 37 of file juce_WavAudioFormat.h.

Constructor & Destructor Documentation

◆ WavAudioFormat()

juce::WavAudioFormat::WavAudioFormat ( )

Creates a format object.

Definition at line 1943 of file juce_WavAudioFormat.cpp.

◆ ~WavAudioFormat()

juce::WavAudioFormat::~WavAudioFormat ( )
override

Destructor.

Definition at line 1944 of file juce_WavAudioFormat.cpp.

Member Function Documentation

◆ canDoMono()

bool juce::WavAudioFormat::canDoMono ( )
overridevirtual

Returns true if the format can do 1-channel audio.

Implements juce::AudioFormat.

Definition at line 1958 of file juce_WavAudioFormat.cpp.

◆ canDoStereo()

bool juce::WavAudioFormat::canDoStereo ( )
overridevirtual

Returns true if the format can do 2-channel audio.

Implements juce::AudioFormat.

Definition at line 1957 of file juce_WavAudioFormat.cpp.

◆ createBWAVMetadata()

StringPairArray juce::WavAudioFormat::createBWAVMetadata ( const String description,
const String originator,
const String originatorRef,
Time  dateAndTime,
int64  timeReferenceSamples,
const String codingHistory 
)
static

Utility function to fill out the appropriate metadata for a BWAV file.

This just makes it easier than using the property names directly, and it fills out the time and date in the right format.

Definition at line 58 of file juce_WavAudioFormat.cpp.

◆ createMemoryMappedReader() [1/2]

MemoryMappedAudioFormatReader * juce::WavAudioFormat::createMemoryMappedReader ( const File file)
overridevirtual

Attempts to create a MemoryMappedAudioFormatReader, if possible for this format.

If the format does not support this, the method will return nullptr;

Reimplemented from juce::AudioFormat.

Definition at line 1997 of file juce_WavAudioFormat.cpp.

◆ createMemoryMappedReader() [2/2]

MemoryMappedAudioFormatReader * juce::WavAudioFormat::createMemoryMappedReader ( FileInputStream fin)
overridevirtual

Reimplemented from juce::AudioFormat.

Definition at line 2002 of file juce_WavAudioFormat.cpp.

◆ createReaderFor()

AudioFormatReader * juce::WavAudioFormat::createReaderFor ( InputStream sourceStream,
bool  deleteStreamIfOpeningFails 
)
overridevirtual

Tries to create an object that can read from a stream containing audio data in this format.

The reader object that is returned can be used to read from the stream, and should then be deleted by the caller.

Parameters
sourceStreamthe stream to read from - the AudioFormatReader object that is returned will delete this stream when it no longer needs it.
deleteStreamIfOpeningFailsif no reader can be created, this determines whether this method should delete the stream object that was passed-in. (If a valid reader is returned, it will always be in charge of deleting the stream, so this parameter is ignored)
See also
AudioFormatReader

Implements juce::AudioFormat.

Definition at line 1976 of file juce_WavAudioFormat.cpp.

◆ createWriterFor() [1/4]

AudioFormatWriter * juce::AudioFormat::createWriterFor ( OutputStream streamToWriteTo,
double  sampleRateToUse,
const AudioChannelSet channelLayout,
int  bitsPerSample,
const StringPairArray metadataValues,
int  qualityOptionIndex 
)
virtual

Tries to create an object that can write to a stream with this audio format.

The writer object that is returned can be used to write to the stream, and should then be deleted by the caller.

If the stream can't be created for some reason (e.g. the parameters passed in here aren't suitable), this will return nullptr.

Parameters
streamToWriteTothe stream that the data will go to - this will be deleted by the AudioFormatWriter object when it's no longer needed. If no AudioFormatWriter can be created by this method, the stream will NOT be deleted, so that the caller can re-use it to try to open a different format, etc
sampleRateToUsethe sample rate for the file, which must be one of the ones returned by getPossibleSampleRates()
channelLayoutthe channel layout for the file. Use isChannelLayoutSupported to check if the writer supports this layout.
bitsPerSamplethe bits per sample to use - this must be one of the values returned by getPossibleBitDepths()
metadataValuesa set of metadata values that the writer should try to write to the stream. Exactly what these are depends on the format, and the subclass doesn't actually have to do anything with them if it doesn't want to. Have a look at the specific format implementation classes to see possible values that can be used
qualityOptionIndexthe index of one of compression qualities returned by the getQualityOptions() method. If there aren't any quality options for this format, just pass 0 in this parameter, as it'll be ignored
See also
AudioFormatWriter

Reimplemented from juce::AudioFormat.

Definition at line 187 of file juce_AudioFormat.cpp.

◆ createWriterFor() [2/4]

AudioFormatWriter * juce::WavAudioFormat::createWriterFor ( OutputStream streamToWriteTo,
double  sampleRateToUse,
const AudioChannelSet channelLayout,
int  bitsPerSample,
const StringPairArray metadataValues,
int  qualityOptionIndex 
)
overridevirtual

Tries to create an object that can write to a stream with this audio format.

The writer object that is returned can be used to write to the stream, and should then be deleted by the caller.

If the stream can't be created for some reason (e.g. the parameters passed in here aren't suitable), this will return nullptr.

Parameters
streamToWriteTothe stream that the data will go to - this will be deleted by the AudioFormatWriter object when it's no longer needed. If no AudioFormatWriter can be created by this method, the stream will NOT be deleted, so that the caller can re-use it to try to open a different format, etc
sampleRateToUsethe sample rate for the file, which must be one of the ones returned by getPossibleSampleRates()
channelLayoutthe channel layout for the file. Use isChannelLayoutSupported to check if the writer supports this layout.
bitsPerSamplethe bits per sample to use - this must be one of the values returned by getPossibleBitDepths()
metadataValuesa set of metadata values that the writer should try to write to the stream. Exactly what these are depends on the format, and the subclass doesn't actually have to do anything with them if it doesn't want to. Have a look at the specific format implementation classes to see possible values that can be used
qualityOptionIndexthe index of one of compression qualities returned by the getQualityOptions() method. If there aren't any quality options for this format, just pass 0 in this parameter, as it'll be ignored
See also
AudioFormatWriter

Reimplemented from juce::AudioFormat.

Definition at line 2023 of file juce_WavAudioFormat.cpp.

◆ createWriterFor() [3/4]

AudioFormatWriter * juce::WavAudioFormat::createWriterFor ( OutputStream streamToWriteTo,
double  sampleRateToUse,
unsigned int  numberOfChannels,
int  bitsPerSample,
const StringPairArray metadataValues,
int  qualityOptionIndex 
)
overridevirtual

Tries to create an object that can write to a stream with this audio format.

The writer object that is returned can be used to write to the stream, and should then be deleted by the caller.

If the stream can't be created for some reason (e.g. the parameters passed in here aren't suitable), this will return nullptr.

Parameters
streamToWriteTothe stream that the data will go to - this will be deleted by the AudioFormatWriter object when it's no longer needed. If no AudioFormatWriter can be created by this method, the stream will NOT be deleted, so that the caller can re-use it to try to open a different format, etc
sampleRateToUsethe sample rate for the file, which must be one of the ones returned by getPossibleSampleRates()
numberOfChannelsthe number of channels
bitsPerSamplethe bits per sample to use - this must be one of the values returned by getPossibleBitDepths()
metadataValuesa set of metadata values that the writer should try to write to the stream. Exactly what these are depends on the format, and the subclass doesn't actually have to do anything with them if it doesn't want to. Have a look at the specific format implementation classes to see possible values that can be used
qualityOptionIndexthe index of one of compression qualities returned by the getQualityOptions() method. If there aren't any quality options for this format, just pass 0 in this parameter, as it'll be ignored
See also
AudioFormatWriter

Implements juce::AudioFormat.

Definition at line 2015 of file juce_WavAudioFormat.cpp.

◆ createWriterFor() [4/4]

virtual AudioFormatWriter * juce::AudioFormat::createWriterFor ( OutputStream streamToWriteTo,
double  sampleRateToUse,
unsigned int  numberOfChannels,
int  bitsPerSample,
const StringPairArray metadataValues,
int  qualityOptionIndex 
)
virtual

Tries to create an object that can write to a stream with this audio format.

The writer object that is returned can be used to write to the stream, and should then be deleted by the caller.

If the stream can't be created for some reason (e.g. the parameters passed in here aren't suitable), this will return nullptr.

Parameters
streamToWriteTothe stream that the data will go to - this will be deleted by the AudioFormatWriter object when it's no longer needed. If no AudioFormatWriter can be created by this method, the stream will NOT be deleted, so that the caller can re-use it to try to open a different format, etc
sampleRateToUsethe sample rate for the file, which must be one of the ones returned by getPossibleSampleRates()
numberOfChannelsthe number of channels
bitsPerSamplethe bits per sample to use - this must be one of the values returned by getPossibleBitDepths()
metadataValuesa set of metadata values that the writer should try to write to the stream. Exactly what these are depends on the format, and the subclass doesn't actually have to do anything with them if it doesn't want to. Have a look at the specific format implementation classes to see possible values that can be used
qualityOptionIndexthe index of one of compression qualities returned by the getQualityOptions() method. If there aren't any quality options for this format, just pass 0 in this parameter, as it'll be ignored
See also
AudioFormatWriter

Implements juce::AudioFormat.

◆ getPossibleBitDepths()

Array< int > juce::WavAudioFormat::getPossibleBitDepths ( )
overridevirtual

Returns a set of bit depths that the format can read and write.

Implements juce::AudioFormat.

Definition at line 1952 of file juce_WavAudioFormat.cpp.

◆ getPossibleSampleRates()

Array< int > juce::WavAudioFormat::getPossibleSampleRates ( )
overridevirtual

Returns a set of sample rates that the format can read and write.

Implements juce::AudioFormat.

Definition at line 1946 of file juce_WavAudioFormat.cpp.

◆ isChannelLayoutSupported()

bool juce::WavAudioFormat::isChannelLayoutSupported ( const AudioChannelSet channelSet)
overridevirtual

Returns true if the channel layout is supported by this format.

Reimplemented from juce::AudioFormat.

Definition at line 1960 of file juce_WavAudioFormat.cpp.

◆ replaceMetadataInFile()

bool juce::WavAudioFormat::replaceMetadataInFile ( const File wavFile,
const StringPairArray newMetadata 
)

Utility function to replace the metadata in a wav file with a new set of values.

If possible, this cheats by overwriting just the metadata region of the file, rather than by copying the whole file again.

Definition at line 2073 of file juce_WavAudioFormat.cpp.

Member Data Documentation

◆ acidBeats

const char *const juce::WavAudioFormat::acidBeats
static

Metadata property name used in acid chunks.

Definition at line 88 of file juce_WavAudioFormat.h.

◆ acidDenominator

const char *const juce::WavAudioFormat::acidDenominator
static

Metadata property name used in acid chunks.

Definition at line 89 of file juce_WavAudioFormat.h.

◆ acidDiskBased

const char *const juce::WavAudioFormat::acidDiskBased
static

Metadata property name used in acid chunks.

Definition at line 85 of file juce_WavAudioFormat.h.

◆ acidizerFlag

const char *const juce::WavAudioFormat::acidizerFlag
static

Metadata property name used in acid chunks.

Definition at line 86 of file juce_WavAudioFormat.h.

◆ acidNumerator

const char *const juce::WavAudioFormat::acidNumerator
static

Metadata property name used in acid chunks.

Definition at line 90 of file juce_WavAudioFormat.h.

◆ acidOneShot

const char *const juce::WavAudioFormat::acidOneShot
static

Metadata property name used in acid chunks.

Definition at line 82 of file juce_WavAudioFormat.h.

◆ acidRootNote

const char *const juce::WavAudioFormat::acidRootNote
static

Metadata property name used in acid chunks.

Definition at line 87 of file juce_WavAudioFormat.h.

◆ acidRootSet

const char *const juce::WavAudioFormat::acidRootSet
static

Metadata property name used in acid chunks.

Definition at line 83 of file juce_WavAudioFormat.h.

◆ acidStretch

const char *const juce::WavAudioFormat::acidStretch
static

Metadata property name used in acid chunks.

Definition at line 84 of file juce_WavAudioFormat.h.

◆ acidTempo

const char *const juce::WavAudioFormat::acidTempo
static

Metadata property name used in acid chunks.

Definition at line 91 of file juce_WavAudioFormat.h.

◆ aswgAccent

const char *const juce::WavAudioFormat::aswgAccent
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 237 of file juce_WavAudioFormat.h.

◆ aswgActorGender

const char *const juce::WavAudioFormat::aswgActorGender
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 231 of file juce_WavAudioFormat.h.

◆ aswgActorName

const char *const juce::WavAudioFormat::aswgActorName
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 230 of file juce_WavAudioFormat.h.

◆ aswgAmbisonicChnOrder

const char *const juce::WavAudioFormat::aswgAmbisonicChnOrder
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 193 of file juce_WavAudioFormat.h.

◆ aswgAmbisonicFormat

const char *const juce::WavAudioFormat::aswgAmbisonicFormat
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 192 of file juce_WavAudioFormat.h.

◆ aswgAmbisonicNorm

const char *const juce::WavAudioFormat::aswgAmbisonicNorm
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 194 of file juce_WavAudioFormat.h.

◆ aswgArtist

const char *const juce::WavAudioFormat::aswgArtist
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 240 of file juce_WavAudioFormat.h.

◆ aswgBillingCode

const char *const juce::WavAudioFormat::aswgBillingCode
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 263 of file juce_WavAudioFormat.h.

◆ aswgCategory

const char *const juce::WavAudioFormat::aswgCategory
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 203 of file juce_WavAudioFormat.h.

◆ aswgCatId

const char *const juce::WavAudioFormat::aswgCatId
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 205 of file juce_WavAudioFormat.h.

◆ aswgChannelConfig

const char *const juce::WavAudioFormat::aswgChannelConfig
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 191 of file juce_WavAudioFormat.h.

◆ aswgCharacterAge

const char *const juce::WavAudioFormat::aswgCharacterAge
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 228 of file juce_WavAudioFormat.h.

◆ aswgCharacterGender

const char *const juce::WavAudioFormat::aswgCharacterGender
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 227 of file juce_WavAudioFormat.h.

◆ aswgCharacterName

const char *const juce::WavAudioFormat::aswgCharacterName
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 226 of file juce_WavAudioFormat.h.

◆ aswgCharacterRole

const char *const juce::WavAudioFormat::aswgCharacterRole
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 229 of file juce_WavAudioFormat.h.

◆ aswgComposor

const char *const juce::WavAudioFormat::aswgComposor
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 239 of file juce_WavAudioFormat.h.

◆ aswgContentType

const char *const juce::WavAudioFormat::aswgContentType
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 181 of file juce_WavAudioFormat.h.

◆ aswgCreatorId

const char *const juce::WavAudioFormat::aswgCreatorId
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 211 of file juce_WavAudioFormat.h.

◆ aswgDirection

const char *const juce::WavAudioFormat::aswgDirection
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 233 of file juce_WavAudioFormat.h.

◆ aswgDirector

const char *const juce::WavAudioFormat::aswgDirector
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 232 of file juce_WavAudioFormat.h.

◆ aswgEditor

const char *const juce::WavAudioFormat::aswgEditor
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 188 of file juce_WavAudioFormat.h.

◆ aswgEfforts

const char *const juce::WavAudioFormat::aswgEfforts
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 221 of file juce_WavAudioFormat.h.

◆ aswgEffortType

const char *const juce::WavAudioFormat::aswgEffortType
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 222 of file juce_WavAudioFormat.h.

◆ aswgEmotion

const char *const juce::WavAudioFormat::aswgEmotion
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 238 of file juce_WavAudioFormat.h.

◆ aswgFxChainName

const char *const juce::WavAudioFormat::aswgFxChainName
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 190 of file juce_WavAudioFormat.h.

◆ aswgFxName

const char *const juce::WavAudioFormat::aswgFxName
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 209 of file juce_WavAudioFormat.h.

◆ aswgFxUsed

const char *const juce::WavAudioFormat::aswgFxUsed
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 234 of file juce_WavAudioFormat.h.

◆ aswgGenre

const char *const juce::WavAudioFormat::aswgGenre
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 242 of file juce_WavAudioFormat.h.

◆ aswgImpulseLocation

const char *const juce::WavAudioFormat::aswgImpulseLocation
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 202 of file juce_WavAudioFormat.h.

◆ aswgInKey

const char *const juce::WavAudioFormat::aswgInKey
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 262 of file juce_WavAudioFormat.h.

◆ aswgInstrument

const char *const juce::WavAudioFormat::aswgInstrument
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 246 of file juce_WavAudioFormat.h.

◆ aswgIntensity

const char *const juce::WavAudioFormat::aswgIntensity
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 251 of file juce_WavAudioFormat.h.

◆ aswgIsCinematic

const char *const juce::WavAudioFormat::aswgIsCinematic
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 255 of file juce_WavAudioFormat.h.

◆ aswgIsDesigned

const char *const juce::WavAudioFormat::aswgIsDesigned
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 199 of file juce_WavAudioFormat.h.

◆ aswgIsDiegetic

const char *const juce::WavAudioFormat::aswgIsDiegetic
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 257 of file juce_WavAudioFormat.h.

◆ aswgIsFinal

const char *const juce::WavAudioFormat::aswgIsFinal
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 252 of file juce_WavAudioFormat.h.

◆ aswgIsLicensed

const char *const juce::WavAudioFormat::aswgIsLicensed
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 256 of file juce_WavAudioFormat.h.

◆ aswgIsLoop

const char *const juce::WavAudioFormat::aswgIsLoop
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 250 of file juce_WavAudioFormat.h.

◆ aswgIsOst

const char *const juce::WavAudioFormat::aswgIsOst
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 254 of file juce_WavAudioFormat.h.

◆ aswgIsrcId

const char *const juce::WavAudioFormat::aswgIsrcId
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 259 of file juce_WavAudioFormat.h.

◆ aswgIsSource

const char *const juce::WavAudioFormat::aswgIsSource
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 249 of file juce_WavAudioFormat.h.

◆ aswgIsUnion

const char *const juce::WavAudioFormat::aswgIsUnion
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 236 of file juce_WavAudioFormat.h.

◆ aswgLanguage

const char *const juce::WavAudioFormat::aswgLanguage
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 224 of file juce_WavAudioFormat.h.

◆ aswgLibrary

const char *const juce::WavAudioFormat::aswgLibrary
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 210 of file juce_WavAudioFormat.h.

◆ aswgLoudness

const char *const juce::WavAudioFormat::aswgLoudness
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 214 of file juce_WavAudioFormat.h.

◆ aswgLoudnessRange

const char *const juce::WavAudioFormat::aswgLoudnessRange
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 215 of file juce_WavAudioFormat.h.

◆ aswgMaxPeak

const char *const juce::WavAudioFormat::aswgMaxPeak
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 216 of file juce_WavAudioFormat.h.

◆ aswgMicConfig

const char *const juce::WavAudioFormat::aswgMicConfig
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 196 of file juce_WavAudioFormat.h.

◆ aswgMicDistance

const char *const juce::WavAudioFormat::aswgMicDistance
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 197 of file juce_WavAudioFormat.h.

◆ aswgMicType

const char *const juce::WavAudioFormat::aswgMicType
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 195 of file juce_WavAudioFormat.h.

◆ aswgMixer

const char *const juce::WavAudioFormat::aswgMixer
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 189 of file juce_WavAudioFormat.h.

◆ aswgMusicPublisher

const char *const juce::WavAudioFormat::aswgMusicPublisher
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 247 of file juce_WavAudioFormat.h.

◆ aswgMusicSup

const char *const juce::WavAudioFormat::aswgMusicSup
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 245 of file juce_WavAudioFormat.h.

◆ aswgMusicVersion

const char *const juce::WavAudioFormat::aswgMusicVersion
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 258 of file juce_WavAudioFormat.h.

◆ aswgNotes

const char *const juce::WavAudioFormat::aswgNotes
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 185 of file juce_WavAudioFormat.h.

◆ aswgOrderRef

const char *const juce::WavAudioFormat::aswgOrderRef
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 253 of file juce_WavAudioFormat.h.

◆ aswgOriginator

const char *const juce::WavAudioFormat::aswgOriginator
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 183 of file juce_WavAudioFormat.h.

◆ aswgOriginatorStudio

const char *const juce::WavAudioFormat::aswgOriginatorStudio
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 184 of file juce_WavAudioFormat.h.

◆ aswgPapr

const char *const juce::WavAudioFormat::aswgPapr
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 219 of file juce_WavAudioFormat.h.

◆ aswgProducer

const char *const juce::WavAudioFormat::aswgProducer
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 244 of file juce_WavAudioFormat.h.

◆ aswgProject

const char *const juce::WavAudioFormat::aswgProject
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 182 of file juce_WavAudioFormat.h.

◆ aswgProjection

const char *const juce::WavAudioFormat::aswgProjection
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 223 of file juce_WavAudioFormat.h.

◆ aswgRecEngineer

const char *const juce::WavAudioFormat::aswgRecEngineer
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 200 of file juce_WavAudioFormat.h.

◆ aswgRecordingLoc

const char *const juce::WavAudioFormat::aswgRecordingLoc
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 198 of file juce_WavAudioFormat.h.

◆ aswgRecStudio

const char *const juce::WavAudioFormat::aswgRecStudio
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 201 of file juce_WavAudioFormat.h.

◆ aswgRightsOwner

const char *const juce::WavAudioFormat::aswgRightsOwner
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 248 of file juce_WavAudioFormat.h.

◆ aswgRmsPower

const char *const juce::WavAudioFormat::aswgRmsPower
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 213 of file juce_WavAudioFormat.h.

◆ aswgSession

const char *const juce::WavAudioFormat::aswgSession
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 186 of file juce_WavAudioFormat.h.

◆ aswgSongTitle

const char *const juce::WavAudioFormat::aswgSongTitle
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 241 of file juce_WavAudioFormat.h.

◆ aswgSourceId

const char *const juce::WavAudioFormat::aswgSourceId
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 212 of file juce_WavAudioFormat.h.

◆ aswgSpecDensity

const char *const juce::WavAudioFormat::aswgSpecDensity
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 217 of file juce_WavAudioFormat.h.

◆ aswgState

const char *const juce::WavAudioFormat::aswgState
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 187 of file juce_WavAudioFormat.h.

◆ aswgSubCategory

const char *const juce::WavAudioFormat::aswgSubCategory
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 204 of file juce_WavAudioFormat.h.

◆ aswgSubGenre

const char *const juce::WavAudioFormat::aswgSubGenre
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 243 of file juce_WavAudioFormat.h.

◆ aswgTempo

const char *const juce::WavAudioFormat::aswgTempo
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 260 of file juce_WavAudioFormat.h.

◆ aswgText

const char *const juce::WavAudioFormat::aswgText
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 220 of file juce_WavAudioFormat.h.

◆ aswgTimeSig

const char *const juce::WavAudioFormat::aswgTimeSig
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 261 of file juce_WavAudioFormat.h.

◆ aswgTimingRestriction

const char *const juce::WavAudioFormat::aswgTimingRestriction
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 225 of file juce_WavAudioFormat.h.

◆ aswgUsageRights

const char *const juce::WavAudioFormat::aswgUsageRights
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 235 of file juce_WavAudioFormat.h.

◆ aswgUserCategory

const char *const juce::WavAudioFormat::aswgUserCategory
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 206 of file juce_WavAudioFormat.h.

◆ aswgUserData

const char *const juce::WavAudioFormat::aswgUserData
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 207 of file juce_WavAudioFormat.h.

◆ aswgVendorCategory

const char *const juce::WavAudioFormat::aswgVendorCategory
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 208 of file juce_WavAudioFormat.h.

◆ aswgVersion

const char *const juce::WavAudioFormat::aswgVersion
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 264 of file juce_WavAudioFormat.h.

◆ aswgZeroCrossRate

const char *const juce::WavAudioFormat::aswgZeroCrossRate
static

Metadata property name used in ASWG/iXML chunks.

Definition at line 218 of file juce_WavAudioFormat.h.

◆ bwavCodingHistory

const char *const juce::WavAudioFormat::bwavCodingHistory
static

Metadata property name used in BWAV chunks.

Definition at line 55 of file juce_WavAudioFormat.h.

◆ bwavDescription

const char *const juce::WavAudioFormat::bwavDescription
static

Metadata property name used in BWAV chunks.

Definition at line 50 of file juce_WavAudioFormat.h.

◆ bwavOriginationDate

const char *const juce::WavAudioFormat::bwavOriginationDate
static

Metadata property name used in BWAV chunks.

The format should be: yyyy-mm-dd

Definition at line 53 of file juce_WavAudioFormat.h.

◆ bwavOriginationTime

const char *const juce::WavAudioFormat::bwavOriginationTime
static

Metadata property name used in BWAV chunks.

The format should be: format is: hh-mm-ss

Definition at line 54 of file juce_WavAudioFormat.h.

◆ bwavOriginator

const char *const juce::WavAudioFormat::bwavOriginator
static

Metadata property name used in BWAV chunks.

Definition at line 51 of file juce_WavAudioFormat.h.

◆ bwavOriginatorRef

const char *const juce::WavAudioFormat::bwavOriginatorRef
static

Metadata property name used in BWAV chunks.

Definition at line 52 of file juce_WavAudioFormat.h.

◆ bwavTimeReference

const char *const juce::WavAudioFormat::bwavTimeReference
static

Metadata property name used in BWAV chunks.

This is the number of samples from the start of an edit that the file is supposed to begin at. Seems like an obvious mistake to only allow a file to occur in an edit once, but that's the way it is..

See also
AudioFormatReader::metadataValues, createWriterFor

Definition at line 65 of file juce_WavAudioFormat.h.

◆ internationalStandardRecordingCode

const char *const juce::WavAudioFormat::internationalStandardRecordingCode
static

Metadata property name used when reading and writing ISRC codes to/from AXML chunks.

Definition at line 272 of file juce_WavAudioFormat.h.

◆ ISRC

const char *const juce::WavAudioFormat::ISRC
static

Metadata property name used when reading an ISRC code from an AXML chunk.

Definition at line 269 of file juce_WavAudioFormat.h.

◆ riffInfoArchivalLocation

const char *const juce::WavAudioFormat::riffInfoArchivalLocation
static

Metadata property name used in INFO chunks.

Definition at line 96 of file juce_WavAudioFormat.h.

◆ riffInfoArtist

const char *const juce::WavAudioFormat::riffInfoArtist
static

Metadata property name used in INFO chunks.

Definition at line 97 of file juce_WavAudioFormat.h.

◆ riffInfoBaseURL

const char *const juce::WavAudioFormat::riffInfoBaseURL
static

Metadata property name used in INFO chunks.

Definition at line 98 of file juce_WavAudioFormat.h.

◆ riffInfoCinematographer

const char *const juce::WavAudioFormat::riffInfoCinematographer
static

Metadata property name used in INFO chunks.

Definition at line 99 of file juce_WavAudioFormat.h.

◆ riffInfoComment

const char *const juce::WavAudioFormat::riffInfoComment
static

Metadata property name used in INFO chunks.

Definition at line 100 of file juce_WavAudioFormat.h.

◆ riffInfoComment2

const char *const juce::WavAudioFormat::riffInfoComment2
static

Metadata property name used in INFO chunks.

Definition at line 101 of file juce_WavAudioFormat.h.

◆ riffInfoComments

const char *const juce::WavAudioFormat::riffInfoComments
static

Metadata property name used in INFO chunks.

Definition at line 102 of file juce_WavAudioFormat.h.

◆ riffInfoCommissioned

const char *const juce::WavAudioFormat::riffInfoCommissioned
static

Metadata property name used in INFO chunks.

Definition at line 103 of file juce_WavAudioFormat.h.

◆ riffInfoCopyright

const char *const juce::WavAudioFormat::riffInfoCopyright
static

Metadata property name used in INFO chunks.

Definition at line 104 of file juce_WavAudioFormat.h.

◆ riffInfoCostumeDesigner

const char *const juce::WavAudioFormat::riffInfoCostumeDesigner
static

Metadata property name used in INFO chunks.

Definition at line 105 of file juce_WavAudioFormat.h.

◆ riffInfoCountry

const char *const juce::WavAudioFormat::riffInfoCountry
static

Metadata property name used in INFO chunks.

Definition at line 106 of file juce_WavAudioFormat.h.

◆ riffInfoCropped

const char *const juce::WavAudioFormat::riffInfoCropped
static

Metadata property name used in INFO chunks.

Definition at line 107 of file juce_WavAudioFormat.h.

◆ riffInfoDateCreated

const char *const juce::WavAudioFormat::riffInfoDateCreated
static

Metadata property name used in INFO chunks.

Definition at line 108 of file juce_WavAudioFormat.h.

◆ riffInfoDateTimeOriginal

const char *const juce::WavAudioFormat::riffInfoDateTimeOriginal
static

Metadata property name used in INFO chunks.

Definition at line 109 of file juce_WavAudioFormat.h.

◆ riffInfoDefaultAudioStream

const char *const juce::WavAudioFormat::riffInfoDefaultAudioStream
static

Metadata property name used in INFO chunks.

Definition at line 110 of file juce_WavAudioFormat.h.

◆ riffInfoDimension

const char *const juce::WavAudioFormat::riffInfoDimension
static

Metadata property name used in INFO chunks.

Definition at line 111 of file juce_WavAudioFormat.h.

◆ riffInfoDirectory

const char *const juce::WavAudioFormat::riffInfoDirectory
static

Metadata property name used in INFO chunks.

Definition at line 112 of file juce_WavAudioFormat.h.

◆ riffInfoDistributedBy

const char *const juce::WavAudioFormat::riffInfoDistributedBy
static

Metadata property name used in INFO chunks.

Definition at line 113 of file juce_WavAudioFormat.h.

◆ riffInfoDotsPerInch

const char *const juce::WavAudioFormat::riffInfoDotsPerInch
static

Metadata property name used in INFO chunks.

Definition at line 114 of file juce_WavAudioFormat.h.

◆ riffInfoEditedBy

const char *const juce::WavAudioFormat::riffInfoEditedBy
static

Metadata property name used in INFO chunks.

Definition at line 115 of file juce_WavAudioFormat.h.

◆ riffInfoEighthLanguage

const char *const juce::WavAudioFormat::riffInfoEighthLanguage
static

Metadata property name used in INFO chunks.

Definition at line 116 of file juce_WavAudioFormat.h.

◆ riffInfoEncodedBy

const char *const juce::WavAudioFormat::riffInfoEncodedBy
static

Metadata property name used in INFO chunks.

Definition at line 117 of file juce_WavAudioFormat.h.

◆ riffInfoEndTimecode

const char *const juce::WavAudioFormat::riffInfoEndTimecode
static

Metadata property name used in INFO chunks.

Definition at line 118 of file juce_WavAudioFormat.h.

◆ riffInfoEngineer

const char *const juce::WavAudioFormat::riffInfoEngineer
static

Metadata property name used in INFO chunks.

Definition at line 119 of file juce_WavAudioFormat.h.

◆ riffInfoFifthLanguage

const char *const juce::WavAudioFormat::riffInfoFifthLanguage
static

Metadata property name used in INFO chunks.

Definition at line 120 of file juce_WavAudioFormat.h.

◆ riffInfoFirstLanguage

const char *const juce::WavAudioFormat::riffInfoFirstLanguage
static

Metadata property name used in INFO chunks.

Definition at line 121 of file juce_WavAudioFormat.h.

◆ riffInfoFourthLanguage

const char *const juce::WavAudioFormat::riffInfoFourthLanguage
static

Metadata property name used in INFO chunks.

Definition at line 122 of file juce_WavAudioFormat.h.

◆ riffInfoGenre

const char *const juce::WavAudioFormat::riffInfoGenre
static

Metadata property name used in INFO chunks.

Definition at line 123 of file juce_WavAudioFormat.h.

◆ riffInfoKeywords

const char *const juce::WavAudioFormat::riffInfoKeywords
static

Metadata property name used in INFO chunks.

Definition at line 124 of file juce_WavAudioFormat.h.

◆ riffInfoLanguage

const char *const juce::WavAudioFormat::riffInfoLanguage
static

Metadata property name used in INFO chunks.

Definition at line 125 of file juce_WavAudioFormat.h.

◆ riffInfoLength

const char *const juce::WavAudioFormat::riffInfoLength
static

Metadata property name used in INFO chunks.

Definition at line 126 of file juce_WavAudioFormat.h.

◆ riffInfoLightness

const char *const juce::WavAudioFormat::riffInfoLightness
static

Metadata property name used in INFO chunks.

Definition at line 127 of file juce_WavAudioFormat.h.

◆ riffInfoLocation

const char *const juce::WavAudioFormat::riffInfoLocation
static

Metadata property name used in INFO chunks.

Definition at line 128 of file juce_WavAudioFormat.h.

◆ riffInfoLogoIconURL

const char *const juce::WavAudioFormat::riffInfoLogoIconURL
static

Metadata property name used in INFO chunks.

Definition at line 129 of file juce_WavAudioFormat.h.

◆ riffInfoLogoURL

const char *const juce::WavAudioFormat::riffInfoLogoURL
static

Metadata property name used in INFO chunks.

Definition at line 130 of file juce_WavAudioFormat.h.

◆ riffInfoMedium

const char *const juce::WavAudioFormat::riffInfoMedium
static

Metadata property name used in INFO chunks.

Definition at line 131 of file juce_WavAudioFormat.h.

◆ riffInfoMoreInfoBannerImage

const char *const juce::WavAudioFormat::riffInfoMoreInfoBannerImage
static

Metadata property name used in INFO chunks.

Definition at line 132 of file juce_WavAudioFormat.h.

◆ riffInfoMoreInfoBannerURL

const char *const juce::WavAudioFormat::riffInfoMoreInfoBannerURL
static

Metadata property name used in INFO chunks.

Definition at line 133 of file juce_WavAudioFormat.h.

◆ riffInfoMoreInfoText

const char *const juce::WavAudioFormat::riffInfoMoreInfoText
static

Metadata property name used in INFO chunks.

Definition at line 134 of file juce_WavAudioFormat.h.

◆ riffInfoMoreInfoURL

const char *const juce::WavAudioFormat::riffInfoMoreInfoURL
static

Metadata property name used in INFO chunks.

Definition at line 135 of file juce_WavAudioFormat.h.

◆ riffInfoMusicBy

const char *const juce::WavAudioFormat::riffInfoMusicBy
static

Metadata property name used in INFO chunks.

Definition at line 136 of file juce_WavAudioFormat.h.

◆ riffInfoNinthLanguage

const char *const juce::WavAudioFormat::riffInfoNinthLanguage
static

Metadata property name used in INFO chunks.

Definition at line 137 of file juce_WavAudioFormat.h.

◆ riffInfoNumberOfParts

const char *const juce::WavAudioFormat::riffInfoNumberOfParts
static

Metadata property name used in INFO chunks.

Definition at line 138 of file juce_WavAudioFormat.h.

◆ riffInfoOrganisation

const char *const juce::WavAudioFormat::riffInfoOrganisation
static

Metadata property name used in INFO chunks.

Definition at line 139 of file juce_WavAudioFormat.h.

◆ riffInfoPart

const char *const juce::WavAudioFormat::riffInfoPart
static

Metadata property name used in INFO chunks.

Definition at line 140 of file juce_WavAudioFormat.h.

◆ riffInfoProducedBy

const char *const juce::WavAudioFormat::riffInfoProducedBy
static

Metadata property name used in INFO chunks.

Definition at line 141 of file juce_WavAudioFormat.h.

◆ riffInfoProductionDesigner

const char *const juce::WavAudioFormat::riffInfoProductionDesigner
static

Metadata property name used in INFO chunks.

Definition at line 143 of file juce_WavAudioFormat.h.

◆ riffInfoProductionStudio

const char *const juce::WavAudioFormat::riffInfoProductionStudio
static

Metadata property name used in INFO chunks.

Definition at line 144 of file juce_WavAudioFormat.h.

◆ riffInfoProductName

const char *const juce::WavAudioFormat::riffInfoProductName
static

Metadata property name used in INFO chunks.

Definition at line 142 of file juce_WavAudioFormat.h.

◆ riffInfoRate

const char *const juce::WavAudioFormat::riffInfoRate
static

Metadata property name used in INFO chunks.

Definition at line 145 of file juce_WavAudioFormat.h.

◆ riffInfoRated

const char *const juce::WavAudioFormat::riffInfoRated
static

Metadata property name used in INFO chunks.

Definition at line 146 of file juce_WavAudioFormat.h.

◆ riffInfoRating

const char *const juce::WavAudioFormat::riffInfoRating
static

Metadata property name used in INFO chunks.

Definition at line 147 of file juce_WavAudioFormat.h.

◆ riffInfoRippedBy

const char *const juce::WavAudioFormat::riffInfoRippedBy
static

Metadata property name used in INFO chunks.

Definition at line 148 of file juce_WavAudioFormat.h.

◆ riffInfoSecondaryGenre

const char *const juce::WavAudioFormat::riffInfoSecondaryGenre
static

Metadata property name used in INFO chunks.

Definition at line 149 of file juce_WavAudioFormat.h.

◆ riffInfoSecondLanguage

const char *const juce::WavAudioFormat::riffInfoSecondLanguage
static

Metadata property name used in INFO chunks.

Definition at line 150 of file juce_WavAudioFormat.h.

◆ riffInfoSeventhLanguage

const char *const juce::WavAudioFormat::riffInfoSeventhLanguage
static

Metadata property name used in INFO chunks.

Definition at line 151 of file juce_WavAudioFormat.h.

◆ riffInfoSharpness

const char *const juce::WavAudioFormat::riffInfoSharpness
static

Metadata property name used in INFO chunks.

Definition at line 152 of file juce_WavAudioFormat.h.

◆ riffInfoSixthLanguage

const char *const juce::WavAudioFormat::riffInfoSixthLanguage
static

Metadata property name used in INFO chunks.

Definition at line 153 of file juce_WavAudioFormat.h.

◆ riffInfoSoftware

const char *const juce::WavAudioFormat::riffInfoSoftware
static

Metadata property name used in INFO chunks.

Definition at line 154 of file juce_WavAudioFormat.h.

◆ riffInfoSoundSchemeTitle

const char *const juce::WavAudioFormat::riffInfoSoundSchemeTitle
static

Metadata property name used in INFO chunks.

Definition at line 155 of file juce_WavAudioFormat.h.

◆ riffInfoSource

const char *const juce::WavAudioFormat::riffInfoSource
static

Metadata property name used in INFO chunks.

Definition at line 156 of file juce_WavAudioFormat.h.

◆ riffInfoSourceFrom

const char *const juce::WavAudioFormat::riffInfoSourceFrom
static

Metadata property name used in INFO chunks.

Definition at line 157 of file juce_WavAudioFormat.h.

◆ riffInfoStarring_ISTR

const char *const juce::WavAudioFormat::riffInfoStarring_ISTR
static

Metadata property name used in INFO chunks.

Definition at line 158 of file juce_WavAudioFormat.h.

◆ riffInfoStarring_STAR

const char *const juce::WavAudioFormat::riffInfoStarring_STAR
static

Metadata property name used in INFO chunks.

Definition at line 159 of file juce_WavAudioFormat.h.

◆ riffInfoStartTimecode

const char *const juce::WavAudioFormat::riffInfoStartTimecode
static

Metadata property name used in INFO chunks.

Definition at line 160 of file juce_WavAudioFormat.h.

◆ riffInfoStatistics

const char *const juce::WavAudioFormat::riffInfoStatistics
static

Metadata property name used in INFO chunks.

Definition at line 161 of file juce_WavAudioFormat.h.

◆ riffInfoSubject

const char *const juce::WavAudioFormat::riffInfoSubject
static

Metadata property name used in INFO chunks.

Definition at line 162 of file juce_WavAudioFormat.h.

◆ riffInfoTapeName

const char *const juce::WavAudioFormat::riffInfoTapeName
static

Metadata property name used in INFO chunks.

Definition at line 163 of file juce_WavAudioFormat.h.

◆ riffInfoTechnician

const char *const juce::WavAudioFormat::riffInfoTechnician
static

Metadata property name used in INFO chunks.

Definition at line 164 of file juce_WavAudioFormat.h.

◆ riffInfoThirdLanguage

const char *const juce::WavAudioFormat::riffInfoThirdLanguage
static

Metadata property name used in INFO chunks.

Definition at line 165 of file juce_WavAudioFormat.h.

◆ riffInfoTimeCode

const char *const juce::WavAudioFormat::riffInfoTimeCode
static

Metadata property name used in INFO chunks.

Definition at line 166 of file juce_WavAudioFormat.h.

◆ riffInfoTitle

const char *const juce::WavAudioFormat::riffInfoTitle
static

Metadata property name used in INFO chunks.

Definition at line 167 of file juce_WavAudioFormat.h.

◆ riffInfoTrackNo

const char *const juce::WavAudioFormat::riffInfoTrackNo
static

Metadata property name used in INFO chunks.

Definition at line 168 of file juce_WavAudioFormat.h.

◆ riffInfoTrackNumber

const char *const juce::WavAudioFormat::riffInfoTrackNumber
static

Metadata property name used in INFO chunks.

Definition at line 169 of file juce_WavAudioFormat.h.

◆ riffInfoURL

const char *const juce::WavAudioFormat::riffInfoURL
static

Metadata property name used in INFO chunks.

Definition at line 170 of file juce_WavAudioFormat.h.

◆ riffInfoVegasVersionMajor

const char *const juce::WavAudioFormat::riffInfoVegasVersionMajor
static

Metadata property name used in INFO chunks.

Definition at line 171 of file juce_WavAudioFormat.h.

◆ riffInfoVegasVersionMinor

const char *const juce::WavAudioFormat::riffInfoVegasVersionMinor
static

Metadata property name used in INFO chunks.

Definition at line 172 of file juce_WavAudioFormat.h.

◆ riffInfoVersion

const char *const juce::WavAudioFormat::riffInfoVersion
static

Metadata property name used in INFO chunks.

Definition at line 173 of file juce_WavAudioFormat.h.

◆ riffInfoWatermarkURL

const char *const juce::WavAudioFormat::riffInfoWatermarkURL
static

Metadata property name used in INFO chunks.

Definition at line 174 of file juce_WavAudioFormat.h.

◆ riffInfoWrittenBy

const char *const juce::WavAudioFormat::riffInfoWrittenBy
static

Metadata property name used in INFO chunks.

Definition at line 175 of file juce_WavAudioFormat.h.

◆ riffInfoYear

const char *const juce::WavAudioFormat::riffInfoYear
static

Metadata property name used in INFO chunks.

Definition at line 176 of file juce_WavAudioFormat.h.

◆ tracktionLoopInfo

const char *const juce::WavAudioFormat::tracktionLoopInfo
static

Metadata property name used when reading a WAV file with a Tracktion chunk.

Definition at line 275 of file juce_WavAudioFormat.h.


The documentation for this class was generated from the following files: