CN109119053A - A kind of method for transmitting signals, device, electronic equipment and computer readable storage medium - Google Patents

A kind of method for transmitting signals, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN109119053A
CN109119053A CN201810900233.5A CN201810900233A CN109119053A CN 109119053 A CN109119053 A CN 109119053A CN 201810900233 A CN201810900233 A CN 201810900233A CN 109119053 A CN109119053 A CN 109119053A
Authority
CN
China
Prior art keywords
equipment
signal
audio
midi
audio signal
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
CN201810900233.5A
Other languages
Chinese (zh)
Other versions
CN109119053B (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.)
Wanaka (beijing) Technology Co Ltd
Original Assignee
Wanaka (beijing) Technology Co Ltd
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 Wanaka (beijing) Technology Co Ltd filed Critical Wanaka (beijing) Technology Co Ltd
Priority to CN201810900233.5A priority Critical patent/CN109119053B/en
Publication of CN109119053A publication Critical patent/CN109119053A/en
Application granted granted Critical
Publication of CN109119053B publication Critical patent/CN109119053B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0033Recording/reproducing or transmission of music for electrophonic musical instruments
    • G10H1/0041Recording/reproducing or transmission of music for electrophonic musical instruments in coded form
    • G10H1/0058Transmission between separate instruments or between individual components of a musical system
    • G10H1/0066Transmission between separate instruments or between individual components of a musical system using a MIDI interface

Abstract

The embodiment of the present invention discloses a kind of method for transmitting signals, device, electronic equipment and computer readable storage medium, belongs to field of data transmission, smart machine and the transmission of MIDI equipment room information can be made more convenient.Midi signal from the first equipment is modulated in preset audio carrier wave by the method for transmitting signals, to form the first audio signal;First audio signal is sent by audio connecting cord to the second equipment;Alternatively, receiving the second audio signal from the second equipment by audio connecting cord;Second audio signal is demodulated, to obtain midi signal.There is the corresponding module for realizing the above method on described device, electronic equipment and computer readable storage medium.The present invention is suitable for the signal transmission between smart machine and MIDI equipment.

Description

