201039658 六、發明說明: 【發明所屬之技術領域】 本發明係關於一種聲音控制系統,尤指一種音頻訊號 包含一控制訊號,可在播放聲音的同時並控制其他致動裝 【先前技術】 〇201039658 VI. Description of the Invention: [Technical Field] The present invention relates to a sound control system, and more particularly to an audio signal including a control signal for playing sound while controlling other actuators. [Prior Art]
隨著音樂數位化的技術愈趨成熟,再加上各種音樂播 放器的商品價格亦趨低廉,現代人的生活與音樂播放器(如 DVD Player)有著更密不可分的關係。在許多一般的家庭 中,也會購買音樂播放器,並結合一組擴大機與其所匹配 的曰響设備,組合成為一個家庭劇院組,在家享受有如在 電影院影音的高級饗宴。 一般而言,不同的音樂曲風需要透過不同的音場來呈 現出音樂的效果,而一般的家庭劇院組在播放不同的音樂 曲風時1需要透過手動的方式來設定擴大機的音場呈現 不同的音樂曲風的效果,也就是說,#當家庭劇院組播放 不同的音樂曲風時,就必項典音未 就乂 /頁倚靠使用者手動設定擴大機的 音場來呈現出不同的立坐品田从田 ^ a樂曲風效果,在使用上,擴大機無 法自動隨著不同的音樂曲厨 曰眾曲風自動改變與之對應的音場或其 匕相應的控制,而並非所古你田土 h 亚非所有使用者都具有調整適合各種樂 曲的音效’而無法聆聽最佳的音樂内容。 【發明内容】 為解決上逃問題 本發明的目的係提供一聲音控制系 3 201039658 統,可依據音樂播放器播放不同的音樂曲風,自動控制擴 大機調整與該樂曲匹配的音效,並可作其它控制應用。 為達成前述目的所使用的主要技術手段係令聲音控制 系統包含有: 一混音器,係將一原始音頻訊號及一控制訊號混合成 一個混音訊號後輸出; -播音暨控制裝置,係與該混音器連線,並接收該混 音器產生的混音訊號,以直接播放該混音訊號,並依據控 Ο 制訊號產生對應之動作;又該播音暨控制裝置係包含有: 一播音單元,係連結至該混音器,以接收該混音訊號 並直接播放之; 一解碼單元,係連接至該混音器’以接收該混音訊號, 以擷取該混音訊號中的控制訊號;及 一致動單元,係連結至該解碼單元,以取得該控制訊 號並依據控制訊號動作。 利用上述技術手段,當音樂播放器在播放混音訊號 〇 時,不僅可直接播放音樂,亦可另外透過該解碼單元擷取 出控制訊號’並輸入至該致動單元,該致動單元係依據該 控制訊號執行相對應的動作。 以應用於家庭劇院組來說,該播音單元即是其中音樂 播放裝置’而擴大機則為致動單元,其中控制訊號即依據 擴大機内控制用的命令碼對應設置,因此當混入該等控制 訊號的混音訊號由播音單元播放時,控制訊號即由該解碼 單元自混音訊號擷取出,進而直接輸出並控制該擴大機; 是以,各種樂曲的音頻訊號可與不同的控制訊號進行混 4 201039658 合,以於播放時自動控制擴大機產生匹配的音效。 【實施方式】 請參閱第三圖,係為本發明聲音控制系統的方塊圖, 其包含有一 /¾•音器(1〇)及一播音暨控制裝置(2〇)。 請參閱第一圖,上述混音器(1〇)係將一音頻訊號及— 控制訊號混合成一個混音訊號後輸出。為使控制訊號與音 頻訊號此音後,該混音訊號仍能於__般音樂播放器播出丨 〇該控制訊號係-連串頻率介於15kHz至2〇kHz的正弦波, 並限制其振幅大小,以避免該控制訊號為人耳可聽及之音 頻訊號。 s 以下進一步以二進制控制碼加以說明控制訊號產生方 式的較佳實施例, 〇 誠如上述控制訊號為一正弦波,而為表示二進制控制 碼,係調制該正弦波的頻率,即以變頻方式表示該控制訊 號的位元,與位元▼,且該控制訊號中的位元” i,,及位 分別:占有不同的時間區間;於本實施例中當控制碼 :70 1時’即§周制正弦波頻率為相對低頻且時間區間 較長,如控制碼為位元“0”日寺,則調制該正弦波呈相對古 頻且時間區間較短,令轉換後的控制訊號為—連串頻率介 2的正弦波。反之,控制碼,的位元頻;;,: 以相對尚頻且時間區間較短的正弦波表示之,而位元,, 相對低頻且時間區間較長的正弦波表示之。是以… 進制:制碼即能藏入音頻訊號中,而不影響音頻訊號。- i於本發明的播音替批在丨丨壯 —控制裝置(20)則於接收該混音器 5 201039658 (1 〇)產生的混音訊號後,直接播放該混音訊號,並依據控 制訊號產生對應之動作。其中該播音暨控制裝置(20)—較佳 實施例係包含有: 一播音單元(21),係連結至該混音器(1〇),以接收該混 音訊號’由於該二進制控制碼被調制為控制訊號時,該控 制訊號的振幅被限制在人耳所無法聽及的範圍,故可直接 播放該混音訊號; 一解碼單元(22) ’係連接於該混音器(10),以接收該混 〇 音訊號’以擷取該混音訊號中的控制訊號;及 一致動單元(23),係連結至該解碼單元(22),以取得該 控制訊號並依據控制訊號動作;該致動單元(23)可與解碼單 元(22)以有線或無線方式連結之。 由於上述混音器(10)混合之後的混音訊號包含了原始的 音頻訊號與控制訊號,當播放混音訊號的同時,該解碼單 元(22)可由§亥混音訊號揭取該控制訊號,依據該控制訊號控 制致動單元(23)產生相對應用的動作。 Ο 更進一步來說,請參閱第二圖,係上述解碼單元(22) 一較佳實施例,其係為一 DMCU解碼器,即由—數位訊號 處理(DSP)及微控制器(MCU)所組成,其包含有: 一類比數位轉換單元(221 ),係對該混音器(1 〇)輸出的 混音訊號進行取樣並輸出一數位弦波訊號; 慮波器(222) ’係連接至該類比數位轉換單元(221), 以接收該數位弦波訊號’並擷取數位弦波訊號中其中一組 頻率訊號’並將該組過濾頻率訊號輸出;於本實施例中, 該濾波器係一帶通濾波器,其中心頻率為該控制訊號中相 6 201039658 以使該控制訊號中相對低頻頻率訊號通過, 大二Γ 率訊號對應位元”1,,時間區間的強度會連 大於對應位元,,〇,,的時間區間訊號強度; 會遠 一辨識器(223),係連接於該濾波% (222),以連 自該组過濾頻率訊號,並依據時 收 過谅糖產。 依據時間&間及訊號強度對該組 過濾頻率訊唬辨識出所有二進 說,當檢知到大訊號強度且::::二本 元” i,,,反之為位元,,〇,,;及 間者即辨識為位 ❹As the technology of digital music is becoming more mature, and the prices of various music players are becoming cheaper, the lives of modern people are more closely related to music players (such as DVD Player). In many general households, a music player is also purchased, combined with a set of amplifiers and matching squeaking equipment, combined into a family theater group, enjoying a high-class feast at home in the cinema. In general, different music styles need to express the effect of music through different sound fields, and the general family theater group needs to manually set the sound field of the amplifier when playing different music styles. The effect of different music styles, that is to say, when the family theater group plays different music styles, the piano sounds are not set on the page/the page to manually set the sound field of the amplifier to present different standings. Sitting on the field from the field ^ a music style effect, in use, the expansion machine can not automatically change the corresponding sound field or its corresponding control with the different music and music, but not the ancient field h All users in Asia and Africa have the ability to adjust the sound for a variety of music' and cannot listen to the best music content. SUMMARY OF THE INVENTION In order to solve the problem of escape, the object of the present invention is to provide a sound control system 3 201039658 system, which can play different music genres according to the music player, automatically control the amplifier to adjust the sound effect matched with the music, and can Other control applications. The main technical means used to achieve the above purpose is to make the sound control system include: a mixer, which combines an original audio signal and a control signal into a mixed signal and outputs; - a broadcasting and control device, The sound mixer is connected, and receives the mixing signal generated by the mixer to directly play the mixing signal, and generates a corresponding action according to the control signal; and the broadcasting and control device includes: a broadcast a unit connected to the mixer for receiving the mixing signal and directly playing the same; a decoding unit connected to the mixer to receive the mixing signal to capture the control in the mixing signal The signal; and the unifying unit are connected to the decoding unit to obtain the control signal and operate according to the control signal. With the above technical means, when the music player plays the mixed signal, the music can be directly played not only by the decoding unit but also by the decoding unit and input to the actuating unit. The control signal performs the corresponding action. In the case of the home theater group, the sounding unit is the music playing device, and the expanding machine is the actuating unit, wherein the control signal is set according to the command code for expanding the internal control, so when the control signals are mixed in, When the mixing signal is played by the broadcasting unit, the control signal is taken out from the mixing signal by the decoding unit, and the output is directly output and controlled; therefore, the audio signals of various music can be mixed with different control signals. 201039658 combined to automatically control the amplifier to produce matching sound during playback. [Embodiment] Please refer to the third figure, which is a block diagram of the sound control system of the present invention, which comprises a /3⁄4•1 (1〇) and a broadcast and control device (2〇). Referring to the first figure, the above mixer (1〇) mixes an audio signal and a control signal into a mixed signal and outputs it. In order to control the signal and the audio signal, the mixing signal can still be broadcasted by the __ music player, the control signal system - a series of sine waves with a frequency between 15 kHz and 2 kHz, and limiting The amplitude is such that the control signal is an audio signal that is audible to the human ear. s Hereinafter, a preferred embodiment of the control signal generation method is described by a binary control code. The control signal is a sine wave, and the binary control code is used to modulate the frequency of the sine wave, that is, by frequency conversion. The bit of the control signal, and the bit ▼, and the bit "i," and the bit in the control signal respectively occupy different time intervals; in the embodiment, when the control code is 70 1 'that is § week The sine wave frequency is relatively low frequency and the time interval is long. If the control code is the bit “0” day temple, the sine wave is modulated to have a relatively old frequency and the time interval is short, so that the converted control signal is a series of a sine wave with a frequency of 2. In contrast, the bit frequency of the control code;;,: is represented by a sine wave with a relatively short frequency and a short time interval, and a bit, a relatively low frequency and a sine wave with a long time interval It is expressed in hexadecimal: the code can be hidden in the audio signal without affecting the audio signal. - i is in the broadcast of the present invention in the batch - the control device (20) receives the mix 5 201039658 (1 〇) After the raw mixing signal, the mixing signal is directly played, and corresponding actions are generated according to the control signal. The broadcasting and control device (20) - the preferred embodiment includes: a broadcasting unit (21), which is a link To the mixer (1〇) to receive the mixed signal 'Because the binary control code is modulated into a control signal, the amplitude of the control signal is limited to a range that cannot be heard by the human ear, so it can be directly played. The mixing unit (22) is connected to the mixer (10) to receive the mixed sound signal 'to capture the control signal in the mixed signal; and the unifying unit (23) Connected to the decoding unit (22) to obtain the control signal and act according to the control signal; the actuation unit (23) can be connected to the decoding unit (22) by wire or wirelessly. Due to the above mixer ( 10) The mixed sound signal includes the original audio signal and the control signal. When the sound mixing signal is played, the decoding unit (22) can extract the control signal from the § hai mixing signal, and the control signal is controlled according to the control signal. move The unit (23) generates a relative application action. Ο Further, referring to the second figure, the decoding unit (22) is a preferred embodiment, which is a DMCU decoder, that is, processed by a digital signal ( The DSP and the microcontroller (MCU) comprise: an analog-to-digital conversion unit (221), which samples the mixed signal outputted by the mixer (1 〇) and outputs a digital sine wave signal; The filter (222) is connected to the analog-to-digital conversion unit (221) to receive the digital sine wave signal 'and capture one of the digital signal signals of the digital sine wave signal' and output the set of filtered frequency signals; In this embodiment, the filter is a band-pass filter whose center frequency is the phase 6 201039658 of the control signal to pass the relatively low frequency signal in the control signal, and the bit corresponding to the bit error signal "1", The intensity of the time interval is greater than the time interval signal strength of the corresponding bit, 〇, ,; and the far-identifier (223) is connected to the filter % (222) to filter the frequency signal from the group, and Time-based Understanding sugar production. According to the time & and the signal strength, all the binary signals are identified for the filtering frequency of the group. When the large signal strength is detected and the :::: two primitives are "i,", the opposite is the bit, 〇, , and the person is identified as being in the position
碼轉料"I器(224),係連接於該辨識器(223),用以將控制 :::為:對應的命令碼;於本實施例中,該致動單元⑼ 的〒1碼係十六進制,故兮垃 n 故°亥、、為碼盗(224)即將二進制控制碼 轉換為十六進制的命令碼後輸出,而採用二進制轉 ㈣編碼器。若控制該致動單元⑼的命令碼係八進:, 則採用二進制對八進制的編碼器(224”又該命令碼可控制 該致動單元(23)產生相對應的動作;意即,不同命令碼合 控制該致動單元(23)產生不同的動作。 3 再者,上述致動單it内建有對應不同動作的命令碼, 故該致動單元(23)係依據外界輸人特定命令碼,而作出相 應之動作。於本實施例t,該致動單元(23)的命令碼係為 十六進制,而上述解碼單元(22)的編碼器最後輸出的十六 ,制命令碼,故可直接輸入至該致動單元(23),令該致動 單元(23)作出相應的動作。 由上述說明可知’本發明可視不同致動單元(23)的命令 2叹计出匹配的控制訊號,並將該控制訊號與音頻訊號混 合後,獲得一混音訊號;藉由上述說明的解碼單元(22)及致 7 201039658 動單元(23)連結關係,即能令播音單元(21)直接播放該混音 訊號,同時該解碼單元(22)將其中控制訊號掘取出來,直接 對致動單元(23)進行控制,實現同步播音控制功能。 以下謹一步說明本發明於各種不同應用中呈現的具體 功效。 首先請參閱第四圖,係為本發明聲音控制系統的第一 較佳實施例的方塊圖’本實施例中,該播放暨控制裝置⑽) 係一家庭劇院組;是以,該播音單元(21)係一播音裝置(3〇), 〇如DVD播放器’而該致動單元(23)為一擴大機,其中本發 明的解碼單元(22)係與DVD播放器的音源輸出端連接,以 取得混音訊號,並與擴大機連接,以將命令碼輸出至該擴 大機。 當DVD播放器在播放混音訊號的同時,混音訊號會輸 出至該解碼I元(22),此時該解碼單元(22)會進一步掘取該 混音訊號中的控制訊號,並轉換成—可驅動該擴大機的命 令碼,該等命令碼若為擴大機控制音效的控制碼,則該命 C)令碼透過有線或無線的方式輸出至擴大機後,該擴大機會 自動調整成目前播放音樂曲風的音場,以致使用者有更二 富的聽覺效果。 請參閱第五圖,係為本發明聲音控制系統的第二較佳 實施例的方塊圖,係與上述實施例大致相同,惟該解碼單 元可進一步内建至該該播音裝置(30)内。 請參閱第六圖,係為本發明聲音控制系統的第三較佳 實施例的方塊圖,本實施例的播放暨控制裝置(20)係整合至 -具有音樂播放功能的玩具中,故該玩具包含有該播:單 8 201039658 元^)、解碼單元(22)及該致動單元(23),其中該致動單元⑼ 係如馬達等裝置,以控制玩具的動作。 當玩具取得本發明混音訊號後,即可由其播 播放出聲音’同時該解媽單元(22)會進—步#|取該混音㈣ 中的控制訊號,並轉換成一可驅動該致動單元㈣的命令 碼,以控制玩具依據不同命令碼作出相應的 料閱第七圖所示,為本發明應用於玩具的一控制碼二 ο 二谷表’當二進制控制碼被解碼單元自控制訊 2中擷取出來後,經轉換為十六進制的命令碼輸出至致動 早凡’致動早讀據目前命令碼而作為對應的動作;以機 盗人為例,若解碼單元(22)轉換出的命令碼係α〇,則該命 令碼會控制機ϋ人有—跳躍的動作;若解碼單元⑽解碼出 的命令碼係B1,則該命令碼會控制機器人有一拍手的動作. Ο 若,碼單元⑽解石馬出的命令碼係C2,則該命令碼會控制 機益人有-蹲下的動作;若解碼單元(22)解碼出的命令碼係 F4,則該命令碼會控制機器人有一舉手的動作。是以,本 發明的混音訊號可藏入控制機器人動作相對的控制訊號於 其中’而於播放聲音的同時,直接控制機器人動作,不必 額外遙控器等控制裝置。 ,由上述夕個κ轭例可知,本發明可作多種用途使用, 虽播放單7L在播放混音訊號的同時,不僅可以提供使用者 聽覺上的享受,另外可透過解碼單元進一步擷取控制訊號, 並編碼成一可使該致動單元動作的命令碼,而該命令碼則 會透過有線或無線連結至致動單元,並控制該致動單元產 生與命令碼相對應的動作。 9 201039658 【圖式簡單說明】 第一圖.係混音器動作示意圖。 第二圖:係解碼單元的方塊圖。 第二圖.係本發明的方塊圖。 第四圖:係本發明的第一較佳實施例的方塊圖。 第五圖:係本發明的第:較佳實關的方塊圖。 第六圖:係本發明㈣三較佳實施例的方塊圖。 第七圖:係、第六圖的命令碼與機器人動作對應表 【主要元件符號說明】 (10)混音器 (20) 播音暨控制裝置 (21) 播音單元 (22) 解碼單元 (221) 類比數位轉換單元 (222) 濾波器 (223) 辨識器 (224) 編碼器 (23) 致動單元 (30)播音裝置The code transfer "I device (224) is connected to the identifier (223) for controlling::: is: a corresponding command code; in this embodiment, the 〒1 code of the actuation unit (9) It is hexadecimal, so it is used to convert the binary control code into a hexadecimal command code and output it. The binary (four) encoder is used. If the command code of the actuating unit (9) is controlled to be arbitrarily:, the binary-to-octal encoder (224) is used to control the actuating unit (23) to generate a corresponding action; that is, different commands The actuating unit (23) generates different actions. 3 Furthermore, the actuating unit itself has built-in command codes corresponding to different actions, so the actuating unit (23) is based on the external input command code. In the embodiment t, the command code of the actuating unit (23) is hexadecimal, and the command code of the last output of the encoder of the decoding unit (22) is Therefore, it can be directly input to the actuating unit (23), and the actuating unit (23) can perform corresponding actions. As can be seen from the above description, the present invention can be used to control the matching of the command 2 of different actuating units (23). The signal is mixed with the audio signal to obtain a sound mixing signal; by means of the decoding unit (22) and the 7 201039658 moving unit (23), the broadcasting unit (21) can directly Play the mix signal while The decoding unit (22) extracts the control signal and directly controls the actuation unit (23) to realize the synchronous broadcast control function. The following describes the specific effects of the present invention in various applications. 4 is a block diagram of a first preferred embodiment of the sound control system of the present invention. In the present embodiment, the play and control device (10) is a home theater group; that is, the broadcast unit (21) is a The sounding device (3〇), such as a DVD player, and the actuating unit (23) is an amplifier, wherein the decoding unit (22) of the present invention is connected to the sound source output of the DVD player to obtain a sound mixing The signal is connected to the amplifier to output the command code to the amplifier. When the DVD player plays the mixed signal, the mixing signal is output to the decoding I element (22), and the decoding unit (at this time) 22) further extracting the control signal in the mixing signal and converting it into a command code for driving the amplifier. If the command code is a control code for expanding the control sound effect, the command C) is transmitted through the code. Wired or none After the mode is output to the amplifier, the expansion opportunity is automatically adjusted to the sound field of the currently playing music genre, so that the user has a richer audible effect. Please refer to the fifth figure, which is the second voice control system of the present invention. The block diagram of the preferred embodiment is substantially the same as the above embodiment, but the decoding unit can be further built into the broadcast device (30). Please refer to the sixth figure, which is the third of the sound control system of the present invention. The block diagram of the preferred embodiment, the play and control device (20) of the embodiment is integrated into a toy having a music playing function, so the toy includes the broadcast: single 8 201039658 yuan ^), decoding unit (22 And the actuating unit (23), wherein the actuating unit (9) is a device such as a motor to control the action of the toy. When the toy obtains the mixing signal of the present invention, the sound can be played by the sound. At the same time, the mother unit (22) will advance the control signal in the sound (4) and convert it into a driveable actuation. The command code of the unit (4) is used to control the toy according to different command codes to make the corresponding materials. The seventh figure shows the control code applied to the toy according to the invention. The second control code is used as the control unit of the binary control code. After the middle 撷 is taken out, the command code converted to hexadecimal is output to the actuating action to actuate the current command code as the corresponding action; taking the pirate as an example, if the decoding unit (22) If the converted command code is α〇, the command code will control the action of the machine to jump—if the command code of the decoding unit (10) is B1, the command code will control the robot to have a clapping action. The code unit (10) releases the command code system C2, and the command code controls the action of the machine. If the command code of the decoding unit (22) is F4, the command code will be controlled. The robot has a hand movement. Therefore, the mixing signal of the present invention can be hidden in the control signal for controlling the relative motion of the robot, and the sound of the robot can be directly controlled while the sound is being played, without the need for an additional remote control device or the like. As can be seen from the above-mentioned gamma yoke example, the present invention can be used for a variety of purposes, although the playlist 7L can not only provide the user with auditory enjoyment while playing the mixing signal, but also can further capture the control signal through the decoding unit. And encoding a command code for causing the actuating unit to operate, and the command code is connected to the actuating unit by wire or wirelessly, and controlling the actuating unit to generate an action corresponding to the command code. 9 201039658 [Simple description of the diagram] The first picture is a schematic diagram of the action of the mixer. Second picture: block diagram of the decoding unit. The second figure is a block diagram of the present invention. Fourth Figure: is a block diagram of a first preferred embodiment of the present invention. Figure 5 is a block diagram of the preferred embodiment of the present invention. Figure 6 is a block diagram of a third preferred embodiment of the present invention. Figure 7: Command code of the sixth diagram and robot action table [Description of main component symbols] (10) Mixer (20) Broadcasting and control device (21) Broadcasting unit (22) Decoding unit (221) Analogy Digital Conversion Unit (222) Filter (223) Identifier (224) Encoder (23) Actuating Unit (30) Broadcasting Device