kMDItemAudioSampleRate

Static kMDItemAudioSampleRate 

Source
pub unsafe static kMDItemAudioSampleRate: Option<&'static CFString>
Available on crate feature MDItem only.
Expand description

The sample rate of the audio data contained in the file. The sample rate is a float value representing hz (audio_frames/second). For example: 44100.0, 22254.54. Type is a CFNumber (float).

The number of channels in the audio data contained in the file. This item only represents the number of discreet channels of audio data found in the file. It does not indicate any configuration of the data in regards to a user’s speaker setup. Type is a CFNumber (integer).

The tempo of the music contained in the audio file in Beats Per Minute. Type is a CFNumber (float).

The musical key of the song/composition contained in an audio file. For example: C, Dm, F#m, Bb. Type is a CFString.

The time signature of the musical composition contained in the audio/MIDI file. For example: “4/4”, “7/8”. Type is a CFString.

The name of the application that encoded the data contained in the audio file. Type is a CFString.

The composer of the song/composition contained in the audio file. Type is a CFString.

The lyricist/text writer for song/composition contained in the audio file. Type is a CFString.

The track number of a song/composition when it is part of an album (kMDItemAlbum). Type is a CFNumber (integer).

The recording date of the song/composition. This information differs from the kMDItemContentCreationDate attribute as it indicates the date that the ‘art’ was created, in contrast to ContentCreationDate which for example, could indicate the creation date of an edited or ‘mastered’ version of the original art. Type is a CFDate.

The musical genre of the song/composition contained in the audio file. For example: Jazz, Pop, Rock, Classical. Type is a CFString.

This attribute indicates whether the MIDI sequence contained in the file is setup for use with a General MIDI device. Type is a CFBoolean.

This attribute indicates what year the item was recorded on. Type is a CFNumber

See also Apple’s documentation