A kind of method for transmitting signals, device, electronic equipment and computer readable storage medium
Technical field
The present invention relates to field of data transmission more particularly to a kind of method for transmitting signals, device, electronic equipment and calculating Machine readable storage medium storing program for executing.
Background technique
It is that the mode calculated with numerical value processes signal with Digital Signal Processing, it is therefore an objective to the continuous of real world Analog signal is measured or is filtered.It and is that will have voice, sound in Digital Signal Processing subaudio frequency signal processing technology The frequency of the regular sound wave of happy audio allows masses to hear by digital-to-analogue conversion.It is clear that this signal processing technology Advantage and disadvantage it is very prominent, advantage is that its arithmetic speed is fast, have programmable characteristic and interface flexible, be very suitable to be applied to In the development of electronic product.And the disadvantage is that, for the processing between audio signal, have between signal input and output by one A external audio signal processor could be completed, this pursues the transmission of information between mobile nimble smart machine to present people Increase burden.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method for transmitting signals, device, electronic equipment and computer-readable Storage medium keeps smart machine and the transmission of MIDI equipment room information more convenient.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, the embodiment of the present invention provides a kind of method for transmitting signals: by the midi signal tune from the first equipment It makes in preset audio carrier wave, to form the first audio signal;First audio signal is passed through into audio connecting cord to second Equipment is sent;Alternatively, receiving the second audio signal from the second equipment by audio connecting cord;By second audio signal It is demodulated, to obtain midi signal.
With reference to first aspect, in the first embodiment of first aspect, first equipment be MIDI equipment, second Equipment is smart machine;It is described that the midi signal from the first equipment is modulated in preset audio carrier wave, to form the first sound Frequency signal includes: that the midi signal that MIDI equipment generates is converted to first audio signal by default AMC chip;It is described It includes: that first audio signal is passed through connection that first audio signal, which is sent by audio connecting cord to the second equipment, Microphone signal line between first equipment and second equipment is sent to second equipment.
With reference to first aspect, in second of embodiment of first aspect, first equipment be MIDI equipment, second Equipment is smart machine;It is described to include by second audio signal of the audio connecting cord reception from the second equipment: to pass through connection Earphone signal line between first equipment and second equipment receives the second audio letter from second equipment Number;It is described to demodulate second audio signal, it include: to believe second audio received to obtain midi signal Number midi signal is converted to by default AMC chip.
With reference to first aspect, in the third embodiment of first aspect, first equipment be smart machine, second Equipment is MIDI equipment;It is described that the midi signal from the first equipment is modulated in preset audio carrier wave, to form the first sound Frequency signal includes: that the midi signal from the first equipment is converted to first audio signal by predetermined software;It is described to incite somebody to action First audio signal includes: to pass through first audio signal to be connected to the transmission of the second equipment by audio connecting cord Earphone signal line between first equipment and second equipment is sent to second equipment.
With reference to first aspect, in the 4th kind of embodiment of first aspect, first equipment be smart machine, second Equipment is MIDI equipment;It is described to include by second audio signal of the audio connecting cord reception from the second equipment: to pass through connection Microphone signal line between first equipment and second equipment receives the second audio from second equipment Signal;It is described to demodulate second audio signal, it include: second audio that will be received to obtain midi signal Signal is converted to midi signal by predetermined software.
Any embodiment with reference to first aspect or in first to fourth kind of first aspect, the 5th of first aspect the It plants in embodiment, the described midi signal from the first equipment is modulated in preset audio carrier wave includes that use is following at least Midi signal from the first equipment is modulated in preset audio carrier wave by a kind of modulation system: frequency modulation(PFM), amplitude modulation, phase Position modulation.
The 5th kind of embodiment with reference to first aspect, in the 6th kind of embodiment of first aspect, the modulation of use Mode includes the frequency modulation(PFM);It is described the midi signal from the first equipment is modulated in preset audio carrier wave include: by The midi signal is encoded in a manner of binary, and each byte 8 bit, each bit are digital " 0 " or number " 1 ";It utilizes Digital " 0 " in the midi signal by the preset audio carrier modulation at first frequency, using in the midi signal Digital " 1 " is by the preset audio carrier modulation at second frequency, wherein the first frequency is different from the second frequency.
Second aspect, the present invention provide a kind of signal transmitting apparatus, comprising: modulation unit, for the first equipment will to be come from Midi signal be modulated in preset audio carrier wave, to form the first audio signal;Transmission unit is used for first audio Signal is sent by audio connecting cord to the second equipment;Receiving unit comes from the second equipment for receiving by audio connecting cord The second audio signal;Demodulating unit, for demodulating second audio signal, to obtain midi signal.
In conjunction with second aspect, in the first embodiment of second aspect, the modulation unit, be specifically used for by with Midi signal from the first equipment is modulated in preset audio carrier wave by lower at least one modulation system: frequency modulation(PFM), amplitude Modulation, phase-modulation.
In conjunction with the first embodiment of second aspect, in second of embodiment of second aspect, the modulation of use Mode includes the frequency modulation(PFM);The modulation unit includes: coding module, is used for the midi signal with binary side Formula coding, each byte 8 bit, each bit are digital " 0 " or number " 1 ";Modulation module, for utilizing the midi signal In digital " 0 " by the preset audio carrier modulation at first frequency, will be described using the number " 1 " in the midi signal Preset audio carrier modulation is at second frequency, wherein the first frequency is different from the second frequency.
The third aspect, the present invention provide a kind of electronic equipment, the electronic equipment include: shell, processor, memory, Circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory are arranged in circuit On plate;Power circuit, for each circuit or the device power supply for above-mentioned electronic equipment;Memory is for storing executable program Code;Processor runs journey corresponding with executable program code by reading the executable program code stored in memory Sequence, for executing aforementioned any method for transmitting signals.
Fourth aspect, the present invention provide a kind of computer readable storage medium, the computer-readable recording medium storage There is one or more program, one or more of programs can be executed by one or more processor, to realize this hair Any method for transmitting signals that bright embodiment provides.
The method for transmitting signals that the embodiment of the present invention provides, is modulated to default sound for the midi signal from the first equipment In frequency carrier wave, to form the first audio signal;First audio signal is sent by audio connecting cord to the second equipment;Or Person receives the second audio signal from the second equipment by audio connecting cord;Second audio signal is demodulated, with Obtain midi signal.The present invention makes an audio connecting cord as transport vehicle by Digital Signal Processing, sets intelligence The standby information transmission with MIDI equipment room is more convenient.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram of method for transmitting signals embodiment one of the present invention;
Fig. 2 is the schematic diagram of method for transmitting signals embodiment two of the present invention;
Fig. 3 is the embodiment of the present invention one and the schematic diagram that embodiment binary signal transmission method combines;
Fig. 4 is the schematic diagram of frequency modulating method one embodiment of the present invention;
Fig. 5 is the structural schematic diagram of signal transmitting apparatus of the present invention;
Fig. 6 is the structural schematic diagram of modulation unit of the present invention;
Fig. 7 is the structural schematic diagram of electronic equipment one embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described in detail with reference to the accompanying drawing.
It will be appreciated that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Base Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts it is all its Its embodiment, shall fall within the protection scope of the present invention.
Embodiment one
As shown in Figure 1, a kind of method for transmitting signals embodiment of the present invention, comprising:
Midi signal from the first equipment is modulated in preset audio carrier wave by step 101, to form the first audio letter Number.
The MIDI is the abbreviation of Musical Instrument Digital Interface, only a communication mark Standard, it is set up by electronic musical instrument manufacturers, to determine computer music program, synthesizer and other electronic audios Equipment intercourse information and control signal method.
The midi signal is musical instrument digital interface information, and the various information of musical instrument (such as pitch, strength, are stepped on The various control information such as plate) it is collectively expressed as standard digital information i.e. MIDI information, convenient for leading between electrophonic musical instrument and computer News.
Baseband signal to be transmitted (modulated signal) is exactly loaded into the process on high-frequency oscillation signal by so-called modulation, Its essence is moving baseband signal to going on high frequency carrier, that is, the process of frequency spectrum shift, it is therefore an objective to the mould to be transmitted Intend signal or digital signal conversion into the high-frequency signal of suitable transmission.Using midi signal as baseband signal in the present embodiment It moves on sound carrier, is transmitted in voice-grade channel with forming the first audio signal.
Optionally, described to be modulated from the midi signal of the first equipment in order to make midi signal be converted into audio signal Into preset audio carrier wave include the midi signal from the first equipment is modulated to using following at least one modulation system it is pre- If in sound carrier: frequency modulation(PFM), amplitude modulation, phase-modulation.
As an optional way, such as Fig. 4, the modulation system of use includes the frequency modulation(PFM);It is described to be set from first It includes: to encode the midi signal in a manner of binary that standby midi signal, which is modulated in preset audio carrier wave b, each word Save 8 bit, each bit is that (midi signal is encoded into binary baseband signal, such as Fig. 4 at this time for digital " 0 " or number " 1 " It is middle a);The preset audio carrier wave b is modulated into first frequency using the digital " 0 " in the midi signal, using described The preset audio carrier wave b is modulated into second frequency by the number " 1 " in midi signal, wherein the first frequency with it is described Second frequency difference (c in such as Fig. 4).
Optionally, the frequency range of the preset audio carrier wave are as follows: 0-44.1kHz.
Step 102 sends first audio signal by audio connecting cord to the second equipment.
As shown in figure 3, in the first embodiment of the present embodiment, first equipment is MIDI equipment 1, described second Equipment is smart machine 2 (such as iPhone, Android intelligent, tablet computer), (no using 3.25mm audio connecting cord It is limited to 3.25mm audio connecting cord, the model of audio connecting cord can be replaced according to the demand in practical application) it is carried as transmission Body, one end are connected on smart machine 2, and the other end is connected to MIDI equipment 1 by AMC chip 5.It is described to come from the first equipment Midi signal be modulated in preset audio carrier wave, include to form the first audio signal: the MIDI that MIDI equipment 1 is generated believes Number first audio signal is converted to by default AMC chip 5;It is described that first audio signal is passed through into audio connecting cord It include: by first audio signal by being connected between first equipment and second equipment to the transmission of the second equipment Microphone signal line 3 sent to second equipment.The present embodiment makes an audio connection by Digital Signal Processing Line transmits information to smart machine 2 to MIDI equipment 1 and brings convenience, keep audio signal transmission more succinct as transport vehicle It is convenient.
Optionally, the AMC chip 5 can with integrated on audio connecting cord, also can integrate in MIDI equipment 1 On, the AMC chip 5 has the modulation algorithm that midi signal is modulated to the first audio signal.
As shown in figure 3, in second of embodiment of the present embodiment, first equipment be smart machine 2 (such as IPhone, Android intelligent, tablet computer etc.);Second equipment is MIDI equipment 1, is connected using 3.25mm audio Line (being not limited to 3.25mm audio connecting cord, the model of audio connecting cord can be replaced according to the demand in practical application) is as biography Transmission carrier, one end are connected on smart machine 2, and the other end is connected to MIDI equipment 1.It is described to believe from the MIDI of the first equipment It number is modulated in preset audio carrier wave, includes to form the first audio signal: will pass through from the midi signal of the first equipment pre- If software is converted to first audio signal.It is described to send out first audio signal to the second equipment by audio connecting cord Sending includes: earphone signal line by first audio signal by being connected between first equipment and second equipment 4 send to second equipment.The present embodiment makes an audio connecting cord as transport vehicle by Digital Signal Processing, Information is transmitted to MIDI equipment 1 to smart machine 2 and brings convenience, facilitates audio signal transmission more succinctly.
Optionally, the predetermined software is the software installed on smart machine 2, and the predetermined software has midi signal It is modulated to the modulation algorithm of audio signal.
Embodiment two
As shown in Fig. 2, a kind of method for transmitting signals embodiment of the present invention, comprising:
Step 201 receives the second audio signal from the second equipment by audio connecting cord.
Step 202 demodulates second audio signal, to obtain midi signal.
In the present embodiment, to enable MIDI equipment 1 to receive the signal from smart machine 2, by the second audio signal solution Midi signal is adjusted to identify for MIDI equipment 1;Wherein, the demodulating process of the second audio signal is that first will be come from step 101 The midi signal of equipment is modulated to the inverse operation process that the first audio signal is formed in preset audio carrier wave.
As shown in figure 3, in the first embodiment of the present embodiment, first equipment is MIDI equipment 1, described second Equipment is smart machine 2 (such as iPhone, Android intelligent, tablet computer), (no using 3.25mm audio connecting cord It is limited to 3.25mm audio connecting cord, the model of audio connecting cord can be replaced according to the demand in practical application) it is carried as transmission Body, one end are connected on smart machine 2, and the other end is connected to MIDI equipment 1;Described received by audio connecting cord comes from second Second audio signal of equipment includes: passing through the earphone signal line 4 being connected between first equipment and second equipment Receive the second audio signal from second equipment.It is described to demodulate second audio signal, to obtain MIDI Signal includes: that second audio signal that will be received is converted to midi signal by predetermined software.The present embodiment passes through number Word signal processing technology makes an audio connecting cord as transport vehicle, transmits information to MIDI equipment 1 to smart machine 2 and brings Convenience, facilitates audio signal transmission more succinctly.
Optionally, the predetermined software is the software installed on smart machine 2, and the predetermined software has audio signal It is demodulated into the demodulating algorithm of midi signal.
As shown in figure 3, in second of embodiment of the present embodiment, first equipment be smart machine 2 (such as IPhone, Android intelligent, tablet computer etc.), second equipment is MIDI equipment 1, is connected using 3.25mm audio Line (being not limited to 3.25mm audio connecting cord, the model of audio connecting cord can be replaced according to the demand in practical application) is as biography Transmission carrier, one end are connected on smart machine 2, and the other end is connected to MIDI equipment 1 by AMC chip 5;It is described to be connected by audio Wiring receives the second audio signal from the second equipment: the received by audio connecting cord from the second equipment Two audio signals include: by the microphone signal line 3 that is connected between first equipment and second equipment receive come From the second audio signal of second equipment.It is described to demodulate second audio signal, to obtain midi signal packet It includes: second audio signal received is converted into midi signal by default AMC chip 5.The present embodiment passes through number Signal processing technology makes an audio connecting cord as transport vehicle, transmits information to smart machine 2 to MIDI equipment 1 and brings It is convenient, facilitate audio signal transmission more succinctly.
Optionally, the AMC chip 5 can with integrated on audio connecting cord, also can integrate in MIDI equipment 1 On, the AMC chip 5 has the demodulating algorithm that the second audio signal is demodulated into midi signal.
A kind of method for transmitting signals that the embodiment of the present invention one and embodiment two provide, by the MIDI from the first equipment Signal modulation is into preset audio carrier wave, to form the first audio signal;First audio signal is passed through into audio connecting cord It is sent to the second equipment;Alternatively, receiving the second audio signal from the second equipment by audio connecting cord;By second sound Frequency signal is demodulated, to obtain midi signal.This way it is not necessary to external audio signal processor, it is only necessary to pass through one Audio connecting cord is as transport vehicle, so that it may realize the information interchange between the first equipment and the second equipment, be smart machine 2 Transmission with 1 information of MIDI equipment offers convenience, and facilitates audio signal transmission more succinctly.
Embodiment three
As shown in figure 5, a kind of signal transmitting apparatus of the embodiment of the present invention, comprising:
Modulation unit, for the midi signal from the first equipment to be modulated in preset audio carrier wave, to form first Audio signal;
In the embodiment of the present invention, when the first equipment transmits midi signal outward by audio connecting cord, modulation unit will Midi signal from the first equipment is modulated in preset audio carrier wave, is passed in voice-grade channel with forming the first audio signal It is defeated.
Transmission unit, for sending first audio signal to the second equipment by audio connecting cord;
In the embodiment of the present invention, the midi signal from the first equipment is modulated to the first audio signal by modulation unit Afterwards, the first audio signal is transferred to the second equipment by the audio connecting cord of transmission unit.
Receiving unit, for receiving the second audio signal from the second equipment by audio connecting cord;
In the embodiment of the present invention, when the second equipment transmits the second audio signal outward, the second audio signal passes through reception The audio connecting cord of unit transmits.
Demodulating unit, for demodulating second audio signal, to obtain midi signal.
In the embodiment of the present invention, the demodulating process of the demodulating unit is the inverse fortune of the modulated process of above-mentioned modulation unit It calculates, demodulating unit demodulates the second audio signal from receiving unit, is identified with obtaining midi signal for the first equipment.
As an alternative embodiment, the modulation unit, specifically for that will be come from by following at least one modulation system The midi signal of first equipment is modulated in preset audio carrier wave: frequency modulation(PFM), amplitude modulation, phase-modulation.
As shown in fig. 6, the modulation system of use includes the frequency modulation(PFM) as an alternative embodiment;
The modulation unit includes:
Coding module, for the midi signal to be encoded in a manner of binary, each byte 8 bit, each bit For digital " 0 " or number " 1 ";
Modulation module, for utilizing the digital " 0 " in the midi signal by the preset audio carrier modulation at first Frequency, using the number " 1 " in the midi signal by the preset audio carrier modulation at second frequency, wherein described One frequency is different from the second frequency.
Example IV
Fig. 7 is the structural schematic diagram of electronic equipment one embodiment of the present invention, be may be implemented shown in Fig. 1 or Fig. 2 of the present invention The process of embodiment, as shown in fig. 7, above-mentioned electronic equipment may include: shell 41, processor 42, memory 43, circuit board 44 With power circuit 45, wherein circuit board 44 is placed in the space interior that shell 41 surrounds, and processor 42 and the setting of memory 43 exist On circuit board 44;Power circuit 45, for each circuit or the device power supply for above-mentioned electronic equipment;Memory 43 is for storing Executable program code;Processor 42 is run and executable journey by reading the executable program code stored in memory 43 The corresponding program of sequence code, for executing the method for playing video using web browser described in aforementioned any embodiment.
Processor is to the specific implementation procedures of above-mentioned steps and processor by operation executable program code come into one The step of step executes, may refer to the description of the above embodiment of the present invention, details are not described herein.
The electronic equipment exists in a variety of forms, including but not limited to:
(1) mobile communication equipment: the characteristics of this kind of equipment is that have mobile communication function, and to provide speech, data Communication is main target.This Terminal Type includes: smart phone (such as iPhone), multimedia handset, functional mobile phone and low Hold mobile phone etc..
(2) super mobile personal computer equipment: this kind of equipment belongs to the scope of personal computer, there is calculating and processing function Can, generally also have mobile Internet access characteristic.This Terminal Type includes: PDA, MID and UMPC equipment etc., such as iPad.
(3) portable entertainment device: this kind of equipment can show and play multimedia content.Such equipment include: audio, Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server: providing the equipment of the service of calculating, and the composition of server includes that processor, hard disk, memory, system are total Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other electronic equipments with data interaction function.
Embodiment five
A kind of computer readable storage medium, the computer-readable recording medium storage have one or more program, One or more of programs can be executed by one or more processor, to realize any letter of previous embodiment offer Number transmission method.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence " including one ... ", it is not excluded that There is also other identical elements in the process, method, article or apparatus that includes the element.
Each embodiment in this specification is all made of relevant mode and describes, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.
For Installation practice, since it is substantially similar to the method embodiment, so the comparison of description is simple Single, the relevent part can refer to the partial explaination of embodiments of method.
For convenience of description, description apparatus above is to be divided into various units/modules with function to describe respectively.Certainly, exist Implement to realize each unit/module function in the same or multiple software and or hardware when the present invention.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (10)

