CN103236255A - Software method for transforming audio files into MIDI (musical instrument digital interface) files - Google Patents
Software method for transforming audio files into MIDI (musical instrument digital interface) files Download PDFInfo
- Publication number
- CN103236255A CN103236255A CN 201310113602 CN201310113602A CN103236255A CN 103236255 A CN103236255 A CN 103236255A CN 201310113602 CN201310113602 CN 201310113602 CN 201310113602 A CN201310113602 A CN 201310113602A CN 103236255 A CN103236255 A CN 103236255A
- Authority
- CN
- China
- Prior art keywords
- files
- midi
- file
- musical instrument
- digital interface
- 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
Links
Images
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
The invention discloses a software method for transforming audio files into MIDI (musical instrument digital interface) files. According to attribute information and waveform data streams of the audio files, waveforms are decomposed and analyzed, and then files of analyzed results are restructured according to the format requirements of MIDI format files so as to obtain recorded MIDI format files.
Description
[technical field]
The present invention discloses the software approach that a kind of audio file is converted into the MIDI file.Each attribute information and Wave data stream according to audio file carry out the waveform decomposition analysis, and the result who analyzes obtains recording the midi format file by the call format reorganization file of midi format file.
[background technology]
Audio file is a kind of file of waveform recording and the processing to sound.And the midi format file is a kind of file of recording musical information.Though not directly contact between two kinds of files, transforming mutually is that certain technical difficulty is arranged, and they all are the file of recording voice on sense organ.The acoustic information extraction work of audio file still relies on people's sense of hearing sense organ record to a great extent.Therefore, with a kind of method two kinds of files are transformed mutually and have certain realistic meaning.
In order to address the above problem.Now according to the recording characteristic of audio file, audio file can be carried out spectrum analysis after, extract relevant acoustic information reorganization file, obtain the MIDI file.
[summary of the invention]
The object of the invention is to provide a kind of audio file to be converted into the simple and easy software approach of MIDI file.The audio file that namely has is carried out acoustic information robotization arrangement, exist as the instrument of the part work that liberates mankind.
The method that adopts is: extract the shape information in the audio file, carry out FFT one by one and calculate, obtain the spectrum analysis data.The actual extraction and analysis that requires according to sound arranges parameter, and the result who calculates gained with FFT carries out data analysis.Extract acoustic information by the MIDI documentation requirements at last and carry out the file reorganization, obtain new MIDI file.This method comprises following feature:
The importing of a, audio file.Read audio file, obtain some audio frequency essential informations, and the physical record data of sound waveform.
B, fft algorithm calculate, and sound signal is carried out the pointwise Fourier transform by time point.
C, from default table, read the parameter preset of spectrum analysis.
D, carry out spectrum analysis according to the signal after the conversion and parameter preset, and carry out acoustic information and extract.
E, extract acoustic information by the MIDI documentation requirements and carry out the file reorganization.
From the above, under the situation that breaks away from the work of people's sense of hearing sense organ, finish functional requirement.Realized a kind of to the acoustic information datumization abstraction function of audio file is namely arranged.Having liberated human part to a certain extent has the work of technical requirement.
[description of drawings]
The module process flow diagram of Fig. 1 scheme
[concrete scheme]
Be illustrated in figure 1 as the module process flow diagram of this programme.Concrete work is as described below:
The importing of a, audio file.Read audio file, obtain the sample frequency of sound, the word length of file data, some audio frequency essential informations such as the duration of sound.The topmost data of audio file are Wave datas of sound, import the physical record data of sound waveform in batches according to unified standard.
B, fft algorithm calculate.Fft algorithm is the ripe applied mathematics algorithm of acquisition that a kind of signal conversion is used, and time-domain signal is for conversion into frequency-region signal afterwards as calculated.Be that signal is carried out a kind of effective and feasible computing method of spectrum analysis.
C, read the parameter preset of spectrum analysis.Parameter preset is not unique, is according to the MIDI file specific requirement of acoustic information and actual sound to be preset.The frequency that mainly comprises each pitch of sound, the sound wave harmonic is set, noise gate etc.These parameters set in advance and read with the form of form.
D, spectrum analysis and acoustic information extract.Carry out spectrum analysis according to above-mentioned gained signal and parameter, the main lobe upper frequency time of pressing of gained is noted acoustic information.Extract the point of frequency-region signal according to the frequency meter of each pitch, utilize filtering to set and filter harmonic component, noise gate and frequency-region signal compare, and obtain the acoustic information of a time point.
E, extract acoustic information by the MIDI documentation requirements and carry out the file reorganization.According to acoustic information and time relation, carry out the sound beat, judgements such as audio speed earlier.Again acoustic information is put in order, produced the MIDI file.
According to above-mentioned, as can be seen.Set up between audio file and the MIDI file and contacted.
Claims (2)
1. an audio file is converted into the software approach of MIDI file, and include file imports, transformation calculations, parameter setting, information extraction, file reorganization several steps process.
2. software is implemented, the implementing procedure of each step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201310113602 CN103236255A (en) | 2013-04-03 | 2013-04-03 | Software method for transforming audio files into MIDI (musical instrument digital interface) files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201310113602 CN103236255A (en) | 2013-04-03 | 2013-04-03 | Software method for transforming audio files into MIDI (musical instrument digital interface) files |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103236255A true CN103236255A (en) | 2013-08-07 |
Family
ID=48884291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201310113602 Pending CN103236255A (en) | 2013-04-03 | 2013-04-03 | Software method for transforming audio files into MIDI (musical instrument digital interface) files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103236255A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107037262A (en) * | 2017-04-25 | 2017-08-11 | 成都玖锦科技有限公司 | A kind of big data spectrum analyzer system and its method |
TWI700687B (en) * | 2017-10-04 | 2020-08-01 | 弗勞恩霍夫爾協會 | Apparatus, method and computer program for encoding, decoding, scene processing and other procedures related to dirac based spatial audio coding |
-
2013
- 2013-04-03 CN CN 201310113602 patent/CN103236255A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107037262A (en) * | 2017-04-25 | 2017-08-11 | 成都玖锦科技有限公司 | A kind of big data spectrum analyzer system and its method |
TWI700687B (en) * | 2017-10-04 | 2020-08-01 | 弗勞恩霍夫爾協會 | Apparatus, method and computer program for encoding, decoding, scene processing and other procedures related to dirac based spatial audio coding |
US11368790B2 (en) | 2017-10-04 | 2022-06-21 | Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. | Apparatus, method and computer program for encoding, decoding, scene processing and other procedures related to DirAC based spatial audio coding |
US11729554B2 (en) | 2017-10-04 | 2023-08-15 | Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. | Apparatus, method and computer program for encoding, decoding, scene processing and other procedures related to DirAC based spatial audio coding |
US12058501B2 (en) | 2017-10-04 | 2024-08-06 | Fraunhofer-Gesellschaft zur Förderung der angewandten Forschung e.V. | Apparatus, method and computer program for encoding, decoding, scene processing and other procedures related to DirAC based spatial audio coding |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103854646B (en) | A kind of method realized DAB and classified automatically | |
CN108198545B (en) | Speech recognition method based on wavelet transformation | |
CN104992712B (en) | It can identify music automatically at the method for spectrum | |
CN103189912A (en) | Voice processor and voice processing method | |
CN112506341B (en) | Vibration effect generation method and device, terminal equipment and storage medium | |
CN104282316A (en) | Karaoke scoring method based on voice matching, and device thereof | |
CN109584904B (en) | Video-song audio-song name recognition modeling method applied to basic music video-song education | |
CN107274911A (en) | A kind of similarity analysis method based on sound characteristic | |
CN104134444B (en) | A kind of song based on MMSE removes method and apparatus of accompanying | |
CN108010512A (en) | Sound effect acquisition method and recording terminal | |
CN109377982B (en) | Effective voice obtaining method | |
CN104252872A (en) | Lyric generating method and intelligent terminal | |
CN102655003A (en) | Method for recognizing emotion points of Chinese pronunciation based on sound-track modulating signals MFCC (Mel Frequency Cepstrum Coefficient) | |
CN103236255A (en) | Software method for transforming audio files into MIDI (musical instrument digital interface) files | |
CN103239235B (en) | Multifunctional comprehensive otoacoustic emission detector | |
Patel et al. | Musical notes identification using digital signal processing | |
Pilia et al. | Time scaling detection and estimation in audio recordings | |
CN105139866A (en) | Nanyin music recognition method and device | |
CN111317467A (en) | Electroencephalogram signal analysis method and device, terminal device and storage medium | |
CN110390954A (en) | Method and device for evaluating quality of voice product | |
CN106548782A (en) | The processing method and mobile terminal of acoustical signal | |
Rathore et al. | Instantaneous fundamental frequency estimation of speech signals using DESA in low-frequency region | |
Okubo et al. | Recognition of transient environmental sounds based on temporal and frequency features | |
Permana et al. | Improved Feature Extraction for Sound Recognition Using Combined Constant-Q Transform (CQT) and Mel Spectrogram for CNN Input | |
Zhang et al. | Temporal analysis, manipulation, and resynthesis of musical vibrato |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
DD01 | Delivery of document by public notice |
Addressee: Guangxi Globe Music and Books Co., Ltd. Document name: Notification of before Expiration of Request of Examination as to Substance |
|
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130807 |