JP2017102863A - Music reproduction device and program - Google Patents

Music reproduction device and program Download PDF

Info

Publication number
JP2017102863A
JP2017102863A JP2015237961A JP2015237961A JP2017102863A JP 2017102863 A JP2017102863 A JP 2017102863A JP 2015237961 A JP2015237961 A JP 2015237961A JP 2015237961 A JP2015237961 A JP 2015237961A JP 2017102863 A JP2017102863 A JP 2017102863A
Authority
JP
Japan
Prior art keywords
music
risk
information
signal
music information
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.)
Granted
Application number
JP2015237961A
Other languages
Japanese (ja)
Other versions
JP6398960B2 (en
Inventor
宇田 尚典
Naonori Uda
尚典 宇田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toyota Central R&D Labs Inc
Original Assignee
Toyota Central R&D Labs Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Toyota Central R&D Labs Inc filed Critical Toyota Central R&D Labs Inc
Priority to JP2015237961A priority Critical patent/JP6398960B2/en
Publication of JP2017102863A publication Critical patent/JP2017102863A/en
Application granted granted Critical
Publication of JP6398960B2 publication Critical patent/JP6398960B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
  • Traffic Control Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To achieve both entertainment property and safety.SOLUTION: The risk of driving is determined by a risk determination unit 42 on the basis of a signal from a speed sensor 18. When it is determined that there is a risk of driving when generating a music, at least one of the scale of sound in generated music, a chord sounded in music, timing with which the sound of an instrument is sounded in music, and the playing speed of an instrument in music is changed by a signal processing unit 44.SELECTED DRAWING: Figure 5

Description

本発明は、音楽を再生する音楽再生装置及びプログラムに関する。   The present invention relates to a music playback apparatus and program for playing back music.

従来より、楽曲データと車両状態の検出結果を利用して音楽を発生する車両用音楽発生装置が知られている(特許文献1)。   2. Description of the Related Art Conventionally, a vehicular music generator that generates music using music data and vehicle state detection results is known (Patent Document 1).

また、モニタに表示される監視対象から入力される外部信号に基づいて、監視対象の変化を音楽の変化に変換することで、監視作業を聴覚にも反映させる信号監視用音楽演奏装置が知られている(特許文献2)。   There is also known a signal performance music performance device that reflects the monitoring work to the auditory sense by converting the change of the monitoring target into the change of music based on the external signal input from the monitoring target displayed on the monitor. (Patent Document 2).

また、クルマの走行スピード、回転数、加速度の車両情報と、GPSとから自動作曲を行うスマホアプリが知られている(非特許文献1)。   In addition, there is known a smartphone application that performs an automatic music composition from vehicle information of vehicle running speed, rotation speed, acceleration, and GPS (Non-Patent Document 1).

また、外部環境や人の生態情報を使って自動作曲する音響構成装置が知られている(特許文献3)。   In addition, there is known an acoustic composing device that performs automatic composition using external environment and human ecological information (Patent Document 3).

特許第4984861号公報Japanese Patent No. 4984861 特許第4458581号公報Japanese Patent No. 4458581 特許第3381074号公報Japanese Patent No. 3381074

インターネット<URL:http://www.volkswagen.co.uk/playtheroad>Internet <URL: http://www.volkswagen.co.uk/playtheroad>

車両で音楽を再生する場合には、エンタテイメント性と安全性の両立を図る必要がある。このとき、曲調を変えることで周囲環境を知らせようとしても、クルマが接近しているから知らせているのか、音楽の演出として曲調を変えたのか分からない。これは、飽きさせないために、様々な曲調が変化できるようになればなるほど、区別がつかなくなる。また、クルマでは、正しい運転をしていない場合に、それを気づかせ誘導することが求められている。   When playing music on a vehicle, it is necessary to achieve both entertainment and safety. At this time, even if it tries to inform the surrounding environment by changing the tune, it does not know whether the tune has been changed as a musical performance or because the car is approaching. In order not to get bored, the more the various tunes can be changed, the more difficult it becomes to distinguish. Cars are also required to be alerted and guided when they are not driving properly.

このように、クルマの場合は、エンタテイメントと安全性の二つの要素が要求されている。   Thus, in the case of a car, two elements of entertainment and safety are required.

本発明は上記事情に鑑みなされたものであり、本発明の目的は、エンタテイメント性と安全性の両立を図ることができる音楽再生装置及びプログラムを提供することにある。   The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a music playback apparatus and program capable of achieving both entertainment and safety.

上記目的を達成するために本発明に係る音楽再生装置は、車両の状態、又は前記車両の外部環境の状況に基づいて、衝突又は接近の危険性、あるいは運転の危険性を判定する危険性判定手段と、音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記再生する前記音楽における音のスケール、前記音楽において鳴らす和音、前記音楽において楽器の音を鳴らすタイミング、及び前記音楽における楽器の演奏速度の少なくとも1つを変更する変更手段と、を含んで構成されている。   In order to achieve the above object, a music playback device according to the present invention determines a risk of collision or approach, or a risk of driving based on a state of a vehicle or a situation of an external environment of the vehicle. And when the music determining unit determines that there is a risk of collision or approach or a driving risk when the music is played, the sound scale in the music to be played back, And changing means for changing at least one of the timing of the sound of the instrument in the music and the performance speed of the instrument in the music.

本発明に係るプログラムは、コンピュータを、車両の状態、又は前記車両の外部環境の状況に基づいて、衝突又は接近の危険性、あるいは運転の危険性を判定する危険性判定手段、及び音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記再生する前記音楽における音のスケール、前記音楽において鳴らす和音、前記音楽において楽器の音を鳴らすタイミング、及び前記音楽における楽器の演奏速度の少なくとも1つを変更する変更手段として機能させるためのプログラムである。   The program according to the present invention reproduces music by a computer, a risk determination means for determining the risk of collision or approach, or the risk of driving based on the state of the vehicle or the external environment of the vehicle. When the risk determination means determines that there is a risk of collision or approach or a risk of driving, the scale of the sound in the music to be played, the chords to be played in the music, It is a program for functioning as a changing means for changing at least one of the timing of sounding a musical instrument and the performance speed of the musical instrument in the music.

本発明によれば、危険性判定手段によって、車両の状態、又は前記車両の外部環境の状況に基づいて、衝突又は接近の危険性、あるいは運転の危険性を判定する。そして、変更手段によって、音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記再生する前記音楽における音のスケール、前記音楽において鳴らす和音、前記音楽において楽器の音を鳴らすタイミング、及び前記音楽における楽器の演奏速度の少なくとも1つを変更する。   According to the present invention, the risk determination means determines the risk of collision or approach or the risk of driving based on the state of the vehicle or the external environment of the vehicle. Then, when playing the music by the changing means, if the risk judging means determines that there is a risk of collision or approach or a risk of driving, the sound scale in the music to be played back, At least one of a chord to be played in the music, a timing to play a musical instrument sound in the music, and a performance speed of the musical instrument in the music is changed.

このように、音楽を再生する際に、衝突又は接近の危険性、あるいは運転の危険性があると判定されると、再生する音楽における音のスケール、音楽において鳴らす和音、音楽において楽器の音を鳴らすタイミング、及び音楽における楽器の演奏速度の少なくとも1つを変更して、違和感や不快感を与えることにより、エンタテイメント性と安全性の両立を図ることができる。   Thus, when it is determined that there is a risk of collision or approach or driving when playing music, the sound scale in the music to be played, the chords to be played in the music, the sound of the instrument in the music It is possible to achieve both entertainment and safety by changing at least one of the timing of sounding and the performance speed of the musical instrument in order to give a sense of incongruity or discomfort.

本発明に係る音楽再生装置は、前記車両の外部環境の状況に応じた信号を出力する環境検出センサの出力信号、又は前記車両の外部環境に対象が存在することを表す信号を出力する対象検出センサの出力信号に基づいて、音楽情報を生成する音楽情報生成手段を更に含み、前記変更手段は、前記音楽情報生成手段によって生成された音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記音楽情報生成手段によって生成する前記音楽情報における音のスケール、前記音楽情報において鳴らす和音、前記音楽情報における楽器の音を鳴らすタイミング、及び前記音楽情報における楽器の演奏速度の少なくとも1つを変更するようにすることができる。   The music playback device according to the present invention provides an object detection device that outputs an output signal of an environment detection sensor that outputs a signal corresponding to a situation of an external environment of the vehicle or a signal that indicates that an object exists in the external environment of the vehicle. Music information generating means for generating music information based on an output signal of the sensor is further included, and the changing means plays the collision by the risk determination means when playing the music generated by the music information generating means. Alternatively, if it is determined that there is a risk of approach or a risk of driving, the sound scale in the music information generated by the music information generating means, the chords sounded in the music information, the sound of the instrument in the music information It is possible to change at least one of the timing of sounding and the performance speed of the musical instrument in the music information.

本発明に係る音楽再生装置は、地図情報に基づいて得られる、前記車両の外部環境の状況、又は前記車両の外部環境に対象が存在することに基づいて、音楽情報を生成する音楽情報生成手段を更に含み、前記変更手段は、前記音楽情報生成手段によって生成された音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記音楽情報生成手段によって生成する前記音楽情報における音のスケール、前記音楽情報において鳴らす和音、前記音楽情報における楽器の音を鳴らすタイミング、及び前記音楽情報における楽器の演奏速度の少なくとも1つを変更するようにすることができる。   The music playback device according to the present invention is a music information generating means for generating music information based on the situation of the external environment of the vehicle or the presence of a target in the external environment of the vehicle, which is obtained based on map information. And the change means determines that there is a risk of collision or approach or a risk of driving when the music generated by the music information generating means is reproduced. And at least one of a scale of sound in the music information generated by the music information generating means, a chord to be sounded in the music information, a timing for sounding a musical instrument in the music information, and a performance speed of the musical instrument in the music information. Can be changed.

本発明の音楽再生装置及びプログラムによれば、音楽を再生する際に、衝突又は接近の危険性、あるいは運転の危険性があると判定されると、再生する音楽における音のスケール、音楽において鳴らす和音、音楽において楽器の音を鳴らすタイミング、及び音楽における楽器の演奏速度の少なくとも1つを変更して、違和感や不快感を与えることにより、エンタテイメント性と安全性の両立を図ることができる。   According to the music playback device and program of the present invention, when it is determined that there is a risk of collision or approach or a risk of driving when playing music, the sound scale in the music to be played, the sound is played in the music It is possible to achieve both entertainment and safety by changing at least one of chords, timing for playing musical instruments in music, and changing the playing speed of musical instruments in music.

本発明の第1の実施の形態に係る音楽再生装置の全体構成の一例を示すブロック図である。It is a block diagram which shows an example of the whole structure of the music reproduction apparatus which concerns on the 1st Embodiment of this invention. センサの構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of a sensor. 音楽出力部の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of a music output part. 音楽情報生成部のハードウエア構成の一例を示す図である。It is a figure which shows an example of the hardware constitutions of a music information generation part. 音楽情報生成部の詳細構成の一例を示すブロック図である。It is a block diagram which shows an example of a detailed structure of a music information generation part. センサ信号に対応して音楽を生成する方法を説明するための図である。It is a figure for demonstrating the method to produce | generate a music corresponding to a sensor signal. 危険判定部、信号処理部、曲調変更判定部の実装例を示す図である。It is a figure which shows the example of mounting of a danger determination part, a signal processing part, and a music tone change determination part. 「違和感発生処理」の手順の一例を示すフローチャートである。It is a flowchart which shows an example of the procedure of "discomfort generation processing." 「音楽生成処理」の手順の他の一例を示すフローチャートである。It is a flowchart which shows another example of the procedure of a "music production | generation process." 本発明の第2の実施の形態に係る音楽再生装置の全体構成の一例を示すブロック図である。It is a block diagram which shows an example of the whole structure of the music reproduction apparatus which concerns on the 2nd Embodiment of this invention. 「音楽生成処理」の手順の他の一例を示すフローチャートである。It is a flowchart which shows another example of the procedure of a "music production | generation process." 本発明の第3の実施の形態に係る音楽再生装置の全体構成の一例を示すブロック図である。It is a block diagram which shows an example of the whole structure of the music reproduction apparatus which concerns on the 3rd Embodiment of this invention. 音楽情報処理部の詳細構成の一例を示すブロック図である。It is a block diagram which shows an example of a detailed structure of a music information processing part. 「音楽生成処理」の手順の他の一例を示すフローチャートである。It is a flowchart which shows another example of the procedure of a "music production | generation process."

以下、図面を参照して本発明の実施の形態の一例を詳細に説明する。   Hereinafter, an example of an embodiment of the present invention will be described in detail with reference to the drawings.

<第1の実施の形態>
<音楽再生装置>
(全体構成)
まず、本発明の第1の実施の形態に係る音楽再生装置の全体構成について説明する。
<First Embodiment>
<Music player>
(overall structure)
First, the overall configuration of the music playback device according to the first embodiment of the present invention will be described.

図1は本発明の実施の形態に係る音楽再生装置10の全体構成の一例を示すブロック図である。本実施の形態に係る音楽再生装置10は、車両の外部環境に応じた音楽を生成して再生する音楽再生装置である。図1に示すように、音楽再生装置10は、速度センサ18、環境検出センサ20、対象検出センサ20、音楽情報生成部30、及び音楽出力部60を備えている。速度センサ18、環境検出センサ20、及び対象検出センサ20の各々は、音楽情報生成部30に電気的に接続されており、音楽情報生成部30に出力信号を出力する。また、音楽情報生成部30は、音楽出力部60に電気的に接続されており、音楽出力部60に音楽情報を出力する。 FIG. 1 is a block diagram showing an example of the overall configuration of a music playback device 10 according to an embodiment of the present invention. The music playback device 10 according to the present embodiment is a music playback device that generates and plays back music according to the external environment of the vehicle. As shown in FIG. 1, the music playback device 10 includes a speed sensor 18, an environment detection sensor 20 1 , a target detection sensor 20 2 , a music information generation unit 30, and a music output unit 60. Speed sensor 18, each of the environment detection sensor 20 1, and the object detection sensor 20 2, music information generating unit 30 is electrically connected to output an output signal to the music information generating unit 30. The music information generation unit 30 is electrically connected to the music output unit 60 and outputs the music information to the music output unit 60.

速度センサ18は、車両の速度に応じた信号を出力するセンサである。   The speed sensor 18 is a sensor that outputs a signal corresponding to the speed of the vehicle.

環境検出センサ20は、車両の外部環境の状況に応じた信号を出力するセンサである。これに対して、対象検出センサ20は、車両の外部環境に対象(対向車両、人物、建物など障害物)が存在することを表す信号を出力するセンサであり、外部環境に対象が存在する場合にだけ信号が取得される。音楽情報生成部30は、速度センサ18の出力信号、環境検出センサ20の出力信号、対象検出センサ20の出力信号に基づいて音楽情報を生成して、音楽出力部60に出力する。音楽出力部60は、入力された音楽情報に基づいて音楽を演奏する。なお、音楽情報生成部30の詳細な構成については後述する。 Environment detection sensor 20 1 is a sensor that outputs a signal corresponding to the status of the external environment of the vehicle. In contrast, the object detecting sensor 20 2 is a sensor which outputs a signal indicating that the subject to the external environment of the vehicle (an oncoming vehicle, a person, a building obstacles) are present, there is interest in the external environment Only when the signal is acquired. Music information generating unit 30, the output signal of the speed sensor 18, the output signal of the environment detection sensor 20 1, to generate the music information on the basis of the output signal of the object detection sensor 20 2, and outputs the music output unit 60. The music output unit 60 plays music based on the input music information. The detailed configuration of the music information generation unit 30 will be described later.

音楽には、メロディ(旋律)、ハーモニー(和声)、リズム(律動)の三要素がある。また、音には、高さ(周波数)、大きさ(音圧レベル)、音色(周波数成分)の三要素がある。本実施の形態における「曲」とは、音楽の三要素のうち、「音」の高さが時間と共に変化するメロディと、「音」の時間的な長さが一定の規律で変化するリズムとを、少なくとも含むものである。   Music has three elements: melody (melody), harmony (harmonic), and rhythm (rhythm). In addition, sound has three elements: height (frequency), magnitude (sound pressure level), and timbre (frequency component). “Song” in the present embodiment refers to a melody in which the pitch of “sound” changes with time, and a rhythm in which the time length of “sound” changes with a certain discipline, among the three elements of music. At least.

なお、図1に示す例では、1個の環境検出センサ20と1個の対象検出センサ20とを備える例について説明したが、それぞれのセンサの個数は1個ずつに限定されるものではない。複数の環境検出センサを備えていてもよく。複数の対象検出センサを備えていてもよい。なお、環境検出センサ20と対象検出センサ20とを区別する必要が無い場合は、センサ20と総称する。 In the example shown in FIG. 1, an example has been described with a single environment detection sensor 20 1 and the one object detection sensor 20 2, the number of each sensor is limited to one by one is Absent. A plurality of environment detection sensors may be provided. A plurality of target detection sensors may be provided. Incidentally, when there is no need to distinguish between environmental detection sensor 20 1 and the object detecting sensor 20 2 are collectively referred to as the sensor 20.

(センサ)
次に、センサの概略構成について説明する
(Sensor)
Next, a schematic configuration of the sensor will be described.

図2はセンサの構成の一例を示すブロック図である。図2に示すように、センサ20は、検出部22、A/D変換部24、処理部26、及び送信部28を備えている。A/D変換部24、処理部26、及び送信部28は、検出部22側から記載した順序で電気的に接続されている。環境検出センサ20の検出部22は、前方を撮像した前方画像を表す画像信号等のアナログ信号をA/D変換部24に出力する。対象検出センサ20の検出部22は、電磁波等の特定の物理量を検出し、検出した物理量に応じたアナログ信号をA/D変換部24に出力する。 FIG. 2 is a block diagram showing an example of the configuration of the sensor. As shown in FIG. 2, the sensor 20 includes a detection unit 22, an A / D conversion unit 24, a processing unit 26, and a transmission unit 28. The A / D conversion unit 24, the processing unit 26, and the transmission unit 28 are electrically connected in the order described from the detection unit 22 side. Detector 22 of the environment detection sensor 20 1 outputs an analog signal such as an image signal representing the anterior image of the captured forward direction to the A / D converter 24. Detector 22 of the object detecting sensor 20 2 detects the specific physical quantity such as an electromagnetic wave, and outputs an analog signal corresponding to the detected physical quantity to the A / D converter 24.

A/D変換部24は、入力されたアナログ信号をデジタル信号に変換して、処理部26に出力する。処理部26は、入力されたデジタル信号に対して増幅処理やフィルタリング処理等を行い、波形整形されたデジタル信号を送信部28に出力する。送信部28は、入力されたデジタル信号を、音楽情報生成部30に送信する。即ち、波形整形されたデジタル信号を、センサ20の出力信号として、音楽情報生成部30に出力する。   The A / D converter 24 converts the input analog signal into a digital signal and outputs the digital signal to the processing unit 26. The processing unit 26 performs amplification processing, filtering processing, and the like on the input digital signal, and outputs the waveform-shaped digital signal to the transmission unit 28. The transmission unit 28 transmits the input digital signal to the music information generation unit 30. That is, the waveform-shaped digital signal is output to the music information generation unit 30 as an output signal of the sensor 20.

(音楽出力部)
次に、音楽出力部の構成について説明する。
(Music output part)
Next, the configuration of the music output unit will be described.

図3は音楽出力部の構成の一例を示すブロック図である。図3に示すように、音楽出力部60は、D/A変換部62、増幅部64、及びスピーカ66を備えている。D/A変換部62、増幅部64、及びスピーカ66は、音楽情報の入力側から記載した順序で電気的に接続されている。   FIG. 3 is a block diagram showing an example of the configuration of the music output unit. As shown in FIG. 3, the music output unit 60 includes a D / A conversion unit 62, an amplification unit 64, and a speaker 66. The D / A converter 62, the amplifier 64, and the speaker 66 are electrically connected in the order described from the music information input side.

音楽情報生成部30は、生成した音楽を表す音楽情報を、デジタル信号として音楽出力部60に出力する。入力されたデジタル信号は、D/A変換部62によりアナログ信号に変換され、増幅部64により増幅されて、スピーカ66に出力される。スピーカ66は、入力されたアナログ信号を応じて音を発生させる。これにより、音楽出力部60では、入力された音楽情報に基づいて、車両の外部環境に応じた音楽が演奏される。   The music information generation unit 30 outputs music information representing the generated music to the music output unit 60 as a digital signal. The input digital signal is converted into an analog signal by the D / A converter 62, amplified by the amplifier 64, and output to the speaker 66. The speaker 66 generates sound according to the input analog signal. Thereby, in the music output part 60, the music according to the external environment of a vehicle is played based on the input music information.

(音楽情報生成部)
次に、音楽情報生成部について説明する。
(Music information generator)
Next, the music information generation unit will be described.

図4は音楽情報生成部のハードウエア構成の一例を示す図である。図4に示すように、音楽情報生成部30は、各種制御及び各種演算を行うコンピュータとして構成されている。即ち、音楽情報生成部30は、CPU30A、ROM30B、RAM30C、不揮発性メモリ30D、及び入出力インターフェース(I/O)30Eを備えている。CPU30A、ROM30B、RAM30C、不揮発性メモリ30D、及びI/O30Eの各々は、バス30Fを介して接続されている。   FIG. 4 is a diagram illustrating an example of a hardware configuration of the music information generation unit. As shown in FIG. 4, the music information generation unit 30 is configured as a computer that performs various controls and various calculations. That is, the music information generation unit 30 includes a CPU 30A, a ROM 30B, a RAM 30C, a nonvolatile memory 30D, and an input / output interface (I / O) 30E. Each of the CPU 30A, ROM 30B, RAM 30C, nonvolatile memory 30D, and I / O 30E is connected via a bus 30F.

本実施の形態では、ROM30Bには、後述する「違和感発生処理」、「音楽生成処理」を実行するための制御プログラムが記憶されている。また、「MIDI信号変換用のソフトウエア」や、「MIDI信号から音楽情報を生成するソフトウエア」も、ROM30Bに記憶されている。これらのMIDI用ソフトウエアとして、汎用のソフトウエアを用いてもよい。CPU30Aは、ROM30Bに記憶されたプログラムを読み出し、RAM30Cをワークエリアとして使用してプログラムを実行する。なお、ここでは、ソフトウエアはプログラムと同義である。   In the present embodiment, the ROM 30B stores a control program for executing “discomfort generation processing” and “music generation processing” to be described later. “Software for converting MIDI signals” and “software for generating music information from MIDI signals” are also stored in the ROM 30B. General-purpose software may be used as these MIDI software. The CPU 30A reads the program stored in the ROM 30B and executes the program using the RAM 30C as a work area. Here, software is synonymous with program.

MIDI(Musical Instrument Digital Interface)とは、音楽情報をデジタル信号で通信するための国際規格である。MIDI信号とは、MIDI規格の情報であり、標準的なMIDIファイル形式(SMF:Standard MIDI File Format)の情報である。「MIDI信号変換用のソフトウエア」では、音の基本振動数を「ノートナンバー」、音圧レベルを「ベロシティレベル」、音色を「楽器名を表すナンバー」、時間変化を「ノートオン/ノートオフ」を表すデータに各々変換している。   MIDI (Musical Instrument Digital Interface) is an international standard for communicating music information with digital signals. The MIDI signal is information on the MIDI standard and information on a standard MIDI file format (SMF). In “MIDI signal conversion software”, the basic frequency of sound is “note number”, sound pressure level is “velocity level”, tone is “number indicating instrument name”, time change is “note on / note off” Are respectively converted into data representing "."

また、「MIDI信号から音楽情報を生成するソフトウエア」では、MIDI信号のノートナンバーに音源を割り当てると共に、音源に付随する表現に関する各種パラメータを設定、変更する。例えば、環境検出センサである画像センサからの出力信号から得られたMIDI信号について、ノートナンバー0〜87をピアノの88鍵盤の音階に割り当ててもよい。また、波形データのある範囲を繰り返し再生するループ、音源の時間変化を示すエンベロープ、各音源の音量変化の設定、音の鮮明度の変化をカットオフ周波数の設定により行うフィルタの設定、音像定位、音の強弱を表すベロシティ、及び同時に発音させる音源の選択等、各種のパラメータを設定、変更してもよい。   In “software for generating music information from a MIDI signal”, a sound source is assigned to the note number of the MIDI signal, and various parameters relating to expressions associated with the sound source are set and changed. For example, note numbers 0 to 87 may be assigned to the scale of an 88-key piano keyboard for MIDI signals obtained from an output signal from an image sensor that is an environment detection sensor. In addition, a loop that repeatedly reproduces a certain range of waveform data, an envelope that indicates the time change of the sound source, a volume change setting of each sound source, a filter setting that changes the definition of the sound by setting the cutoff frequency, sound image localization, Various parameters such as the velocity representing the strength of the sound and the selection of the sound source to be simultaneously sounded may be set or changed.

音楽情報生成部30には、I/O30Eを介して、上記の速度センサ18、センサ20や音楽出力部60に加えて、搭乗者等の操作を受け付ける操作部32、搭乗者に各種情報を表示する表示部34、及び通信回線を介して外部装置と通信を行うためのインターフェースである通信部36の各部が接続されている。音楽情報生成部30は、センサ20から出力信号を受け取り、音楽出力部60に音楽情報を出力する。また、CPU30Aは、音楽出力部60、操作部32、表示部34、及び通信部36の各部を制御する。なお、情報の授受は通信部36を介して行うこともできる。   In addition to the speed sensor 18, the sensor 20, and the music output unit 60, the music information generation unit 30 displays various information to the passenger, the operation unit 32 that receives operations of the passenger, and the like. The display unit 34 and the communication unit 36 that is an interface for communicating with an external device are connected via a communication line. The music information generation unit 30 receives the output signal from the sensor 20 and outputs the music information to the music output unit 60. The CPU 30 </ b> A controls the music output unit 60, the operation unit 32, the display unit 34, and the communication unit 36. Information can be exchanged via the communication unit 36.

なお、音楽情報生成部30には、各種ドライブが接続されていてもよい。各種ドライブは、フレキシブルディスク、光磁気ディスク、CD−ROMなどのコンピュータ読み取り可能な可搬性の記録媒体からデータを読み込んだり、記録媒体に対してデータを書き込んだりする装置である。各種ドライブを備える場合には、可搬性の記録媒体に制御プログラムを記録しておいて、これを対応するドライブで読み込んで実行してもよい。   Note that various drives may be connected to the music information generation unit 30. Each type of drive is a device that reads data from a computer-readable portable recording medium such as a flexible disk, a magneto-optical disk, or a CD-ROM, and writes data to the recording medium. When various types of drives are provided, a control program may be recorded on a portable recording medium, and this may be read and executed by a corresponding drive.

次に、音楽情報生成部30を機能面から説明する。   Next, the music information generation unit 30 will be described from the functional aspect.

図5は音楽情報生成部30の構成の一例を示す機能ブロック図である。図5に示すように、音楽情報生成部30は、メモリ40、危険判定部42、信号処理部44、音楽情報生成部46、音楽情報合成部48、及び曲調変更判定部50を備えている。なお、信号処理部44が、変更手段の一例である。   FIG. 5 is a functional block diagram illustrating an example of the configuration of the music information generation unit 30. As shown in FIG. 5, the music information generation unit 30 includes a memory 40, a risk determination unit 42, a signal processing unit 44, a music information generation unit 46, a music information synthesis unit 48, and a tune change determination unit 50. The signal processing unit 44 is an example of a changing unit.

速度センサ18及びセンサ20からはデジタルの出力信号が出力されている。音楽情報生成部30は、予め定めた周波数(例えば、30Hz〜60Hz)でサンプリングを行い、速度センサ18及びセンサ20からの出力信号を取得する。メモリ40は、サンプリングした出力信号を一時的に保持する。デジタルの出力信号は、速度センサ18及びセンサ20の出力電圧を時間ごとにデジタル値で表したものである。以下、センサ20出力信号の表す値を「センサ20の出力値」という。出力信号の表す値(センサの出力値)は、サンプリング時間内での平均値、最大値等の代表値とすることができる。   A digital output signal is output from the speed sensor 18 and the sensor 20. The music information generation unit 30 performs sampling at a predetermined frequency (for example, 30 Hz to 60 Hz), and acquires output signals from the speed sensor 18 and the sensor 20. The memory 40 temporarily holds the sampled output signal. The digital output signal is a digital value of the output voltage of the speed sensor 18 and the sensor 20 for each time. Hereinafter, the value represented by the output signal of the sensor 20 is referred to as “the output value of the sensor 20”. The value represented by the output signal (sensor output value) can be a representative value such as an average value or a maximum value within the sampling time.

また、メモリ40は、速度センサ18からの出力信号を、危険判定部42に出力し、環境検出センサ20からの出力信号と対象検出センサ20からの出力信号の各々を、信号処理部44及び曲調変更判定部50の各部に出力する。メモリ40は、速度センサ18及びセンサ20からの出力信号を、取得した順序で各部に出力する。 Further, memory 40, an output signal from the speed sensor 18, and outputs the danger determination section 42, the respective output signals from the output signal and the object detection sensor 20 2 from the environment detection sensor 20 1, the signal processing unit 44 And it outputs to each part of the music tone change determination part 50. The memory 40 outputs the output signals from the speed sensor 18 and the sensor 20 to each unit in the acquired order.

危険判定部42は、速度センサ18の出力値が、予め定めた閾値以上か否かを判定することにより、運転の危険性を判定し、判定結果を信号処理部44に通知する。閾値としては、例えば、法定スピードより20km/時だけ速い速度を用いる。信号処理部44は、速度センサ18の出力値が閾値以上という結果を受け取ると、違和感のある音を生成し、違和感のある音をMIDI信号に変換する。また、信号処理部44は、センサ20からの出力信号をMIDI信号に変換する。そして、信号処理部44は、得られたMIDI信号を、音楽情報生成部46に出力する。音楽情報生成部46は、MIDI信号を受け取ると、MIDI信号から音楽情報を生成する。   The danger determination unit 42 determines the risk of driving by determining whether or not the output value of the speed sensor 18 is greater than or equal to a predetermined threshold value, and notifies the signal processing unit 44 of the determination result. As the threshold, for example, a speed that is faster than the legal speed by 20 km / hour is used. When the signal processing unit 44 receives the result that the output value of the speed sensor 18 is equal to or greater than the threshold value, the signal processing unit 44 generates a sound with a sense of incongruity and converts the sound with the sense of incongruity into a MIDI signal. The signal processing unit 44 converts the output signal from the sensor 20 into a MIDI signal. Then, the signal processing unit 44 outputs the obtained MIDI signal to the music information generation unit 46. When receiving the MIDI signal, the music information generating unit 46 generates music information from the MIDI signal.

ここで、信号処理部44は、環境検出センサ20からの出力信号、及び対象検出センサ20からの出力信号の各々から、MIDI信号を各々生成し、音楽情報生成部46は、各MIDI信号から音楽情報を各々生成する。 Here, the signal processing unit 44, an output signal from the environment sensor 20 1, and from each of the output signals from the object detecting sensor 20 2 to generate each MIDI signals, music information generating unit 46, the MIDI signal Music information is generated from each.

音楽情報生成部46は、音楽情報の各々を、音楽情報合成部48に出力する。音楽情報合成部48は、音楽情報の各々を合成し、車両の外部環境に応じた音楽を表す音楽情報を生成する。そして、音楽情報合成部48は、得られた音楽情報を音楽出力部60に出力する。   The music information generation unit 46 outputs each piece of music information to the music information synthesis unit 48. The music information synthesizing unit 48 synthesizes each piece of music information and generates music information representing music according to the external environment of the vehicle. Then, the music information composition unit 48 outputs the obtained music information to the music output unit 60.

曲調変更判定部50は、センサ20の出力値から、曲調変更条件を充足しているか否かを判定し、判定結果を信号処理部44に通知する。なお、曲調変更条件、判定手法については後述する。   The music tone change determination unit 50 determines from the output value of the sensor 20 whether or not the music tone change condition is satisfied, and notifies the signal processing unit 44 of the determination result. The music tone changing condition and the determination method will be described later.

信号処理部44は、曲調変更条件を充足しているという結果を受け取ると、センサ20からの出力信号から、曲調を変化させるようにMIDI信号を生成する。   When the signal processing unit 44 receives the result that the music tone changing condition is satisfied, the signal processing unit 44 generates a MIDI signal from the output signal from the sensor 20 so as to change the music tone.

例えば、曲調には、マイナー調、メジャー調、クラシック風、ボサノバ風、日本風、琉球風、アラビック風等がある。曲調の変化とは、楽器(音色)の割り当て、スケール(音の高さの間隔)、コード進行(2音以上の音の重なり)、リズム等の構成要素を変更することである。MIDI信号においてこれらの構成要素を変更することで曲調が変化する。   For example, there are minor tones, major tones, classical style, bossa nova style, Japanese style, Ryukyu style, Arabic style, and the like. The change in tune is to change constituent elements such as assignment of musical instruments (tone colors), scale (pitch interval), chord progression (overlap of two or more sounds), rhythm, and the like. The tone changes by changing these components in the MIDI signal.

本実施の形態では、曲調変更条件として、カメラ画像から得られる明るさが変化することを用いる。例えば、カメラ画像から得られる明るさが減少したり、増加したりすると、曲調を変化させる。これにより、外部環境の変化が表現される。   In the present embodiment, the change in brightness obtained from the camera image is used as the music tone change condition. For example, when the brightness obtained from the camera image decreases or increases, the music tone is changed. Thereby, a change in the external environment is expressed.

本実施の形態では、環境検出センサの出力信号に基づいて曲を表す音楽情報を生成し、対象検出センサの出力信号に基づいて楽器音を表す音楽情報を生成し、曲を表す音楽情報と楽器音を表す音楽情報とを合成して、車両の外部環境に応じた音楽を表す音楽情報を生成する。これにより、対象(対向車両、人物、建物など障害物)の出現等のイベント発生時に、特定の楽器音を発生させて、搭乗者にイベントの発生を認識させる。   In the present embodiment, music information representing music is generated based on the output signal of the environment detection sensor, music information representing musical instrument sound is generated based on the output signal of the target detection sensor, and music information representing the music and the musical instrument are represented. Music information representing sound is synthesized to generate music information representing music according to the external environment of the vehicle. Thus, when an event such as the appearance of an object (an obstacle such as an oncoming vehicle, a person, or a building) occurs, a specific instrument sound is generated so that the passenger recognizes the occurrence of the event.

環境検出センサ20としては、カメラ等の画像センサ、光センサ、放射温度計等の温度センサ、GPSを含むカーナビゲーション・システム等の位置センサなどがある。対象検出センサ20としては、レーダ等の電磁波センサ、ドップラー効果を検出するドップラーセンサ、加速度センサ等がある。例えば、MIDI信号変換時に、曲を表す音楽情報を生成するために、画像センサにはハープ、光センサには尺八、温度センサにはピアノなどの楽器音源を割り当ててもよい。また、楽器音を表す音楽情報を生成するために、電磁波センサにはトライアングル、ドップラーセンサにはティンパニーなどの楽器音源を割り当ててもよい。 The environment detection sensor 20 1, the image sensor such as a camera, an optical sensor, a temperature sensor such as a radiation thermometer, and the like position sensors such as a car navigation system including a GPS. The object detection sensor 20 2, an electromagnetic wave sensor of radars, Doppler sensor for detecting the Doppler effect, there is an acceleration sensor or the like. For example, in order to generate music information representing music during MIDI signal conversion, a harp may be assigned to the image sensor, a shakuhachi may be assigned to the optical sensor, and an instrument sound source such as a piano may be assigned to the temperature sensor. Further, in order to generate music information representing musical instrument sounds, a musical instrument sound source such as a triangle may be assigned to the electromagnetic wave sensor and a timpani may be assigned to the Doppler sensor.

(違和感を与える音の生成)
次に、違和感を与える音を生成する原理について説明する。
(Generate sound that gives a sense of incongruity)
Next, the principle of generating a sound that gives a sense of incongruity will be described.

図6に示すように、センサデータを音に反映させる場合、センサ信号をMIDIのトーンナンバー(ピアノの鍵盤に相当する)に当てはめる。複数の楽器の音を鳴らす場合は、メトロノームに相当するリズムでもって、各楽器を鳴らすタイミングを合わす。一般的には、各楽器は整数分の1や倍数の間隔で演奏すると聞き易い。車が後方から接近し危険性があると判定した場合、特定の楽器に対応している、メトロノームを、通常人では行えないように早くすると、その楽器は音と音が離散的でなく、連続的に変化するように聞こえる。このような音は、通常聞いていないので、違和感を感じる。演奏する大半の楽器をこのようにすると、音楽にならないので、複数の楽器の内の1つか2つに施す。   As shown in FIG. 6, when sensor data is reflected in sound, the sensor signal is applied to a MIDI tone number (corresponding to a piano keyboard). When playing sounds from multiple instruments, use the rhythm equivalent to a metronome to match the timing of each instrument. In general, each instrument is easy to hear when played at intervals of a fraction of an integer or multiples. If it is judged that the car is approaching from the rear and there is a danger, if the metronome corresponding to a specific instrument is made early so that it can not be done by ordinary people, the instrument is not discrete and the sound is not discrete Sounds like a change. I don't usually hear such sounds, so I feel uncomfortable. Since most musical instruments to be played do not become music when this is done, it is applied to one or two of a plurality of musical instruments.

図7は、違和感の内、不快感を表す機能を入れた場合の信号処理部44と、危険判定部42と、曲調変更判定部50との実施例である。   FIG. 7 shows an embodiment of the signal processing unit 44, the risk determination unit 42, and the music tone change determination unit 50 when a function expressing discomfort among the uncomfortable feelings is included.

図7では、対象検出センサ20としての10.5GHzのドップラーセンサから出力信号と、環境検出センサ20としてのカメラからの画像データとを、それぞれMIDI信号に変換する例を示している。 FIG. 7 shows an example of converting the output signal from the Doppler sensor 10.5GHz as object detection sensor 20 2 and the image data from the camera as the environment detection sensor 20 1, each MIDI signal.

曲調変更判定部50は、カメラからの画像データにおいてRGBの量それぞれ検出し、それを各センサ20に対する曲調を変える信号に割り当てている。具体的には、曲調変更判定部50は、RGBの量から計算される明るさに対して、閾値を設定し、マッピングにより、明るさが閾値以上であると判定すると、判定結果を信号処理部44へ出力して、信号処理部44が、リズムを変える。また、曲調変更判定部50は、RGBの量から計算される明るさを信号処理部44へ出力して、信号処理部44が、ベロシティ(音の強さ)を変化させる。このように、カメラからの画像データの明るさに応じて、曲調が変化する。   The tune change determination unit 50 detects RGB amounts in the image data from the camera and assigns them to signals for changing the tune for each sensor 20. Specifically, the music tone change determination unit 50 sets a threshold value for the brightness calculated from the RGB amount, and determines that the brightness is equal to or greater than the threshold value by mapping. The signal processing unit 44 changes the rhythm. The music tone change determination unit 50 outputs the brightness calculated from the RGB amount to the signal processing unit 44, and the signal processing unit 44 changes the velocity (sound intensity). Thus, the tone of music changes according to the brightness of the image data from the camera.

また、危険判定部42は、速度センサ18から得られる速度情報に対して、例えば、80km/h、100km/hで閾値を設定し、速度が80km/h以上になると、運転の危険性があると判定し、違和感発生信号を信号処理部44へ出力して、信号処理部44が、10.5GHzのドップラーセンサのセンサ信号をMIDI信号に変換する際に、Cメジャースケールからペンタトニックスケールに切り替える。   Moreover, the danger determination part 42 sets a threshold value with respect to the speed information obtained from the speed sensor 18 at, for example, 80 km / h and 100 km / h, and there is a risk of driving when the speed becomes 80 km / h or more. Is output to the signal processing unit 44. When the signal processing unit 44 converts the sensor signal of the 10.5 GHz Doppler sensor into a MIDI signal, the C major scale is switched to the pentatonic scale.

例えば、全ての楽器の各々の曲を、Cメジャースケール(ドレミファソラシドのピアノの白鍵だけでひく)だけで自動作曲している状態から、少なくとも1つの楽器の曲をペンタトニックスケール(ピアノの黒鍵だけでひく)に切り替えることにより、違和感を与えることができる。なお、ペンタトニックスケールではなく、ドレミソラ(ヨナ抜き5音階)に切り替えるようにしてもよい。また、長音階(ド、ミ♭、ミ、ファ、ソ、ラ)や短音階(ド、ミ♭、ファ、ソ、ラ)の組み合わせで自動作曲していた状態から、少なくとも一つの楽器の曲をペンタトニックスケールへ切り替えるようにしてもよい。
また、メロディを作る全ての楽器を、Cメジャースケールで鳴らしていて、そのうちの1つ以上の楽器について、Cメジャースケールのトーンナンバーに、127以下の整数の一つを加算又は減算して音を鳴らすトーンナンバーとすることにより、スケールを切り換えるようにしてもよい。例えば、1〜10ぐらいの整数を、加算又は減算すればよく、具体的には、トーンナンバーに2を加えるか、又は2を引くようにすればよい。このように一部のスケールを平行移動させることにより、スケールを切り替えるようにしてもよい。
For example, from the state where each song of all instruments is automatically tuned only by the C major scale (only with the white key of the Doremifasolaside piano), the song of at least one instrument is pentatonic scale (black key of the piano) By switching to “only”, a sense of incongruity can be given. Instead of the pentatonic scale, it may be switched to Doremisora (5 pitches without Jonah). Also, pentatonic at least one instrumental song from the state of self-composing with a combination of major scales (de, mi, mi, fa, so, la) and minor scales (de, mi, fa, so, la) You may make it switch to a scale.
Also, all the instruments that make up the melody are played on the C major scale, and for one or more of those instruments, the tone number of the C major scale is added or subtracted with one of an integer less than 127. You may make it switch a scale by setting it as the tone number to sound. For example, an integer of about 1 to 10 may be added or subtracted. Specifically, 2 is added to the tone number or 2 is subtracted. In this way, the scales may be switched by moving some of the scales in parallel.

また、速度が100km/h以上になると、更に運転の危険性がある判定し、違和感発生信号を信号処理部44へ出力して、信号処理部44は、10.5GHzのドップラーセンサのセンサ信号をMIDI信号に変換する際に、+2度の和音を加える。例えば、ドを鳴らすとき、同時にレをならす。これにより、極めて聞き苦しい音楽が生成される。   Further, when the speed becomes 100 km / h or more, it is further determined that there is a risk of driving, and an unnatural feeling occurrence signal is output to the signal processing unit 44. The signal processing unit 44 outputs the sensor signal of the 10.5 GHz Doppler sensor to the MIDI. When converting to a signal, a +2 degree chord is added. For example, when playing a doo, level it at the same time. This produces music that is extremely hard to hear.

なお、+9度の和音を加えるようにしてもよい。例えば、ドを鳴らすとき、ドを鳴らす時、同時に一オクターブ高いレを鳴らすようにしてもよい。   A chord of +9 degrees may be added. For example, when playing a do, when playing a do, you may make it sound one octave higher at the same time.

このように、本実施の形態では、曲調変更判定部50により、曲調変化を行うことを指示するための判定結果を出力し、危険判定部42により、違和感を出すことを指示するための違和感発生信号を出力する。信号処理部44は、曲調変化を行うことを指示するための判定結果や違和感発生信号を受けて、各センサ20の出力信号からMIDI信号に変換する際に、判定結果や違和感発生信号に応じた変化を加えてMIDI信号を生成する。   As described above, in the present embodiment, the tune change determination unit 50 outputs a determination result for instructing to change the tune, and the danger determination unit 42 generates a sense of discomfort for instructing to give a sense of discomfort. Output a signal. The signal processing unit 44 receives the determination result for instructing to change the music tone or the unnatural feeling occurrence signal, and converts the output signal of each sensor 20 to the MIDI signal according to the determination result or the unnatural feeling occurrence signal. A MIDI signal is generated by applying a change.

<違和感発生処理>
次に、音楽情報生成部30のCPU30Aにより実行される「違和感発生処理」について説明する。「違和感発生処理」は、操作部32を介して搭乗者からの開始指示があると開始され、繰り返し実行される。図8は「違和感発生処理」の手順の一例を示すフローチャートである。
<Discomfort generation process>
Next, “discomfort generation processing” executed by the CPU 30A of the music information generation unit 30 will be described. The “discomfort generation process” is started when a start instruction is received from the passenger via the operation unit 32 and is repeatedly executed. FIG. 8 is a flowchart showing an example of the procedure of “discomfort generation processing”.

まず、ステップ100で、速度センサ18からの出力信号を取得(サンプリング)する。そして、ステップ102で、取得した出力信号が表す速度情報が、閾値以上であるか否かを判定する。速度情報が、閾値以上である場合には、ステップ104において、違和感発生信号を出力して、違和感発生処理を終了する。一方、速度情報が閾値未満である場合には、違和感発生信号を出力せずに、違和感発生処理を終了する。   First, in step 100, an output signal from the speed sensor 18 is acquired (sampled). In step 102, it is determined whether or not the speed information represented by the acquired output signal is equal to or greater than a threshold value. If the speed information is greater than or equal to the threshold value, in step 104, a discomfort generation signal is output and the discomfort generation process is terminated. On the other hand, if the speed information is less than the threshold value, the discomfort generation process is terminated without outputting the discomfort generation signal.

<音楽生成処理>
次に、音楽情報生成部30のCPU30Aにより実行される「音楽生成処理」について説明する。「音楽生成処理」は、操作部32を介して搭乗者からの開始指示があると開始される。図9は「音楽生成処理」の手順の一例を示すフローチャートである。
<Music generation process>
Next, the “music generation process” executed by the CPU 30A of the music information generation unit 30 will be described. The “music generation process” is started when there is a start instruction from the passenger via the operation unit 32. FIG. 9 is a flowchart showing an example of the procedure of “music generation processing”.

まず、ステップ110で、センサ20からの出力信号を取得(サンプリング)したか否かを判定する。出力信号を取得した場合は、ステップ112に進み、出力信号を取得していない場合は、ステップ110に戻り判定を繰り返す。次に、ステップ112で、取得した信号が、カメラ画像の信号か否かを判定する。   First, in step 110, it is determined whether or not the output signal from the sensor 20 has been acquired (sampled). When the output signal is acquired, the process proceeds to step 112. When the output signal is not acquired, the process returns to step 110 and the determination is repeated. Next, in step 112, it is determined whether or not the acquired signal is a camera image signal.

カメラ画像の信号である場合は、ステップ114に進む。カメラ画像の信号でない場合は、ステップ118に進む。   If it is a camera image signal, the process proceeds to step 114. If it is not a camera image signal, the process proceeds to step 118.

ステップ114では、カメラ画像のRGBの量から、明るさを計算する。次のステップ116では、計算された明るさが閾値以上であるか否かを判定し、判定結果に応じて曲調を変化させる信号を出力する。   In step 114, the brightness is calculated from the RGB amounts of the camera image. In the next step 116, it is determined whether or not the calculated brightness is greater than or equal to a threshold value, and a signal for changing the tone of music according to the determination result is output.

ステップ118では、得られた信号の種類に応じた信号処理を行う。具体的には、サンプリングした出力信号の種類に応じて、MIDI信号に変換する。また、上記ステップ116で曲調を変化させる信号が出力された場合には、MIDI信号に変換する際に、曲調を変化させるようにMIDI信号を生成する。また、上述した違和感発生処理で、違和感発生信号が出力された場合には、違和感を与えるようにMIDI信号を生成する。   In step 118, signal processing according to the type of the obtained signal is performed. Specifically, it is converted into a MIDI signal according to the type of the sampled output signal. When a signal for changing the tone is output in step 116, a MIDI signal is generated so as to change the tone when converted into a MIDI signal. In addition, when a discomfort generation signal is output in the discomfort generation process described above, a MIDI signal is generated so as to give a sense of discomfort.

次に、ステップ122で、上記ステップ118で得られた、信号の種類に応じたMIDI信号から音楽情報を生成する。   Next, in step 122, music information is generated from the MIDI signal corresponding to the type of signal obtained in step 118.

次に、ステップ124で、信号の種類に応じた音楽情報を合成して、車両の外部環境に応じた音楽を表す音楽情報を生成し、音楽出力部60に出力する。次に、ステップ126で、搭乗者からの停止指示があったか否かを判定する。停止指示があればルーチンを終了し、停止指示が無ければステップ110に戻って、ステップ110からステップ126までの手順を繰り返す。   Next, in step 124, music information corresponding to the type of signal is synthesized, music information representing music corresponding to the external environment of the vehicle is generated, and output to the music output unit 60. Next, in step 126, it is determined whether or not there is a stop instruction from the passenger. If there is a stop instruction, the routine ends. If there is no stop instruction, the routine returns to step 110 and the procedure from step 110 to step 126 is repeated.

以上説明したように、第1の実施の形態に係る音楽再生装置によれば、センサ信号に基づいて音楽情報を生成する際に、運転の危険性があると判定されると、生成する音楽における音のスケール、又は音楽において鳴らす和音を変更して、違和感や不快感を与えることにより、エンタテイメント性と安全性の両立を図ることができる。   As described above, according to the music playback device according to the first embodiment, when it is determined that there is a risk of driving when generating music information based on the sensor signal, It is possible to achieve both entertainment and safety by changing the scale of the sound or the chords played in music to give a sense of incongruity or discomfort.

また、クルマが走行することで周囲環境情報が変化する。この環境情報をセンサで検出し、それを基に自動作曲する際に、音楽を楽しむというエンタテイメント性と安全性とを両立させる。曲調を変えることでエンタテイメント性を実現し、安全性には、エンタテイメント性と関係しない音をあてはめて実現する。   In addition, ambient environment information changes as the vehicle travels. This environmental information is detected by a sensor, and when performing an automatic song based on it, both entertainment and safety of enjoying music are made compatible. Entertainment is achieved by changing the tune, and safety is achieved by applying sounds that are not related to entertainment.

また、運転の危険性がある場合に、違和感のある音を発生させて、ドライバに違和感を感じさせ、運転の危険性がなくなると、違和感のある音の発生をやめて、安全な運転状態であることを知らせることができる。   In addition, when there is a risk of driving, a strange sound is generated to make the driver feel uncomfortable, and when there is no driving risk, the generation of a strange sound is stopped and the driver is in a safe driving state. I can let you know.

<第2の実施の形態>
<音楽再生装置>
次に、第2の実施の形態に係る音楽再生装置について説明する。なお、第1の実施の形態と同様の構成となる部分については同一符号を付して説明を省略する。
<Second Embodiment>
<Music player>
Next, a music playback device according to the second embodiment will be described. In addition, the same code | symbol is attached | subjected about the part which becomes the same structure as 1st Embodiment, and description is abbreviate | omitted.

第2の実施の形態では、地図データから、音楽情報を生成している点が、第1の実施の形態と異なっている。   The second embodiment is different from the first embodiment in that music information is generated from map data.

第2の実施の形態では、自動運転に利用する高度化された地図情報(ダイナミックマップ)から、車両の外部環境の情報を取得して、車両の外部環境に応じた音楽情報を生成する。   In 2nd Embodiment, the information of the external environment of a vehicle is acquired from the sophisticated map information (dynamic map) utilized for automatic driving | operation, and the music information according to the external environment of a vehicle is produced | generated.

図10は、第2の実施の形態に係る音楽再生装置210の全体構成の一例を示すブロック図である。本実施の形態に係る音楽再生装置210は、速度センサ18、環境検出センサ20、対象検出センサ20、GPSセンサ220、地図情報取得部222、地図データベース224、音楽情報生成部30、及び音楽出力部60を備えている。速度センサ18、環境検出センサ20、対象検出センサ20、GPSセンサ220、及び地図データベース224の各々は、音楽情報生成部30に電気的に接続されている。 FIG. 10 is a block diagram showing an example of the overall configuration of the music playback device 210 according to the second embodiment. The music playback device 210 according to the present embodiment includes a speed sensor 18, an environment detection sensor 20 1 , a target detection sensor 20 2 , a GPS sensor 220, a map information acquisition unit 222, a map database 224, a music information generation unit 30, and music. An output unit 60 is provided. Each of the speed sensor 18, the environment detection sensor 20 1 , the object detection sensor 20 2 , the GPS sensor 220, and the map database 224 is electrically connected to the music information generation unit 30.

GPSセンサ220は、GPS衛星から受信した信号に基づいて、車両の位置を計測する。   The GPS sensor 220 measures the position of the vehicle based on a signal received from a GPS satellite.

地図データベース224は、自動運転に利用する高度化された地図情報を生成するための静的な道路地図情報を記憶している。   The map database 224 stores static road map information for generating sophisticated map information used for automatic driving.

地図情報取得部222は、GPSセンサ220によって計測された車両の位置に基づいて、当該位置の道路地図情報を地図データベース224から取得する。また、地図情報取得部222は、環境検出センサ20及び対象検出センサ20からの出力信号に基づいて、動的な情報(車両や歩行者などの移動物体、信号現示、道路工事などの情報)を取得する。 Based on the position of the vehicle measured by the GPS sensor 220, the map information acquisition unit 222 acquires road map information at the position from the map database 224. The map information acquiring unit 222, based on the output signal from the environment sensor 20 1 and the object detection sensor 20 2, moving objects, such as dynamic information (vehicle or pedestrian, signal aspect, such as road construction Information).

地図情報取得部222は、地図データベース224から取得した地図情報と、動的な情報とを統合して、自動運転に利用する高度化された地図情報(ダイナミックマップ)を生成する。   The map information acquisition unit 222 integrates the map information acquired from the map database 224 and the dynamic information to generate sophisticated map information (dynamic map) used for automatic driving.

地図情報取得部222は、生成した地図情報(ダイナミックマップ)から動画データを生成し、動画データに基づいて、RGB出力やエッジの検出結果などの各種外部環境情報を求めて、音楽情報生成部30へ出力する。   The map information acquisition unit 222 generates moving image data from the generated map information (dynamic map), obtains various external environment information such as RGB output and edge detection results based on the moving image data, and generates the music information generation unit 30. Output to.

地図情報取得部222は、随時、上記のように高度化された地図情報(ダイナミックマップ)の生成、及び各種外部環境情報の取得を行い、求めた各種外部環境情報を、音楽情報生成部30へ出力する。   The map information acquisition unit 222 generates the map information (dynamic map) sophisticated as described above and the acquisition of various external environment information as needed, and sends the obtained various external environment information to the music information generation unit 30. Output.

音楽情報生成部30の危険判定部42は、上記第1の実施の形態と同様に、速度センサ18の出力値が、予め定めた閾値以上か否かを判定し、違和感発生信号を信号処理部44に出力する。信号処理部44は、違和感発生信号を受け取ると、違和感のある音を生成するように、地図情報取得部222からの各種外部環境情報をMIDI信号に変換する。そして、信号処理部44は、各種外部環境情報に応じて得られたMIDI信号を、音楽情報生成部46に出力する。音楽情報生成部46は、MIDI信号を受け取ると、MIDI信号から音楽情報を生成する。   As in the first embodiment, the risk determination unit 42 of the music information generation unit 30 determines whether the output value of the speed sensor 18 is equal to or greater than a predetermined threshold value, and outputs a sense of incongruity occurrence signal as a signal processing unit. 44. When the signal processing unit 44 receives the discomfort generation signal, the signal processing unit 44 converts various external environment information from the map information acquisition unit 222 into a MIDI signal so as to generate a sound with a discomfort. Then, the signal processing unit 44 outputs a MIDI signal obtained according to various external environment information to the music information generating unit 46. When receiving the MIDI signal, the music information generating unit 46 generates music information from the MIDI signal.

ここで、信号処理部44は、地図情報取得部222からの各種外部環境情報から、MIDI信号を生成し、音楽情報生成部46は、各種外部環境情報に応じて生成されたMIDI信号から、音楽情報を各々生成する。   Here, the signal processing unit 44 generates a MIDI signal from various external environment information from the map information acquisition unit 222, and the music information generation unit 46 generates music from the MIDI signal generated according to the various external environment information. Each piece of information is generated.

<違和感発生処理>
「違和感発生処理」は、操作部32を介して搭乗者からの開始指示があると開始され、上記第1の実施の形態と同様に、上記図8に示す違和感発生処理が、繰り返し実行される。
<Discomfort generation process>
The “discomfort generation process” is started when there is a start instruction from the passenger via the operation unit 32, and the discomfort generation process shown in FIG. 8 is repeatedly executed as in the first embodiment. .

<地図情報取得処理>
「地図情報取得処理」は、操作部32を介して搭乗者からの開始指示があると開始され、上述したように、高度化された地図情報(ダイナミックマップ)の生成、及び各種外部環境情報の取得が、繰り返し行われる。
<Map information acquisition process>
The “map information acquisition process” is started when there is a start instruction from the passenger via the operation unit 32, and as described above, generation of sophisticated map information (dynamic map) and various external environment information Acquisition is repeated.

<音楽生成処理>
次に、音楽情報生成部30のCPU30Aにより実行される「音楽生成処理」について説明する。「音楽生成処理」は、操作部32を介して搭乗者からの開始指示があると開始される。図11は「音楽生成処理」の手順の一例を示すフローチャートである。なお、第1の実施の形態と同様の処理については、同一符号を付して説明を省略する。
<Music generation process>
Next, the “music generation process” executed by the CPU 30A of the music information generation unit 30 will be described. The “music generation process” is started when there is a start instruction from the passenger via the operation unit 32. FIG. 11 is a flowchart showing an example of the procedure of “music generation processing”. In addition, about the process similar to 1st Embodiment, the same code | symbol is attached | subjected and description is abbreviate | omitted.

まず、ステップ252で、地図情報取得部222によって求められた各種外部環境情報を取得する。   First, in step 252, various external environment information obtained by the map information acquisition unit 222 is acquired.

ステップ114では、上記ステップ252で取得した外部環境情報に含まれるRGBの量から、明るさを計算する。次のステップ116では、計算された明るさが閾値以上であるか否かを判定し、明るさが閾値以上である場合に、曲調を変化させる信号を出力する。   In step 114, the brightness is calculated from the RGB amounts included in the external environment information acquired in step 252. In the next step 116, it is determined whether or not the calculated brightness is greater than or equal to a threshold value, and if the brightness is greater than or equal to the threshold value, a signal for changing the tone is output.

ステップ254では、得られた外部環境情報の種類に応じた信号処理を行う。具体的には、取得した外部環境情報の種類に応じて、MIDI信号に各々変換する。また、上記ステップ116で曲調を変化させる信号が出力された場合には、MIDI信号に変換する際に、曲調を変化させるようにMIDI信号を生成する。また、上述した違和感発生処理で、違和感発生信号が出力された場合には、違和感を与える音のMIDI信号を生成する。   In step 254, signal processing according to the type of external environment information obtained is performed. Specifically, each is converted into a MIDI signal according to the type of acquired external environment information. When a signal for changing the tone is output in step 116, a MIDI signal is generated so as to change the tone when converted into a MIDI signal. In addition, when a discomfort generation signal is output in the discomfort generation process described above, a MIDI signal of a sound that gives a discomfort is generated.

次に、ステップ122で、上記ステップ254で得られたMIDI信号の各々から音楽情報を生成する。   Next, in step 122, music information is generated from each of the MIDI signals obtained in step 254.

次に、ステップ124で、各音楽情報を合成して、車両の外部環境に応じた音楽を表す音楽情報を生成し、音楽出力部60に出力する。次に、ステップ126で、搭乗者からの停止指示があったか否かを判定する。停止指示があればルーチンを終了し、停止指示が無ければステップ252に戻って、ステップ252からステップ126までの手順を繰り返す。   Next, in step 124, the pieces of music information are combined to generate music information representing music according to the external environment of the vehicle, and output to the music output unit 60. Next, in step 126, it is determined whether or not there is a stop instruction from the passenger. If there is a stop instruction, the routine ends. If there is no stop instruction, the routine returns to step 252 and the procedure from step 252 to step 126 is repeated.

なお、第2の実施の形態に係る音楽再生装置の他の構成及び作用については第1の実施の形態と同様であるため、説明を省略する。   Since the other configuration and operation of the music playback device according to the second embodiment are the same as those of the first embodiment, description thereof will be omitted.

以上説明したように、第2の実施の形態に係る音楽再生装置によれば、自動運転に利用する高度化された地図情報に基づいて音楽情報を生成する際に、運転の危険性があると判定されると、生成する音楽における音のスケール、又は音楽において鳴らす和音を変更して、違和感や不快感を与えることにより、エンタテイメント性と安全性の両立を図ることができる。   As described above, according to the music playback device according to the second embodiment, there is a risk of driving when generating music information based on sophisticated map information used for automatic driving. When the determination is made, it is possible to achieve both entertainment and safety by changing the scale of the sound in the music to be generated or the chord sounded in the music to give a sense of discomfort and discomfort.

なお、上記の実施の形態では、高度化された地図情報から動画データを作成して、外部環境情報を取得する場合を例に説明したが、これに限定されるものではなく、例えば、静的な道路地図情報と動的情報から、外部環境情報を取得するようにしてもよい。   In the above embodiment, the case where moving image data is created from sophisticated map information and external environment information is acquired has been described as an example. However, the present invention is not limited to this. External environment information may be acquired from dynamic road map information and dynamic information.

<第3の実施の形態>
<音楽再生装置>
<Third Embodiment>
<Music player>

次に、第3の実施の形態に係る音楽再生装置について説明する。なお、第1の実施の形態と同様の構成となる部分については同一符号を付して説明を省略する。   Next, a music playback device according to the third embodiment will be described. In addition, the same code | symbol is attached | subjected about the part which becomes the same structure as 1st Embodiment, and description is abbreviate | omitted.

第3の実施の形態では、予め用意されている音楽情報を再生する際に、違和感のある音を発生される点が、第1の実施の形態と異なっている。   The third embodiment is different from the first embodiment in that an uncomfortable sound is generated when music information prepared in advance is reproduced.

図12は、第3の実施の形態に係る音楽再生装置310の全体構成の一例を示すブロック図である。本実施の形態に係る音楽再生装置310は、速度センサ18、音楽情報入力部320、音楽情報処理部330、及び音楽出力部60を備えている。速度センサ18、音楽情報入力部320の各々は、音楽情報処理部330に電気的に接続されている。   FIG. 12 is a block diagram showing an example of the overall configuration of the music playback device 310 according to the third embodiment. The music playback device 310 according to the present embodiment includes a speed sensor 18, a music information input unit 320, a music information processing unit 330, and a music output unit 60. Each of the speed sensor 18 and the music information input unit 320 is electrically connected to the music information processing unit 330.

音楽情報入力部320は、予め用意された音楽情報(例えば、CDなどから得られる音楽情報や、電子的な音楽情報)を取得して、音楽情報処理部330へ出力する。   The music information input unit 320 acquires music information prepared in advance (for example, music information obtained from a CD or the like, or electronic music information) and outputs it to the music information processing unit 330.

図13に示すように、音楽情報処理部330は、メモリ40、危険判定部42、信号処理部344、音楽情報生成部346、及び音楽情報合成部348を備えている。なお、信号処理部344が、変更手段の一例である。   As illustrated in FIG. 13, the music information processing unit 330 includes a memory 40, a risk determination unit 42, a signal processing unit 344, a music information generation unit 346, and a music information synthesis unit 348. The signal processing unit 344 is an example of a changing unit.

危険判定部42は、上記第1の実施の形態と同様に、速度センサ18の出力値が、予め定めた閾値以上か否かを判定し、違和感発生信号を出力する。   As in the first embodiment, the risk determination unit 42 determines whether the output value of the speed sensor 18 is equal to or greater than a predetermined threshold value, and outputs a sense of incongruity occurrence signal.

信号処理部344は、危険判定部42から違和感発生信号が出力されると、音楽情報入力部320により入力された音楽情報における音に応じて、違和感のある音のMIDI信号を生成する。   When the unnaturalness occurrence signal is output from the danger determination unit 42, the signal processing unit 344 generates a MIDI signal of unnatural sound according to the sound in the music information input by the music information input unit 320.

例えば、入力された音楽情報において鳴らす和音を追加することにより、違和感のある音を生成する。   For example, by adding a chord to sound in the input music information, a sound with a sense of incongruity is generated.

音楽情報生成部346は、信号処理部344によって生成されたMIDI信号から、音楽情報を生成する。   The music information generation unit 346 generates music information from the MIDI signal generated by the signal processing unit 344.

音楽情報合成部348は、音楽情報入力部320により入力された音楽情報と、音楽情報生成部346によって生成された音楽情報とを合成し、音楽出力部60に出力する。   The music information synthesis unit 348 synthesizes the music information input by the music information input unit 320 and the music information generated by the music information generation unit 346 and outputs the synthesized music information to the music output unit 60.

<違和感発生処理>
次に、音楽情報処理部330により実行される「違和感発生処理」について説明する。「違和感発生処理」は、操作部32を介して搭乗者からの開始指示があると開始され、上記第1の実施の形態と同様に、上記図8に示す違和感発生処理が、繰り返し実行される。
<Discomfort generation process>
Next, “discomfort generation processing” executed by the music information processing unit 330 will be described. The “discomfort generation process” is started when there is a start instruction from the passenger via the operation unit 32, and the discomfort generation process shown in FIG. 8 is repeatedly executed as in the first embodiment. .

<音楽生成処理>
次に、音楽情報処理部330により実行される「音楽生成処理」について説明する。「音楽生成処理」は、操作部32を介して搭乗者からの開始指示があると開始される。図14は「音楽生成処理」の手順の一例を示すフローチャートである。
<Music generation process>
Next, the “music generation process” executed by the music information processing unit 330 will be described. The “music generation process” is started when there is a start instruction from the passenger via the operation unit 32. FIG. 14 is a flowchart showing an example of the procedure of “music generation processing”.

まず、ステップ350で、違和感発生信号が出力されているか否かを判定する。違和感発生信号が出力されていない場合には、ステップ360へ移行し、音楽情報入力部320により入力された音楽情報を、音楽出力部60に出力する。一方、違和感発生信号が出力されている場合には、ステップ352へ移行する。   First, in step 350, it is determined whether or not a sense of incongruity occurrence signal is output. If the uncomfortable feeling generation signal is not output, the process proceeds to step 360, and the music information input by the music information input unit 320 is output to the music output unit 60. On the other hand, if a sense of incongruity occurrence signal is output, the process proceeds to step 352.

ステップ352では、音楽情報入力部320により入力された音楽情報における音に応じて、違和感のある音のMIDI信号を生成する。そして、ステップ356では、上記ステップ352で得られたMIDI信号から音楽情報を生成する。   In step 352, a MIDI signal having a sense of incongruity is generated according to the sound in the music information input by the music information input unit 320. In step 356, music information is generated from the MIDI signal obtained in step 352.

次に、ステップ358で、音楽情報入力部320により入力された音楽情報と、上記ステップ356で生成された音楽情報とを合成して、音楽出力部60に出力する。次に、ステップ362で、搭乗者からの停止指示があったか否かを判定する。停止指示があればルーチンを終了し、停止指示が無ければステップ352に戻って、ステップ350からステップ362までの手順を繰り返す。   Next, in step 358, the music information input by the music information input unit 320 and the music information generated in step 356 are combined and output to the music output unit 60. Next, in step 362, it is determined whether or not there is a stop instruction from the passenger. If there is a stop instruction, the routine ends. If there is no stop instruction, the routine returns to step 352 and the procedure from step 350 to step 362 is repeated.

なお、第3の実施の形態に係る音楽再生装置の他の構成及び作用については第1の実施の形態と同様であるため、説明を省略する。   Since the other configuration and operation of the music playback device according to the third embodiment are the same as those of the first embodiment, the description thereof is omitted.

以上説明したように、第3の実施の形態に係る音楽再生装置によれば、予め用意された音楽情報を再生する際に、運転の危険性があると判定されると、再生する音楽における音のスケール、又は音楽において鳴らす和音を変更して、違和感や不快感を与えることにより、エンタテイメント性と安全性の両立を図ることができる。   As described above, according to the music playback device according to the third embodiment, when it is determined that there is a risk of driving when playing music information prepared in advance, the sound in the music to be played back It is possible to achieve both entertainment and safety by changing the scale or the chords played in music to give a sense of discomfort or discomfort.

<変形例>
なお、上記各実施の形態で説明した音楽生成装置の構成は一例であり、本発明の主旨を逸脱しない範囲内においてその構成を変更してもよいことは言うまでもない。
<Modification>
It should be noted that the configuration of the music generation apparatus described in each of the above embodiments is an example, and it goes without saying that the configuration may be changed without departing from the gist of the present invention.

例えば、上記の実施の形態では、車両の速度が閾値以上であるか否かを判定することにより、運転の危険性を判定して、違和感発生信号を出力する場合を例に説明したが、これに限定されるものではない。例えば、カメラ画像に基づいて、白線から逸脱したか否かを判定し、白線から逸脱した場合に、違和感発生信号を出力するようにしてもよい。このとき、白線から大きく逸脱すればするほど、違和感が増すようにしてもよい。また、白線からの逸脱が修正されると、違和感発生信号の出力をやめるようにすればよい。   For example, in the above embodiment, the case where the risk of driving is determined by determining whether or not the speed of the vehicle is equal to or higher than the threshold value and a sense of incongruity occurrence signal is output has been described as an example. It is not limited to. For example, based on the camera image, it may be determined whether or not the white line is deviated, and when the white line is deviated, a sense of incongruity occurrence signal may be output. At this time, the greater the deviation from the white line, the greater the uncomfortable feeling. Further, when the deviation from the white line is corrected, the output of the uncomfortable feeling generation signal may be stopped.

また、高速道路での自動運転モードである場合に、一般道での従来の運転にもどるときの半自動運転の状態に遷移するか否かを判定し、半自動運転の状態に遷移すると判定したときに、違和感発生信号を出力し、自動運転から手動運転に切り替わることを違和感によって知らせるようにしてもよい。このように、手をステアリングから離した状態から、手動運転が必要な状態に遷移するときに、違和感を与え、手動運転に切り替わる地点になるにつれて、違和感を増すようにする。そして、ドライバがステアリングをにぎると、違和感発生信号の出力をやめるようにすればよい。
また、運転の危険性ではなく、衝突又は接近の危険性を判定し、衝突又は接近の危険性があると判定された場合に、違和感発生信号を出力してもよい。例えば、他車両の接近や、ガードレール等路側物の接近などを判定するようにしてもよい。
Also, when it is in the automatic driving mode on the expressway, it is determined whether or not to transition to the semi-automatic driving state when returning to the conventional driving on the general road, and when it is determined to transition to the semi-automatic driving state Alternatively, a sense of incongruity generation signal may be output to notify the user of the sense of incongruity of switching from automatic operation to manual operation. As described above, when the state is changed from the state where the hand is separated from the steering to the state where the manual driving is necessary, the uncomfortable feeling is given, and the uncomfortable feeling is increased as the point where the manual driving is switched. Then, when the driver steers the steering wheel, the output of the uncomfortable feeling generation signal may be stopped.
Further, not the driving risk but the collision or approaching risk may be determined, and if it is determined that there is a collision or approaching risk, a sense of incongruity occurrence signal may be output. For example, the approach of another vehicle or the approach of a roadside object such as a guard rail may be determined.

また、居眠り検出を行い、居眠りが検出されたか否かを判定し、居眠りが検出された場合に、違和感発生信号を出力してもよい。   Further, it is possible to detect a doze, determine whether a doze is detected, and output a sense of incongruity when a doze is detected.

また、違和感のない音楽の運転が、上手い運転であるとして、ドライバに点数として知らせるようにしてもよい。例えば、エコ運転の評価を行い、評価が悪い場合に、違和感発生信号を出力するようにしてもよい。   In addition, the driver may be informed of the score as a score, assuming that driving without a sense of incongruity is a good driving. For example, an ecological driving evaluation may be performed, and if the evaluation is bad, a sense of incongruity occurrence signal may be output.

また、危険性が高くなるほど、音楽から感じる違和感が段階的に高まるようにし、それでも危険性がなくならない場合、ドライバが異常であると判断し、クルマを減速停止させるようにしてもよい。   Further, as the risk increases, the sense of incongruity felt from the music increases step by step. If the risk still does not disappear, it may be determined that the driver is abnormal and the vehicle is decelerated and stopped.

また、上記の実施の形態では、違和感発生信号が出力された場合、和音の追加、又はスケールの変更により、違和感を与える音楽を生成する場合を例に説明したが、これに限定されるものではない。例えば、違和感発生信号が出力された場合、特定の楽器の音を鳴らすタイミングを変更するようにしてもよい。例えば、メロディをかなでる楽器を楽器Aとすると、楽器Aはs ms毎に音を出すとする。他の楽器は、これと同じあるいは、これの分数、あるいは倍数で音を作る。このような状態の中で、メロディをかなでる楽器Aにおいて、少なくとも一つの音を、上記のタイミングに関係ない状態で鳴らすようにすればよい。   Further, in the above-described embodiment, when a sense of incongruity occurrence signal is output, the case where music that gives a sense of incongruity is generated by adding a chord or changing the scale has been described as an example, but the present invention is not limited to this. Absent. For example, when a sense of incongruity generation signal is output, the timing for sounding a specific musical instrument may be changed. For example, if a musical instrument that plays a melody is a musical instrument A, the musical instrument A produces a sound every sms. Other instruments produce the same or a fraction or multiple of this. In such a state, in the musical instrument A that plays the melody, at least one sound may be played in a state unrelated to the above timing.

また、違和感発生信号が出力された場合に、楽器のタイミングをずらすようにしてもよい。各楽器の音を鳴らす場合に、ディレイを入れて、同時に鳴らないようにしてもよい。   Further, the timing of the musical instrument may be shifted when a sense of incongruity generation signal is output. When playing the sound of each instrument, a delay may be inserted so that it does not sound simultaneously.

また、違和感発生信号が出力された場合に、センサ信号に対応してメロディをかなでる楽器の少なくとも一つの音をランダムに変えるようにしてもよい。これにより、曲にならない音楽が生成される。   In addition, when a sense of incongruity generation signal is output, at least one sound of the musical instrument that plays the melody may be randomly changed corresponding to the sensor signal. Thereby, music that does not become a song is generated.

また、上記の違和感を与える音楽を生成する方法を、重ねて行うようにしてもよい。   Moreover, you may make it perform the method of producing | generating the music which gives said unpleasant feeling repeatedly.

また、上記の実施の形態では、環境検出センサであるカメラの画像のRGBの量に基づいて曲調を変化させるか否かを判定しているが、これに限定されるものではない。他の環境検出センサの出力信号に基づいて曲調を変化させるか否かを判定するようにしてもよい。また、対象検出センサの出力信号に基づいて曲調を変化させるか否かを判定するようにしてもよい。例えば、対象検出センサの反応の増加に応じて曲調を変化させるようにしてもよい。   In the above embodiment, it is determined whether or not the music tone is changed based on the RGB amount of the image of the camera that is the environment detection sensor. However, the present invention is not limited to this. You may make it determine whether a music tone is changed based on the output signal of another environment detection sensor. Moreover, you may make it determine whether a music tone is changed based on the output signal of a target detection sensor. For example, the tone of music may be changed according to an increase in the response of the target detection sensor.

10、210、310 音楽再生装置
18 速度センサ
20 センサ
20 環境検出センサ
20 対象検出センサ
30 音楽情報生成部
42 危険判定部
44、344 信号処理部
46、346 音楽情報生成部
48、348 音楽情報合成部
50 曲調変更判定部
60 音楽出力部
220 GPSセンサ
222 地図情報取得部
224 地図データベース
320 音楽情報入力部
330 音楽情報処理部
10, 210, 310 Music reproduction device 18 Speed sensor 20 Sensor 20 1 Environment detection sensor 20 2 Target detection sensor 30 Music information generation unit 42 Risk determination unit 44, 344 Signal processing unit 46, 346 Music information generation unit 48, 348 Music information Composition unit 50 Musical tone change determination unit 60 Music output unit 220 GPS sensor 222 Map information acquisition unit 224 Map database 320 Music information input unit 330 Music information processing unit

Claims (4)

車両の状態、又は前記車両の外部環境の状況に基づいて、衝突又は接近の危険性、あるいは運転の危険性を判定する危険性判定手段と、
音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記再生する前記音楽における音のスケール、前記音楽において鳴らす和音、前記音楽において楽器の音を鳴らすタイミング、及び前記音楽における楽器の演奏速度の少なくとも1つを変更する変更手段と、
を含む音楽再生装置。
A risk determination means for determining the risk of collision or approach, or the risk of driving based on the state of the vehicle or the situation of the external environment of the vehicle;
When playing the music, if it is judged by the danger judging means that there is a risk of collision or approach, or a risk of driving, the scale of the sound in the music to be played, the chords to be played in the music, A changing means for changing at least one of a timing at which a musical instrument is played in the music and a performance speed of the musical instrument in the music;
A music playback device including:
前記車両の外部環境の状況に応じた信号を出力する環境検出センサの出力信号、又は前記車両の外部環境に対象が存在することを表す信号を出力する対象検出センサの出力信号に基づいて、音楽情報を生成する音楽情報生成手段を更に含み、
前記変更手段は、前記音楽情報生成手段によって生成された音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記音楽情報生成手段によって生成する前記音楽情報における音のスケール、前記音楽情報において鳴らす和音、前記音楽情報における楽器の音を鳴らすタイミング、及び前記音楽情報における楽器の演奏速度の少なくとも1つを変更する請求項1記載の音楽再生装置。
Music based on the output signal of the environment detection sensor that outputs a signal corresponding to the situation of the external environment of the vehicle or the output signal of the target detection sensor that outputs a signal indicating that the target exists in the external environment of the vehicle Music information generating means for generating information,
When the music is generated by the music information generating unit, the changing unit determines that the risk determining unit determines that there is a collision or approaching risk or a driving risk. The scale of the sound in the music information generated by the information generating means, the chord played in the music information, the timing of playing the sound of the instrument in the music information, and the performance speed of the instrument in the music information are changed. The music playback device according to 1.
地図情報に基づいて得られる、前記車両の外部環境の状況、又は前記車両の外部環境に対象が存在することに基づいて、音楽情報を生成する音楽情報生成手段を更に含み、
前記変更手段は、前記音楽情報生成手段によって生成された音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記音楽情報生成手段によって生成する前記音楽情報における音のスケール、前記音楽情報において鳴らす和音、前記音楽情報における楽器の音を鳴らすタイミング、及び前記音楽情報における楽器の演奏速度の少なくとも1つを変更する請求項1記載の音楽再生装置。
Music information generating means for generating music information based on the situation of the external environment of the vehicle obtained based on map information or the presence of an object in the external environment of the vehicle;
When the music is generated by the music information generating unit, the changing unit determines that the risk determining unit determines that there is a collision or approaching risk or a driving risk. The scale of the sound in the music information generated by the information generating means, the chord played in the music information, the timing of playing the sound of the instrument in the music information, and the performance speed of the instrument in the music information are changed. The music playback device according to 1.
コンピュータを、
車両の状態、又は前記車両の外部環境の状況に基づいて、衝突又は接近の危険性、あるいは運転の危険性を判定する危険性判定手段、及び
音楽を再生する際に、前記危険性判定手段によって前記衝突又は接近の危険性、あるいは運転の危険性があると判定されると、前記再生する前記音楽における音のスケール、前記音楽において鳴らす和音、前記音楽において楽器の音を鳴らすタイミング、及び前記音楽における楽器の演奏速度の少なくとも1つを変更する変更手段
として機能させるためのプログラム。
Computer
A risk judging means for judging the danger of a collision or approach, or the danger of driving based on the state of the vehicle or the external environment of the vehicle, and when playing music, the danger judging means If it is determined that there is a risk of collision or approach, or a risk of driving, the sound scale in the music to be played, the chords to be played in the music, the timing to play the sound of an instrument in the music, and the music A program for functioning as a changing means for changing at least one of the performance speeds of musical instruments.
JP2015237961A 2015-12-04 2015-12-04 Music playback apparatus and program Active JP6398960B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2015237961A JP6398960B2 (en) 2015-12-04 2015-12-04 Music playback apparatus and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2015237961A JP6398960B2 (en) 2015-12-04 2015-12-04 Music playback apparatus and program

Publications (2)

Publication Number Publication Date
JP2017102863A true JP2017102863A (en) 2017-06-08
JP6398960B2 JP6398960B2 (en) 2018-10-03

Family

ID=59015544

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2015237961A Active JP6398960B2 (en) 2015-12-04 2015-12-04 Music playback apparatus and program

Country Status (1)

Country Link
JP (1) JP6398960B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019137378A (en) * 2018-02-09 2019-08-22 有二 大庭 Speed presentation method and vehicle

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11208370A (en) * 1998-01-23 1999-08-03 Nissan Motor Co Ltd Vehicle running support device
JP2004212131A (en) * 2002-12-27 2004-07-29 Werk Japan:Kk Portable navigation equipment for walker
JP2004219156A (en) * 2003-01-10 2004-08-05 Matsushita Electric Ind Co Ltd Position relevant information providing system, position relevant information providing method and server device
JP2004251989A (en) * 2003-02-18 2004-09-09 Yamaha Corp Sound source information reproducing apparatus for automobile use
JP2007272986A (en) * 2006-03-31 2007-10-18 Clarion Co Ltd On-vehicle music player, and music playing method and program in the music player
JP2008008701A (en) * 2006-06-28 2008-01-17 Clarion Co Ltd On-vehicle unit and play list creation program
US20080202323A1 (en) * 2006-12-06 2008-08-28 Yamaha Corporation Onboard music reproduction apparatus and music information distribution system
JP2010015053A (en) * 2008-07-04 2010-01-21 Yamaha Corp Musical piece playback device
JP2015022699A (en) * 2013-07-23 2015-02-02 株式会社豊田中央研究所 Vehicle surrounding environment alarm system
JP2015191429A (en) * 2014-03-28 2015-11-02 富士通テン株式会社 Drive support device and drive support method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11208370A (en) * 1998-01-23 1999-08-03 Nissan Motor Co Ltd Vehicle running support device
JP2004212131A (en) * 2002-12-27 2004-07-29 Werk Japan:Kk Portable navigation equipment for walker
JP2004219156A (en) * 2003-01-10 2004-08-05 Matsushita Electric Ind Co Ltd Position relevant information providing system, position relevant information providing method and server device
JP2004251989A (en) * 2003-02-18 2004-09-09 Yamaha Corp Sound source information reproducing apparatus for automobile use
JP2007272986A (en) * 2006-03-31 2007-10-18 Clarion Co Ltd On-vehicle music player, and music playing method and program in the music player
JP2008008701A (en) * 2006-06-28 2008-01-17 Clarion Co Ltd On-vehicle unit and play list creation program
US20080202323A1 (en) * 2006-12-06 2008-08-28 Yamaha Corporation Onboard music reproduction apparatus and music information distribution system
JP2010015053A (en) * 2008-07-04 2010-01-21 Yamaha Corp Musical piece playback device
JP2015022699A (en) * 2013-07-23 2015-02-02 株式会社豊田中央研究所 Vehicle surrounding environment alarm system
JP2015191429A (en) * 2014-03-28 2015-11-02 富士通テン株式会社 Drive support device and drive support method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019137378A (en) * 2018-02-09 2019-08-22 有二 大庭 Speed presentation method and vehicle

Also Published As

Publication number Publication date
JP6398960B2 (en) 2018-10-03

Similar Documents

Publication Publication Date Title
JP3598598B2 (en) Karaoke equipment
JP4568506B2 (en) Playback control device
JP2008203338A (en) Musical sound generating apparatus and musical sound generation method
JPH08194495A (en) Karaoke device
JP4496993B2 (en) Music control device
JP2006276693A (en) Singing evaluation display apparatus and program
JP2008225117A (en) Pitch display control device
JP6398960B2 (en) Music playback apparatus and program
JP5163100B2 (en) Automatic accompaniment apparatus and program
JP4204941B2 (en) Karaoke equipment
JP6575101B2 (en) Music generator
JP5309459B2 (en) Beat detection device
JP6645480B2 (en) Sound generation device, sound generation control program
JP4658133B2 (en) Music playback apparatus and music playback method
JP2006251376A (en) Musical sound controller
WO2019092791A1 (en) Data generation device and program
JP5347854B2 (en) Performance learning apparatus and performance learning program
JP5141407B2 (en) Music playback device
JP2020126176A (en) Music generation device and program
JP2007322933A (en) Guidance device, production device for data for guidance, and program
JP4244338B2 (en) SOUND OUTPUT CONTROL DEVICE, MUSIC REPRODUCTION DEVICE, SOUND OUTPUT CONTROL METHOD, PROGRAM THEREOF, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP4159961B2 (en) Karaoke equipment
KR101842282B1 (en) Guitar playing system, playing guitar and, method for displaying of guitar playing information
WO2019092780A1 (en) Evaluation device and program
JP2019002963A (en) Music generation device for vehicle and program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20171108

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20171212

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180207

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: 20180807

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180820

R150 Certificate of patent or registration of utility model

Ref document number: 6398960

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150