1. a kind of method for transmitting signals, which is characterized in that
Midi signal from the first equipment is modulated in preset audio carrier wave, to form the first audio signal;By described One audio signal is sent by audio connecting cord to the second equipment;
Alternatively,
The second audio signal from the second equipment is received by audio connecting cord;Second audio signal is demodulated, To obtain midi signal.
2. method for transmitting signals according to claim 1, which is characterized in that first equipment be MIDI equipment, second Equipment is smart machine;
It is described that the midi signal from the first equipment is modulated in preset audio carrier wave, include to form the first audio signal:
The midi signal that MIDI equipment generates is converted into first audio signal by default AMC chip;
It is described to include: to the transmission of the second equipment by audio connecting cord by first audio signal
First audio signal is passed through into the microphone signal line that is connected between first equipment and second equipment It is sent to second equipment.
3. method for transmitting signals according to claim 1, which is characterized in that first equipment be MIDI equipment, second Equipment is smart machine;
It is described to include by second audio signal of the audio connecting cord reception from the second equipment:
It is received by the earphone signal line being connected between first equipment and second equipment from second equipment The second audio signal;
It is described to demodulate second audio signal, include: to obtain midi signal
Second audio signal received is converted into midi signal by default AMC chip.
4. method for transmitting signals according to claim 1, which is characterized in that first equipment be smart machine, second Equipment is MIDI equipment;
It is described that the midi signal from the first equipment is modulated in preset audio carrier wave, include to form the first audio signal:
Midi signal from the first equipment is converted into first audio signal by predetermined software;
It is described to include: to the transmission of the second equipment by audio connecting cord by first audio signal
By first audio signal by the earphone signal line that is connected between first equipment and second equipment to Second equipment is sent.
5. method for transmitting signals according to claim 1, which is characterized in that first equipment be smart machine, second Equipment is MIDI equipment;
It is described to include by second audio signal of the audio connecting cord reception from the second equipment:
It is received by the microphone signal line being connected between first equipment and second equipment and is set from described second The second standby audio signal;
It is described to demodulate second audio signal, include: to obtain midi signal
Second audio signal received is converted into midi signal by predetermined software.
6. method for transmitting signals according to any one of claim 1 to 5, which is characterized in that described to be set from first It includes using following at least one modulation system will be from the first equipment that standby midi signal, which is modulated in preset audio carrier wave, Midi signal is modulated in preset audio carrier wave: frequency modulation(PFM), amplitude modulation, phase-modulation.
7. method for transmitting signals according to claim 6, which is characterized in that the modulation system of use includes the frequency tune System;
The described midi signal from the first equipment is modulated in preset audio carrier wave include:
The midi signal is encoded in a manner of binary, each byte 8 bit, each bit are digital " 0 " or number "1";
The preset audio carrier modulation is utilized into the MIDI at first frequency using the digital " 0 " in the midi signal Number " 1 " in signal is by the preset audio carrier modulation at second frequency, wherein the first frequency and second frequency Rate is different.
8. method for transmitting signals according to any one of claim 1 to 5, which is characterized in that the preset audio carrier wave Frequency range are as follows: 0-44.1kHz.
9. a kind of signal transmitting apparatus characterized by comprising
Modulation unit, for the midi signal from the first equipment to be modulated in preset audio carrier wave, to form the first audio Signal;
Transmission unit, for sending first audio signal to the second equipment by audio connecting cord;
Receiving unit, for receiving the second audio signal from the second equipment by audio connecting cord;
Demodulating unit, for demodulating second audio signal, to obtain midi signal.
10. signal transmitting apparatus according to claim 9, which is characterized in that the modulation unit, be specifically used for by with Midi signal from the first equipment is modulated in preset audio carrier wave by lower at least one modulation system: frequency modulation(PFM), amplitude Modulation, phase-modulation.
CN201810900233.5A 2018-08-08 2018-08-08 Signal transmission method and device, electronic equipment and computer readable storage medium Active CN109119053B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810900233.5A CN109119053B (en) 2018-08-08 2018-08-08 Signal transmission method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810900233.5A CN109119053B (en) 2018-08-08 2018-08-08 Signal transmission method and device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109119053A true CN109119053A (en) 2019-01-01
CN109119053B CN109119053B (en) 2021-07-02

