当前位置:网站首页>Daughter love in lunch box
Daughter love in lunch box
2022-07-04 09:21:00 【Zhuoqing】

Today, in wechat, my friend sent me an interesting video . This video demonstrates a fresh and elegant plucking music : Daughter love From the nine rubber bands on the lunch box , People can't help feeling : Flying flowers and picking leaves can hurt people , Grass, wood, bamboo and stone are all swords , I will not deceive you .
▲ chart 1 Music played with lunch boxes As a pentatonic, you enjoy music while , Not just ask : Although the tune is good , But is the tone of this lunch box plucking instrument accurate ?
Of course, answer this question , With the help of a little knowledge of signal processing .

utilize How to go from MP4 Extract from video files MP3 Audio ? The method introduced is to download from wechat MP4 Extract the corresponding audio from the video . Because the volume in the original video is relatively small , Use Audacity The software has preliminarily processed the audio , Increased audio data volume .
Time waveform
The following is the music time waveform in the video , Obviously, this just tells us the general trend of sound over time , But if you want to answer the quality of lunch box instruments ( tone 、 timbre ) problem , There is no direct answer .
▲ chart 2 Waveform of music data Spectrum waveform
The tone of the instrument is reflected in the spectrum of the data . The following is the time-varying waveform of the spectrum of music data obtained by short-sighted Fourier transform .
- short-term FFT Parameters :
frequency range:10~2000HzLength of time:100ms

▲ chart 2.1 How the audio spectrum changes over time From the change of spectrum, we can see the fundamental frequency corresponding to syllables in music and the Gaussian harmonics contained . In order to get the change of its fundamental frequency as the music progresses , Use scipy.signal.spectrogram Draw the time-frequency joint distribution of music , As shown in the figure below .
The abscissa in the figure below is the duration of the music , The ordinate corresponds to a period of time (100ms) The spectrum of . In order to highlight the small frequency component of audio , The spectral amplitude is saturated .

▲ chart 2.2 Time frequency joint distribution of music In the above figure, we can see the syllable distribution structure in the lunch box musical instrument . Rich high-frequency components add to the appeal of musical instruments .

In order to evaluate whether the tone of the lunch box is accurate , You need to get the main fundamental frequency at every moment . Let's go through the following FFT Search for frequency peaks , The corresponding frequency peak parameters of each segment can be obtained ( Frequency value and amplitude value )、

▲ chart 2.3 Frequency and amplitude corresponding to spectrum peak The blue curve above represents the fundamental frequency of the music at the corresponding time , The red curve indicates the fundamental frequency amplitude . From the change of fundamental frequency amplitude , This is in line with the law of oscillation exponential attenuation of plucked instruments , Each fluctuation lasts only about 0.3 second , Fast attenuation is not very beneficial to the performance of melodious songs , So in playing , The method of continuous dialing is used to realize the continuity of sound .
Now there's only one question left : Is the frequency of each syllable accurate ?
Histogram statistics of the amplitude of the frequency curve obtained above , You can see the syllable distribution in the whole performance process .

▲ chart 2.4 Histogram of peak spectrum In the diagram above , For all below 250Hz The frequency components of all belong to the frequency corresponding to the background noise . higher than 1000Hz The frequency component of should belong to the harmonic component of the fundamental frequency . Let's put the frequency at 350Hz ~ 1000Hz The classification of .
according to “ Daughter love ” tune , The fundamental frequency distribution contained in the spectrum of music is marked . From low frequency to high frequency, it corresponds to the first string To The vibration fundamental frequency of the ninth string , The notes in the corresponding song are also given below .

▲ chart 2.5 Give the frequency component of the corresponding string according to the music melody It's amazing , In the strings that seem to be evenly spaced , There are two chromatic scales (7-1、3-4) The corresponding frequency component actually roughly conforms to the value of syllable . Why ?
To determine whether the tuning of the strings is accurate , We also need to draw the syllable frequency at the same time . In the spectrum 3 The highest range , With its corresponding frequency f3=695.9Hz Benchmarking , according to The law of twelve averages Calculate the corresponding frequency of the other eight tones . As shown in the figure below .
by force of contrast , You can see in the nine strings of the instrument , Bass 6 、7 The corresponding frequency deviation is relatively large , Other strings are actually very close to normal syllables .

