CN101004908A - 音阶旋律编码 - Google Patents

音阶旋律编码 Download PDF

Info

Publication number
CN101004908A
CN101004908A CNA2006101251750A CN200610125175A CN101004908A CN 101004908 A CN101004908 A CN 101004908A CN A2006101251750 A CNA2006101251750 A CN A2006101251750A CN 200610125175 A CN200610125175 A CN 200610125175A CN 101004908 A CN101004908 A CN 101004908A
Authority
CN
China
Prior art keywords
music
rhythm
musical
musical scale
scale
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CNA2006101251750A
Other languages
English (en)
Inventor
吕硕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CNA2006101251750A priority Critical patent/CN101004908A/zh
Publication of CN101004908A publication Critical patent/CN101004908A/zh
Pending legal-status Critical Current

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

音阶旋律编码。本发明利用音阶之间特定的频率倍数差关系得到前后两个乐音之间的相差的倍数的次方得到音乐的旋律编码。采用这种编码方式可以对同一首音乐作品得到统一的旋律特征编码代码,解决了传统音乐编码方式不能反映音乐旋律的乐理特征和占用存储空间大的问题。本发明主要应用于建立大规模的音乐旋律特征计算机数据库。

Description

音阶旋律编码
所属技术领域
本发明涉及一种新的计算机对音乐旋律的数据组织形式,采用这种编码方式可以对同一首音乐作品得到统一的旋律特征数据编码代码。
背景技术
目前计算机对于音乐的编码大都采用传统的PCM或者MPEG AUDIO等音频编码方式,这些编码方式具有高保真,音响效果好等突出优点;但是使用这些编码方式进行编码的音乐文件存在占用的存储空间大,无法表达音乐本身旋律的乐理特征的明显缺点,给大规模音乐数据库的建立和音乐内容的检索带来诸多不便。
发明内容
对于传统音乐编码的上述问题,本发明从音乐理论角度出发,设计出一种既能减小文件占用的存储空间,又能有效表达音乐旋律本身乐理特征的编码方式,采用这种编码方式,不同乐器或不同自然人所演奏或哼唱出的同一音乐旋律将被编码成同样的计算机数据代码。
本发明所采用的技术方案是:根据音乐的音阶理论,一个半音音符的振动频率是他前一个个相邻的半音音符的振动频率
Figure A20061012517500031
倍。
把用计算机硬件得到的PCM音频编码转化成音阶旋律编码的算法如下:对由计算机硬件得到的音乐原始的PCM代码进行静音检测,去掉音乐中安静的停顿部分,再对PCM编码代码的一个20-50毫秒的时间段进行离散傅里叶变换,得到该时间内的声音基础频率,并记为f0;再对下一个同样时间长度内的原始PCM代码进行同样的傅里叶变换操作,得到的基础频率记为f1;对f1/f0做以2为底的对数运算再乘12得到的结果就是记为r,r=log2{f1/f0);最终结果r即为音阶旋律编码的一个代码。对录音的PCM代码循环进行上述运算过程,在将结果中的值为“0”的部分全部去掉,就是这段音乐的音阶旋律编码代码。因为“0”值代表的是同一乐音音符在每一个20-50毫秒时间段的持续。把其它格式的计算机音频编码转化成音阶旋律编码可以先将该编码转化成PCM编码,再用上述算法进行转换。
在已知音乐乐谱的情况下可以采用下述方法直接得到音阶旋律编码:先将乐谱中的音符按照乐理中的半音次序进行编号,再将乐谱中的每个音符的编号减去其相邻的前一个音符的编号,再将得到的结果中的值为“0”的部分去掉。
本发明的有益效果是,这种编码方式仅仅保留了一段音乐旋律的基本乐理特征,从而大大减少了所占用的存储空间,使建立简明可靠的大规模音乐旋律特征数据库成为可能。

Claims (2)

1、音阶旋律编码,其基本技术特征是将音乐旋律中任意两个相邻的音符间的音阶倍数差的次方作为编码依据得到的音乐旋律的计算机数据组织形式。
2、根据权利要求1所述的数据组织形式既可以储存在新开发的数据库中,也可以储存在现有的商业数据软件中。
CNA2006101251750A 2006-11-28 2006-11-28 音阶旋律编码 Pending CN101004908A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2006101251750A CN101004908A (zh) 2006-11-28 2006-11-28 音阶旋律编码

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2006101251750A CN101004908A (zh) 2006-11-28 2006-11-28 音阶旋律编码

Publications (1)

Publication Number Publication Date
CN101004908A true CN101004908A (zh) 2007-07-25

Family

ID=38704003

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2006101251750A Pending CN101004908A (zh) 2006-11-28 2006-11-28 音阶旋律编码

Country Status (1)

Country Link
CN (1) CN101004908A (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109215670A (zh) * 2018-09-21 2019-01-15 西安蜂语信息科技有限公司 音频数据的传输方法、装置、计算机设备和存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109215670A (zh) * 2018-09-21 2019-01-15 西安蜂语信息科技有限公司 音频数据的传输方法、装置、计算机设备和存储介质
CN109215670B (zh) * 2018-09-21 2021-01-29 西安蜂语信息科技有限公司 音频数据的传输方法、装置、计算机设备和存储介质

Similar Documents

Publication Publication Date Title
CN112382257B (zh) 一种音频处理方法、装置、设备及介质
CA2845731C (en) Multi-structural, multi-level information formalization and structuring method, and associated apparatus
JP2002082668A (ja) 音符ベース・コードの生成
US12014707B2 (en) Systems, devices, and methods for varying digital representations of music
CN113035162B (zh) 民族音乐生成方法、装置、设备及存储介质
JPS6235120B2 (zh)
CN110867174A (zh) 自动混音装置
CN101004908A (zh) 音阶旋律编码
JP4132362B2 (ja) 音響信号の符号化方法およびプログラム記録媒体
Dong et al. Towards automatic instrumentation by learning to separate parts in symbolic multitrack music
Yanchenko Classical music composition using hidden Markov models
Dagdug et al. Correlations in a Mozart's music score (K-73x) with palindromic and upside-down structure
CN114333742A (zh) 多轨伴奏生成方法、多轨伴奏生成模型的训练方法及装置
Faruqe et al. Template music transcription for different types of musical instruments
Verma et al. Real-time melodic accompaniment system for indian music using tms320c6713
Mathews et al. Four new scales based on nonsuccessive‐integer‐ratio chords
Chen et al. Learned String Quartet Music with Variational Auto Encoder
JP4695781B2 (ja) 音響信号の符号化方法
CN101626242A (zh) 改进的霍夫曼解码方法及装置
Aho et al. Expressive performance cues in gypsy swing guitar style: a case study and novel analytic approach
JP2002091435A (ja) 音響信号の符号化方法
Li et al. Music Definition Language & Music Manipulation Language: A Coding Scheme for Music Representation and Storage
CN2563680Y (zh) 吉琶琴
Fernando Concrete Jungle
CN101626243A (zh) 改进的霍夫曼解码方法及装置

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Lv Shuo

Document name: Notification before expiration of term

DD01 Delivery of document by public notice

Addressee: Lv Shuo

Document name: Review of business letter

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20070725