Family

ID=64852114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810900233.5A Active CN109119053B (en) 2018-08-08 2018-08-08 Signal transmission method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109119053B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5946604A (en) * 1994-11-25 1999-08-31 1-O-X Corporation MIDI port sound transmission and method therefor
US5982816A (en) * 1994-05-02 1999-11-09 Yamaha Corporation Digital communication system using packet assembling/disassembling and eight-to-fourteen bit encoding/decoding
JP2004109280A (en) * 2002-09-17 2004-04-08 Yamaha Corp Method, apparatus and program for imparting musical sound effect
CN1667698A (en) * 2005-04-25 2005-09-14 北京中星微电子有限公司 MIDI cell phone system and method for realizing MIDI music therein
US20070061266A1 (en) * 2005-02-01 2007-03-15 Moore James F Security systems and methods for use with structured and unstructured data
CN101641732A (en) * 2007-03-22 2010-02-03 高通股份有限公司 Musical instrument digital interface hardware instruction set
CN102150203A (en) * 2008-03-20 2011-08-10 弗劳恩霍夫应用研究促进协会 Apparatus and method for converting an audio signal into a parameterized representation, apparatus and method for modifying a parameterized representation, apparatus and method for synthensizing a parameterized representation of an audio signal
CN102394979A (en) * 2011-11-07 2012-03-28 武汉天喻信息产业股份有限公司 Method for performing high-speed data transmission through communication earphone interface
CN103873675A (en) * 2012-12-18 2014-06-18 上海晨兴希姆通电子科技有限公司 Mobile terminal and ring tone customizing method
CN106098038A (en) * 2016-08-03 2016-11-09 杭州电子科技大学 The playing method of many tracks MIDI file in a kind of automatic piano playing system
CN106878125A (en) * 2013-10-25 2017-06-20 美国亚德诺半导体公司 Dual-wire communications system and application

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5982816A (en) * 1994-05-02 1999-11-09 Yamaha Corporation Digital communication system using packet assembling/disassembling and eight-to-fourteen bit encoding/decoding
US5946604A (en) * 1994-11-25 1999-08-31 1-O-X Corporation MIDI port sound transmission and method therefor
JP2004109280A (en) * 2002-09-17 2004-04-08 Yamaha Corp Method, apparatus and program for imparting musical sound effect
US20070061266A1 (en) * 2005-02-01 2007-03-15 Moore James F Security systems and methods for use with structured and unstructured data
CN1667698A (en) * 2005-04-25 2005-09-14 北京中星微电子有限公司 MIDI cell phone system and method for realizing MIDI music therein
CN101641732A (en) * 2007-03-22 2010-02-03 高通股份有限公司 Musical instrument digital interface hardware instruction set
CN102150203A (en) * 2008-03-20 2011-08-10 弗劳恩霍夫应用研究促进协会 Apparatus and method for converting an audio signal into a parameterized representation, apparatus and method for modifying a parameterized representation, apparatus and method for synthensizing a parameterized representation of an audio signal
CN102394979A (en) * 2011-11-07 2012-03-28 武汉天喻信息产业股份有限公司 Method for performing high-speed data transmission through communication earphone interface
CN103873675A (en) * 2012-12-18 2014-06-18 上海晨兴希姆通电子科技有限公司 Mobile terminal and ring tone customizing method
CN106878125A (en) * 2013-10-25 2017-06-20 美国亚德诺半导体公司 Dual-wire communications system and application
CN106098038A (en) * 2016-08-03 2016-11-09 杭州电子科技大学 The playing method of many tracks MIDI file in a kind of automatic piano playing system

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
CAMILLA VASKE,等: "Velody – A Novel Method for Music Steganography", 《IEEE XPLORE》 *
彭妙颜: "《数字声频设备与系统工程》", 28 February 2006 *
路璐: "数字式频率调制乐音合成器XDC18A芯片的研究与设计", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
铁路职工岗位培训教材编审委员会: "《铁路通信工(通用基础知识)》", 30 June 2014, 北京:中国铁道出版社 *

