audioDatastore
数据存储for collection of audio files
Description
Use anaudioDatastore
object to manage a collection of audio files, where each individual audio file fits in memory, but the entire collection of audio files does not necessarily fit.
Creation
Description
creates a datastoreADS
= audioDatastore(location
)ADS
based on an audio file or collection of audio files inlocation
.
specifies additional properties using one or more name-value pair arguments.ADS
= audioDatastore(location
,Name,Value
)
Input Arguments
Properties
Object Functions
read |
Read next consecutive audio file |
readall |
Read all audio files from datastore |
reset |
Reset datastore read pointer to start of data |
hasdata |
Return true if there is more data in datastore |
shuffle |
Shuffle files in datastore |
subset |
Create datastore with subset of files |
preview |
Read first file from datastore for preview |
progress |
Fraction of files read |
splitEachLabel |
Splits datastore according to specified label proportions |
countEachLabel |
Count number of unique labels |
partition |
Partition datastore and return on partitioned portion |
numpartitions |
Return estimate for reasonable number of partitions for parallel processing |
combine |
Combine data from multiple datastores |
transform |
Transform audio datastore |
writeall |
Write datastore to files |
isPartitionable |
Determine whether datastore is partitionable |
isShuffleable |
Determine whether datastore is shuffleable |