CN113963723B - Music presentation method, device, equipment and storage medium - Google Patents

Music presentation method, device, equipment and storage medium Download PDF

Info

Publication number
CN113963723B
CN113963723B CN202111090442.6A CN202111090442A CN113963723B CN 113963723 B CN113963723 B CN 113963723B CN 202111090442 A CN202111090442 A CN 202111090442A CN 113963723 B CN113963723 B CN 113963723B
Authority
CN
China
Prior art keywords
music
frequency
score
output
syllable
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.)
Active
Application number
CN202111090442.6A
Other languages
Chinese (zh)
Other versions
CN113963723A (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 CN202111090442.6A priority Critical patent/CN113963723B/en
Publication of CN113963723A publication Critical patent/CN113963723A/en
Application granted granted Critical
Publication of CN113963723B publication Critical patent/CN113963723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10009Improvement or modification of read or write signals
    • G11B20/10037A/D conversion, D/A conversion, sampling, slicing and digital quantisation or adjusting parameters thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • G06F3/165Management of the audio stream, e.g. setting of volume, audio stream path
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention provides a music presentation method, a device, equipment and a storage medium, wherein the method comprises the following steps: acquiring a music score of music to be presented according to the selection of a user; acquiring syllable information in the music score, wherein the syllable information comprises syllable tone and/or syllable time; determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value; and outputting interaction signals corresponding to syllable information in the music score according to the preset output frequency value in sequence. The music score of the music to be presented is obtained, the output frequency corresponding to each note in the music score is determined according to the preset note output frequency comparison table, and the interactive signals are output according to the order of the notes in the music score and the output frequency corresponding to the notes, so that the music is presented according to the interactive signals output according to the preset frequency, the personalized requirements of a user on music presentation are met, and the user experience is further improved.

Description

Music presentation method, device, equipment and storage medium
Technical Field
The present invention relates to the field of music playing technologies, and in particular, to a music presenting method, apparatus, device, and storage medium.
Background
Music is taken as an art, people can feel happy, a lot of users like to listen to the music in idle or sports, but along with the wide application of intelligent terminal products and continuous enrichment of personalized demands of users, the audio and video multimedia processing capability of the intelligent terminal products becomes an important index of the user experience of the intelligent terminal products. However, the existing music player only has an independent music playing function, mainly uses audio-visual function, has single function, cannot meet the personalized requirements of users, has low experience and insufficient feeling, and cannot meet the requirements of playing equipment for interactively playing and outputting music signals, so that a music presentation mode is needed to meet the personalized requirements of users on the music presentation mode.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a music presenting method, which aims to solve the technical problem that the music presenting method in the prior art is too single and cannot meet the personalized requirements of users.
To achieve the above object, the present invention provides a music presentation method including: acquiring a music score of music to be presented according to the selection of a user;
acquiring syllable information in the music score, wherein the syllable information comprises syllable tone and/or syllable time;
determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value;
and outputting interaction signals corresponding to syllable information in the music score according to the preset output frequency value in sequence.
Preferably, the step of acquiring a score of music to be presented according to a user's selection includes:
performing music signal separation on the music to be presented to obtain a plurality of single-channel music signals;
analyzing the plurality of single-channel music signals to obtain music score information of the plurality of single-channel music signals;
determining a target score of the music to be presented based on score information of the plurality of single-way music signals.
Preferably, the step of acquiring syllable information in the score, the syllable information including a tone of a syllable and/or a time of the syllable includes:
acquiring notes in the target score;
determining musical intervals, musical scales and tones of the target score according to the notes;
the pitch of syllables and/or the time of syllables in the target score is derived based on the musical interval, scale and pitch of the target score.
Preferably, the step of determining the output frequency value of the tone in the score according to a preset frequency output table, wherein the preset frequency output table includes a preset correspondence between syllable information and the output frequency value, includes:
setting note output frequencies of various tones in the score based on the C-tone tuning frequency comparison table;
establishing a conversion relation of signal output frequencies corresponding to notes and C tuning symbols in the music score;
and determining the signal output frequency value of the tone in the music score according to the C tone character frequency comparison table and the conversion relation.
Preferably, the step of determining the signal output frequency value of the key in the score according to the C-tuner frequency comparison table and the scaling relation further comprises:
establishing corresponding relations among musical intervals, musical scales, tones and notes in the target music score of the music to be presented;
and calculating the signal output frequency value of the tone in the music score according to the corresponding relation.
Preferably, the method further comprises:
and setting the output duration of the signal frequency of each note based on the C tuning symbol frequency comparison table and the conversion relation.
Preferably, the step of sequentially outputting the interaction signals corresponding to syllable information in the music score according to the preset output frequency value includes:
outputting signals of vibration and/or lamplight based on the signal output frequency corresponding to each music note so as to realize interactive touch effect;
and presenting the music to be presented according to the interactive touch signal, the output time length and the audio frequency. In addition, in order to achieve the above object, the present invention also provides a music presentation apparatus including:
a music score acquisition module for acquiring a music score of the music to be presented according to the selection of the user;
a note determining module, configured to obtain syllable information in the score, where the syllable information includes a tone of a syllable and/or a time of the syllable;
the frequency determining module is used for determining the output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value;
and the signal output module is used for sequentially outputting interaction signals corresponding to syllable information in the music score according to a preset output frequency value.
In addition, in order to achieve the above object, the present invention also provides an electronic device, which is characterized by comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein the memory has stored thereon instructions executable by at least one processor to enable the at least one processor to perform the steps of the music rendering method as described in any of the above.
In addition, in order to achieve the above object, the present invention provides a computer storage medium comprising: the computer-readable storage medium has stored thereon a music presentation program which, when executed by a processor, implements the steps of the music presentation method as set forth in any one of the preceding claims.
The invention provides a music presentation method, which comprises the following steps: acquiring a music score of music to be presented according to the selection of a user; acquiring syllable information in the music score, wherein the syllable information comprises syllable tone and/or syllable time; determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value; and outputting interaction signals corresponding to syllable information in the music score according to the preset output frequency value in sequence. The music to be presented is obtained through a predetermined note frequency conversion table for the music selected by the user, and the music interaction signal is output according to the corresponding frequency, so that the music to be presented is presented to the user in a new mode, and the unique and personalized experience requirements of the user are met.
Drawings
FIG. 1 is a schematic diagram of a terminal/device structure of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart of a music rendering method according to a first embodiment of the present invention;
FIG. 3 is a flowchart of a music rendering method according to a second embodiment of the present invention;
FIG. 4 is a flowchart illustrating the steps of step S20 of FIG. 1 according to the present invention;
FIG. 5 is a flowchart of a music rendering method according to a third embodiment of the present invention;
FIG. 6 is a flowchart illustrating the specific steps of step S303 in FIG. 5;
FIG. 7 is a flowchart of a music rendering method according to a fourth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a music presenting apparatus according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: acquiring the music score of the music to be played; acquiring the tone and/or the time of syllables of one or more syllables in the music score; determining output frequency values of one or more tones in the score according to a preset frequency output table; and outputting signals of one or more tones in the music score according to a preset output frequency value while playing the music to be played.
Because the music presenter in the prior art only has an independent music presenting function, mainly uses audio-visual, has single function, can not meet the personalized requirements of users, has low experience of users, can not meet the touch of playing equipment to interactively output music signals, and meets the personalized requirements of users.
The invention provides a solution, which enables the interactive signals to be sequentially output according to the notes of the music score of the music according to the preset note output frequency while playing the music, so as to achieve the output of the interactive signals while presenting the music, meet the personalized music listening requirement of the user and improve the experience of the user.
As shown in fig. 1, fig. 1 is a schematic diagram of a terminal structure of a hardware running environment according to an embodiment of the present invention.
Those skilled in the art will appreciate that the computer device 300 of an embodiment of the present application is an apparatus as described above in relation to performing one or more of the methods of the present application. These devices may be specially designed and constructed for the required purposes, or may comprise known devices in general purpose computers. These devices have stored therein computer programs 200 or application programs, which computer programs 200 selectively activate or reconfigure. Such a computer program 200 may be stored in a device (e.g., a computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus, including, but not limited to, any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROMs (Read-Only memories), RAMs (Random Access Memory, random access memories), EPROMs (Erasable Programmable Read-Only memories), EEPROMs (Electrically Erasable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a readable medium includes any medium that stores or transmits information in a form readable by a device (e.g., a computer).
It will be appreciated by those skilled in the art that the terminal structure shown in fig. 1 is not limiting of the terminal and may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a music presentation program may be included in the memory 400 as one type of computer storage medium.
In the terminal shown in fig. 1, the processor 500 may be used to call a music presentation program stored in the memory 400 and perform the following operations:
acquiring a music score of music to be played;
acquiring syllable information in the music score, wherein the syllable information comprises syllable tone and/or syllable time;
determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value;
and outputting interaction signals corresponding to syllable information in the music score according to a preset output frequency value while playing the music to be played.
Further, the processor 500 may call a music rendering program stored in the memory 400, and also perform the following operations:
acquiring a music score of music to be presented according to the selection of a user;
acquiring syllable information in the music score, wherein the syllable information comprises syllable tone and/or syllable time;
determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value;
and outputting interaction signals corresponding to syllable information in the music score according to the preset output frequency value in sequence.
Further, the processor 500 may call a music rendering program stored in the memory 400, and also perform the following operations:
the step of obtaining a score of music to be presented according to a user's selection comprises:
performing music signal separation on the music to be presented to obtain a plurality of single-channel music signals;
analyzing the plurality of single-channel music signals to obtain music score information of the plurality of single-channel music signals;
determining a target score of the music to be presented based on score information of the plurality of single-way music signals.
Further, the processor 500 may call a music rendering program stored in the memory 400, and also perform the following operations:
the step of determining the output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value, and the step of determining the output frequency value comprises the following steps:
setting note output frequencies of various tones in the score based on the C-tone tuning frequency comparison table;
establishing a conversion relation of signal output frequencies corresponding to notes and C tuning symbols in the music score;
and determining the signal output frequency value of the tone in the music score according to the C tone character frequency comparison table and the conversion relation.
Further, the processor 500 may call a music rendering program stored in the memory 400, and also perform the following operations: the step of determining the signal output frequency value of the key in the score according to the C-tuner frequency lookup table and the scaling relationship further comprises:
establishing corresponding relations among musical intervals, musical scales, tones and notes in the target music score of the music to be presented;
and calculating the signal output frequency value of the tone in the music score according to the corresponding relation.
Further, the processor 500 may call a music rendering program stored in the memory 400, and also perform the following operations:
the method further comprises the steps of:
and setting the output duration of the signal frequency of each note based on the C tuning symbol frequency comparison table and the conversion relation.
Further, the processor 500 may call a music rendering program stored in the memory 400, and also perform the following operations:
the step of sequentially outputting the interactive signals corresponding to syllable information in the music score according to the preset output frequency value comprises the following steps:
outputting signals of vibration and/or lamplight based on the signal output frequency corresponding to each music note so as to realize interactive touch effect;
and presenting the music to be presented according to the interactive touch signal, the output time length and the audio frequency.
The terminal equipment of the embodiment of the invention can be personal care small household appliances such as an electric toothbrush, an electric massager, an electric beauty instrument, an electric face washer, an electric breast enlargement instrument, an electric hair clipper, an electric shaver, an electric cup/pot, a sleeping instrument, an infrared physiotherapy instrument, an eye protection instrument, an electric massage comb and the like and intelligent wearing electronic products, and also can be movable terminal equipment with display functions such as a PC (personal computer), a game controller, a smart phone, a tablet personal computer, an electronic book reader, an MP3 player, an MP4 player, a portable computer and the like.
Referring to fig. 2, a first embodiment of a music presentation method of the present invention provides a music presentation method, the method comprising:
step S10, obtaining a music score of music to be presented according to the selection of a user;
step S20, syllable information in the music score is obtained, wherein the syllable information comprises syllable tone and/or syllable time;
step S30, determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value;
step S40, outputting interaction signals corresponding to syllable information in the music score according to preset output frequency values in sequence.
Specifically, in this embodiment, a music file to be played is acquired according to a selection of a user, where the music file may be obtained from a local memory and may be obtained through a network; and no special requirements are made of the format of the music file in this embodiment. And obtaining the music score of the music file according to the music file. In general, a score refers to a method of marking the length and pitch of a musical composition with a large number of special symbols, and recording music by other means, and can help a user record and "read" music. Therefore, signals with different frequencies are output through different notes on the basis of the information recorded on the music score so as to achieve the effect of interactive music presentation; obtaining tone or/and syllable time of one or more syllables in the music score based on the music score, mapping corresponding output signal frequency values of the one or more syllables in the music score according to a preset tone frequency output table, outputting signals according to signal output frequencies corresponding to the one or more syllables in the music score, and sequentially outputting interaction signals of corresponding frequencies of note signals of music to be presented, selected by a user, according to the order of the tone in the music score by a terminal or a bone conduction device, wherein the interaction signals comprise: vibration, light, etc. In this embodiment, the music presenting method provided by the present invention is applied to the terminal device, for example, the music presenting method provided by the present invention is carried on the electric toothbrush, the MCU chip of the electric toothbrush obtains the music score of the music to be presented according to the target to be presented selected by the user, and according to the syllable information in the music score and the output frequency table of the interaction signals corresponding to the preset notes, the interaction signals are sequentially output according to the order of the notes in the music score and the preset frequency, and in this embodiment, the electric toothbrush can output the note vibration frequency signals corresponding to the music in a vibration mode. In addition, the note frequency signal can be output through other interaction modes in the invention, and the invention is not limited in any way.
In the present embodiment, a score of music to be presented is acquired by selection according to a user; acquiring syllable information in the music score, wherein the syllable information comprises syllable tone and/or syllable time; determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value; and outputting interaction signals corresponding to syllable information in the music score according to the preset output frequency value in sequence. The music selected by the user is converted into the interactive signal to be output, the frequency value of the interactive signal correspondingly output is preset according to the preset notes, and the interactive signal with the frequency corresponding to the notes is output according to the sequence of the notes in the music score of the music to be played, so that the music to be played is presented in a unique and interactive mode, the personalized requirements of the user are met, and the user experience is further improved.
Further, referring to fig. 3, a second embodiment of a music presenting method according to the present invention provides a music presenting method, based on the embodiment shown in fig. 2, the step S10 further includes:
step S101, separating music signals of the music to be presented to obtain a plurality of single-channel music signals;
step S102, analyzing the plurality of single-channel music signals to obtain music score information of the plurality of single-channel music signals;
step S103, determining a target score of the music to be presented based on score information of the plurality of single-channel music signals.
Specifically, in this embodiment, if the music to be played triggered by the user is a multitone music signal, namely, the multitone music signal is subjected to framing processing to obtain a plurality of audio frames, silence detection is performed on each audio frame to determine whether the audio frame is a silence frame, and multi-base frequency detection is performed on each non-silence frame to obtain note information and base frequency detection values; estimating harmonic numbers and amplitudes of different notes to obtain the amplitudes and harmonic information of each note and a Bayesian harmonic model, and obtaining a time-domain partials signal by using a fundamental frequency estimation value; and synthesizing the time domain partials signal frame by frame according to the preset frame shift and frame number to obtain a target music score determined based on the music score information of a plurality of single-channel music signals. The multi-tone music signal is separated into multi-channel single-tone music signals, the tone, melody, rhythm and beat of each separated single-tone music signal are extracted respectively, multi-channel single-tone music is obtained, and then the multi-tone music score with high accuracy is obtained according to the audio information of the multi-channel single-tone music.
In this embodiment, multi-tone music to be played is subjected to framing processing to obtain a plurality of single-channel music signals, a target score of the music to be played is comprehensively determined according to the plurality of single-channel music signals, and then a frequency basis of an output signal corresponding to the music to be presented is determined according to notes in the target score.
Further, as shown in fig. 4, based on the first and second embodiments, step S20 in fig. 2 further includes:
step S201, obtaining notes in the target music score;
step S202, determining musical intervals, musical scales and tones of the target music score according to the notes;
step S203, deriving a time of a pitch and/or syllable in the target score based on the musical interval, scale and pitch of the target score.
Specifically, in this embodiment, in general, a music file includes at least one note element, according to a signal frequency corresponding to a note in a target score of music to be played, and according to a musical interval, a musical scale, and a tone formed by arrangement of notes in the score, a tone of one or more syllables in the target score and/or a time of a syllable are obtained based on the musical interval, the musical scale, and the tone of the target score. That is, the output time is set by the output frequency corresponding to each note in the score corresponding to the music to be played and the interval, scale and pitch formed by each note. Finally, the interactive signals of the music are presented together with the output signals in time according to the arrangement sequence of the notes in the music score.
Further, referring to fig. 5, a third embodiment of a music presenting method according to the present invention provides a music presenting method, based on the embodiment shown in fig. 2, the step S30 further includes:
step S301, setting note output frequencies of various tones in the score based on the C tone tuning symbol frequency comparison table;
step S302, establishing a conversion relation of signal output frequencies corresponding to notes and C tuning symbols in the music score;
step S303, determining the signal output frequency value of the tone in the music score according to the C tone tuning symbol frequency comparison table and the conversion relation;
step S304, setting the output duration of the signal frequency of each note based on the C tuning symbol frequency comparison table and the conversion relation.
Specifically, in the present embodiment, music to be presented is output using a vibratory interaction signal based on one of the above embodiments. Under rated voltage, the music frequency is set based on a C tone character frequency comparison table, so that the touch sense, the vision sense and the hearing sense of a user can simultaneously sense the vibration frequency and the tone of music generated by a terminal through a motor/electrode/electromagnetic/sound wave/machine, and a touch interactive three-dimensional music expression effect is formed; based on a C-tone note and frequency comparison table, according to the relation between various tones in a music score and the C-tone, setting the corresponding relation value among musical intervals, musical scales, tones and notes to the note vibration frequency (0.1-120 times/second), and then comparing and converting the note vibration frequency value with the effective power (rated frequency) range generated by a motor/electrode/electromagnetic/sound wave/machine one by one to be used as the calling standard vibration frequency value for executing the touch interactive music; under rated voltage, the effective power range of the motor/electrode/electromagnetic/acoustic wave/machine is found, standard frequency numerical conversion is carried out according to various frequency relation formulas, the frequency ratio of the numerical value on the motor/electrode/electromagnetic/acoustic wave/machine is calculated according to the standard note frequency numerical value set on the basis of a C tuning symbol frequency comparison table, the output frequency of the motor/electrode/electromagnetic/acoustic wave/machine is set again according to the ratio, the standard frequency numerical value of touch interactive music is determined, and the main control or additional chip for outputting touch interactive music when the motor/electrode/electromagnetic/acoustic wave/machine is driven to effectively do work is called; calling the duty ratio of the corresponding frequency value and the frequency duration value of the note on the effective power range value (frequency value) of the motor/electrode/electromagnetic/acoustic/machine on the terminal based on the effective power range of the motor/electrode/electromagnetic/acoustic/machine under the rated voltage, and converting the note frequency value and the frequency duration value which can be output when the motor/electrode/electromagnetic/acoustic/machine does work; under rated voltage, a main control chip MCU on a circuit board or a chip special for realizing touch interactive music is used for driving a motor/electrode/electromagnetic/sound wave/machine, and the note frequency value which can be output when effective acting is converted according to the mapping relation between the note frequency value and the output frequency value of the motor/electrode/electromagnetic/sound wave/machine, so that touch interactive three-dimensional audio is output.
Further, referring to fig. 6, the step S303 further includes:
step S3031, establishing corresponding relations among musical intervals, musical scales, tones and notes in the target music score of the music to be presented;
step S3032, calculating a signal output frequency value of the tones in the score according to the correspondence.
Specifically, in this embodiment, according to the music frequency set based on the C-tuning symbol frequency comparison table, the corresponding relationship among the interval, scale and pitch in the music score corresponding to the music file to be played and the C-tuning symbol is established, so as to obtain the signal output frequency value of one or more pitches in the music score.
Further, referring to fig. 7, a fourth embodiment of a music presenting method according to the present invention provides a music presenting method, based on the embodiment shown in fig. 2, the step S40 further includes:
step S401, outputting signals of vibration and/or lamplight based on the signal output frequency corresponding to each music note to realize interactive touch effect;
step S402, the music to be presented is presented according to the interactive touch signal, the output duration and the audio frequency.
Specifically, in the present embodiment, by acquiring the score of the music to be played; acquiring the tone and/or the time of syllables of one or more syllables in the music score; determining output frequency values of one or more tones in the score according to a preset frequency output table; and outputting signals of one or more tones in the music score according to the preset output frequency value in turn. And determining the to-be-output interactive signals according to the notes in the music score to be played, and outputting the corresponding interactive signals according to the sequence of the notes in the music score and the preset signal output frequency so as to present the music. The output interactive signals can be vibration and/or lamplight and the like, and touch interactive signals can be reflected. The invention is not limited in any way herein.
In addition, referring to fig. 8, an embodiment of the present invention further provides a music presenting apparatus, including:
a score acquisition module 10 for acquiring a score of music to be presented according to a user's selection;
a note determination module 20 for acquiring syllable information in the score, the syllable information including a tone of a syllable and/or a time of the syllable;
a frequency determining module 30, configured to determine an output frequency value of a tone in the score according to a preset frequency output table, where the preset frequency output table includes a preset correspondence between syllable information and the output frequency value;
the signal output module 40 is configured to sequentially output interaction signals corresponding to syllable information in the score according to a preset output frequency value.
In addition, the embodiment of the invention also provides electronic equipment, which comprises:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein the memory has stored thereon instructions executable by at least one processor to enable the at least one processor to perform the steps of the music rendering method according to any of the above embodiments.
In addition, an embodiment of the present invention also proposes a computer-readable storage medium having stored thereon a music presentation program which, when executed by a processor, realizes the following operations:
acquiring a music score of music to be presented according to the selection of a user;
acquiring syllable information in the music score, wherein the syllable information comprises syllable tone and/or syllable time;
determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value;
and outputting interaction signals corresponding to syllable information in the music score according to the preset output frequency value in sequence.
Further, the music presentation program when executed by the processor further performs the following operations:
the step of obtaining a score of music to be presented according to a user's selection comprises:
performing music signal separation on the music to be presented to obtain a plurality of single-channel music signals;
analyzing the plurality of single-channel music signals to obtain music score information of the plurality of single-channel music signals;
determining a target score of the music to be presented based on score information of the plurality of single-way music signals.
Further, the music presentation program when executed by the processor further performs the following operations:
the step of acquiring syllable information in the score, the syllable information including the tone of syllable and/or the time of syllable, includes:
acquiring notes in the target score;
determining musical intervals, musical scales and tones of the target score according to the notes;
the pitch of syllables and/or the time of syllables in the target score is derived based on the musical interval, scale and pitch of the target score.
Further, the music presentation program when executed by the processor further performs the following operations:
the step of determining the output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value, and the step of determining the output frequency value comprises the following steps:
setting note output frequencies of various tones in the score based on the C-tone tuning frequency comparison table;
establishing a conversion relation of signal output frequencies corresponding to notes and C tuning symbols in the music score;
and determining the signal output frequency value of the tone in the music score according to the C tone character frequency comparison table and the conversion relation.
Further, the music presentation program when executed by the processor further performs the following operations:
the step of determining the signal output frequency value of the key in the score according to the C-tuner frequency lookup table and the scaling relationship further comprises:
establishing corresponding relations among musical intervals, musical scales, tones and notes in the target music score of the music to be presented;
and calculating the signal output frequency value of the tone in the music score according to the corresponding relation.
Further, the music presentation program when executed by the processor further performs the following operations:
the method further comprises the steps of:
and setting the output duration of the signal frequency of each note based on the C tuning symbol frequency comparison table and the conversion relation.
Further, the music presentation program when executed by the processor further performs the following operations:
the step of sequentially outputting the interactive signals corresponding to syllable information in the music score according to the preset output frequency value comprises the following steps:
outputting signals of vibration and/or lamplight based on the signal output frequency corresponding to each music note so as to realize interactive touch effect;
and presenting the music to be presented according to the interactive touch signal, the output time length and the audio frequency.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. A music rendering method, comprising:
acquiring a music score of music to be presented according to the selection of a user;
acquiring syllable information in the music score, wherein the syllable information comprises syllable tone and/or syllable time;
determining an output frequency value of the tone in the music score according to a preset frequency output table, wherein the preset frequency output table comprises a preset corresponding relation between syllable information and the output frequency value, and the determination mode of the preset frequency output table specifically comprises the following steps:
the effective power range of the motor/electrode/electromagnetic/acoustic wave/machine is found, standard frequency numerical conversion is carried out according to various frequency relation formulas, the frequency ratio of the numerical value on the motor/electrode/electromagnetic/acoustic wave/machine is calculated according to the standard note frequency numerical value set on the basis of the C tone tuning frequency comparison table, and the output frequency of the motor/electrode/electromagnetic/acoustic wave/machine is set again according to the ratio;
and outputting interaction signals corresponding to syllable information in the music score according to the preset output frequency value in sequence.
2. The music presentation method according to claim 1, wherein the step of acquiring a score of music to be presented according to a user's selection comprises:
performing music signal separation on the music to be presented to obtain a plurality of single-channel music signals;
analyzing the plurality of single-channel music signals to obtain music score information of the plurality of single-channel music signals;
determining a target score of the music to be presented based on score information of the plurality of single-way music signals.
3. The music presentation method according to claim 2, wherein the step of acquiring syllable information in the score, the syllable information including a tone of a syllable and/or a time of a syllable, comprises:
acquiring notes in the target score;
determining musical intervals, musical scales and tones of the target score according to the notes;
the pitch of syllables and/or the time of syllables in the target score is derived based on the musical interval, scale and pitch of the target score.
4. The music presentation method of claim 1, wherein the step of determining the output frequency value of the tones in the score according to a preset frequency output table including a preset correspondence of syllable information and output frequency values includes:
setting note output frequencies of various tones in the score based on the C-tone tuning frequency comparison table;
establishing a conversion relation of signal output frequencies corresponding to notes and C tuning symbols in the music score;
and determining the signal output frequency value of the tone in the music score according to the C tone character frequency comparison table and the conversion relation.
5. The music rendering method of claim 4, wherein the step of determining the signal output frequency value of the key in the score from the C-tuner frequency lookup table and the scaling relationship further comprises:
establishing corresponding relations among musical intervals, musical scales, tones and notes in the target music score of the music to be presented;
and calculating the signal output frequency value of the tone in the music score according to the corresponding relation.
6. The music rendering method of claim 4, wherein the method further comprises:
and setting the output duration of the signal frequency of each note based on the C tuning symbol frequency comparison table and the conversion relation.
7. The music presentation method as claimed in any one of claims 1 to 6, wherein the step of sequentially outputting the interactive signals corresponding to syllable information in the score according to the preset output frequency value comprises:
outputting signals of vibration and/or lamplight based on the signal output frequency corresponding to each music note so as to realize interactive touch effect;
and presenting the music to be presented according to the interactive touch signal, the output time length and the audio frequency.
8. A music presentation apparatus, comprising:
a music score acquisition module for acquiring a music score of the music to be presented according to the selection of the user;
a note determining module, configured to obtain syllable information in the score, where the syllable information includes a tone of a syllable and/or a time of the syllable;
the frequency determining module is configured to determine an output frequency value of a tone in the music score according to a preset frequency output table, where the preset frequency output table includes a preset correspondence between syllable information and the output frequency value, and the determining mode of the preset frequency output table specifically includes:
the effective power range of the motor/electrode/electromagnetic/acoustic wave/machine is found, standard frequency numerical conversion is carried out according to various frequency relation formulas, the frequency ratio of the numerical value on the motor/electrode/electromagnetic/acoustic wave/machine is calculated according to the standard note frequency numerical value set on the basis of the C tone tuning frequency comparison table, and the output frequency of the motor/electrode/electromagnetic/acoustic wave/machine is set again according to the ratio;
and the signal output module is used for sequentially outputting interaction signals corresponding to syllable information in the music score according to a preset output frequency value.
9. An electronic device, comprising:
at least one processor; the method comprises the steps of,
a memory communicatively coupled to the at least one processor; wherein the memory has stored thereon instructions executable by at least one processor to enable the at least one processor to perform the steps of the music rendering method of any one of claims 1 to 7.
10. A computer storage medium, comprising: the computer-readable storage medium has stored thereon a music presentation program which, when executed by a processor, implements the steps of the music presentation method according to any one of claims 1 to 7.
CN202111090442.6A 2021-09-16 2021-09-16 Music presentation method, device, equipment and storage medium Active CN113963723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111090442.6A CN113963723B (en) 2021-09-16 2021-09-16 Music presentation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111090442.6A CN113963723B (en) 2021-09-16 2021-09-16 Music presentation method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113963723A CN113963723A (en) 2022-01-21
CN113963723B true CN113963723B (en) 2023-05-26

Family

ID=79461924

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111090442.6A Active CN113963723B (en) 2021-09-16 2021-09-16 Music presentation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113963723B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103932867A (en) * 2014-05-12 2014-07-23 江本旋 Music-driven vibration body builder
CN204709649U (en) * 2015-06-05 2015-10-21 哈尔滨市华宇医用电子仪器有限公司 Music electric energy fourteen channels therapeutic instrument
CN105763293A (en) * 2014-12-19 2016-07-13 北京奇虎科技有限公司 Method and system for playing music in sound wave-based data transmission
CN107393565A (en) * 2016-05-16 2017-11-24 青岛海尔洗衣机有限公司 A kind of method and washing machine using motor sounding
CN206676630U (en) * 2017-04-24 2017-11-28 漳州仂元工业有限公司 A kind of Miniature music fountain
CN109692400A (en) * 2018-12-29 2019-04-30 深圳市腾迪医疗科技有限公司 A kind of cell electrodes pulse needle treating instrument
CN112382255A (en) * 2020-10-26 2021-02-19 清能德创电气技术(北京)有限公司 Music playing method based on alternating current servo system

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1165560A (en) * 1997-08-13 1999-03-09 Giatsuto:Kk Music score generating device by computer
JP2000295681A (en) * 1999-04-09 2000-10-20 Mega House:Kk Musical tone vibration imparting device
JP3895674B2 (en) * 2002-11-29 2007-03-22 アルプス電気株式会社 Vibration generator
KR100735444B1 (en) * 2005-07-18 2007-07-04 삼성전자주식회사 Method for outputting audio data and music image
CN101197970A (en) * 2007-12-28 2008-06-11 熊猫电子集团有限公司 Method for implementing music DIY on television
CN101252801B (en) * 2008-03-21 2012-05-23 中兴通讯股份有限公司 Method and apparatus for controlling light
JP2010224430A (en) * 2009-03-25 2010-10-07 Hachinohe Institute Of Technology Automatic music collection device, scale identification program, scale discrimination program, electric traditional stringed musical instrument music automatic collection system, and electric shamisen music automatic collection system
CN102587233A (en) * 2011-01-14 2012-07-18 交通运输部公路科学研究所 Pavement music generating method
CN103854644B (en) * 2012-12-05 2016-09-28 中国传媒大学 The automatic dubbing method of monophonic multitone music signal and device
JP6179871B2 (en) * 2013-04-09 2017-08-16 海爾集団公司 Music washing machine and control method
CN104580692B (en) * 2014-12-02 2017-03-08 广东欧珀移动通信有限公司 The method and device that a kind of mobile phone is danced with music
CN104778467B (en) * 2015-02-12 2018-03-06 北京邮电大学 A kind of music score of Chinese operas is taken pictures automatic broadcasting method
CN104811538A (en) * 2015-03-26 2015-07-29 努比亚技术有限公司 Audio-based breathing lamp control method and device
CN105635912A (en) * 2016-01-29 2016-06-01 深圳市因为科技有限公司 Luminous device and acousto-optic combination device
CN105788589B (en) * 2016-05-04 2021-07-06 腾讯科技(深圳)有限公司 Audio data processing method and device
CN106782460B (en) * 2016-12-26 2018-10-30 广州酷狗计算机科技有限公司 The method and apparatus for generating music score
CN112951198A (en) * 2019-11-22 2021-06-11 微软技术许可有限责任公司 Singing voice synthesis
CN112162721A (en) * 2020-09-10 2021-01-01 珠海市魅族科技有限公司 Music playing method and device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103932867A (en) * 2014-05-12 2014-07-23 江本旋 Music-driven vibration body builder
CN105763293A (en) * 2014-12-19 2016-07-13 北京奇虎科技有限公司 Method and system for playing music in sound wave-based data transmission
CN204709649U (en) * 2015-06-05 2015-10-21 哈尔滨市华宇医用电子仪器有限公司 Music electric energy fourteen channels therapeutic instrument
CN107393565A (en) * 2016-05-16 2017-11-24 青岛海尔洗衣机有限公司 A kind of method and washing machine using motor sounding
CN206676630U (en) * 2017-04-24 2017-11-28 漳州仂元工业有限公司 A kind of Miniature music fountain
CN109692400A (en) * 2018-12-29 2019-04-30 深圳市腾迪医疗科技有限公司 A kind of cell electrodes pulse needle treating instrument
CN112382255A (en) * 2020-10-26 2021-02-19 清能德创电气技术(北京)有限公司 Music playing method based on alternating current servo system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于FPGA的简易电子琴设计;王丽君;李萌;;电子科技(第05期);全文 *

Also Published As

Publication number Publication date
CN113963723A (en) 2022-01-21

Similar Documents

Publication Publication Date Title
US9078065B2 (en) System and method for displaying sound as vibrations
CN107393569A (en) Audio frequency and video clipping method and device
CN104219570B (en) Audio signal playing method and device
CN109348274B (en) Live broadcast interaction method and device and storage medium
KR20120126446A (en) An apparatus for generating the vibrating feedback from input audio signal
CN108831437A (en) A kind of song generation method, device, terminal and storage medium
Saitis et al. The role of haptic cues in musical instrument quality perception
CN110215607A (en) Massage method and device based on electro photoluminescence
WO2018038235A1 (en) Auditory training device, auditory training method, and program
CN107705776A (en) The System and method for that a kind of intelligent piano or so keyboard subregion uses
CN108600526A (en) Alarm clock control method and related product
CN110910895B (en) Sound processing method, device, equipment and medium
KR20110100283A (en) Method and system for adapting communications
CN109243479A (en) Acoustic signal processing method, device, electronic equipment and storage medium
CN113963723B (en) Music presentation method, device, equipment and storage medium
CN110968673A (en) Voice comment playing method and device, voice equipment and storage medium
CN107248406A (en) A kind of method and device for automatically generating terrible domestic animals song
CN112162721A (en) Music playing method and device, electronic equipment and storage medium
CN107871492A (en) Music synthesis method and system
Cantoni et al. Human and Machine Perception: information fusion
KR20070076942A (en) Apparatus and method for composing music in portable wireless terminal
JP2006251697A (en) Karaoke device
Friberg et al. Using perceptually defined music features in music information retrieval
JP2008092093A (en) Musical sound reproducing apparatus and program
Rigas et al. Experiments in using structured musical sound, synthesised speech and environmental stimuli to communicate information: is there a case for integration and synergy?

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
GR01 Patent grant
GR01 Patent grant