Also Published As

Publication number Publication date
CN109119053B (en) 2021-07-02

Similar Documents

Publication Publication Date Title
KR101646586B1 (en) Sending device
US20050254344A1 (en) Data transmission system and method using sound waves
WO2007080474A3 (en) Modem for communicating data over a voice channel of a communications system
CN107171738A (en) The apparatus and method that ultrasonic propagation is carried out to audio
CN204029175U (en) A kind of point-of-reading system and talking pen with audio frequency and video playing function
CN109076280A (en) Earphone system customizable by a user
CN103237282A (en) Wireless audio processing equipment, wireless audio player and working method thereof
CN201804455U (en) Click-to-read device capable of realizing wireless transmission function
Gupta Fourier transform and its application in cell phones
JP2009518935A (en) Communication systems that use frequencies according to information security protection and transmission distance
CN207166497U (en) The device of ultrasonic propagation is carried out to audio
CN101809913B (en) Interference mitigation for impulse-based communication
CN211702287U (en) Omnidirectional link system for wireless action karaoke
CN109119053A (en) A kind of method for transmitting signals, device, electronic equipment and computer readable storage medium
CN109830242B (en) Method and system for coding communication by using audio
CN207966489U (en) A kind of requesting songs system
JP2008211766A (en) Digital modulator, modulation method, fm transmitter employing the same, and electronic device
CN209105391U (en) A kind of wireless headset
CN204859528U (en) Intelligence earphone with baroceptor
CN207926902U (en) A kind of audio playing apparatus and system
CN102005232A (en) Terminal with music and lyric sharing function
CN107018021B (en) Software upgrading processing method, device and terminal
CN104123517A (en) Data information transmitting method and device
CN103051779A (en) Method for prompting incoming call/incoming message of mobile phone and device thereof
TW200507472A (en) Transmitters providing cycle encoded signals

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