TWI723440B - Multimedia playing system and method for controlling playing condition of multimedia file - Google Patents
Multimedia playing system and method for controlling playing condition of multimedia file Download PDFInfo
- Publication number
- TWI723440B TWI723440B TW108122726A TW108122726A TWI723440B TW I723440 B TWI723440 B TW I723440B TW 108122726 A TW108122726 A TW 108122726A TW 108122726 A TW108122726 A TW 108122726A TW I723440 B TWI723440 B TW I723440B
- Authority
- TW
- Taiwan
- Prior art keywords
- playback
- multimedia
- multimedia file
- electronic device
- user
- Prior art date
Links
Images
Landscapes
- Circuit For Audible Band Transducer (AREA)
Abstract
Description
本發明是有關於一種多媒體播放系統及方法,且特別是有關於一種多媒體播放系統及控制多媒體檔案播放情形的方法。The present invention relates to a multimedia playing system and method, and more particularly to a multimedia playing system and a method for controlling the playing situation of multimedia files.
在公眾場合中,某些人士在聽音樂和看影片時,可能因聲音開太大聲導致耳機的聲音外溢而影響到附近的人。In public places, when certain people are listening to music and watching movies, the sound of the earphones may overflow due to the loudness of the sound, which may affect people nearby.
目前在產品或是專利上,針對防止耳機聲音外溢的方法,僅止於硬體設計,例如可用於防止聲音外漏的耳道式耳機與耳罩式耳機,但這些產品的價格多半偏高。At present, in terms of products or patents, the methods for preventing earphone sound from leaking are limited to hardware design, such as ear canal earphones and over-ear earphones that can be used to prevent sound leaking, but the prices of these products are mostly high.
此外,以硬體設計防止聲音外漏的另一項缺點在於,耳罩或耳道塞用久了難免會磨損,進而可能導致防止聲音外漏的效果越來越差。並且,此種設計並未考慮到當使用者音樂開很大聲、使用者未佩戴耳機、或未正確戴好等情形,故耳機的聲音仍有很高的機率外漏。因此,對於本領域技術人員來說,如何設計一種可防止耳機聲音外漏的機制,實為一項重要議題。In addition, another disadvantage of preventing sound leakage with hardware design is that the earmuffs or ear canal plugs will inevitably wear out after a long time, which may cause the effect of preventing sound leakage to become worse and worse. Moreover, this design does not take into account the situations when the user’s music is loud, the user does not wear the headset, or the headset is not properly worn, so the sound of the headset still has a high probability of leakage. Therefore, for those skilled in the art, how to design a mechanism to prevent earphone sound from leaking out is really an important issue.
有鑑於此,本發明提供一種多媒體播放系統及控制多媒體檔案播放情形的方法,其可用以解決上述技術問題。In view of this, the present invention provides a multimedia playback system and a method for controlling the playback situation of multimedia files, which can be used to solve the above technical problems.
本發明提供一種多媒體播放系統,包括播放裝置及電子裝置。播放裝置用於播放多媒體檔案。電子裝置配對於播放裝置,並經配置以:依據播放裝置在播放多媒體檔案時的一外部環境產生多媒體檔案的一播放參數,並據以調整播放裝置對於多媒體檔案的播放情形;依據多媒體檔案的一播放情境或多媒體播放系統的一操作情境判斷是否將多媒體檔案的一播放參數的一控制權提供予電子裝置的一使用者;反應於判定將播放參數控制權提供予電子裝置的使用者,依據使用者對多媒體檔案設定的播放參數調整播放裝置對於多媒體檔案的播放情形;反應於判定不將播放參數控制權提供予電子裝置的使用者,忽略使用者對多媒體檔案設定的播放參數。The invention provides a multimedia playback system, which includes a playback device and an electronic device. The playback device is used for playing multimedia files. The electronic device is equipped with the playback device, and is configured to: generate a playback parameter of the multimedia file according to an external environment when the playback device is playing the multimedia file, and adjust the playback situation of the multimedia file by the playback device accordingly; The playback situation or an operation situation of the multimedia playback system determines whether to provide a control right of a playback parameter of the multimedia file to a user of the electronic device; in response to the determination that the control right of the playback parameter is provided to the user of the electronic device, according to the use The user adjusts the playback conditions of the multimedia file by the playback device for the playback parameters set by the multimedia file; responds to the determination that the user who does not provide the control of the playback parameters to the user of the electronic device, ignores the playback parameters set by the user for the multimedia file.
本發明提供一種控制多媒體檔案播放情形的方法,適於多媒體系播放系統中的電子裝置。所述方法包括:控制一播放裝置播放多媒體檔案,其中播放裝置配對於電子裝置;依據播放裝置在播放多媒體檔案時的一外部環境產生多媒體檔案的一播放參數,並據以調整播放裝置對於多媒體檔案的播放情形;依據多媒體檔案的一播放情境或多媒體播放系統的一操作情境判斷是否將多媒體檔案的一播放參數的一控制權提供予電子裝置的一使用者;反應於判定將播放參數控制權提供予電子裝置的使用者,依據使用者對多媒體檔案設定的播放參數調整播放裝置對於多媒體檔案的播放情形;反應於判定不將播放參數控制權提供予電子裝置的使用者,忽略使用者對多媒體檔案設定的播放參數。The present invention provides a method for controlling the playing situation of multimedia files, which is suitable for electronic devices in multimedia playing systems. The method includes: controlling a playback device to play a multimedia file, wherein the playback device is equipped with an electronic device; generating a playback parameter of the multimedia file according to an external environment when the playback device is playing the multimedia file, and adjusting the playback device to the multimedia file accordingly According to a playback situation of the multimedia file or an operation situation of the multimedia playback system, determine whether to provide a control right of a playback parameter of the multimedia file to a user of the electronic device; respond to the decision to provide the control right of the playback parameter For the user of the electronic device, adjust the playback device's playback status of the multimedia file according to the playback parameters set by the user for the multimedia file; respond to the decision not to provide the control of the playback parameter to the user of the electronic device, and ignore the user's multimedia file Set playback parameters.
基於上述,本發明的方法可適應性地依據播放裝置的外部環境而自動產生多媒體檔案的播放參數,並據以調整播放裝置對於多媒體檔案的播放情形(例如,調降音量)。藉此,可避免播放裝置因出現聲音外漏等情形而影響到其他的使用者。並且,在調整多媒體檔案的播放情形之後,本發明的方法還可依據多媒體檔案的播放情境或多媒體播放系統的操作情境來判斷是否將播放參數的控制權提供予使用者,從而避免使用者在未注意的狀態下再次執行將音量調高等操作。Based on the above, the method of the present invention can adaptively generate the playback parameters of the multimedia file according to the external environment of the playback device, and adjust the playback situation of the multimedia file by the playback device accordingly (for example, lower the volume). In this way, it is possible to prevent the playback device from affecting other users due to sound leakage and other situations. In addition, after adjusting the playback situation of the multimedia file, the method of the present invention can also determine whether to provide the user with the control right of the playback parameter according to the playback situation of the multimedia file or the operation situation of the multimedia playback system, so as to prevent the user from being Perform operations such as increasing the volume again while paying attention.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.
請參照圖1,其是依據本發明之一實施例繪示的多媒體播放系統示意圖。在圖1中,多媒體播放系統100可包括播放裝置110及電子裝置120。在不同的實施例中,播放裝置110例如是可用於播放多媒體檔案的裝置,例如有線耳機、無線耳機或其類似品,但可不限於此。電子裝置120例如是可配對於播放裝置110,並用以控制播放裝置110播放多媒體檔案的裝置,例如智慧型手機、平板電腦、個人電腦、筆記型電腦等,但可不限於此。Please refer to FIG. 1, which is a schematic diagram of a multimedia playback system according to an embodiment of the present invention. In FIG. 1, the
在本實施例中,電子裝置120可包括儲存電路121、取像電路122及處理器123。儲存電路121例如是任意型式的固定式或可移動式隨機存取記憶體(Random Access Memory,RAM)、唯讀記憶體(Read-Only Memory,ROM)、快閃記憶體(Flash memory)、硬碟或其他類似裝置或這些裝置的組合,而可用以記錄多個程式碼或模組。In this embodiment, the
取像電路122可以是任何具有電荷耦合元件(Charge coupled device,CCD)鏡頭、互補式金氧半電晶體(Complementary metal oxide semiconductor transistors,CMOS)鏡頭。在本發明的實施例中,取像電路122例如可用於拍攝正在操作電子裝置120的使用者的影像(下稱操作影像),但可不限於此。The
處理器123耦接於儲存電路121及取像電路122,並可為一般用途處理器、特殊用途處理器、傳統的處理器、數位訊號處理器、多個微處理器(microprocessor)、一個或多個結合數位訊號處理器核心的微處理器、控制器、微控制器、特殊應用集成電路(Application Specific Integrated Circuit,ASIC)、場可程式閘陣列電路(Field Programmable Gate Array,FPGA)、任何其他種類的積體電路、狀態機、基於進階精簡指令集機器(Advanced RISC Machine,ARM)的處理器以及類似品。The
在本發明的實施例中,處理器123可存取儲存電路121中記錄的模組、程式碼來實現本發明提出的控制多媒體檔案播放情形的方法,其細節詳述如下。In the embodiment of the present invention, the
請參照圖2,其是依據本發明之一實施例繪示的控制多媒體檔案播放情形的方法流程圖。本實施例的方法可由圖1的多媒體播放系統100執行,以下即搭配圖1所示的元件說明圖2各步驟。Please refer to FIG. 2, which is a flowchart of a method for controlling the playback of multimedia files according to an embodiment of the present invention. The method of this embodiment can be executed by the
首先,在步驟S210中,電子裝置120可控制播放裝置110播放多媒體檔案。為便於說明,在以下的實施例中將假設播放裝置110為耳機,且其受控於電子裝置120而播放多媒體檔案(例如音樂檔案或是影片檔案的音頻成分),但可不限於此。First, in step S210, the
在步驟S220中,電子裝置120可依據播放裝置110在播放多媒體檔案時的外部環境產生多媒體檔案的播放參數,並據以調整播放裝置110對於多媒體檔案的播放情形。在一實施例中,電子裝置120可透過相關的感應器偵測播放裝置110在播放多媒體檔案時的外部環境。為便於說明,以下假設電子裝置120所欲偵測的外部環境為播放裝置110的外部聲音,而電子裝置120可透過例如收音裝置(例如麥克風)等元件來收集上述外部聲音。在其他實施例中,上述用於收集外部聲音的收音裝置亦可設置於播放裝置110上,並可將所收集到的外部聲音傳送至電子裝置120以供後續處理及分析,但本發明可不限於此。In step S220, the
接著,反應於外部環境符合參數調整條件,電子裝置120可產生上述播放參數,並據以調整播放裝置110對於多媒體檔案的播放情形。在一實施例中,若電子裝置120判定所測得的外部聲音係來自於播放裝置110所外漏的聲音,則電子裝置120可相應地以較低的音量作為上述播放參數,並透過此播放參數控制播放裝置110以較低的音量播放,從而改善聲音外漏的情形。在其他實施例中,上述播放參數亦可以是等化器參數、播放風格參數或其他類似的參數,但不限於此。相關細節將在之後搭配圖3作進一步說明。Then, in response to the external environment meeting the parameter adjustment condition, the
在步驟S230中,電子裝置120可依據多媒體檔案的播放情境或多媒體播放系統100的操作情境判斷是否將多媒體檔案的播放參數的控制權提供予電子裝置120的使用者。若是,電子裝置120可在步驟S240中依據使用者對多媒體檔案設定的播放參數調整播放裝置110對於多媒體檔案的播放情形;若否,電子裝置120可在步驟S250中忽略使用者對多媒體檔案設定的播放參數。In step S230, the
概略而言,在一些實施例中,由於使用者可能是因未注意到播放裝置110的播放情形(例如未佩戴播放裝置110或人不在電子裝置110前)或過度專注於觀賞多媒體檔案而導致未注意到聲音外漏的情形。在此情況下,若仍讓使用者具有播放參數的控制權,使用者可能會在感受到音量下降之後又再次將音量調高,進而使得聲音外漏的情形再次惡化。因此,電子裝置120可透過以下的機制來進行步驟S230以判斷是否將多媒體檔案的播放參數的控制權提供予電子裝置120的使用者。Roughly speaking, in some embodiments, the user may not notice the playback situation of the playback device 110 (for example, not wearing the
在一實施例中,電子裝置120可透過取像電路122取得使用者操作多媒體播放系統100的操作影像,並基於操作影像辨識使用者對多媒體播放系統100的操作情境。反應於多媒體播放系統100的操作情境指示使用者無法感知多媒體檔案的播放情形,或專注於感知多媒體檔案的播放情形,判定不將播放參數的控制權提供予電子裝置120的使用者,反之則判定將播放參數的控制權提供予電子裝置120的該使用者。In one embodiment, the
在一實施例中,若操作影像顯示使用者未佩戴播放裝置或不在電子裝置前,則電子裝置120可判定多媒體播放系統100的操作情境指示使用者無法感知多媒體檔案。舉例而言,電子裝置120可將所取得的操作影像輸入至經過一定訓練過程的卷積神經網路,以由此卷積神經網路基於操作影像辨識使用者對多媒體播放系統100的操作情境。In one embodiment, if the operating image shows that the user is not wearing the playback device or is not in front of the electronic device, the
舉例而言,在上述卷積神經網路的訓練過程中,其可基於多個標註後的訓練影像來學習所欲辨識內容的特徵。假設上述卷積神經網路係用於辨識使用者是否未佩戴播放裝置110,則相關的訓練影像則可以是未佩戴播放裝置的多個使用者影像。藉此,上述卷積神經網路即可習得未佩戴有播放裝置的使用者影像將具有何種特徵。因此,在上述卷積神經網路經過訓練後,即可基於所收到的操作影像而辨識其中的使用者是否佩戴播放裝置。For example, in the training process of the above-mentioned convolutional neural network, it can learn the characteristics of the content to be recognized based on a plurality of labeled training images. Assuming that the aforementioned convolutional neural network is used to identify whether the user is not wearing the
舉另一例而言,假設上述卷積神經網路係用於辨識使用者是否不在電子裝置120前,則相關的訓練影像則可以是使用者不在電子裝置前的多個影像。藉此,上述卷積神經網路即可習得使用者不在電子裝置前的影像將具有何種特徵。因此,在上述卷積神經網路經過訓練後,即可基於所收到的操作影像而辨識使用者是否不在電子裝置前。For another example, suppose the above-mentioned convolutional neural network is used to identify whether the user is not in front of the
舉再一例而言,假設上述卷積神經網路係用於辨識使用者是否專注於觀賞多媒體檔案的播放情形,則相關的訓練影像則可以是使用者專注於觀賞多媒體檔案的臉部表情影像。藉此,上述卷積神經網路即可習得專注於觀賞多媒體檔案的使用者臉部表情影像將具有何種特徵。因此,在上述卷積神經網路經過訓練後,即可基於所收到的操作影像而辨識其中的使用者是否專注於觀賞多媒體檔案。For another example, suppose the above-mentioned convolutional neural network is used to identify whether the user is focused on viewing the playback situation of the multimedia file, then the relevant training image can be the facial expression image of the user focused on viewing the multimedia file. In this way, the above-mentioned convolutional neural network can learn what characteristics the facial expression image of the user who focuses on viewing the multimedia file will have. Therefore, after the above-mentioned convolutional neural network is trained, it can be recognized based on the received operation images whether the user in it is focused on viewing multimedia files.
在另一實施例中,電子裝置120亦可取得多媒體檔案當下的播放片段,並判斷此播放片段是否屬於多媒體檔案的特定部分,以辨識多媒體檔案的播放情境。反應於播放片段屬於多媒體檔案中的特定部分,電子裝置120可判定不將播放參數的控制權提供予電子裝置120的使用者,反之則判定將播放參數的控制權提供予電子裝置120的使用者。In another embodiment, the
在一實施例中,電子裝置120可將所取得的播放片段輸入至經過一定訓練過程的遞歸神經網路,以由此遞歸神經網路基於播放片段辨識多媒體檔案的播放情境。在不同的實施例中,若多媒體檔案為一影片,則上述特定部分可以是其中的精彩片段,而若多媒體檔案為一音頻檔案,則上述特定部分可以是其中的副歌,但本發明可不限於此。In one embodiment, the
舉例而言,在上述遞歸神經網路的訓練過程中,其可基於多個標註後的訓練資料來學習所欲辨識內容的特徵。假設上述遞歸神經網路係用於辨識播放片段是否為副歌,則相關的訓練資料可以是多個音頻檔案的副歌部分。藉此,上述遞歸神經網路即可習得音頻檔案的副歌部分將具有何種特徵。因此,在上述遞歸神經網路經過訓練後,即可基於所收到的播放片段而辨識其是否為音頻檔案的副歌部分。For example, in the training process of the recurrent neural network, it can learn the characteristics of the content to be recognized based on a plurality of labeled training data. Assuming that the above-mentioned recurrent neural network is used to identify whether the playback segment is a chorus, the relevant training data may be the chorus part of multiple audio files. In this way, the recurrent neural network can learn what characteristics the chorus part of the audio file will have. Therefore, after the above-mentioned recurrent neural network is trained, it can be identified based on the received playback segment whether it is the chorus part of the audio file.
舉另一例而言,假設上述遞歸神經網路係用於辨識播放片段是否為影片中的精彩片段,則相關的訓練資料可以是多個影片檔案的精彩片段。藉此,上述遞歸神經網路即可習得影片檔案的精彩片段將具有何種特徵。因此,在上述遞歸神經網路經過訓練後,即可基於所收到的播放片段而辨識其是否為影片檔案的精彩片段。For another example, suppose that the above-mentioned recurrent neural network is used to identify whether the playback segment is a highlight segment in a video, and the relevant training data may be a highlight segment of multiple video files. In this way, the above-mentioned recurrent neural network can learn what characteristics the highlights of the video file will have. Therefore, after the above-mentioned recurrent neural network is trained, it can identify whether it is a highlight of the video file based on the received playback segment.
由上可知,本發明的方法可適應性地依據播放裝置的外部環境而自動產生多媒體檔案的播放參數,並據以調整播放裝置對於多媒體檔案的播放情形(例如,調降音量)。藉此,可避免播放裝置因聲音外漏而影響到其他的使用者。並且,在調整多媒體檔案的播放情形之後,本發明的方法還可依據多媒體檔案的播放情境(例如是否正播放副歌或精彩片段)或多媒體播放系統的操作情境(例如使用者是否不在電子裝置前、未佩戴播放裝置或過度沉浸於觀賞多媒體檔案)來判斷是否將播放參數的控制權提供予使用者,從而避免使用者在未注意的狀態下再次執行將音量調高等操作。It can be seen from the above that the method of the present invention can adaptively generate the playback parameters of the multimedia file according to the external environment of the playback device, and adjust the playback situation of the multimedia file by the playback device accordingly (for example, lower the volume). In this way, it is possible to prevent the playback device from affecting other users due to sound leakage. Moreover, after adjusting the playback situation of the multimedia file, the method of the present invention can also be based on the playback situation of the multimedia file (for example, whether a chorus or highlight is being played) or the operating situation of the multimedia playback system (for example, whether the user is not in front of the electronic device). , Not wearing a playback device or excessively immersed in watching multimedia files) to determine whether to provide the user with the control of the playback parameters, so as to prevent the user from performing operations such as increasing the volume again without paying attention.
請參照圖3,其是依據圖2繪示的產生播放參數並調整多媒體檔案的播放情形的流程圖。首先,在步驟S310中,電子裝置120可反應於播放裝置110播放多媒體檔案而偵測外部聲音。在一實施例中,電子裝置120可先判斷是否偵測到播放裝置110(例如耳機),若是則控制電子裝置120的收音裝置偵測電子裝置120的外部聲音。若電子裝置120透過收音裝置偵測到外部聲音,即可接續執行後續步驟以開始防止播放裝置110的聲音外漏的機制。Please refer to FIG. 3, which is a flowchart of generating playback parameters and adjusting the playback situation of the multimedia file according to FIG. 2. First, in step S310, the
在步驟S320中,電子裝置120可判斷外部聲音的音量是否大於音量門限值。在一實施例中,音量門限值可依設計者的需求而設定。舉例而言,音量門限值可設定為電子裝置120輸入至播放裝置110的音量的一半。在此情況下,若外部聲音的音量經判斷為大於此音量門限值,即代表此外部聲音因過大而較不可能是從播放裝置110外漏,故可結束防止播放裝置110的聲音外漏的機制。In step S320, the
另一方面,若外部聲音的音量不大於音量門限值,則代表此外部聲音可能是從播放裝置110外漏。因此,電子裝置120可接續執行步驟S330以取得對應於外部聲音的音頻訊號。On the other hand, if the volume of the external sound is not greater than the volume threshold, it means that the external sound may leak from the
在一實施例中,電子裝置120可將此音頻訊號與多媒體檔案的音頻成分進行比較,以確認此音頻訊號是否匹配於多媒體檔案的音頻成分。舉例而言,電子裝置120可依所接收到的外部聲音的時間順序記錄音頻與波形,以作為外部聲音的音頻訊號。In one embodiment, the
接著,電子裝置120可依據音頻訊號的時間序列與頻率進行解析。假設電子裝置120取得長度為15秒的音頻訊號,則電子裝置120可從多媒體檔案的音頻成分中擷取當下至15秒前的區段,並判斷所擷取的區段的頻率是否與音頻訊號的頻率一致。若是,則電子裝置120可判定音頻訊號匹配於多媒體檔案的音頻成分,反之亦反,但本發明不限於此。Then, the
之後,在步驟S340中,反應於音頻訊號匹配於多媒體檔案的音頻成分,電子裝置120可判定外部環境符合參數調整條件,並產生特定音量以作為播放參數。在一實施例中,電子裝置120可取得播放裝置110播放多媒體檔案時的當下音量,並以此當下音量減去外部聲音的音量,以產生上述特定音量(其小於上述當下音量)。在其他實施例中,亦可採用其他的機制來產生上述特定音量,例如以上述當下音量減去一定值以產生特定音量等,但可不限於此。Then, in step S340, in response to the audio signal matching the audio component of the multimedia file, the
在步驟S350中,電子裝置120可將播放裝置110播放多媒體檔案的播放音量調整為特定音量。藉此,即可令播放裝置110以較低的音量播放,從而改善聲音外漏的情形。In step S350, the
在一實施例中,在執行步驟S350之後,電子裝置120可再次執行步驟S310及S320,以確認調降後的音量是否確實避免播放裝置110出現聲音外漏的情形。In one embodiment, after performing step S350, the
應了解的是,若在電子裝置120依據所產生的播放參數(例如音量)調整多媒體檔案的播放情形之後,使用者又自行手動調整播放參數的話,將可能使得整個調整播放情形的機制無實質意義。因此,本發明更提出了以強化學習模型來進一步調整播放參數的機制,以使所產生的播放參數更為適當。詳細說明如下。It should be understood that if the user manually adjusts the playback parameters of the multimedia file after the
請參照圖4,其是依據本發明之一實施例繪示的調校強化學習模型的流程圖。在本實施例中,在執行圖2的方法之後,電子裝置120可進一步執行步驟S410,以判斷是否偵測到使用者調整播放參數,或播放裝置110在播放多媒體檔案時的外部環境是否符合參數調整條件。若是(即,偵測到使用者調整播放參數,或偵測到外部環境符合參數調整條件),則電子裝置120可基於權重調整訊號調整強化學習模型400中的多個權重值,以訓練強化學習模型400。在一實施例中,上述權重調整訊號可以是一懲罰(punishment)訊號,而電子裝置120中用於管理強化學習模型400的訓練學習者可發出上述懲罰訊號以要求強化學習模型400其中的多個權重值,以訓練強化學習模型400。之後,電子裝置120可使用訓練後的強化學習模型400產生另一播放參數(例如另一音量),並據以調整播放裝置110對於多媒體檔案的播放情形(例如調整音量)。Please refer to FIG. 4, which is a flowchart of adjusting a reinforcement learning model according to an embodiment of the present invention. In this embodiment, after executing the method of FIG. 2, the
另一方面,若電子裝置120在步驟S410中既未偵測到使用者調整播放參數,亦未偵測到外部環境符合參數調整條件,則電子裝置120可基於維持強化學習模型400的權重值。在一實施例中,上述權重維持訊號可以是一獎勵(reward)訊號,而強化學習模型400的訓練學習者可向強化學習模型發送上述獎勵訊號,以維持強化學習模型400中的權重值。之後,電子裝置120可保持播放參數,且不調整播放裝置對於多媒體檔案的播放情形(例如,不調整音量)。On the other hand, if the
在一實施例中,在電子裝置120不再發出權重調整訊號之後,即代表強化學習模型400已完成訓練。此時,電子裝置120可將強化學習模型400修剪、最佳化,以在實時應用時可達到即時推理的效果。在一實施例中,電子裝置120可將最佳化及修剪後的強化學習模型400轉換為ini檔、xml檔等較易由程式辨識的檔案類型,進而加快推理的速度。In one embodiment, after the
綜上所述,本發明提出的系統及方法可依據播放裝置的外部環境產生用於調整多媒體檔案播放情形的播放參數(例如,音量)。藉此,可避免播放裝置發生例如聲音外漏的情形。並且,使用者可在不需特地購置耳道式耳機或耳罩式耳機的情況下即可達到防止聲音外漏的效果。In summary, the system and method proposed by the present invention can generate playback parameters (for example, volume) for adjusting the playback situation of multimedia files according to the external environment of the playback device. In this way, situations such as sound leakage from the playback device can be avoided. Moreover, the user can achieve the effect of preventing sound leakage without special purchase of ear canal earphones or over-ear earphones.
此外,本發明還可透過一定的機制判斷使用者是否未注意到播放裝置的播放情形(例如未佩戴播放裝置或人不在電子裝置前)或過度專注於觀賞多媒體檔案,進而判定是否將播放參數的控制權提供予使用者。In addition, the present invention can also determine whether the user has not noticed the playback status of the playback device (for example, the playback device is not worn or the person is not in front of the electronic device) or is over-focused on watching multimedia files through a certain mechanism, and then determines whether the playback parameters are changed. Control is provided to the user.
此外,本發明還可進一步在使用者另行調整播放參數,或外部環境符合參數調整條件時,藉由調整相關的強化學習模型的權重值而進一步訓練強化學習模型,並使用訓練後的強化學習模型產生更適當的播放參數。In addition, the present invention can further train the reinforcement learning model by adjusting the weight value of the relevant reinforcement learning model when the user adjusts the playback parameters separately or the external environment meets the parameter adjustment conditions, and uses the trained reinforcement learning model Produce more appropriate playback parameters.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. The scope of protection of the present invention shall be determined by the scope of the attached patent application.
100:多媒體播放系統 110:播放裝置 120:電子裝置 121:儲存電路 122:取像電路 123:處理器 S210~S250、S310~S350、S410:步驟 100: Multimedia playback system 110: playback device 120: Electronic device 121: Storage circuit 122: Capture circuit 123: Processor S210~S250, S310~S350, S410: steps
圖1是依據本發明之一實施例繪示的多媒體播放系統示意圖。 圖2是依據本發明之一實施例繪示的控制多媒體檔案播放情形的方法流程圖。 圖3是依據圖2繪示的產生播放參數並調整多媒體檔案的播放情形的流程圖。 圖4是依據本發明之一實施例繪示的調校強化學習模型的流程圖。 Fig. 1 is a schematic diagram of a multimedia playback system according to an embodiment of the present invention. FIG. 2 is a flowchart of a method for controlling the playback of multimedia files according to an embodiment of the present invention. FIG. 3 is a flowchart of generating playback parameters and adjusting the playback situation of the multimedia file according to FIG. 2. Fig. 4 is a flowchart of adjusting a reinforcement learning model according to an embodiment of the present invention.
S210~S250:步驟S210~S250: Steps
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108122726A TWI723440B (en) | 2019-06-27 | 2019-06-27 | Multimedia playing system and method for controlling playing condition of multimedia file |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW108122726A TWI723440B (en) | 2019-06-27 | 2019-06-27 | Multimedia playing system and method for controlling playing condition of multimedia file |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202102007A TW202102007A (en) | 2021-01-01 |
TWI723440B true TWI723440B (en) | 2021-04-01 |
Family
ID=75234687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW108122726A TWI723440B (en) | 2019-06-27 | 2019-06-27 | Multimedia playing system and method for controlling playing condition of multimedia file |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI723440B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060724A (en) * | 2007-04-25 | 2007-10-24 | 比特联创电子(北京)有限公司 | A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method |
TWI376925B (en) * | 2007-08-28 | 2012-11-11 | Micro Star Int Co Ltd | Adjusting device and method of notification sound according to the environment |
CN103442132A (en) * | 2013-08-16 | 2013-12-11 | 上海闻泰电子科技有限公司 | Control system and method for automatically adjusting voice frequency setting according to external environment |
CN105144032A (en) * | 2013-03-14 | 2015-12-09 | 高通股份有限公司 | Systems and methods for device interaction based on a detected gaze |
US10123140B2 (en) * | 2014-01-18 | 2018-11-06 | Microsoft Technology Licensing, Llc | Dynamic calibration of an audio system |
-
2019
- 2019-06-27 TW TW108122726A patent/TWI723440B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101060724A (en) * | 2007-04-25 | 2007-10-24 | 比特联创电子(北京)有限公司 | A method for avoiding the hearing injury of audio equipment and electro-acoustic device made through this method |
TWI376925B (en) * | 2007-08-28 | 2012-11-11 | Micro Star Int Co Ltd | Adjusting device and method of notification sound according to the environment |
CN105144032A (en) * | 2013-03-14 | 2015-12-09 | 高通股份有限公司 | Systems and methods for device interaction based on a detected gaze |
CN103442132A (en) * | 2013-08-16 | 2013-12-11 | 上海闻泰电子科技有限公司 | Control system and method for automatically adjusting voice frequency setting according to external environment |
US10123140B2 (en) * | 2014-01-18 | 2018-11-06 | Microsoft Technology Licensing, Llc | Dynamic calibration of an audio system |
Also Published As
Publication number | Publication date |
---|---|
TW202102007A (en) | 2021-01-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9782131B2 (en) | Method and system for self-managed sound enhancement | |
US20170289681A1 (en) | Method, apparatus and computer program product for audio capture | |
WO2020192400A1 (en) | Playback terminal playback control method, apparatus, and device, and computer readable storage medium | |
WO2020019846A1 (en) | Method for controlling volume of wireless headset, wireless headset and mobile terminal | |
US10652674B2 (en) | Hearing enhancement and augmentation via a mobile compute device | |
US20180035216A1 (en) | Method and system for self-managed sound enhancement | |
WO2020062900A1 (en) | Sound processing method, apparatus and device | |
CN107493500A (en) | Multimedia resource player method and device | |
KR20180054742A (en) | Collaborative audio processing | |
US9053710B1 (en) | Audio content presentation using a presentation profile in a content header | |
TWI528351B (en) | Method of audio processing and audio opened- playing device | |
CN111988704B (en) | Sound signal processing method, device and storage medium | |
TWI723440B (en) | Multimedia playing system and method for controlling playing condition of multimedia file | |
TW201143716A (en) | Digital interactive system to assess acceptable voice volume and noise | |
CN108769799B (en) | Information processing method and electronic equipment | |
US11695379B2 (en) | Apparatus and method for automatic volume control with ambient noise compensation | |
WO2022135071A1 (en) | Earphone playback control method and apparatus, and electronic device and storage medium | |
WO2023197474A1 (en) | Method for determining parameter corresponding to earphone mode, and earphone, terminal and system | |
US20180277136A1 (en) | Image-Based Techniques for Audio Content | |
CN116132869A (en) | Earphone volume adjusting method, earphone and storage medium | |
TWI757940B (en) | Video conferencing system and method of removing interruption thereof | |
CN112689193B (en) | Method and system for judging whether to play music according to image information | |
CN106708463B (en) | Method and device for adjusting volume of shot video file | |
KR102265583B1 (en) | Method for standardizing volume of sound source, device, and method of display and operation | |
WO2023245390A1 (en) | Smart earphone control method and apparatus, electronic device and storage medium |