A kind of multi-channel digital sound console and signal processing method thereofTechnical field
The present invention relates to audio transmission techniques field, relate in particular to a kind of multi-channel digital sound console and signal processing method thereof.
Background technology
Sound console claims again tuning control desk, it by multichannel input signal amplify, mixing, distribution and acoustics processing, be stage amplify and the system such as sound equipment program making in plays the visual plant with program recording.
Common sound console output channel just only has several roads, significantly increase along with the external stereo set of sound console, the input and output passage of sound console inside also needs to roll up, traditional simulation sound console cannot be processed huge numerous and diverse voiceband data signal, and large-scale multi-channel digital sound console occurs thereupon.
And current digital sound console, although compare and increased voice-grade channel number with traditional simulation sound console, but the special audio port number of its host processor chip is still limited, and be that direct route, fixing signal move towards scheme due to what adopt, thereby cannot access more audio frequency apparatus, can not meet the user demand of current complexity; , because its signalling channel is fixed, can not change, so all hommizations not such as its development and operation, redevelopment cost is high meanwhile.
Summary of the invention
The object of the present invention is to provide a kind of multi-channel digital sound console and signal processing method thereof, can expand flexibly voice-grade channel, access more audio frequency apparatus.
The object of the invention is to be achieved through the following technical solutions:
A kind of multi-channel digital sound console, comprise host processor chip and several audio frequency apparatuses, it is characterized in that, also comprise FPGA unit, it is connected respectively with each audio frequency apparatus with host processor chip, for receiving the voice-grade channel switching command of host processor chip and switching to accordingly corresponding voice-grade channel;
Described host processor chip, for carrying out voice data processing and voice-grade channel switching controls, completes after voice-grade channel switching in described FPGA unit, realizes end-to-end transmission of audio data.
Wherein, described host processor chip comprises ARM unit and DSP unit;
Described ARM unit, is connected with the SPI interface of described FPGA unit, for carrying out voice-grade channel switching controls, sends voice-grade channel switching command to FPGA unit;
Described DSP unit, carries out IIS protocol communication with described FPGA unit, for carrying out voice data processing, and by the FPGA unit audio frequency apparatus transmission data corresponding with current voice-grade channel.
Wherein, described DSP unit comprises He CongDSP unit, main DSP unit.
Wherein, described audio frequency apparatus comprises audio frequency tablet, audio frequency output board, SPDIF, USB sound card, internal effects device and/or external effects device.
A signal processing method for multi-channel digital sound console, comprises step:
For the voice-grade channel of each audio frequency apparatus is encoded respectively;
By host processor chip, to FPGA unit, sent voice-grade channel switching command, FPGA unit switches to corresponding voice-grade channel after to this command analysis;
After voice-grade channel handover success, carry out transfer of data.
Wherein, described voice-grade channel switching command comprises command code, voice-grade channel target, voice-grade channel source.
Compared with prior art, the embodiment of the present invention has following beneficial effect:
1) the present invention has set up the FPGA unit of a route handoff function in existing digital sound console, utilizes FPGA unit can carry out the expansion of interface, greatly increases voice-grade channel, and accessible more audio frequency apparatus, meets the user demand under complex environment; Can adjust neatly port again, and while adjusting without change owner processing platform more, strengthened flexibility and hommization, reduced development cost, shortened the construction cycle.
2) FPGA processes all operations and walks abreast, and switch speed is fast, does not have the time delay on sound during switching, also makes DSP need not spend extra resource to remove to process the noise bringing while switching.
Accompanying drawing explanation
Fig. 1 is the structural representation of the digital sound console that provides of the embodiment of the present invention.
Fig. 2 is the signal processing method flow chart of the digital sound console that provides of the embodiment of the present invention.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
Refer to shown in Fig. 1, in the present embodiment, digital sound console mainly comprises following part: host processor chip, FPGA unit and other audio frequency apparatuses.
Host processor chip comprises main DSP, from DSP, ARM.In the present embodiment, the SPI interface of ARM and FPGA unit simulation communicates, and to it, sends voice-grade channel switching command; Main DSP and mainly carry out voice data processing from DSP, carries out IIS protocol communication with FPGA unit respectively, in order to the voice data after FPGA unit transmission processing or receive the voice data that FPGA unit returns.
FPGA unit is connected between host processor chip and other audio frequency apparatus, plays route handoff function, after receiving the voice-grade channel switching command of ARM and it is resolved, switches corresponding voice-grade channel.
Audio frequency apparatus comprises audio frequency tablet, audio frequency output board, SPDIF, USB sound card, internal effects device, external effects device and other equipment; Each equipment has the audio interface of standard, carries out IIS protocol communication with FPGA unit, passes through FPGA unit and main DSP/ from DSP bi-directional transfer of data while switching to the voice-grade channel at its place in FPGA unit.
Refer to Fig. 2, in the present embodiment, the signal processing method of digital sound console comprises step:
201, for the voice-grade channel of each audio frequency apparatuses such as audio frequency tablet, audio frequency output board, SPDIF, USB sound card, internal effects device, external effects device is encoded respectively.
202, FPGA unit receives the voice-grade channel switching command of ARM, to switching to corresponding voice-grade channel after this command analysis.
In the present embodiment, complete voice-grade channel switching command data are four byte 0x********, and first byte represents that command code, inferior byte representation voice-grade channel target, the 3rd byte representation voice-grade channel source, nybble represent reserve code (highest byte is first byte).For example: 0x01_AA_55_00, wherein 01 is that command code, AA represent that voice-grade channel target, 55 represents voice-grade channel source, the 00th, retains position.
203, after voice-grade channel handover success, corresponding audio frequency apparatus by FPGA unit and main DSP/ from DSP bi-directional transfer of data.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.