Universal container for audio data
First Claim
1. A method for handling audio information, comprising:
- storing, as part of an audio file, a flag that initially is in a first state to indicate that a last chunk in said audio file is an audio data chunk that contains audio data;
performing a storage operation to store said audio data chunk, within said audio file;
while parsing said audio file, performing the steps of determining whether said flag is in said first state; and
if said flag is in said first state, then determining a size for said audio data chunk based on a file size of said audio file and a starting position of said last chunk in said audio file; and
if said flag is not in said first state, then determining a size for said audio data by reading audio data chunk size information stored in said audio file.
2 Assignments
0 Petitions
Accused Products
Abstract
Storing audio data encoded in any of a plurality of different audio encoding formats is enabled by parametrically defining the underlying format in which the audio data is encoded, in audio format and packet table chunks. A flag can be used to manage storage of the size of the audio data portion of the file, such that premature termination of an audio recording session does not result in an unreadable corrupted file. This capability can be enabled by initially setting the flag to a value that does not correspond to a valid audio data size and that indicates that the last chunk in the file contains the audio data. State information for the audio data, to effectively denote a version of the file, and a dependency indicator for dependent metadata, may be maintained, where the dependency indicator indicates the state of the audio data on which the metadata is dependent.
38 Citations
75 Claims
-
1. A method for handling audio information, comprising:
-
storing, as part of an audio file, a flag that initially is in a first state to indicate that a last chunk in said audio file is an audio data chunk that contains audio data;
performing a storage operation to store said audio data chunk, within said audio file;
while parsing said audio file, performing the steps of determining whether said flag is in said first state; and
if said flag is in said first state, then determining a size for said audio data chunk based on a file size of said audio file and a starting position of said last chunk in said audio file; and
if said flag is not in said first state, then determining a size for said audio data by reading audio data chunk size information stored in said audio file. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform:
-
storing, as part of an audio file, a flag that initially is in a first state to indicate that a last chunk in said audio file is an audio data chunk that contains audio data;
performing a storage operation to store said audio data chunk, within said audio file;
while parsing said audio file, performing the steps of determining whether said flag is in said first state; and
if said flag is in said first state, then determining a size for said audio data chunk based on a file size of said audio file and a starting position of said last chunk in said audio file; and
if said flag is not in said first state, then determining a size for said audio data by reading audio data chunk size information stored in said audio file. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A method for handling audio information, comprising:
-
storing, as part of an audio file, (a) audio data;
(b) metadata information that includes one or more metadata values that have a dependency on a particular state of the audio data;
(c) state information for said audio data; and
(d) one or more dependency indicators associated with the one or more metadata values; and
while parsing said audio file, determining whether a metadata value of said one or more metadata values is valid based on a comparison between a dependency indicator associated with the metadata value and the state information for said audio data. - View Dependent Claims (14, 15, 16, 17, 18, 19, 20, 21)
-
-
22. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform:
-
storing, as part of an audio file, (a) audio data;
(b) metadata information that includes one or more metadata values that have a dependency on a particular state of the audio data;
(c) state information for said audio data; and
(d) one or more dependency indicators associated with the one or more metadata values; and
while parsing said audio file, determining whether a metadata value of said one or more metadata values is valid based on a comparison between a dependency indicator associated with the metadata value and the state information for said audio data. - View Dependent Claims (23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A method for storing audio information, comprising:
-
storing, as part of an audio file, audio data that represents an audio stream encoded in any one of a plurality of formats;
metadata information about said audio data;
wherein said metadata information includes information for identifying individual packets within said audio data, including how many channels are in each sample frame; and
how many bits of sample data are for each channel in each sample frame. - View Dependent Claims (32, 33, 34, 35, 36, 37, 38, 39, 40)
-
-
41. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform:
-
storing, as part of an audio file, audio data that represents an audio stream encoded in any one of a plurality of formats;
metadata information about said audio data;
wherein said metadata information includes information for identifying individual packets within said audio data, including how many channels are in each sample frame; and
how many bits of sample data are for each channel in each sample frame. - View Dependent Claims (42, 43, 44, 45, 46, 47, 48, 49, 50)
-
-
51. A method for storing audio information, comprising:
storing, as part of an audio file, audio data that represents an audio stream encoded as one or more channels of audio; and
metadata information about each of said one or more channels. - View Dependent Claims (52, 53, 54)
-
55. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform:
storing, as part of an audio file, audio data that represents an audio stream encoded as one or more channels of audio; and
metadata information about each of said one or more channels. - View Dependent Claims (56, 57, 58)
-
59. A method for storing audio information, the method comprising:
-
storing a set of chunks in a single audio file, wherein said set of chunks includes a audio data chunk and a plurality of metadata chunks;
wherein said audio data chunk includes packets that correspond to a stream of encoded audio;
wherein each chunk of said set of chunks includes metadata indicating a chunk version;
a chunk size; and
a chunk type;
wherein said set of chunks includes a format chunk that precedes said audio data chunk in said audio file, said format chunk including metadata indicating a number of sample frames per second of said audio data in said stream;
data indicating the general kind of data in said stream;
how many bytes are in each packet of data;
how many sample frames are in each packet of data;
how many channels are in each frame of data;
how many bits of sample data are for each channel in a frame of data;
wherein at least one of said metadata chunks includes a flag that initially is in a first state to indicate that a last chunk in said audio file is said audio data chunk that contains said audio data;
performing a storage operation to store said audio data chunk, within said audio file, following said plurality of metadata chunks;
while parsing said audio file, performing the steps of determining whether said flag is in said first state; and
if said flag is in said first state, then determining a size for said audio data chunk based on a file size of said audio file and a starting position of said last chunk in said audio file; and
if said flag is not in said first state, then determining a size for said audio data by reading audio data chunk size information stored in said audio file;
storing, as part of said audio file, metadata information that includes one or more metadata values that have a dependency on a particular state of said audio data;
state information for said audio data; and
one or more dependency indicators associated with said one or more metadata values;
changing said state information in response to changes made to said audio data; and
while parsing said audio file, determining whether a metadata value of said one or more metadata values is valid based on a comparison between a dependency indicator associated with said metadata value and said state information for said audio data. - View Dependent Claims (60, 61, 62, 63, 64)
-
-
65. A computer-readable medium carrying one or more sequences of instructions which, when executed by one or more processors, causes the one or more processors to perform:
-
storing a set of chunks in a single audio file, wherein said set of chunks includes a audio data chunk and a plurality of metadata chunks;
wherein said audio data chunk includes packets that correspond to a stream of encoded audio;
wherein each chunk of said set of chunks includes metadata indicating a chunk version;
a chunk size; and
a chunk type;
wherein said set of chunks includes a format chunk that precedes said audio data chunk in said audio file, said format chunk including metadata indicating a number of sample frames per second of said audio data in said stream;
data indicating the general kind of data in said stream;
how many bytes are in each packet of data;
how many sample frames are in each packet of data;
how many channels are in each frame of data;
how many bits of sample data are for each channel in a frame of data;
wherein at least one of said metadata chunks includes a flag that initially is in a first state to indicate that a last chunk in said audio file is said audio data chunk that contains said audio data;
performing a storage operation to store said audio data chunk, within said audio file, following said plurality of metadata chunks;
while parsing said audio file, performing the steps of determining whether said flag is in said first state; and
if said flag is in said first state, then determining a size for said audio data chunk based on a file size of said audio file and a starting position of said last chunk in said audio file; and
if said flag is not in said first state, then determining a size for said audio data by reading audio data chunk size information stored in said audio file;
storing, as part of said audio file, metadata information that includes one or more metadata values that have a dependency on a particular state of said audio data;
state information for said audio data; and
one or more dependency indicators associated with said one or more metadata values;
changing said state information in response to changes made to said audio data; and
while parsing said audio file, determining whether a metadata value of said one or more metadata values is valid based on a comparison between a dependency indicator associated with said metadata value and said state information for said audio data. - View Dependent Claims (66, 67, 68, 69, 70)
-
-
71. A computer-readable medium storing an audio file, the audio file comprising:
-
a set of chunks that includes an audio data chunk and a plurality of metadata chunks;
wherein said audio data chunk includes one or more packets that correspond to a stream of encoded audio;
wherein each chunk of said set of chunks includes metadata indicating a chunk version;
a chunk size; and
a chunk type;
wherein said set of chunks includes a format chunk that precedes said audio data chunk in said audio file, said format chunk including metadata indicating a number of sample frames per second of said audio data in said stream;
data indicating the general kind of data in said stream;
how many bytes are in each packet of data;
how many sample frames are in each packet of data;
how many channels are in each frame of data;
how many bits of sample data are for each channel in a frame of data. - View Dependent Claims (72, 73, 74, 75)
-
Specification