1. Field of the Invention
The present invention relates to an audio-controlling system, and more particularly to an audio-controlling system that generates an audio signal and a controlling command in synchronization so as to play the audio signal and start a function according to the controlling command.
2. Description of Related Art
Most of music players provide input device, such as bottoms, so that a user operates the input device of the music player to change different audio effect or adjust the volume to increase or decrease. In general, a user easily uses the input device of a portable music player, but always uses a remote control to control a high class of hi-fi equipment. For example, when the hi-fi equipment plays the music of an audio signal stored a CD or tape, the user often changes audio effects or adjusts the volume for the current music.
Further, lots of people have a music player at home or office and also have other electric devices, equipment or toy, of course, most of the electric devices provide the input device for users. Some of the electric devices, equipment or toy will be turned on when the music is playing. Therefore, the user has to turn on the music player, electric devices, equipment or toy one by one when the user would like to listen to the music. It is not convenient for user.
The main objective of the present invention is to provide an audio-controlling system that generates an audio signal and a controlling command in synchronization so as to play the audio signal and start a function according to the controlling command.
The audio-controlling system has a mixer and an audio playing and controlling device. The mixer mixes an external audio signal and a controlling signal and then outputs a mixed audio signal to the audio playing and controlling device. The audio playing and controlling device is connected to the mixer to receive the mixed audio signal, plays the mixed audio signal and executes action according to controlling signal of the mixed audio signal. Therefore, The audio playing unit plays audio signal and the decoding unit outputs command codes to the actuator in wire or wireless way, so that the actuator automatically operates at the same time.
Other objectives, advantages and novel features of the invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings.
With reference to
In the first embodiment, the controlling signal (S2) is consisted of multiple alternate low frequency sine wave signals (S21) and high frequency sine wave signals (S22). The amplitudes of the low and high frequency sine wave signals (S21, S22) are equal. For a binary command code, the low frequency sine wave signal (S21) may represent “1” bit and the high frequency since wave signal (S22) may represent “0” bit. The low and high frequency sine wave signals (S21, S22) are also respectively represent “0” bit and “1” bit of the binary command code. Therefore, to generate the controlling signal (S2) according to one binary command code “1010”, the controlling signal (S2) is consisted of alternate two low frequency sine wave signals (S21) and the two high frequency sine wave signals (S22).
The audio playing and controlling device (20) has an audio playing unit (21), a decoding unit (22) and an electrical actuator (23). The audio playing unit (21) is connected to the output of the mixer (10) so as to receive the mixed audio signal (S3). Since the amplitude of the controlling signal (S2) is lower than the external audio signal (S1), human ear does not hear the controlling signal (S2). The audio playing unit (21) directly plays the mixed audio signal (S3). The decoding unit (22) is also connected to the output of the mixer (10) to receive the mixed audio signal (S3). With further reference to
In the first embodiment, the filter (222) is a band pass filter. A center frequency of the band pass filter is equal to the frequency of the low frequency sine wave signal (S21), so the amplitudes of the high frequency sine wave signals (S22) is decreased. The amplitudes of the high frequency sine wave signals (S21) are lower than that of the low frequency sine wave signals (S22). Therefore, the filtered digital audio signal is decoded to the corresponding binary command code by the identifier (223). If the encoder (224) converters the binary command code to the octal command code, the encoder (224) is a binary to octal encoder. If the encoder (224) converters the binary command code to the hexadecimal command code, the encoder (224) is a binary to hexadecimal encoder. The decoding unit (21) may be implemented by a Digital Micro Control Unit (DMCU) that is a combination of a digital signal processor (DSP) and a micro control unit (MCU).
The electrical actuator (23) is connected to the decoding unit (224) and driven to execute different functions according to different command codes. The electrical actuator (23) may be wireless linked to the decoding unit (224). With further reference to
With reference to
With reference to
Since the audio playing circuit (21) of the music toy (20c) plays the audio signals, the mixed audio signal (S3) from the mixer (10) is played by the audio playing circuit (21). The controlling signals (S2) are generated according to different binary command codes, each of which is corresponding to the hexadecimal command codes stored inside the motor driver (23). After the mixer (10) mixes the controlling signals (S2) and the external audio signal (S1) for the music toy (20c), the mixer (10) outputs the mixed audio signal (S4) including different controlling signals (S2) therein to the music toy (20c). The audio playing circuit (21) of the music toy (20c) plays the mixed audio signal (S3) directly. At the time, the motor driver (23) receives the hexadecimal command codes from decoding unit (22) and then determines the controlling signals (S2) in sequence according to the hexadecimal command codes. Therefore, the music toy (20) automatically does actions during playing the mixed audio signal (S3) of the music. The music toy manufacturer may generate different controlling signal to match different audio signal of music.
Based on the foregoing description, the audio-controlling system may be different applications. The audio playing unit plays audio signal and the decoding unit outputs command codes to the actuator in wire or wireless way, so that the actuator automatically operates at the same time.
Even though numerous characteristics and advantages of the present invention have been set forth in the foregoing description, together with details of the structure and function of the invention, the disclosure is illustrative only. Changes may be made in detail, especially in matters of shape, size, and arrangement of parts within the principles of the invention to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.