CN108769846A - A kind of method and microphone of identification music score - Google Patents
A kind of method and microphone of identification music score Download PDFInfo
- Publication number
- CN108769846A CN108769846A CN201810461204.3A CN201810461204A CN108769846A CN 108769846 A CN108769846 A CN 108769846A CN 201810461204 A CN201810461204 A CN 201810461204A CN 108769846 A CN108769846 A CN 108769846A
- Authority
- CN
- China
- Prior art keywords
- music score
- microphone
- camera
- image
- control chip
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04R—LOUDSPEAKERS, MICROPHONES, GRAMOPHONE PICK-UPS OR LIKE ACOUSTIC ELECTROMECHANICAL TRANSDUCERS; DEAF-AID SETS; PUBLIC ADDRESS SYSTEMS
- H04R1/00—Details of transducers, loudspeakers or microphones
- H04R1/08—Mouthpieces; Microphones; Attachments therefor
- H04R1/083—Special constructions of mouthpieces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/21—Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
- G06F18/214—Generating training patterns; Bootstrap methods, e.g. bagging or boosting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Multimedia (AREA)
- Acoustics & Sound (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
The present invention is suitable for technical field of information processing, a kind of method, microphone and the computer readable storage medium of identification music score are provided, the method is applied to microphone, and the microphone includes control chip and camera, the control chip is connect with the camera, the method includes:Detect whether the camera starts by the control chip;After detecting that the camera starts, the image of music score is obtained by the camera;The content of music score, obtains the corresponding audio of the music score, and the audio is sent to the output equipment being connect with the microphone described in image recognition by the control chip according to the music score.The present invention can obtain the corresponding audio of the music score by microphone, and to provide the convenient way for obtaining accompaniment to the user, better user experience has higher practicability and ease for use.
Description
Technical field
The invention belongs to technical field of information processing more particularly to a kind of method, microphone and the computers of identification music score
Readable storage medium storing program for executing.
Background technology
In performance, accompaniment has very important effect, such as can teach how people sing by musical accompaniment
Song, or when singing, relatively good audio visual effect is realized by accompanying.But when people do not recognize music score, Wu Fajin
Row accompaniment, relevant activity can be very restricted.
Invention content
In view of this, an embodiment of the present invention provides a kind of method, microphone and the computer-readable storages of identification music score
Medium, to solve the problems, such as not accompanying when user does not recognize music score.
The first aspect of the embodiment of the present invention provides a kind of method of identification music score, is applied to microphone, the Mike
Bellows chamber includes control chip and camera, the control chip are connect with the camera, the method includes:
Detect whether the camera starts by the control chip;
After detecting that the camera starts, the image of music score is obtained by the camera;
The content of music score, obtains the music score and corresponds to described in image recognition by the control chip according to the music score
Audio, and the audio is sent to the output equipment being connect with the microphone.
The second aspect of the embodiment of the present invention provides a kind of microphone, and the microphone includes control chip and camera shooting
Head, the control chip are connect with the camera:
The camera, the image for obtaining music score;
The control chip, for detecting whether the camera starts, and for the image recognition according to the music score
The content of the music score obtains the corresponding audio of the music score, and the audio is sent to connect with the microphone it is defeated
Go out equipment.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has the step of computer program, the computer program realizes method as described above when being executed by microphone.
Existing advantageous effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention is applied to microphone,
The microphone includes that control chip and camera, the control chip are connect with the camera, passes through the control core
Piece detects whether the camera starts;After detecting that the camera starts, the figure of music score is obtained by the camera
Picture;The content of music score, obtains the corresponding sound of the music score described in image recognition by the control chip according to the music score
Frequently, and the audio is sent to the output equipment being connect with the microphone.The embodiment of the present invention obtains institute by microphone
The corresponding audio of music score is stated, to realize accompaniment, has provided the convenient way for obtaining accompaniment to the user, better user experience has
Higher practicability and ease for use.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of the method for the identification music score that the embodiment of the present invention one provides;
Fig. 2 is the implementation process schematic diagram of the method for identification music score provided by Embodiment 2 of the present invention;
Fig. 3 is the schematic diagram for the microphone that the embodiment of the present invention three provides.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
It should be appreciated that ought use in this specification and in the appended claims, the instruction of term " comprising " is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in description of the invention and the appended claims is
Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Fig. 1 is the implementation process schematic diagram of the method for the identification music score that the embodiment of the present invention one provides, and this method is applied to
Microphone, the microphone include that control chip and camera, the control chip are connect with the camera;
This method as shown in Figure 1 may comprise steps of:
Step S101 detects whether the camera starts by the control chip.
In the embodiment of the present invention, the microphone (Microphone) is the energy turn that voice signal is converted to electric signal
Parallel operation part.Optionally, the control chip can be arranged in the inside of the microphone, and the camera can be arranged described
The outside of microphone, such as the camera can be arranged in the bottom of the outside of microphone, to facilitate user holding Mike
The camera can get the image of the music score of tiling when wind.
Optionally, the microphone can also include switch.The switch can be key switch, soft-touch control, film
Switch, pressure switch etc..The switch can be used for selecting two or more state, may include for microphone
The switch of application model switching and/or the open and close switch of microphone etc., are not limited thereto.The state of the wherein described switch
May include first mode and second mode, the first mode can be the pattern for closing camera, at this point, passing through microphone
Pronunciation receiver receive sound, for operations such as subsequent audio frequency process, propagation, amplifications;The second mode can be with
It is the pattern for starting camera.
In the embodiment of the present invention, the state of the switch can carry out corresponding adjustment according to switchtype, to be directed to
Corresponding state is arranged in the switch of use, is not limited thereto.Illustratively, can be that the touch operation of soft-touch control to touch
Switching is touched to first mode or the state etc. of second mode, and the switching action by detecting the touch switch
Respective operations are carried out with current state, such as start camera;Can also be that key switch is in when down state at the switch
In first mode, key switch is in switch when non-down state and is in second mode etc..
Optionally, the switch can be connect with the control chip, and the control chip can be by described in detection
The state of switch judges whether the camera starts.Illustratively, when the state of the switch includes first mode and
Two modes, wherein first mode can be the patterns for closing camera, and second mode is when starting the pattern of camera, when described
When control chip detects the switch in second mode, controls the camera and start.
Alternatively, optional, the switch can be connect with the camera, and controlling the camera by the switch is
No startup.Illustratively, if the state of the switch includes first mode and second mode, wherein first mode can be closed
The pattern of camera, second mode are to start the pattern of camera;When the switching to second mode, it is described switch to
The thecamera head is used to indicate the signal that the camera starts, to directly control the camera by the switch
Whether start.For the control chip by being connect with the camera, the chip that controls passes through the shape for detecting the camera
State judges whether the camera starts.
Step S102 obtains the image of music score by the camera after detecting that the camera starts.
In the embodiment of the present invention, the music score records music information by symbol, for example, by staff, numbered musical notation or
The forms such as braille spectrum record music information.The music information may include a variety of music informations such as accompaniment, lyrics, different sounds
Happy information can be recorded according to the preset rules of music score in music score.
Optionally, in the embodiment of the present invention, the microphone can also include display screen, the display screen and the camera shooting
Head connection, the image obtained for showing the camera.
Wherein, the display screen, which can be arranged, can be arranged in the outside of the microphone, such as the switch in Mike
The side of the outside of wind, to facilitate user when obtaining image by camera so that user judges the figure by display screen
Whether include the content of the music score as in.
Illustratively, the display screen can be cathode-ray tube (Cathode Ray Tube, CRT) display, shine
Diode (Light Emitting Diode, LED) display screen, liquid crystal display, touching display screen etc..The display screen can be with
Size according to the microphone is configured.Optionally, described that music score is obtained by the camera in the embodiment of the present invention
Image may include:
The operation that user selects music score is responded, the image of the selected music score of user is obtained by the camera.
Wherein, it can be that user indicates wheat by modes such as voice, touching display screens that the user, which selects the operation of music score,
Gram selection by winnowing selects the operation of music score.Such as the voice of user is acquired by microphone, and identify the voice by controlling chip
Voice messaging (such as voice messaging is the image information for obtaining the music score on the right side of microphone), to indicate institute according to the voice messaging
State the image that camera obtains the selected music score of user.Alternatively, for example, user can select camera by touching display screen
Viewfinder image in a certain music score image-region, can indicate at this time in the viewfinder image that the camera selects user should
The image-region of music score is taken pictures as focusing area, to obtain the image of music score.
Step S103 obtains institute by the content of music score described in the image recognition for controlling chip according to the music score
The corresponding audio of music score is stated, and the audio is sent to the output equipment being connect with the microphone.
In the embodiment of the present invention, the output equipment can be the equipment that the audio is identified and is handled, such as sound
All kinds of terminal devices such as case, computer.
Optionally, in the embodiment of the present invention, described in the image recognition by the control chip according to the music score
The content of music score obtains the corresponding audio of the music score, and the audio is sent to the output being connect with the microphone and is set
It is standby to may include:
The accompaniment music information recorded on music score described in image recognition according to the music score;
Frequency and/or amplitude and/or sound according to music score symbol and audio in the accompaniment music information pre-established
The accompaniment music information is converted to corresponding audio by the correspondence of color, and the audio is sent to and the microphone
The output equipment of connection.
By taking the music score is staff as an example, in the embodiment of the present invention, institute can be identified according to the image of the staff
It states position on five parallel horizontal lines of the clef in staff, each note, cedilla, tone mark and plays an instrument, sound
The information such as portion, various symbols and auxiliary line, and further judge the corresponding tone of frequency rhythm, note in the staff with
And the information such as musical instrument or the corresponding tone color of part, then be converted to correspondence according to information such as the frequency rhythm, tone and tone colors
Audio, and the audio is sent to the output equipment being connect with the microphone, is realized pair with passing through the output equipment
The processing and broadcasting of the audio.
Optionally, happy described in the image recognition by the control chip according to the music score in the embodiment of the present invention
Before the content of spectrum, can also include:
The marginal information of image is depicted using edge detection method to the image of the music score, then passes through straight-line detection side
Method detects five line position coordinates;
Using note sorting algorithm, note locating segmentation is carried out to the image of the music score, each complete note is obtained and exists
Position in image.
Wherein, the music score is staff.Illustratively, the edge detection algorithm can (such as Gauss filters by filtering
Wave), edge enhancing (such as pass through calculate gradient magnitude), detect and etc. realize.For example, the edge detection algorithm can be with
It is canny Operator Methods, canny Operator Methods may include being smoothed with Gaussian filter to image, recycle one
Then the direction at order difference derivative calculations edge and amplitude carry out non-maxima suppression, then carry out dual threshold detection etc. to image
Step.The line detection algorithm can be Hough line detection algorithms, the inspection of LSD (Line Segment Detector) straight line
Method of determining and calculating etc..
The note sorting algorithm can be by model realizations such as decision tree, logistic regression, neural networks to note
The algorithm of classification.Illustratively, the note sorting algorithm can be convolutional neural networks model algorithm, as VGG models,
AlexNet models etc. can make the note by identifying that the training set of label trains the algorithm comprising note and note
Sorting algorithm can identify note and obtain position coordinates of the note in the image of the music score.By the note,
Position coordinates and five line position coordinates of the note in the image of the music score can obtain the companion represented by the note
Play music information.
In the embodiment of the present invention, the image of the music score got can also be sent to and to be connect with the microphone
Output equipment obtains the corresponding audio of the music score, and pass through sound to identify the content of the music score by the output equipment
Frequency playback equipment plays out.
The embodiment of the present invention is applied to microphone, and the microphone includes control chip and camera, the control core
Piece is connect with the camera, detects whether the camera starts by the control chip;When detecting the camera
After startup, the image of music score is obtained by the camera;Image recognition institute by the control chip according to the music score
The content for stating music score obtains the corresponding audio of the music score, and the audio is sent to the output being connect with the microphone
Equipment.The embodiment of the present invention obtains the corresponding audio of the music score by microphone, to realize accompaniment, has provided to the user and has obtained
The convenient way of accompaniment, better user experience is taken to have higher practicability and ease for use.
Fig. 2 is the implementation process schematic diagram of the method for identification music score provided by Embodiment 2 of the present invention, and this method is applied to
Microphone, the microphone include that control chip and camera, the control chip are connect with the camera, the Mike
Wind further includes pronunciation receiver, and the control chip is connect with the pronunciation receiver.
This method as shown in Figure 2 may comprise steps of:
Step S201 detects whether the camera starts by the control chip.
Step S202 obtains the image of music score by the camera after detecting that the camera starts.
Step S203 obtains institute by the content of music score described in the image recognition for controlling chip according to the music score
The corresponding audio of music score is stated, and the audio is sent to the output equipment being connect with the microphone.
The present embodiment step S201, S202, S203 is identical as above-mentioned steps S101, S102, S103, and for details, reference can be made to steps
S101, S102, S103 associated description, details are not described herein.
Step S204, if detecting, the camera is not actuated, and voice signal is acquired by the pronunciation receiver.
The voice signal of acquisition is sent to the output equipment being connect with the microphone by step S205.
Wherein, voice signal is acquired by the pronunciation receiver and can be used for subsequent audio frequency process, propagation, amplification
Deng operation.The output equipment can be the equipment that the audio is identified and is handled, such as speaker, computer all kinds of ends
End equipment.
By detecting whether the camera starts, the use pattern of the microphone can be selected for by the camera shooting
Head obtains the image of music score or acquires voice signal by the pronunciation receiver, so as to the use of switch microphone
State adapts to the needs of different scenes.In the embodiment of the present invention, detect whether the camera opens by the control chip
It is dynamic;After detecting that the camera starts, the image of music score is obtained by the camera;Pass through the control chip foundation
The content of music score described in the image recognition of the music score, obtains the corresponding audio of the music score, and by the audio be sent to
The output equipment of the microphone connection;If detecting, the camera is not actuated, is acquired by the pronunciation receiver
Voice signal;The voice signal of acquisition is sent to the output equipment being connect with the microphone.The embodiment of the present invention is logical
It is excessive detect that the camera starts after, the image of music score is obtained by the camera, and if detecting the camera
It is not actuated, then voice signal is acquired by the pronunciation receiver, be the switching that use state may be implemented in microphone, with suitable
The needs of different scenes, better user experience are answered to have higher practicability and ease for use.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
Fig. 3 is the schematic diagram for the microphone that the embodiment of the present invention three provides.For convenience of description, it illustrates only and the present invention
The relevant part of embodiment.
The microphone 3 includes control chip 31 and camera 32, and the control chip 31 connects with the camera 32
It connects:
The camera 32, the image for obtaining music score;
The control chip 31, for detecting whether the camera 32 starts, and for the image according to the music score
The content for identifying the music score obtains the corresponding audio of the music score, and the audio is sent to and is connect with the microphone
Output equipment.
Optionally, the microphone further includes pronunciation receiver, and the control chip connects with the pronunciation receiver
It connects;
Correspondingly, the pronunciation receiver, for acquiring voice signal;
The control chip 31 is additionally operable to the voice signal of acquisition being sent to the output connecting with the microphone
Equipment.
Optionally, the control chip 31 is specifically used for:
The accompaniment music information recorded on music score described in image recognition according to the music score;
Frequency and/or amplitude and/or sound according to music score symbol and audio in the accompaniment music information pre-established
The accompaniment music information is converted to corresponding audio by the correspondence of color, and the audio is sent to and the microphone
The output equipment of connection.
Optionally, the control chip 31 is additionally operable to:
The marginal information of image is depicted using edge detection method to pending musical score image, then passes through straight-line detection
Method detects five line position coordinates;
Using note sorting algorithm, note locating segmentation is carried out to pending staff image, obtains each complete sound
The position of symbol in the picture.
Optionally, the microphone further includes switch, and the switch can be set to the outside of the microphone 3, described
Switch can be connect with the control chip 31.
Wherein, optionally, the control chip can judge the camera by detecting the state of the switch
Whether start;
Alternatively, optional, the switch can be connect with the camera, and controlling the camera by the switch is
No startup, the control chip judge whether the camera starts by detecting the state of the camera.
Optionally, in the embodiment of the present invention, the microphone can also include display screen, the display screen and the camera shooting
Head connection, the image obtained for showing the camera.
Wherein, the display screen, which can be arranged, can be arranged in the outside of the microphone, such as the switch in Mike
The side of the outside of wind, to facilitate user when obtaining image by camera so that user judges the figure by display screen
Whether include the content of the music score as in.
In the embodiment of the present invention, the microphone 3 can also include memory and be stored in the memory and can
The computer program run on the control chip 31.The memory can be integrated in the control chip 31, also may be used
Using as independent part setting with microphone 3 in.The control chip 31 is realized above-mentioned each when executing the computer program
Step in the embodiment of the method for a microphone control, such as step 101 shown in FIG. 1, to 103, the step includes:
Detect whether the camera starts by the control chip;
After detecting that the camera starts, the image of music score is obtained by the camera;
The content of music score, obtains the music score and corresponds to described in image recognition by the control chip according to the music score
Audio, and the audio is sent to the output equipment being connect with the microphone.
Illustratively, the computer program can be divided into one or more module/units, one or more
A module/unit is stored in the memory, and is executed by the control chip 31, to complete the present invention.It is one
Or multiple module/units can be the series of computation machine program instruction section that can complete specific function, the instruction segment is for retouching
State implementation procedure of the computer program in the microphone 3.
It will be understood by those skilled in the art that Fig. 3 is only the example of microphone 3, the limit to microphone 3 is not constituted
It is fixed, may include either combining certain components or different components, such as the wheat than illustrating more or fewer components
Gram wind 3 can also include input-output equipment, network access equipment, bus etc..
The control chip 31 can be central processing unit (Central Processing Unit, CPU), can be with
It is other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor
Deng.
The memory can be the internal storage unit of the microphone 3, such as the hard disk or memory of microphone 3, institute
Stating memory can be integrated in control chip, can also be used as and be individually partly set in the microphone 3, concrete form
It is not construed as limiting.The memory can also be to be equipped on the External memory equipment of the microphone 3, such as the microphone 3
Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge
Deposit card (Flash Card) etc..Further, the memory can also both include the microphone 3 internal storage unit or
Including External memory equipment.The memory is used to store other journeys needed for the computer program and the microphone 3
Sequence and data.The memory can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work(
Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion
The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used
It, can also be above-mentioned integrated during two or more units are integrated in one unit to be that each unit physically exists alone
The form that hardware had both may be used in unit is realized, can also be realized in the form of SFU software functional unit.In addition, each function list
Member, the specific name of module are also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed microphone and method, it can be by other
Mode realize.For example, microphone embodiment described above is only schematical, for example, the module or unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling or direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communication connects, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and electricity
Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to aforementioned reality
Applying example, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each
Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed
Or replace, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of method of identification music score, which is characterized in that be applied to microphone, the microphone includes control chip and takes the photograph
As head, the control chip is connect with the camera, the method includes:
Detect whether the camera starts by the control chip;
After detecting that the camera starts, the image of music score is obtained by the camera;
The content of music score, obtains the corresponding sound of the music score described in image recognition by the control chip according to the music score
Frequently, and the audio is sent to the output equipment being connect with the microphone.
2. the method as described in claim 1, which is characterized in that the microphone further includes pronunciation receiver, the control
Chip is connect with the pronunciation receiver;
Correspondingly, the method further includes:
If detecting, the camera is not actuated, and voice signal is acquired by the pronunciation receiver;
The voice signal of acquisition is sent to the output equipment being connect with the microphone.
3. the method as described in claim 1, which is characterized in that the image by the control chip according to the music score
The content for identifying the music score obtains the corresponding audio of the music score, and the audio is sent to and is connect with the microphone
Output equipment include:
The accompaniment music information recorded on music score described in image recognition according to the music score;
Frequency and/or amplitude and/or tone color according to music score symbol and audio in the accompaniment music information that pre-establishes
The accompaniment music information is converted to corresponding audio by correspondence, and the audio is sent to and is connect with the microphone
Output equipment.
4. the method as described in claim 1, which is characterized in that by the camera obtain music score image include:
The operation that user selects music score is responded, the image of the selected music score of user is obtained by the camera.
5. such as Claims 1-4 any one of them method, which is characterized in that by the control chip according to the pleasure
Before the content of music score described in the image recognition of spectrum, further include:
The marginal information of image is depicted using edge detection method to the image of the music score, then is examined by line detection method
Measure five line position coordinates;
Using note sorting algorithm, note locating segmentation is carried out to the image of the music score, obtains each complete note in image
In position.
6. a kind of microphone, which is characterized in that the microphone includes control chip and camera, the control chip and institute
State camera connection:
The camera, the image for obtaining music score;
The control chip, for detecting whether the camera starts, and for described in the image recognition according to the music score
The content of music score obtains the corresponding audio of the music score, and the audio is sent to the output being connect with the microphone and is set
It is standby.
7. microphone as claimed in claim 6, which is characterized in that the microphone further includes pronunciation receiver, the control
Coremaking piece is connect with the pronunciation receiver;
Correspondingly, the pronunciation receiver, for acquiring voice signal;
The control chip is additionally operable to the voice signal of acquisition being sent to the output equipment connecting with the microphone.
8. microphone as claimed in claim 6, which is characterized in that the control chip is specifically used for:
The accompaniment music information recorded on music score described in image recognition according to the music score;
Frequency and/or amplitude and/or tone color according to music score symbol and audio in the accompaniment music information that pre-establishes
The accompaniment music information is converted to corresponding audio by correspondence, and the audio is sent to and is connect with the microphone
Output equipment.
9. the microphone as described in claim 6 to 8 any one, which is characterized in that the control chip is additionally operable to:
The marginal information of image is depicted using edge detection method to the image of the music score, then is examined by line detection method
Measure five line position coordinates;
Using note sorting algorithm, note locating segmentation is carried out to the image of the music score, obtains each complete note in image
In position.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist
In when the computer program is executed by microphone the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810461204.3A CN108769846A (en) | 2018-05-15 | 2018-05-15 | A kind of method and microphone of identification music score |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810461204.3A CN108769846A (en) | 2018-05-15 | 2018-05-15 | A kind of method and microphone of identification music score |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108769846A true CN108769846A (en) | 2018-11-06 |
Family
ID=64006842
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810461204.3A Pending CN108769846A (en) | 2018-05-15 | 2018-05-15 | A kind of method and microphone of identification music score |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108769846A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111083434A (en) * | 2019-05-15 | 2020-04-28 | 广东小天才科技有限公司 | Method for starting dictation detection and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661745A (en) * | 2009-09-28 | 2010-03-03 | 西安理工大学 | Method for converting musical notation image into sound file |
CN101964049A (en) * | 2010-09-07 | 2011-02-02 | 东南大学 | Spectral line detection and deletion method based on subsection projection and music symbol structure |
CN104078035A (en) * | 2013-07-02 | 2014-10-01 | 深圳市腾讯计算机系统有限公司 | Music playing method and device |
CN106446952A (en) * | 2016-09-28 | 2017-02-22 | 北京邮电大学 | Method and apparatus for recognizing score image |
-
2018
- 2018-05-15 CN CN201810461204.3A patent/CN108769846A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101661745A (en) * | 2009-09-28 | 2010-03-03 | 西安理工大学 | Method for converting musical notation image into sound file |
CN101964049A (en) * | 2010-09-07 | 2011-02-02 | 东南大学 | Spectral line detection and deletion method based on subsection projection and music symbol structure |
CN104078035A (en) * | 2013-07-02 | 2014-10-01 | 深圳市腾讯计算机系统有限公司 | Music playing method and device |
CN106446952A (en) * | 2016-09-28 | 2017-02-22 | 北京邮电大学 | Method and apparatus for recognizing score image |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111083434A (en) * | 2019-05-15 | 2020-04-28 | 广东小天才科技有限公司 | Method for starting dictation detection and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110021308A (en) | Voice mood recognition methods, device, computer equipment and storage medium | |
CN105228050B (en) | The method of adjustment and device of earphone sound quality in terminal | |
CN110009556A (en) | Image background weakening method, device, storage medium and electronic equipment | |
WO2021232594A1 (en) | Speech emotion recognition method and apparatus, electronic device, and storage medium | |
CN109785820A (en) | A kind of processing method, device and equipment | |
US20090307594A1 (en) | Adaptive User Interface | |
CN106874826A (en) | Face key point-tracking method and device | |
CN108109634B (en) | Song pitch generation method, device and equipment | |
CN109816441A (en) | Tactful method for pushing, system and relevant apparatus | |
CN110059685A (en) | Word area detection method, apparatus and storage medium | |
CN108877753A (en) | Music synthesis method and system, terminal and computer readable storage medium | |
CN109308895A (en) | Acoustic training model method, apparatus, equipment and computer-readable medium | |
CN107341464A (en) | A kind of method, equipment and system for being used to provide friend-making object | |
KR20120063170A (en) | System and method for recognizing a music score image | |
CN109756818A (en) | Dual microphone noise-reduction method, device, storage medium and electronic equipment | |
CN109815854A (en) | It is a kind of for the method and apparatus of the related information of icon to be presented on a user device | |
CN108769846A (en) | A kind of method and microphone of identification music score | |
CN104091610B (en) | A kind of management method of audio file and device | |
CN108154120A (en) | video classification model training method, device, storage medium and electronic equipment | |
CN111263009A (en) | Quality inspection method, device, equipment and medium for telephone recording | |
CN104778467A (en) | Automatic musicofasong photographing and playing system | |
CN107122493A (en) | song playing method and device | |
CN110162264A (en) | Application processing method and Related product | |
CN105022993A (en) | Stave playing system based on image recognition technology | |
CN107291564A (en) | Information copying and pasting method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181106 |
|
RJ01 | Rejection of invention patent application after publication |