【Minim】音乐加工厂:AudioMetaData 类
AudioMetaData 是神马?
AudioMetaData包含了 ID3 标签中常见的信息。
基维百科注释:ID3 是一种 metadata 容器,多应用于 MP3 格式的音频文件中。它可以将相关的曲名、演唱者、专辑、音轨数等信息存储在 MP3 文件中,又称作“ID3Tags”。
但是,其他音频格式(如 Ogg)也包含着类似信息。因此,我们并不将此信息称为 ID3Tags 或类似信息,而简单地将其称为元数据。
此类的所有方法都将返回空字符串或 -1,且派生类可简单地覆盖具有信息的方法。但这比使用接口要脆弱得多,因为其可在不破坏现有代码的情况下添加新的属性。
Constructors:
AudioMetaData()
Example:
AudioMetaData 旗下:Methods
还记得儿时的我们,都不想演皇帝,只想演纪晓岚,没有一个人愿意演和珅。而现在,我们身边到处是皇帝,人人都想做和珅,却没有找到一个纪晓岚。——某乐评 《铁齿铜牙纪晓岚》
先生你这说的什么意思啊,你能说得简单一些吗:
album()author()comment()composer()copyright()date()disc()encoded()fileName()genre()length()lyrics()orchestra()publisher()sampleFrameCount()title()track()
album()——我要我的专辑
Description:
该唱片来自的专辑。
Signature:
String album()
Returns:
String:专辑标签
Related:
Example:
None available
author()——作者
Description:
唱片的作者。
Signature:
String author()
Returns:
String:作者标签
Related:
Example:
None available
comment()——注释
Description:
文件中的注释字段。
Signature:
String comment()
Returns:
String:注释标签
Related:
Example:
None available
composer()——作曲家
Description:
唱片的作曲家。
Signature:
String composer()
Returns:
String:作曲家标签
Related:
Example:
None available
copyright()——版权
Description:
唱片的的版权。
Signature:
String copyright()
Returns:
String:版权标签
Related:
Example:
None available
date()——日期
Description:
唱片的录制日期。
Signature:
String date()
Returns:
String:日期标签
Related:
Example:
None available
disc()——光盘号
Description:
唱片的光盘号。
Signature:
String disc()
Returns:
String:光盘号标签
Related:
Example:
None available
encoded()——编码软件
Description:
唱片的编码软件。
Signature:
String encoded()
Returns:
String:编码标签
Related:
Example:
None available
fileName()——文件名
Description:
唱片的文件/ URL的名称。
Signature:
String fileName()
Returns:
String:文件名
Related:
Example:
None available
genre()——类型
Description:
唱片的文件名。
Signature:
String genre()
Returns:
String:类型标签
Related:
Example:
None available
length()——长度
Description:
唱片的长度,以毫秒为单位。
Signature:
int length()
Returns:
int:以毫秒为单位的长度
Related:
Example:
None available
lyrics()——歌词
Description:
唱片的歌词,如果有的话。
Signature:
String lyrics()
Returns:
String:歌词标签
Related:
Example:
None available
orchestra()——歌词
Description:
演奏唱片的管弦乐队。
Signature:
String orchestra()
Returns:
String:管弦乐队标签
Related:
Example:
None available
publisher()——出版商
Description:
唱片的出版商。
Signature:
String publisher()
Returns:
String:出版商标签
Related:
Example:
None available
sampleFrameCount()——样本帧数
Description:
唱片的样本帧数。
Signature:
int sampleFrameCount()
Returns:
int:样本帧数
Related:
Example:
None available
title()——标题党
Description:
唱片的标题。
Signature:
String title()
Returns:
String:标题标签
Related:
Example:
None available
track()——曲目
Description:
唱片的曲目编号。有时,这会以 3/10 的形式显示,提供专辑的曲目编号和曲目总数。
Signature:
String track()
Returns:
String:曲目标签
Related:
Example:
None available
Last…
读书人,最不济。烂诗文,烂如泥。国家本为求才计,谁知道变作了欺人技。三句承题,两句破题,摇头摆尾,便道是圣门高第。可知道,三通四史,是何等文章?汉祖唐宗,是哪一朝皇帝?案头放高头讲章,店里买新科利器。读得来肩背高低,口角唏嘘,甘蔗渣儿嚼了又嚼,有何滋味!辜负光阴,白白昏迷一世,就教他骗得高官,也是百姓朝廷的晦气!——《铁齿铜牙纪晓岚2》

浙公网安备 33010602011771号