▲ chart 2.7 Calculate the corresponding frequency of all strings according to the twelve average law 
So far, we have analyzed the frequency of each syllable in the above lunch box music , We can see that the frequency of the string in an octave range roughly conforms to the distribution of the twelve mean law , This is the basis of elegant melody performance .
Seemingly evenly distributed strings , The structure of the two chromatic scales is roughly accurate , This is surprising . You can't see it structurally (7、4) What's special about the two strings .

▲ chart 2.6 The syllable frequency corresponding to each string of the lunch box The reason why lunch box music moved us , It's not its accurate intonation and rich timbre , But the soul with rich emotions behind the fingers that pluck the strings , This emotion is accompanied by “ Mohe dance hall ” Your music can jump out of the past and this life forever .
■ Links to related literature :
● Related chart Links :
- chart 1 Music played with lunch boxes
- chart 2 Waveform of music data
- chart 2.1 How the audio spectrum changes over time
- chart 2.2 Time frequency joint distribution of music
- chart 2.3 Frequency and amplitude corresponding to spectrum peak
- chart 2.4 Histogram of peak spectrum
- chart 2.5 Give the frequency component of the corresponding string according to the music melody
- chart 2.7 Calculate the corresponding frequency of all strings according to the twelve average law
- chart 2.6 The syllable frequency corresponding to each string of the lunch box
边栏推荐
- 2022-2028 global optical transparency industry research and trend analysis report
- Review of last week's hot spots (6.27-7.3)
- Explain TCP protocol in detail three handshakes and four waves
- Opencv environment construction (I)
- ArrayBuffer
- How does idea withdraw code from remote push
- 到底什么才是DaaS数据即服务?别再被其他DaaS概念给误导了
- AI Winter Olympics | is the future coming? Enter the entrance of the meta universe - virtual digital human
- 什么是权限?什么是角色?什么是用户?
- Langage C - démarrer - base - syntaxe - [opérateur, conversion de type] (vi)
猜你喜欢

Industry depression has the advantages of industry depression

HMS core helps baby bus show high-quality children's digital content to global developers

Some points needing attention in PMP learning

How should PMP learning ideas be realized?

Nurse level JDEC addition, deletion, modification and inspection exercise

How to ensure the uniqueness of ID in distributed environment

Logstack configuration details -- elasticstack (elk) work notes 020

MySQL foundation 02 - installing MySQL in non docker version

What exactly is DAAS data as a service? Don't be misled by other DAAS concepts

Sequence model
随机推荐
【leetcode】29. Divide two numbers
2022-2028 global tensile strain sensor industry research and trend analysis report
Explanation of for loop in golang
Function comparison between cs5261 and ag9310 demoboard test board | cost advantage of cs5261 replacing ange ag9310
C language - Introduction - Foundation - syntax - [main function, header file] (II)
Global and Chinese markets of hemoglobin analyzers in care points 2022-2028: Research Report on technology, participants, trends, market size and share
HMS core helps baby bus show high-quality children's digital content to global developers
Sword finger offer 30 contains the stack of Min function
《网络是怎么样连接的》读书笔记 - WEB服务端请求和响应(四)
Mantis creates users without password options
How do microservices aggregate API documents? This wave of show~
Flutter 小技巧之 ListView 和 PageView 的各种花式嵌套
Investment analysis and future production and marketing demand forecast report of China's paper industry Ⓥ 2022 ~ 2028
Awk from entry to soil (5) simple condition matching
MySQL foundation 02 - installing MySQL in non docker version
Development trend and market demand analysis report of high purity tin chloride in the world and China Ⓔ 2022 ~ 2027
Research Report on the current market situation and development prospects of calcium sulfate whiskers in China (2022 Edition)
How to batch change file extensions in win10
C语言-入门-基础-语法-[变量,常亮,作用域](五)
2022-2028 global optical transparency industry research and trend analysis report