JP7662990B2 - Volume control device and audio control method - Google Patents
Volume control device and audio control method Download PDFInfo
- Publication number
- JP7662990B2 JP7662990B2 JP2021013076A JP2021013076A JP7662990B2 JP 7662990 B2 JP7662990 B2 JP 7662990B2 JP 2021013076 A JP2021013076 A JP 2021013076A JP 2021013076 A JP2021013076 A JP 2021013076A JP 7662990 B2 JP7662990 B2 JP 7662990B2
- Authority
- JP
- Japan
- Prior art keywords
- value
- volume
- volume setting
- setting value
- values
- 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.)
- Active
Links
Images
Landscapes
- Circuit For Audible Band Transducer (AREA)
Description
本発明は、音量調整技術に関し、特に音量の微調整に関する。 The present invention relates to volume adjustment technology, and in particular to fine-tuning the volume.
近年の音声を再生する電子機器は、音量の調整手段がデジタル処理により行われるため、音量の調整は、連続的ではなく離散的で階段状に変化する。携帯機器においては操作性の問題から、音量調整のステップ数を少なくする場合が少なくない。 In recent electronic devices that play audio, volume adjustment is performed digitally, so volume adjustments are not continuous but discrete, step-like changes. In the case of portable devices, the number of steps for volume adjustment is often reduced due to operability issues.
少し雑な設定操作を行ったとしても、適正にパラメータ値を最大値あるいは最小値に設定できるようにする技術が開示されている(特許文献1参照)。 A technology has been disclosed that allows parameter values to be set to the maximum or minimum value appropriately even if the setting operation is performed somewhat roughly (see Patent Document 1).
しかしながら、特許文献1に記載の技術では最大値あるいは最小値に設定できるものの、所望のステップの間の音量を適正に設定することはできない。
However, although the technology described in
本発明はこうした状況に鑑みてなされたものであり、所望の1ステップの間の音量設定を容易にする技術を提供することを目的とする。 The present invention was made in consideration of these circumstances, and aims to provide a technology that makes it easy to set the volume for the desired one step.
上記課題を解決するために、本発明のある態様の音量調整装置は、音量変更操作に基づいて操作値を出力する操作値出力部と、前記操作値を記憶する記憶部と、前記操作値に基づいた音量設定値を生成する音量値生成部と、前記音量設定値に基づいて出力する音量を制御する音量制御部と、を備え、前記音量値生成部は、前記記憶部に記憶された操作値の履歴を最新から所定数参照し、操作値が隣接した2つの値を繰り返す場合に、前記2つの値の操作値の一方の値により定まる第1音量設定値と、前記2つの値の操作値の他方の値により定まる第2音量設定値との間の値となる第3音量設定値を生成することを特徴とする。また、本発明のある態様の音量調整方法は、音量変更操作により出力された操作値に基づいて音量設定値を生成する音量調整方法であって、前記操作値を記憶するステップと、記憶した操作値の履歴が、所定の条件を満たした否かを判定するステップと、を含み、前記所定の条件は、記憶された操作値の履歴を最新から所定数参照し、操作値が隣接した2つの値を繰り返す場合であり、前記所定の条件を満たした場合に、前記2つの値の操作値の一方の値により定まる第1音量設定値と、前記2つの値の操作値の他方の値により定まる第2音量設定値との間の値となる第3音量設定値を生成するステップをさらに含むこと、を特徴とする。 In order to solve the above problem, a volume adjustment device of one embodiment of the present invention comprises an operation value output unit that outputs an operation value based on a volume change operation, a memory unit that stores the operation value, a volume value generation unit that generates a volume setting value based on the operation value, and a volume control unit that controls the volume to be output based on the volume setting value, and is characterized in that the volume value generation unit refers to a predetermined number of operation value histories stored in the memory unit, starting from the most recent, and when the operation value repeats two adjacent values, generates a third volume setting value that is a value between a first volume setting value determined by one of the operation values of the two values and a second volume setting value determined by the other of the operation values of the two values. Also, a volume adjustment method according to one aspect of the present invention is a volume adjustment method that generates a volume setting value based on an operation value output by a volume change operation, and includes a step of storing the operation value, and a step of determining whether the history of the stored operation values satisfies a predetermined condition, the predetermined condition being when the operation value repeats two adjacent values by referring to a predetermined number of the stored operation value histories from the most recent, and further including a step of generating a third volume setting value that is a value between a first volume setting value determined by one of the operation values of the two values and a second volume setting value determined by the other of the operation values of the two values when the predetermined condition is satisfied.
なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システム、記録媒体、コンピュータプログラムなどの間で変換したものもまた、本発明の態様として有効である。 In addition, any combination of the above components, and any transformation of the present invention into a method, device, system, recording medium, computer program, etc., are also valid aspects of the present invention.
本発明によれば、所望の1ステップの間の音量設定を容易にする技術を提供することができる。 The present invention provides a technology that makes it easy to set the volume within a desired step.
実施形態1
本発明の実施形態1について、添付図面を参照して説明する。図1は、電子機器1の外観図である。電子機器1は、所定の音源の音声信号を放音する。電子機器1は、複数ステップの音量変更機能を備え、音量変更操作により放音される音量は、段階的に変化する。所定の音源は、記憶された音楽信号、通信により受信した受信信号等、特に限定は無い。電子機器1は、放音部100と、操作部200(A、B、C)と、表示部300とを備える。
A first embodiment of the present invention will be described with reference to the accompanying drawings. FIG. 1 is an external view of an
放音部100は、電子機器1の筐体1Aの正面に開口したスリット1Bを有し、そのスリット1Bの内部にスピーカ等の音響変換装置を備える。操作部200は、筐体1Aの正面に配置された操作部200A、筐体1Aの天面に配置された操作部200B,筐体1Aの側面に配置された操作部200Cを備える。電子機器1の用途によって、操作部200の配置や必要数は任意である。表示部300は、電子機器1の動作状態や音源に関する情報を表示するが、電子機器1の用途により不要としてもよい。電子機器1は、本発明の音量設定技術を備える音量設定装置10を搭載する。
The sound emission unit 100 has a slit 1B opening on the front side of the
本発明に係る音量設定技術に関して、図2、図3を参照して説明する。図2は、本発明の実施形態1の電子機器に搭載される音量設定装置10の構成を示している。なお音源50は任意の構成による。本発明の音量設定装置10は、操作信号変換部20、音量調整部30及び音声出力部40により構成される。
The volume setting technology according to the present invention will be described with reference to Figs. 2 and 3. Fig. 2 shows the configuration of a
操作信号変換部20は、先に示した電子機器の操作部200であり、電子機器1から放音する音量の設定を行うための操作を行う物理的な操作を、音量を設定する信号に変換するインターフェースである。例えば操作部200Aは電子機器1の正面パネルに備えられた十字キーである。十字キーにより音量を設定する場合は、上下のキー操作に音量設定を対応させる、もしくは左右のキー操作に音量の設定を対応させる。音量の設定に割り当てられたキーを短時間に1回押して離すといった操作により音量を1ステップ変化させ、所定時間以上押し続けた場合には押している時間時応じて音量を複数ステップ変化させる。
The operation
操作部200Bは電子機器1の天面に配置された回転するデバイスであり、ロータリースイッチ、ロータリーエンコーダ、ボリューム(可変抵抗器)等である。回転するデバイスにより音量を設定する場合は、時計方向に回転させると音量増加を行うための信号に変換し、半時計方向に回転させると音量減少を行うための信号に変換する。ロータリースイッチやロータリーエンコーダは離散的な信号を出力するデバイスであるので音量を複数のステップを設定するための信号を出力できるが、ボリュームは連続的な操作感であり連続的な信号を出力することになる。そこでボリュームから出力される電圧をADCにより検出してボリュームの回転角度を所定のステップで検出することで、ロータリースイッチ等と同じように音量をステップで変化させるための信号を得ることができる。操作部200Cは、電子機器1の側面に配置されたアップキー、ダウンキーであり、アップキーは音量をアップする信号に変換し、ダウンキーは音量をダウンさせる信号に変換する。操作信号変換部20は、操作部200の200A,200B,200Cのいずれかが対応していればよい。
The
音量調整部30は、操作信号変換部20からの信号に基づいて、音声出力部40から出力される音量を調整する。音声出力部40は、音源50の音声信号を、音量調整部30からの音量調整信号に基づいた音量で放音する。音声出力部40は、具体的には、音源からの音声信号を、音量調整部30の音量調整信号に基づいて、増幅度を変化させる増幅器及びスピーカやイヤホン等の音響変換装置により構成される。
The
図3は、本発明に係る音量設定装置10の音量調整部30の構成を示している。音量調整部30は、操作値出力部31と、記憶部32と、タイマ33と、音量値生成部34と、および音量制御部35と、を備える。
Figure 3 shows the configuration of the
操作値出力部31は、操作信号変換部20からの操作信号を操作値にして記憶部32に出力する。記憶部32は、操作値の履歴を所定数記憶する。記憶部32は、記憶した最後の操作値を音量値生成部34に出力する。音量値生成部34は、操作値に基づいて音量設定値を生成し、音量制御部35に出力する。音量制御部35は、音量設定値に基づいて、音声出力部40から出力される音量を制御する音量制御信号を出力する。タイマ33は、所定時間のカウントするタイマであり操作値出力部31が新たな操作値を出力する度に、タイマをリセットする。なお、タイマ33のカウント終了は、タイマのカウント時間により定まる時間の間、音量変更操作が無い状態を意味することになるが、これは後述する。
The operation
本発明に係る音量設定技術に関して、その動作を図4を参照して説明する。通常の動作は、操作部200の操作により、操作信号変換部20は、アップ「+1」もしくはダウン「-1」といった操作信号を出力する。具体的には、図4では音量の増加操作を▲、減少操作を▼とし、増加操作▲により操作信号変換部20は「+1」の操作信号を出力し、減少操作▼により操作信号変換部20は「-1」の操作信号を出力する。
The operation of the volume setting technology according to the present invention will be described with reference to FIG. 4. In normal operation, the operation
操作値出力部31は、操作信号を累積加算し操作値として記憶部32に記憶させる。記憶部32は、操作値を最新から過去の履歴を所定数記憶する。また、記憶部32は、最も古い操作値から順に削除する。具体的には、記憶部32で記憶する操作値は4つとし、図4の範囲Aに示す増加操作において、操作毎に操作信号「+1」が出力されるので操作値は操作に対応して1→2→3→4→5と増加する。最新の操作値が「4」の際に、操作信号「+1」が出力されると、最新の操作値として「5」が記憶され、もっとも古い「1」を削除する。
The operation
音量値生成部34は、通常、記憶部32に記憶された最新の操作値のデータに基づいて音量設定値を生成する。操作値に対して音量値生成部34で生成される音量設定値は、音量の設定操作に対して実際に出力される音量の変化に合わせた特性とするため適時設定される。この設定は、ボリュームのカーブに対応し、音量調整では一般的にAカーブといわれる低音量側は操作に対して変化が少なく、大音量側は操作に対して変化が大きくなるような設定としている。
The volume
本発明では、上記の通常の動作では設定することが出来ない隣あった2つの音量設定値の間の音量を出力するための構成を備える。 The present invention is provided with a configuration for outputting a volume between two adjacent volume settings that cannot be set using the normal operation described above.
(設定の構成1)
音量値生成部34は、操作値出力部31から操作値の変更の有無の情報を得る。そして、音量値生成部34は、操作値出力部31の操作値が変化した場合に、記憶部32に記憶された操作値を参照する。音量値生成部34が参照する操作値は、記憶部32に記憶された最新の操作値から所定数前の操作値までである。音量値生成部34は、参照した結果が所定の条件と一致した場合に、以降で記載する微調整モードによる音量設定値の生成を開始する。
(Settings configuration 1)
The volume
記憶部32に記憶された最新の操作値と2つ前の操作値とを取得して操作値を比較し、さらに1つ前の操作値と4つ前の操作値とを比較する。音量値生成部34は、最新と3つ前の操作値及び2つ前と4つ前の操作値とのいずれかが異なる場合、通常通り最新の操作値に基づいて音量設定値を生成する。
The latest operation value and the operation value two values ago stored in the
一方、音量値生成部34は、最新と2つ前の操作値とが同じで、且つ2つ前と4つ前の操作値が同じ場合、所定の条件を満たしたと判定する。つまり、本発明の実施形態1の電子機器1を所有するユーザが、1ステップの音量の増減を繰り返す音量変更操作を行った場合に相当する。この場合、記憶部32に記憶された操作値は、隣接した2つの値の操作値が交互に連続して記憶される。音量値生成部34は、最新の操作値に基づく音量設定値と1つ前の操作値に基づく音量設定値との間の音量設定値を生成する。つまり音量値生成部34は、隣接する2つ値の操作値の下限値により定まる第1音量設定値と、隣接する2つの値の操作値の上限値により定まる第2音量設定値との間の第3音量設定値を生成する。
On the other hand, if the latest and second previous operation values are the same and the second previous and fourth previous operation values are the same, the volume
言い換えると、記憶された操作値が隣接した2つの値を繰り返す場合、2つの値の操作値の一方の値は、2つの値の操作値の他方より大きくなる。また記憶された操作値が隣接した2つの値を繰り返す場合、2つの値の操作値の一方の値により定まる第1音量設定値と、2つの値の操作値の他方より定まる第2音量設定値との間の第3音量設定値を生成するといえる。 In other words, when the stored operation value repeats two adjacent values, one of the operation values is greater than the other of the two values. Also, when the stored operation value repeats two adjacent values, it can be said to generate a third volume setting value between a first volume setting value determined by one of the operation values of the two values and a second volume setting value determined by the other of the operation values of the two values.
図5Aは、所望する1ステップの間の音量を出力する動作を示す。具体的には、操作がアップ、ダウン、アップといった操作が行われた場合、例えば、操作値が「3」から「4」に変化し、次の操作で「3」、さらに次の操作で「4」になる。所望する1ステップは、操作値が「3」と操作値が「4」であり、操作値「3」による音量設定値に基づく音量と、操作値「4」による音量設定値に基づく音量との間の音量を出力する。 Figure 5A shows the operation of outputting the volume for one desired step. Specifically, when an operation such as up, down, and up is performed, for example, the operation value changes from "3" to "4", and then with the next operation it becomes "3", and with the next operation it becomes "4". The desired one step is an operation value of "3" and an operation value of "4", and a volume between the volume based on the volume setting value with operation value "3" and the volume based on the volume setting value with operation value "4" is output.
この場合、最新の操作値「4」と2つ前の操作値「4」は同じであり、さらに1つ前の操作値「3」と4つ前の操作値「3」は同じであり、音量値生成部34は、所定の条件を満たしたと判定する。音量値生成部34は、最新の操作値「3」による音量設定値「15」と1つ前の操作値「4」の音量設定値「19」との間の音量設定値「X」を生成する。つまり、隣接する2つの値の操作値の下限値「3」により定まる第1音量設定値「15」と、隣接する2つ値の操作値の上限値「4」により定まる第2音量設定値「19」との間の第3音量設定値「X」を生成する。
In this case, the latest operation value "4" is the same as the operation value two values ago "4", and furthermore the operation value one value ago "3" is the same as the operation value four values ago "3", so the volume
図5Aでは、記憶部32に記憶された最新を含めた操作値の履歴を4つ参照する。そのため3回の操作により所定の条件が満たされるか否かを判定するが、判定に必要な条件を4回以上としてもよい。例えば、図5Bの場合、5つの操作値の履歴を参照し、操作がアップ、ダウン、アップ、ダウンといった操作により最新の操作値と2つ前の操作値と5つ前の操作値が一致し、且つ2つ前の操作値と4つ前の操作値とが一致した場合に、所定の条件が満たされたと判定し、最新の操作値による音量設定値と1つ前の操作値による音量設定値との間の音量設定値を生成する。つまり、判定に必要な回数が増える場合、参照する履歴を増やし、最新及び参照した奇数回前の操作値の全てが一致、且つ参照した操作値の偶数回前の設定値が全て同じであれば、所定の条件が満たされたと判定し、最新の操作値による音量設定値と1つ前の操作値による音量設定値との間の音量設定値を生成する。
In FIG. 5A, four operation value histories including the latest one stored in the
前記した所定の条件が満たされ、最新の操作値による音量設定値と1つ前の操作値による音量設定値との間の音量設定値を生成する状態を、本発明では「微調整モード」と記載する。本発明の音量設定装置10は、微調整モードであることを報知する報知部50を備えてもよい。
In the present invention, the state in which the above-mentioned predetermined conditions are satisfied and a volume setting value between the volume setting value based on the latest operation value and the volume setting value based on the immediately previous operation value is generated is referred to as "fine-tuning mode." The
最新の操作値による音量設定値と1つ前の操作値による音量設定値との間の音量設定値、つまり第3音量設定値は、最新の操作値と、一つ前の操作値の中間値に基づいて音量設定値を生成してもよいし、最新の操作値に基づく音量設定値と、一つ前の操作値に基づく音量設定値の中間値を生成してもよい。具体的に前者は、前記した所定の条件を満たす場合で、最新の操作値を「4」、一つ前の操作値は「3」とすると、音量値生成部34は、操作値は「3.5」であるとして音量設定値を生成する。一方後者では、音量値生成部34は、最新の操作値「4」に基づく音量設定値「19」と一つ前の操作値に基づく音量設定値「15」との中間値「17」を生成する。
The volume setting value between the volume setting value based on the latest operation value and the volume setting value based on the previous operation value, i.e., the third volume setting value, may be generated based on the intermediate value between the latest operation value and the previous operation value, or the intermediate value between the volume setting value based on the latest operation value and the volume setting value based on the previous operation value. Specifically, in the former case, when the above-mentioned predetermined condition is satisfied, if the latest operation value is "4" and the previous operation value is "3", the volume
中間値により生成される音量設定値は、音量変更操作に対して実際に出力される音量の特性を直線とすれば前者後者とも同じ値となるが、前記したAカーブであれば前者と後者による音量設定値は異なる。 The volume setting value generated by the intermediate value will be the same for both the former and latter if the characteristics of the volume actually output in response to the volume change operation are linear, but if it is the A curve mentioned above, the volume setting values for the former and latter will be different.
まとめると、本発明の音量調整装置10は、音量変更操作が所望のステップ間の繰り返しであることを検出し、音量変更操作が所望のステップ間の繰り返しである場合には、所望のステップ間の下限により定めた音量と所望のステップ間の上限により定めた音量との間の音量を設定する。
In summary, the
(設定の構成2)
設定の構成1では、微調整モードとなった場合に、第3音量設定値は、一意的に中間値を採用する構成としたが、微調整モードとされた以降も所定の操作により第3音量設定値を細かく設定してもよい。
(Settings configuration 2)
In setting
微調整モードとされた以降も第3音量設定値を細かく設定する構成の概要を説明する。微調整モードとされた操作つまり1ステップの音量の増減を繰り返す音量変更操作により、微調整モードとなった後も、引き続き1ステップの音量の増減を繰り返す音量変更操作を行うことで、隣接する2つの値の操作値の下限値により定まる第1音量設定値を中間値方向に徐々に増加させた第3音量設定値を生成し、隣接する2つの値の操作値の上限値により定まる第2音量設定値を中間値方向に徐々に減少させた第3音量設定値を生成する。 The following describes an overview of a configuration for finely setting the third volume setting value even after the fine adjustment mode is selected. By performing a volume change operation in which the fine adjustment mode is selected, that is, a volume change operation that repeatedly increases and decreases the volume by one step, even after the fine adjustment mode is selected, a third volume setting value is generated by gradually increasing the first volume setting value, which is determined by the lower limit of the operation values of two adjacent values, toward the intermediate value, and a third volume setting value is generated by gradually decreasing the second volume setting value, which is determined by the upper limit of the operation values of two adjacent values, toward the intermediate value.
設定の構成2の動作を、図6を用いて説明する。音量変更操作により「4」「5」「4」「5」の操作値が記憶部32に記憶されたため、音量値生成部34は、微調整モードによる音量設定値を生成する。この場合、隣接する2つの値の操作値の上限値は「5」であり、隣接する2つの値の操作値の下限値は「4」となる。最新の操作値「5」は上限値であるため、本来の音量設定値「24」に対して所定量だけ減少させる。図6では音量設定値を「24」から「23」にしている。引き続き1ステップの音量の増減を繰り返す音量変更操作を進め、操作値を「4」とすると、これは隣接する2つの値の操作値の下限値であるため、本来の音量設定値「19」に対して増加させる。図6では音量設定値を19から20にしている。
The operation of the setting
音量値生成部34は、操作値が上限値の場合に補正して生成される第3音量設定値と、操作値が下限値の場合に補正して生成される第3音量設定値との差分を検出する。1ステップの音量の増減を繰り返す音量変更操作を進めることで、音量値生成部34は、操作値が下限値の場合の音量設定値をさらに増加させ補正して第3音量設定値を生成し、操作値が上限値の場合の音量設定値を減少させ補正して第3音量設定値を生成する。またさらに、1ステップの音量の増減を繰り返す音量変更操作を進めることで、音量値生成部34は、操作値が上限値の場合に補正して生成される第3音量設定値と、操作値が下限値の場合に補正して生成される第3音量設定値との差分が所定の範囲以下となった場合に、以降の1ステップの音量の増減を繰り返す音量変更操作による操作値の変更に対して第3音量設定値は補正しない。
The volume
具体的には、微調整モードにおいて1ステップの音量の増減を繰り返す音量変更操作を進めと、音量値生成部34は、音量設定値を徐々に中間値に近づけていき、中間値近傍にて音量設定値は収束する。図6の場合では、音量値生成部34は、操作値が上限値の場合の音量設定値と、操作値が下限値の音量設定値が「22」で一致したため、以降の1ステップの音量の増減を繰り返す音量変更操作に対して音量設定値の補正は行わない。
Specifically, when a volume change operation that repeatedly increases and decreases the volume by one step is performed in fine adjustment mode, the volume
音量値生成部34が行う補正に関しては、繰り返しの回数に応じて補正量を増やしてもよいし、補正した音量設定値を記憶して補正された音量設定値に対してさらに所定量の補正値の増減を行ってもよい。
Regarding the correction performed by the volume
図6では、操作値が下限値の場合の音量設定値から増加させた第3音量設定値と、操作値が上限値の音量設定値から減少させた第3音量設定値とが一致した場合であるが、操作値が上限値の場合の音量設定値に対して下限値の音量設定値を下回る可能性もある。いずれにしても、操作値が上限値の場合の音量設定値と、操作値が下限値の音量設定値とは実質的に出力される音量の差はほとんどないので、操作値が上限値の場合の音量設定値に対して下限値の音量設定値が所定の範囲となった場合、音量値生成部34は、以降の所定範囲の操作が行われても、操作による操作値の上限値及び下限値に対して最後に生成した音量設定値を維持することとして問題はない。
In FIG. 6, the third volume setting value increased from the volume setting value when the operation value is the lower limit matches the third volume setting value decreased from the volume setting value when the operation value is the upper limit, but there is also a possibility that the volume setting value when the operation value is the upper limit will be lower than the volume setting value when the operation value is the upper limit. In any case, there is almost no difference in the volume that is actually output between the volume setting value when the operation value is the upper limit and the volume setting value when the operation value is the lower limit, so when the volume setting value when the operation value is the upper limit falls within a predetermined range, the volume
(設定の構成3)
本発明の目的としては、操作値が上限値の場合の音量設定値と、操作値が下限値の音量設定値との間の音量に調整することであるため、音量値生成部34は、1ステップの音量の増減を繰り返す音量変更操作により第3音量設定値を特定の音量設定値に収束させなくてもよい。音量値生成部34は、1ステップの音量の増減を繰り返す度に、操作値が上限値の場合の第1音量設定値と、操作値が下限値の第2音量設定値と、の間の第3音量設定値をランダムに生成してもよい。
(Settings configuration 3)
Since the object of the present invention is to adjust the volume between the volume setting value when the operation value is the upper limit and the volume setting value when the operation value is the lower limit, the volume
次に、タイマ33の動作に関して説明を行う。タイマ33は、音量変更操作が行われ操作値出力部31が操作値の出力を行ったのを機にカウントを開始し、所定時間のカウントを行う。また、タイマ33は、カウント時間が終了する前に、音量変更操作が行われ操作値出力部31が操作値を出力した場合にはタイマをリセットして再びカウントを開始する。
Next, the operation of the
つまり、タイマ31によるカウント時間の終了は、カウント時間中に音量変更操作が無かったことを意味する。そのため、タイマ31のカウント時間が終了せず、記憶部32に記憶された操作値が所定の条件を満たした場合、音量変更操作が連続して行われた、と判定することができる。また、タイマ31のカウントする目的は音量変更操作が連続して行われたか否かを判定することであるため、カウント時間が終了した場合、記憶部32は、記憶された最新の操作値以外は参照不要であるため削除してもよい。
In other words, the end of the count time by
例えば、カウント時間が終了前に音量変更操作が行われ、記憶部32に記憶された過去の操作値の履歴が所定の条件を満たしているとする。しかし、3つ前の操作値が入力された後、タイマのカウント時間が終了してから2つ前の操作値が入力された、というような場合は、音量変更操作が連続して行われていないので、2つ前の操作が行われた時点で、3つ前の操作値より過去の操作値を削除することで、所定の条件を満たすことが無い様にすることができる。
For example, suppose that a volume change operation is performed before the count time ends, and the history of past operation values stored in the
現実的には、タイマ31のカウント時間は、1秒程度と比較的短時間でよい。本発明におけるタイマは、微調整モードにするための操作の判定及び微調整モード中の音量の微調整を行う操作であることを判定するため、比較的素早い繰り返し操作であることを検出するのに適した所定時間をカウントする。また、微調整モードとするためのタイマ31のカウント時間と、微調整モード中のタイマ31のカウント時間とは、異なる時間であってもよい。
In reality, the count time of
音量値生成部34は、操作値が所定の条件を満たし微調整モードとする判定の際に、タイマ31を監視してカウント時間が終了していたら微調整モードとせず、カウント時間が継続中であれば微調整モードとする。また、微調整モードとされた判定に使用した操作値による微調整モードの音量設定値を生成してもいいし、次の音量変更操作により出力される操作値から微調整モードによる音量設定値を生成してもよい。
When the volume
また、音量値生成部34は、微調整モードの設定以降もタイマ31のカウント時間を監視する。タイマ31のカウント時間が継続中に操作値の変更を検出され、変更された操作値が所定の条件を満たしていれば微調整モードによる音量設定値の生成を継続する。音量値生成部34は、微調整モードの設定後、タイマ31のカウント時間が終了した以降の操作値に対しては、通常の音量設定値を生成する。
The volume
図7を用いて、微調整モードとする方法を説明する。音量変更操作により操作値が出力される(ステップS1)。操作値を記憶し、操作値に基づいた音量設定値を生成する(ステップS2)。設定値の出力を機にタイマが所定時間のカウントを開始する(ステップS3)。タイマが所定時間のカウントを終了した場合(ステップS4のYes)、処理を終了する。タイマが所定時間のカウントを終了していない場合は、ステップS5に進む。 The method for entering the fine adjustment mode will be described with reference to FIG. 7. An operation value is output by a volume change operation (step S1). The operation value is stored, and a volume setting value based on the operation value is generated (step S2). Upon output of the setting value, a timer starts counting a predetermined time (step S3). If the timer has finished counting the predetermined time (Yes in step S4), the process ends. If the timer has not finished counting the predetermined time, proceed to step S5.
音量変更操作の有無を検出する(ステップS5)。音量変更操作が無かった場合は、ステップS4に戻る。音量変更操作が行われた場合は、その操作による操作値を記憶する(ステップS6)。記憶された操作値が、所定の条件を満たしているかの判定を行う(ステップS7)。ステップS7で所定の条件を満たしていないと判定された場合(ステップ7のNo)は、記憶した最新の操作値に基づいて音量設定値を生成し(ステップS8)、ステップS4に戻る。ステップS7で所定の条件を満たしていれば、微調整モードとする(ステップS9)。 Detect whether or not a volume change operation has been performed (step S5). If no volume change operation has been performed, return to step S4. If a volume change operation has been performed, store the operation value resulting from that operation (step S6). Determine whether the stored operation value satisfies a predetermined condition (step S7). If it is determined in step S7 that the predetermined condition is not met (No in step S7), generate a volume setting value based on the most recently stored operation value (step S8), and return to step S4. If the predetermined condition is met in step S7, switch to fine adjustment mode (step S9).
なお、所定の条件は、前述したとおり、1ステップの音量の増減を繰り返す音量変更操作がなされたか否か、つまり音量変更操作が所定範囲の繰り返しであるか否かである。これを検出するため、最新の操作値と2つ前の操作値の一致、且つ1つ前の操作値と3つ前の操作値の一致といった条件で判定するが、何回の繰り返しを所定の条件とするかは設計事項であり任意に設定されてもよい。 As mentioned above, the predetermined condition is whether or not a volume change operation that repeatedly increases and decreases the volume by one step has been performed, in other words, whether or not the volume change operation is repeated within a predetermined range. To detect this, a determination is made based on conditions such as a match between the latest operation value and the operation value two steps before, and a match between the operation value one step before and the operation value three steps before, but the number of repetitions that constitute the predetermined condition is a design matter and may be set arbitrarily.
設定の構成1で説明した第3音量設定値を中間値とする場合に関して、微調整モードをなった場合の操作値に基づいて、第3音量設定値を中間値で生成してもよい。つまり微調整モードとされるのと同時に第3音量設定値は中間値で生成されてもよい。また、微調整モードとなった場合の次の音量変更操作による操作値が、所定の条件を満たし、且つタイマが所定時間のカウントを終了していない場合に、第3音量設定値を中間値として生成してもよい。
In the case where the third volume setting value described in the setting
図8を用いて、微調整モードによる第3音量設定値の生成方法を説明する。設定の構成1~3で第3音量設定値に関して3通りの説明を行ったが、設定の構成1における第3音量設定値は、中間値であり微調整モードにすると一意的に定まる。微調整モードにおいて第3音量設定値を補正する構成である設定の構成2の説明を行う。
Using Figure 8, we will explain how to generate the third volume setting value in fine adjustment mode. Three different explanations have been given regarding the third volume setting value in setting
微調整モードとされた際の音量変更操作を機に所定時間のカウントを開始したタイマが所定時間のカウントを終了したか否かを判定する(ステップS20)。タイマが所定時間のカウントを終了した場合は微調整モードを解除し(ステップS20のYes)、タイマが所定時間のカウントを終了していない場合ステップS21へ進む(ステップS20のNo)。次に音量変更操作の有無を検出する(ステップS21)。音量変更操作が無い場合(ステップS21のNo)、S20へ戻る。音量変更操作の検出つまり音量変更操作により操作値が出力された場合、タイマのカウントをリセットし所定時間のカウントを開始する(ステップS22)。 When the fine adjustment mode is activated, a timer that starts counting a predetermined time upon a volume change operation is determined to have finished counting the predetermined time (step S20). If the timer has finished counting the predetermined time, the fine adjustment mode is released (Yes in step S20), and if the timer has not finished counting the predetermined time, the process proceeds to step S21 (No in step S20). Next, the presence or absence of a volume change operation is detected (step S21). If there is no volume change operation (No in step S21), the process returns to S20. If a volume change operation is detected, that is, if an operation value is output due to a volume change operation, the timer is reset and the timer starts counting the predetermined time (step S22).
ステップS21で出力された操作値を記憶する(ステップS23)。次に記憶された操作値が所定の条件を満たすか否かを判定する(ステップS24)。記憶された操作値が所定の条件を満たさない場合(ステップS24のNo)、最新の操作値に基づいた音量設定値を生成し(ステップS25)、微調整モードは終了する。 The operation value output in step S21 is stored (step S23). Next, it is determined whether the stored operation value satisfies a predetermined condition (step S24). If the stored operation value does not satisfy the predetermined condition (No in step S24), a volume setting value is generated based on the latest operation value (step S25), and the fine adjustment mode ends.
記憶された操作値が所定の条件を満たす場合(ステップS24のYes)、最新の操作値に基づいた音量設定値を中間値に近づける補正を行って生成する(ステップS26)。補正された音量設定値と一つ前に生成した音量設定値との差を算出し、その差分が所定以下であるか否かを判定する(ステップS27)。差分が所定値以下の場合(ステップS29のYes)、最新の音量設定値の生成を維持して処理を終了する。 If the stored operation value satisfies the predetermined condition (Yes in step S24), a volume setting value based on the latest operation value is corrected to approach the intermediate value and generated (step S26). The difference between the corrected volume setting value and the previously generated volume setting value is calculated, and it is determined whether the difference is equal to or smaller than a predetermined value (step S27). If the difference is equal to or smaller than the predetermined value (Yes in step S29), the generation of the latest volume setting value is maintained and the process ends.
ステップS27で、差分が所定値以上の場合(ステップS29のNo)、ステップS29に進む。ステップS29にて、タイマが所定時間のカウントを終了したか否かを判定する。タイマが所定時間のカウントを終了した場合(ステップS29のYes)、ステップS28に進み、最新の音量設定値を維持して処理を終了する。ステップS29にて、タイマが所定時間のカウントを終了していない場合(ステップS29のNo)、ステップS21に戻り、タイマのカウントが終了するか、音量変更操作が検出されるまで、ステップS20とステップS21を繰り返す。 In step S27, if the difference is equal to or greater than the predetermined value (No in step S29), proceed to step S29. In step S29, it is determined whether the timer has finished counting the predetermined time. If the timer has finished counting the predetermined time (Yes in step S29), proceed to step S28, maintain the latest volume setting value, and end the process. In step S29, if the timer has not finished counting the predetermined time (No in step S29), return to step S21, and repeat steps S20 and S21 until the timer has finished counting or a volume change operation is detected.
本発明は以上説明した本実施形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々変更可能である。 The present invention is not limited to the embodiment described above, and various modifications are possible without departing from the spirit of the present invention.
1 電子機器
100 放音部
200 操作部、200A 操作部、200B 操作部、300 操作部
300 表示部
1A 筐体、1B スリット
10 音量設定装置
20 操作信号変換部
30 音量調整部
31 操作値出力部
32 記憶部
33 タイマ
34 音量値生成部
35 音量制御部
40 音声出力部
REFERENCE SIGNS
Claims (3)
前記操作値を記憶する記憶部と、
前記操作値に基づいた音量設定値を生成する音量値生成部と、
前記音量設定値に基づいて出力する音量を制御する音量制御部と、
を備え、
前記音量値生成部は、
前記記憶部に記憶された操作値の履歴を最新から所定数参照し、最新の操作値が隣接し
た2つの値を繰り返す所定の条件が満たされ、且つ前記2つの値の操作値の一方の値によ
り定まる第1音量設定値と、前記2つの値の操作値の他方の値により定まる第2音量設定
値との音量差が所定値以下でない場合は、前記音量設定値の差がより少ないステップとし
て前記第1音量設定値と前記第2音量設定値との中間値に近づけるよう狭く補正すること
を特徴とする音量調整装置。 an operation value output unit that outputs an operation value based on a volume change operation;
A storage unit that stores the operation value;
a volume value generating unit that generates a volume setting value based on the operation value;
a volume control unit that controls the volume of an output based on the volume setting value;
Equipped with
The volume value generating unit
A predetermined number of operation value histories stored in the storage unit are referenced from the most recent, and if a predetermined condition that the most recent operation value repeats two adjacent values is satisfied and the volume difference between a first volume setting value determined by one of the operation values of the two values and a second volume setting value determined by the other of the two operation values is not equal to or less than a predetermined value, the step with the smaller difference in the volume setting values is selected.
and narrowly correcting the volume to approach an intermediate value between the first volume setting value and the second volume setting value .
イマを備え、
前記音量値生成部は、
前記記憶部に記憶された操作値の履歴を最新から所定数参照し、最新の操作値が隣接し
た2つの値を繰り返す所定の条件が満たされ、且つ前記タイマのカウント時間が終了して
いなく、且つ前記音量差が所定値以下でない場合は、前記音量設定値の差がより少ないス
テップとして前記中間値に近づける補正をすることを特徴とする請求項1に記載の音量調
整装置。 a timer that starts counting a predetermined time when the operation value is output from the operation value output unit,
The volume value generating unit
A predetermined number of operation value histories stored in the storage unit are referenced from the most recent, and if a predetermined condition is satisfied that the most recent operation value is a repetition of two adjacent values, and if the count time of the timer has not ended , and if the volume difference is not equal to or less than a predetermined value, the switch with the smaller difference in the volume setting value is selected.
2. The volume control device according to claim 1, wherein the volume control step is a step of correcting the volume so as to approach the intermediate value .
あって、
前記操作値を記憶するステップと、
記憶した操作値の履歴が、所定の条件を満たした否かを判定するステップと、
を含み、
前記所定の条件は、記憶された操作値の履歴を最新から所定数参照し、最新の操作値が
隣接した2つの値を繰り返す場合であり、
前記所定の条件を満たされ、且つ前記2つの値の操作値の一方の値により定まる第1音
量設定値と、前記2つの値の操作値の他方の値により定まる第2音量設定値との音量差が
所定値以下でない場合は、音量設定値の差がより少ないステップとして前記第1音量設定
値と前記第2音量設定値との中間値に近づけるよう狭く補正するステップをさらに含むこ
とを特徴とする音量調整方法。 A volume adjustment method for generating a volume setting value based on an operation value output by a volume change operation, comprising:
storing the operation value;
A step of determining whether or not the history of the stored operation values satisfies a predetermined condition;
Including,
The predetermined condition is that a predetermined number of stored operation value histories are referenced from the most recent, and the most recent operation value repeats two adjacent values,
The predetermined condition is satisfied, and a volume difference between a first volume setting value determined by one of the two operation values and a second volume setting value determined by the other of the two operation values is
If the difference is not equal to or less than the predetermined value, the step with the smaller difference in the volume setting value is set to the first volume setting
The volume adjustment method according to claim 1, further comprising a step of narrowly correcting the volume to approach an intermediate value between the volume setting value and the second volume setting value .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021013076A JP7662990B2 (en) | 2021-01-29 | 2021-01-29 | Volume control device and audio control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021013076A JP7662990B2 (en) | 2021-01-29 | 2021-01-29 | Volume control device and audio control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022116744A JP2022116744A (en) | 2022-08-10 |
| JP7662990B2 true JP7662990B2 (en) | 2025-04-16 |
Family
ID=82749413
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021013076A Active JP7662990B2 (en) | 2021-01-29 | 2021-01-29 | Volume control device and audio control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7662990B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115691494B (en) * | 2022-11-02 | 2025-08-29 | 博泰车联网(南京)有限公司 | Voice control method, electronic device, and computer-readable storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1992008281A1 (en) | 1990-10-31 | 1992-05-14 | Shintom Co., Ltd. | Electronic volume device |
| JP2014140124A (en) | 2013-01-21 | 2014-07-31 | Funai Electric Co Ltd | Electronic apparatus having sound volume adjustment function and sound volume adjustment method for electronic apparatus having sound volume adjustment function |
| CN107613146A (en) | 2017-11-10 | 2018-01-19 | 维沃移动通信有限公司 | A kind of method for regulation of sound volume, device and mobile terminal |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08162864A (en) * | 1994-12-05 | 1996-06-21 | Zanavy Informatics:Kk | Sound volume controller |
| JPH1117471A (en) * | 1997-06-20 | 1999-01-22 | Alpine Electron Inc | Attenuator adjustment device |
| JP3947054B2 (en) * | 2002-07-10 | 2007-07-18 | インターナショナル・ビジネス・マシーンズ・コーポレーション | INPUT DEVICE, INPUT METHOD, PROGRAM, AND RECORDING MEDIUM |
| JP2014086965A (en) * | 2012-10-25 | 2014-05-12 | Funai Electric Co Ltd | Electronic apparatus having volume control function, electronic apparatus system, and volume control method |
-
2021
- 2021-01-29 JP JP2021013076A patent/JP7662990B2/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO1992008281A1 (en) | 1990-10-31 | 1992-05-14 | Shintom Co., Ltd. | Electronic volume device |
| JP2014140124A (en) | 2013-01-21 | 2014-07-31 | Funai Electric Co Ltd | Electronic apparatus having sound volume adjustment function and sound volume adjustment method for electronic apparatus having sound volume adjustment function |
| CN107613146A (en) | 2017-11-10 | 2018-01-19 | 维沃移动通信有限公司 | A kind of method for regulation of sound volume, device and mobile terminal |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022116744A (en) | 2022-08-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9270242B2 (en) | Sound volume adjusting apparatus | |
| CN119628582B (en) | Method and apparatus for outputting tactile signals to a tactile transducer | |
| US11150733B2 (en) | Methods and apparatuses for providing a haptic output signal to a haptic actuator | |
| CN107277268B (en) | A kind of audio playback method and mobile terminal | |
| US20030123680A1 (en) | Volume control system and method of volume control for portable computer | |
| JP7662990B2 (en) | Volume control device and audio control method | |
| JP2010160424A (en) | Pedal output conversion device and program | |
| KR101118762B1 (en) | Method for enabling user control of an apparatus | |
| JP4756401B2 (en) | Volume control device and program thereof | |
| US20090208035A1 (en) | Volume control apparatus and volume control program | |
| JP4256631B2 (en) | Auto gain control device | |
| CN106233247B (en) | Audio device, audio system and volume value control method | |
| KR100490408B1 (en) | Volume control apparatus and method thereof | |
| CN111696574A (en) | Audio signal processing device and audio signal adjusting method thereof | |
| JP2011061548A (en) | Acoustic processing apparatus | |
| JP2014140124A (en) | Electronic apparatus having sound volume adjustment function and sound volume adjustment method for electronic apparatus having sound volume adjustment function | |
| JP4661422B2 (en) | Muting device, digital audio device | |
| JP2003318673A (en) | Electronic volume circuit | |
| US12068731B2 (en) | Amplifier power attenuator and closed loop operation | |
| JP4948202B2 (en) | Audio output device, control program, and computer-readable recording medium | |
| JP2004037823A (en) | Volume controller of video/acoustic device | |
| JPH10313224A (en) | Audio device and sound volume adjusting method therefor | |
| CN115202605A (en) | Audio processing method and device, terminal equipment and storage medium | |
| US20250370706A1 (en) | Sound Volume Setting Method, Sound Volume Setting Terminal, Earphones, and Sound Volume Setting System | |
| US20260045269A1 (en) | Playback loudness processing method of media data, electronic device, and medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20231228 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20240920 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20241008 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20241202 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20250114 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20250219 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20250305 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250318 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7662990 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |