CN109830220A - Switching method, electronic equipment and the storage medium of audio mode - Google Patents

Switching method, electronic equipment and the storage medium of audio mode Download PDF

Info

Publication number
CN109830220A
CN109830220A CN201811636874.0A CN201811636874A CN109830220A CN 109830220 A CN109830220 A CN 109830220A CN 201811636874 A CN201811636874 A CN 201811636874A CN 109830220 A CN109830220 A CN 109830220A
Authority
CN
China
Prior art keywords
audio
audio mode
instrument devices
key
delay time
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.)
Granted
Application number
CN201811636874.0A
Other languages
Chinese (zh)
Other versions
CN109830220B (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.)
Zhuhai Wei Ke Science And Technology Development Co ltd
Original Assignee
WEIKE ELECTRONIC SCIENCE-TECHNOLOGY DEVELOPMENT Co Ltd SHENZHEN
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 WEIKE ELECTRONIC SCIENCE-TECHNOLOGY DEVELOPMENT Co Ltd SHENZHEN filed Critical WEIKE ELECTRONIC SCIENCE-TECHNOLOGY DEVELOPMENT Co Ltd SHENZHEN
Priority to CN201811636874.0A priority Critical patent/CN109830220B/en
Publication of CN109830220A publication Critical patent/CN109830220A/en
Application granted granted Critical
Publication of CN109830220B publication Critical patent/CN109830220B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electrophonic Musical Instruments (AREA)

Abstract

The invention discloses a kind of switching methods of audio mode, are applied to instrument devices, and the instrument devices are equipped with key so that user's pressing enters audio mode, to change the result of broadcast that musical instrument is input to the music of the instrument devices;Method includes: whether detection audio key is triggered;If audio key is triggered, controls the instrument devices and enter audio mode and start timing;Whether detection audio key within preset first period is again triggered;If audio key is again triggered in preset first period, reclocking;Current timing time is recorded as to the delay time of audio, the instrument devices enter audio mode, according to delay time, control audio effect.The invention discloses a kind of electronic equipment and storage mediums.The switching method of audio mode of the invention can be achieved with the open and close of the audio mode of instrument devices without excessive operation, substantially increase the convenience of switching performance mode during instrument playing.

Description

Switching method, electronic equipment and the storage medium of audio mode
Technical field
The present invention relates to musical instruments field more particularly to a kind of switching method of audio mode, electronic equipment and deposit Storage media.
Background technique
Currently, the use performance of instrument devices increases many different styles in the playing procedure of musical instrument.Make When with changing the effect played when instrument devices, the key of long-pressing instrument devices is needed just to can enter mode for a period of time, then Trigger the time interval of key again by calculating as delay time.When needing to exit audio mode, need to grow herein Key can just exit audio mode.Long-pressing so is required to exiting audio mode again from entering audio mode, thus The convenience of execute-in-place can not be taken into account, while be easy to causeing the fault of performance.
Summary of the invention
For overcome the deficiencies in the prior art, the purpose of the present invention is to provide a kind of operating methods of instrument devices, increase The convenience of add operation.
A kind of switching method of audio mode, is applied to instrument devices, and the instrument devices are equipped with key so that user presses It is pressed into audio mode, to change the result of broadcast that musical instrument is input to the music of the instrument devices;The described method includes:
Whether detection audio key is triggered;
If the audio key is triggered, controls the instrument devices and enter audio mode and start timing;
Whether detection audio key within preset first period is again triggered;
If the audio key is again triggered in preset first period, reclocking;
Current timing time is recorded as to the delay time of audio, the instrument devices enter audio mode, according to institute Delay time is stated, audio effect is controlled.
Further, the method also includes:
After the instrument devices enter audio mode, if the audio key is not touched again in preset first time period Hair, the delay time are constant.
Further, after the instrument devices enter audio mode, the method also includes:
If current timing time when triggering the audio key again is more than the preset first time period, control It makes the instrument devices and exits the audio mode.
Further, the method also includes:
After the instrument devices enter audio mode, if triggering the current timing time of the audio key again in institute It states in preset first time period, reclocking, and the current existing delay time of timing time record substitution is made For the delay time of audio.
Further, according to the delay time, audio effect is controlled, the method also includes:
Each sound of the music of the input is repeated into the delay time.
Further, according to the delay time, audio effect is controlled, the method also includes:
The duration of a sound of each sound of the music of the input is set as the delay time.
Further, the instrument devices enter before audio mode, the method also includes:
Beat number per minute is converted by the delay time of the audio.
Further, the method also includes
The audio of the beat number per minute is superimposed to the music of the input.
A kind of electronic equipment, including memory, processor and program stored in memory, described program are configured It is executed at by processor, processor realizes the switching method of audio mode described in above-mentioned any one when executing described program.
A kind of storage medium, the storage medium are stored with computer program, and the computer program is executed by processor The switching method of audio mode described in the above-mentioned any one of Shi Shixian.
Compared with prior art, the beneficial effects of the present invention are: provide and a kind of only need to trample or press to be not necessarily to long-pressing The method of audio mode can be switched, method is simple and fast, improve the convenience of execute-in-place, when play the behaviour of musical instrument live Control property greatly improves.
Detailed description of the invention
Fig. 1 is the switching method flow diagram of the audio mode of first embodiment of the invention;
Fig. 2 is the flow diagram of alternative embodiment one of the invention;
Fig. 3 is the flow diagram of alternative embodiment two of the invention;
Fig. 4 is the flow diagram of alternative embodiment three of the invention;,
Fig. 5 is the switching method flow diagram of the audio mode of the second embodiment of the present invention;
Fig. 6 is the switching method flow diagram of the audio mode of the third embodiment of the present invention;
Fig. 7 is the structural schematic diagram of the electronic equipment of the embodiment of the present invention;
Specific embodiment
In the following, being described further in conjunction with attached drawing and specific embodiment to the present invention, it should be noted that not Under the premise of conflicting, new implementation can be formed between various embodiments described below or between each technical characteristic in any combination Example.
The embodiment of the present invention provides a kind of switching method of audio mode, is mainly used in instrument devices, and instrument devices are The musical instrument electronic equipment external when being played, musical instrument can be electric guitar, wooden guitar or electronic organ etc., and instrument devices can be with It is such as delay effect device, rate (rate) effect device, rhythm drum machine.For increasing the tone color or change of the song of profit instrument playing The effect of tone color changes the waveform of original sound, modulates or postpones the phase of sound wave, enhances a series of together with wave component etc. of sound wave Measure generates various special sound effects.Apply effect or influence to tone color, many musical instruments, chorus etc. all use it.The present invention discloses Audio mode switching method, can musical instrument connect instrument devices carry out audio mode switching it is simpler, will not generate Excessive operating procedure.
Please refer to Fig. 1, the switching method flow diagram for the audio mode that first embodiment of the invention provides, this method packet Include following step.
Step S101: whether detection audio key is triggered;
Instrument devices connect musical instrument, power on, and instrument devices are equipped with audio key, and instrument devices self-test audio key is It is no to be triggered, to change the audio mode played.Audio mode is that the audio-frequency information inputted to musical instrument is handled, so that again Specific music effect can be generated when secondary output audio-frequency information.
Step S103: if the audio key is triggered, the instrument devices is controlled and enters audio mode and starts timing;
Instrument devices detect that audio key is triggered once, and instrument devices enter audio mode, and instrument devices start Timing calculates the time that distance triggers audio key next time.
Step S105: whether detection audio key within preset first period is again triggered;
Preset first period is the maximum time value that the music that instrument devices generate musical instrument can be generated effect effect.
Step S107: if the audio key is again triggered in preset first period, reclocking;
If triggering audio key again in first time period, the timing of instrument devices stops, and saves current timing Time, preservation finish, and instrument devices restart timing.
Current timing time: being recorded as the delay time of audio by step S109, and the instrument devices enter audio mould Formula controls audio effect according to the delay time.
Set current timing time record to the delay time of audio, instrument devices enter audio mode, audio mould Formula is delay time to be applied to the music that musical instrument is input to instrument devices, and then make the music of instrument devices output with special Audio effect.After if instrument devices enter audio mode, if the audio key is not by again in preset first time period Triggering, then delay time is constant.
In the present embodiment, the music of instrument devices output has special audio effect, including but not limited to below Alternative embodiment mode.
Fig. 2 is please referred to, as an alternative embodiment of the present invention one flow diagram, according to delay time, control Audio effect, method further include:
Step S201: each sound of the music of the input is repeated into the delay time.
In the present embodiment, the switching method of audio mode can be used in Delay (delay) effect device, to realize delay Effect.By the repetition of each sound of the input music time equal with delay time.Specifically, triggering audio key twice Time be 500ms, the first period be 1000ms, input music to Delay effect device, then each sound of the music exported has The repetition of 500ms generates echo effect or audio mixing effect that delay is echoed.
Fig. 3 is please referred to, as an alternative embodiment of the present invention two flow diagram, according to delay time, control Audio effect, method further include:
Step S202: the duration of a sound of each sound of the music of the input is set as the delay time.
In the present embodiment, the duration of a sound of each sound of the input music is extended into the time equal with delay time.Tool Body, the time for triggering audio key twice is 500ms, and the first period was 1000ms, inputs music to instrument devices, then exports Each sound of music have the repetition of 500ms, generate echo effect or audio mixing effect that delay is echoed.
Fig. 4 is please referred to, as an alternative embodiment of the present invention three flow diagram, according to delay time, control Audio effect, method further include:
Step S203: beat number per minute is converted by the delay time of the audio.
In the present embodiment, the switching method of audio mode can be used in rhythm drum machine, by the delay time of the audio It is converted into beat number per minute.It should be understood that the first period was if the time for triggering audio key twice is 500ms 1000ms, then beat number per minute is 120BPM and bit time is 500ms, i.e., the beat of rhythm drum machine is the bat of 0.5s mono-.
Step S204: the audio of the beat number per minute is superimposed to the music of the input.
Set rhythm drum machine performance beat, by the rhythm of the rhythm be added to musical instrument input music, drill musical instrument Play the accompaniment that process also presets the rhythm drum machine of beat.
Fig. 5 is please referred to, is the stream of the switching method of the audio mode of the second embodiment of the present invention in the present embodiment Journey schematic diagram.The switching method of second embodiment and the switching method difference of first embodiment be, instrument devices enter sound After effect mode, this method include thes steps that as follows.
Step S301: if current timing time when triggering the audio key again is more than described preset first Period controls the instrument devices and exits the audio mode.
In the present embodiment, the audio key of instrument devices is triggered once after audio mode, and instrument devices are again Timing, if instrument devices enter a preparation and exit audio mould without triggering audio key in preset first time period The state of formula exits audio mode when triggering audio key again.It should be understood that if entering by mistake through audio mode, it is only necessary to etc. Wait be more than the time of first time period, audio key is triggered again, can close audio mode.
Fig. 6 is please referred to, is the stream of the switching method of the audio mode of the third embodiment of the present invention in the present embodiment Journey schematic diagram.The switching method of 3rd embodiment and the switching method difference of first embodiment be, instrument devices enter sound After effect mode, this method include thes steps that as follows.
Step S401: if triggering the current timing time of the audio key again in the preset first time period It is interior, reclocking, and current timing time record is substituted into the existing delay time as the delay time of audio.
In the present embodiment, if instrument devices are in audio mode, and there are delay times;Instrument devices will before Timing time is recorded as delay time, starts simultaneously at reclocking.If triggering audio mode again in first time period, newly The timing time of record substitutes delay time of the preceding paragraph timing time record as audio.
In above-described embodiment, it is only necessary to simply trample or flicking can make the unlatching for realizing the audio mode of instrument devices Or close, moreover it is possible to the selection of implementation pattern, it is simple and fast, improve the convenience of execute-in-place, when play the behaviour of musical instrument live Control property greatly improves.
Fig. 7 is please referred to, Fig. 7 is the structural schematic diagram of electronic equipment, electronic equipment 700 provided in an embodiment of the present invention, packet Include: memory 701 and processor 702, for storing computer program, which is held memory 701 by processor The switching method of above-mentioned audio mode is realized when row.
The method in electronic equipment and previous embodiment in the present embodiment be based on the same inventive concept under two sides Face is in front described in detail method implementation process, so those skilled in the art can be clear according to foregoing description Understand to Chu the implementation process of the electronic equipment in the present embodiment, in order to illustrate the succinct of book, details are not described herein again.
As seen through the above description of the embodiments, those skilled in the art can be understood that the present invention can It realizes by means of software and necessary general hardware platform.Based on this understanding, technical solution of the present invention essence On in other words the part that contributes to existing technology can be embodied in the form of software products.The invention further relates to one kind Storage medium, such as ROM/RAM, magnetic disk, CD, are stored thereon with computer program, when computer program is executed by processor Realize above-mentioned method.
The above embodiment is only the preferred embodiment of the present invention, and the scope of protection of the present invention is not limited thereto, The variation and replacement for any unsubstantiality that those skilled in the art is done on the basis of the present invention belong to institute of the present invention Claimed range.

Claims (10)

1. a kind of switching method of audio mode, is applied to instrument devices, the instrument devices are equipped with key for user's pressing Into audio mode, to change the result of broadcast that musical instrument is input to the music of the instrument devices;It is characterized in that, the method Include:
Whether detection audio key is triggered;
If the audio key is triggered, controls the instrument devices and enter audio mode and start timing;
Whether detection audio key within preset first period is again triggered;
If the audio key is again triggered in preset first period, reclocking;
Current timing time is recorded as to the delay time of audio, the instrument devices enter audio mode, prolong according to described When the time, control audio effect.
2. the switching method of audio mode according to claim 1, which is characterized in that the method also includes:
After the instrument devices enter audio mode, if the audio key is not again triggered in preset first time period, The delay time is constant.
3. the switching method of audio mode according to claim 1, which is characterized in that the instrument devices enter audio mould After formula, the method also includes:
If current timing time when triggering the audio key again is more than the preset first time period, institute is controlled It states instrument devices and exits the audio mode.
4. the switching method of audio mode according to claim 1, which is characterized in that the method also includes:
After the instrument devices enter audio mode, if triggering the current timing time of the audio key again described pre- If first time period in, reclocking, and current timing time record is substituted into the existing delay time as sound The delay time of effect.
5. the switching method of audio mode according to claim 1, which is characterized in that according to the delay time, control Audio effect, the method also includes:
Each sound of the music of the input is repeated into the delay time.
6. the switching method of audio mode according to claim 1, which is characterized in that according to the delay time, control Audio effect, the method also includes:
The duration of a sound of each sound of the music of the input is set as the delay time.
7. the switching method of audio mode according to claim 1, which is characterized in that the instrument devices enter audio mould Before formula, the method also includes:
Beat number per minute is converted by the delay time of the audio.
8. the switching method of audio mode according to claim 7, which is characterized in that the method also includes
The audio of the beat number per minute is superimposed to the music of the input.
9. a kind of electronic equipment, it is characterised in that: described including memory, processor and program stored in memory Program is configured to be executed by processor, and processor realizes the sound as described in any one of claim 1-8 when executing described program The switching method of effect mode.
10. a kind of storage medium, the storage medium is stored with computer program, it is characterised in that: the computer program quilt The switching method of the audio mode as described in any one of claim 1-8 is realized when processor executes.
CN201811636874.0A 2018-12-29 2018-12-29 Sound effect mode switching method, electronic equipment and storage medium Active CN109830220B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811636874.0A CN109830220B (en) 2018-12-29 2018-12-29 Sound effect mode switching method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811636874.0A CN109830220B (en) 2018-12-29 2018-12-29 Sound effect mode switching method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109830220A true CN109830220A (en) 2019-05-31
CN109830220B CN109830220B (en) 2023-09-08

Family

ID=66860067

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811636874.0A Active CN109830220B (en) 2018-12-29 2018-12-29 Sound effect mode switching method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109830220B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399247A (en) * 2020-11-18 2021-02-23 腾讯音乐娱乐科技(深圳)有限公司 Audio processing method, audio processing device and readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04275593A (en) * 1991-03-02 1992-10-01 Kawai Musical Instr Mfg Co Ltd Musical information input device
JP2005128208A (en) * 2003-10-23 2005-05-19 Yamaha Corp Performance reproducing apparatus and performance reproducing control program
JP2005195982A (en) * 2004-01-08 2005-07-21 Yamaha Corp Delay control electronic musical instrument and playing in concert system
EP1975920A2 (en) * 2007-03-30 2008-10-01 Yamaha Corporation Musical performance processing apparatus and storage medium therefor
CN101359467A (en) * 2007-08-01 2009-02-04 卡西欧计算机株式会社 Resonance sound adding apparatus for keyboard instrument
US20090249943A1 (en) * 2008-04-07 2009-10-08 Roland Corporation Electronic musical instrument
CN102984579A (en) * 2012-12-13 2013-03-20 青岛海信宽带多媒体技术有限公司 Realizing method for key sound effect of set-top box and set-top box
JP2015045829A (en) * 2013-08-29 2015-03-12 カシオ計算機株式会社 Touch detection device, touch detection method and program
CN104436648A (en) * 2014-11-12 2015-03-25 李宇峰 Audio visual rhythm game system and music extraction method thereof
CN105827849A (en) * 2016-04-28 2016-08-03 维沃移动通信有限公司 Method for adjusting sound effect and mobile terminal
CN106875931A (en) * 2017-04-07 2017-06-20 壹零(北京)乐器有限公司 Sound effect control device and intelligent musical instrument
CN207302612U (en) * 2017-05-22 2018-05-01 江西创成微电子有限公司 A kind of audio device
CN207558407U (en) * 2017-10-30 2018-06-29 丛林象(武汉)科技发展有限公司 Percussion instrument and multi-functional guitar

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04275593A (en) * 1991-03-02 1992-10-01 Kawai Musical Instr Mfg Co Ltd Musical information input device
JP2005128208A (en) * 2003-10-23 2005-05-19 Yamaha Corp Performance reproducing apparatus and performance reproducing control program
JP2005195982A (en) * 2004-01-08 2005-07-21 Yamaha Corp Delay control electronic musical instrument and playing in concert system
EP1975920A2 (en) * 2007-03-30 2008-10-01 Yamaha Corporation Musical performance processing apparatus and storage medium therefor
CN101359467A (en) * 2007-08-01 2009-02-04 卡西欧计算机株式会社 Resonance sound adding apparatus for keyboard instrument
US20090249943A1 (en) * 2008-04-07 2009-10-08 Roland Corporation Electronic musical instrument
CN102984579A (en) * 2012-12-13 2013-03-20 青岛海信宽带多媒体技术有限公司 Realizing method for key sound effect of set-top box and set-top box
JP2015045829A (en) * 2013-08-29 2015-03-12 カシオ計算機株式会社 Touch detection device, touch detection method and program
CN104436648A (en) * 2014-11-12 2015-03-25 李宇峰 Audio visual rhythm game system and music extraction method thereof
CN105827849A (en) * 2016-04-28 2016-08-03 维沃移动通信有限公司 Method for adjusting sound effect and mobile terminal
CN106875931A (en) * 2017-04-07 2017-06-20 壹零(北京)乐器有限公司 Sound effect control device and intelligent musical instrument
CN207302612U (en) * 2017-05-22 2018-05-01 江西创成微电子有限公司 A kind of audio device
CN207558407U (en) * 2017-10-30 2018-06-29 丛林象(武汉)科技发展有限公司 Percussion instrument and multi-functional guitar

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林小兰;李传珍;王晖;王京玲;: "基于贝叶斯理论的单音音乐节奏提取", 中国传媒大学学报(自然科学版), vol. 15, no. 04, pages 44 - 51 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399247A (en) * 2020-11-18 2021-02-23 腾讯音乐娱乐科技(深圳)有限公司 Audio processing method, audio processing device and readable storage medium

Also Published As

Publication number Publication date
CN109830220B (en) 2023-09-08

Similar Documents

Publication Publication Date Title
CN205121980U (en) System that guides is played to keyboard class musical instrument
US8772618B2 (en) Mixing automatic accompaniment input and musical device input during a loop recording
CN102969010B (en) Recording transcriber and recording reproducting method
CN105637579B (en) By switching between multiple groups Wave data come the technology of reproducing waveform
US7592533B1 (en) Audio loop timing based on audio event information
CN111009230B (en) Sound signal generating device, sound signal generating method, and recording medium
CN109830220A (en) Switching method, electronic equipment and the storage medium of audio mode
JP2014074781A (en) Audio file generation program and audio file generation device
CN104376840B (en) Sampler, keyboard instrument, sampling method and computer-readable recording medium
JP2009157063A (en) Performance evaluation apparatus, program and electronic musical instrument
US20210074250A1 (en) Resonance Sound Signal Generation Method, Resonance Sound Signal Generation Device, Non-Transitory Computer Readable Medium Storing Resonance Sound Signal Generation Program and Electronic Musical Apparatus
EP3709290B1 (en) Acoustic device and acoustic control program
JP2022191521A (en) Recording and reproducing apparatus, control method and control program for recording and reproducing apparatus, and electronic musical instrument
TWI733133B (en) Electronic keyboard aerial shot sound insertion auxiliary device, electronic keyboard tone color switching method and computer readable storage medium
JP3546739B2 (en) Automatic performance device and recording medium
US10805475B2 (en) Resonance sound signal generation device, resonance sound signal generation method, non-transitory computer readable medium storing resonance sound signal generation program and electronic musical apparatus
WO2020240874A1 (en) Musical sound processing device and musical sound processing method
CN106652985A (en) Drama computer musical instrument system
TWM587742U (en) Electronic piano blank beat note insertion auxiliary device
CN113724673B (en) Method for constructing rhythm type editor and generating and saving rhythm by rhythm type editor
JP5907227B1 (en) Musical sound control device, musical sound control method and program
JP5375869B2 (en) Music playback device, music playback method and program
JP2010185973A (en) Sound generation control device
CN206148140U (en) Recorded broadcast device
JP5742777B2 (en) Music playback device, music playback method, and music playback program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240515

Address after: 519000 No. 10, Keji 9th Road, Tangjiawan Town, high tech Zone, Zhuhai, Guangdong

Patentee after: Zhuhai Wei Ke science and Technology Development Co.,Ltd.

Country or region after: China

Address before: 507, building 1, Nanhai yiku, no.6, Xinghua Road, Shekou, Nanshan District, Shenzhen, Guangdong 518000

Patentee before: Cherub Technology Co.,Ltd.

Country or region before: China