当前位置:网站首页>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
边栏推荐
- 地平线 旭日X3 PI (一)首次开机细节
- There are 100 people eating 100 apples, one adult eating 4 apples, and four children eating 1 apple. How can they eat exactly 100 apples? Use any high-level language you are familiar with
- C语言-入门-基础-语法-[主函数,头文件](二)
- In depth investigation and Strategic Research Report on China's motion controller Market (2022 Edition)
- Analysis report on the production and marketing demand and investment forecast of tellurium dioxide in the world and China Ⓣ 2022 ~ 2027
- Global and Chinese market of planar waveguide optical splitter 2022-2028: Research Report on technology, participants, trends, market size and share
- Educational Codeforces Round 115 (Rated for Div. 2)
- 2022-2028 global industry research and trend analysis report on anterior segment and fundus OTC detectors
- How does idea withdraw code from remote push
- 1211 or chicken and rabbit in the same cage
猜你喜欢
2022-2028 global probiotics industry research and trend analysis report
C语言-入门-基础-语法-[运算符,类型转换](六)
Dede plug-in (multi-function integration)
保姆级JDEC增删改查练习
Target detection -- intensive reading of yolov3 paper
Reload CUDA and cudnn (for tensorflow and pytorch) [personal sorting summary]
2022-2028 global intelligent interactive tablet industry research and trend analysis report
You can see the employment prospects of PMP project management
Opencv environment construction (I)
2022-2028 global special starch industry research and trend analysis report
随机推荐
2022-2028 global industry research and trend analysis report on anterior segment and fundus OTC detectors
Markdown syntax
20220701 barbarat lemma proof
Logstack configuration details -- elasticstack (elk) work notes 020
上周热点回顾(6.27-7.3)
2022-2028 global optical transparency industry research and trend analysis report
Research Report on the current market situation and development prospects of calcium sulfate whiskers in China (2022 Edition)
Implementation principle of redis string and sorted set
Awk from entry to earth (7) conditional statements
LeetCode 74. Search 2D matrix
swatch
什么是权限?什么是角色?什么是用户?
Horizon sunrise X3 PI (I) first boot details
《网络是怎么样连接的》读书笔记 - 认识网络基础概念(一)
You can see the employment prospects of PMP project management
If you can quickly generate a dictionary from two lists
After unplugging the network cable, does the original TCP connection still exist?
Launpad | 基础知识
Fatal error in golang: concurrent map writes
Nurse level JDEC addition, deletion, modification and inspection exercise