gpt4 book ai didi

Cocoa:如何获取音乐文件的光盘编号标签?

转载 作者:行者123 更新时间:2023-12-03 17:22:54 28 4
gpt4 key购买 nike

现在我可以从音频文件中获取这些标签:

#define kAFInfoDictionary_Artist                        "artist"
#define kAFInfoDictionary_Album "album"
#define kAFInfoDictionary_Tempo "tempo"
#define kAFInfoDictionary_KeySignature "key signature"
#define kAFInfoDictionary_TimeSignature "time signature"
#define kAFInfoDictionary_TrackNumber "track number"
#define kAFInfoDictionary_Year "year"
#define kAFInfoDictionary_Composer "composer"
#define kAFInfoDictionary_Lyricist "lyricist"
#define kAFInfoDictionary_Genre "genre"
#define kAFInfoDictionary_Title "title"
#define kAFInfoDictionary_RecordedDate "recorded date"
#define kAFInfoDictionary_Comments "comments"
#define kAFInfoDictionary_Copyright "copyright"
#define kAFInfoDictionary_SourceEncoder "source encoder"
#define kAFInfoDictionary_EncodingApplication "encoding application"
#define kAFInfoDictionary_NominalBitRate "nominal bit rate"
#define kAFInfoDictionary_ChannelLayout "channel layout"
#define kAFInfoDictionary_ApproximateDurationInSeconds "approximate duration in seconds"
#define kAFInfoDictionary_SourceBitDepth "source bit depth"
#define kAFInfoDictionary_ISRC "ISRC" // International Standard Recording Code
#define kAFInfoDictionary_SubTitle "subtitle"

那么我怎样才能获得光盘编号标签呢?谢谢!

最佳答案

您可以尝试使用TagLib:http://taglib.github.io/

它免费且功能强大。

关于Cocoa:如何获取音乐文件的光盘编号标签?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16382489/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com