[go: up one dir, main page]

JP2019176229A - Signal synchronization method - Google Patents

Signal synchronization method Download PDF

Info

Publication number
JP2019176229A
JP2019176229A JP2018059588A JP2018059588A JP2019176229A JP 2019176229 A JP2019176229 A JP 2019176229A JP 2018059588 A JP2018059588 A JP 2018059588A JP 2018059588 A JP2018059588 A JP 2018059588A JP 2019176229 A JP2019176229 A JP 2019176229A
Authority
JP
Japan
Prior art keywords
signal
time
sound
synchronization
target
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.)
Pending
Application number
JP2018059588A
Other languages
Japanese (ja)
Inventor
佳孝 浦谷
Yoshitaka Uratani
佳孝 浦谷
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.)
Yamaha Corp
Original Assignee
Yamaha Corp
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 Yamaha Corp filed Critical Yamaha Corp
Priority to JP2018059588A priority Critical patent/JP2019176229A/en
Publication of JP2019176229A publication Critical patent/JP2019176229A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stereophonic System (AREA)

Abstract

To improve a synchronization accuracy in the case where an object signal is synchronized by using a sound signal acquired in a device moving to a sound source.SOLUTION: A signal synchronization method includes: a step of acquiring a first sound signal acquired in a first device moving to a sound source; a step of acquiring a first object signal of which a time difference from the first sound signal is known; a step of acquiring a second sound signal acquired in a second device different from the first device; a step of acquiring a second object signal of which a time difference from the second sound signal is known; and a step of synchronizing the first and second object signals by using a signal obtained by performing time stretch of at least a section of the first sound signal on the basis of the movement and using the second sound signal.SELECTED DRAWING: Figure 6

Description

本発明は、複数の信号を同期する技術に関する。   The present invention relates to a technique for synchronizing a plurality of signals.

映像又は音声等、各種の信号を同期する技術が知られている。特許文献1には、音響及び動画を含む素材データを収録する端末装置から無線通信により素材データを受信し、複数の素材データを編集することによりコンテンツを生成する映像処理装置が記載されている。   A technique for synchronizing various signals such as video or audio is known. Patent Document 1 describes a video processing device that receives material data by wireless communication from a terminal device that records material data including sound and moving images, and generates content by editing a plurality of material data.

特開2017−17423号公報JP 2017-17423

特許文献1に記載の技術においては、装置が移動しながら動画を収録した場合、ドップラーシフトによってピッチ(音高)が変化してしまい、信号が正確に同期できないおそれがあった。   In the technique described in Patent Document 1, when moving images are recorded while the apparatus is moving, the pitch (pitch) changes due to Doppler shift, and there is a possibility that the signals cannot be accurately synchronized.

これに対し本発明は、音源に対して移動している装置において取得された音信号を用いて対象信号を同期する場合において、同期の精度を向上させる技術を提供する。   In contrast, the present invention provides a technique for improving the accuracy of synchronization when a target signal is synchronized using a sound signal acquired in a device moving with respect to a sound source.

本発明は、音源に対し移動している第1装置において取得された第1音信号を取得するステップと、前記第1音信号との時間差が既知の第1対象信号を取得するステップと、前記第1装置と異なる第2装置において取得された第2音信号を取得するステップと、前記第2音信号との時間差が既知の第2対象信号を取得するステップと、前記移動に基づいて前記第1音信号の少なくとも一部の区間をタイムストレッチした信号と、前記第2音信号を用いて、前記第1対象信号及び前記第2対象信号を同期するステップとを有する信号同期方法を提供する。   The present invention includes a step of acquiring a first sound signal acquired in a first device moving with respect to a sound source, a step of acquiring a first target signal whose time difference from the first sound signal is known, Obtaining a second sound signal obtained in a second device different from the first device, obtaining a second target signal whose time difference from the second sound signal is known, and based on the movement A signal synchronization method comprising: a signal obtained by time-stretching at least a part of one sound signal; and a step of synchronizing the first target signal and the second target signal using the second sound signal.

この信号同期方法は、前記第1音信号を複数の区間に区分するステップを有し、前記複数の区間の各々に対して、個別に設定された伸長率でタイムストレッチしてもよい。   The signal synchronization method may include a step of dividing the first sound signal into a plurality of sections, and time-stretching each of the plurality of sections with an individually set expansion rate.

この信号同期方法は、タイムストレッチされた後に同期された信号について、区分の長さを変えて再度、複数の区間に区分するステップと、新たに区分された複数の区間の各々に対して、個別に設定された伸長率でタイムストレッチするステップと、ある長さで区分された複数の区間を用いてタイムストレッチされた信号を用いて同期された結果と、当該長さと別の長さで区分された複数の区間を用いてタイムストレッチされた信号を用いて同期された結果のうち、より同期の度合いが高い結果を採用するステップとを有してもよい。   In this signal synchronization method, for a signal that has been synchronized after time-stretching, a step of changing the length of the division and dividing it again into a plurality of sections, and for each of the newly divided sections, Time stretch with a stretch rate set to, a result synchronized using a time stretched signal using multiple sections divided by a certain length, and the length and another length A step of adopting a result having a higher degree of synchronization among results synchronized using a signal that has been time stretched using a plurality of sections.

前記第1対象信号及び前記第2対象信号を同期するステップは、前記タイムストレッチに関する少なくとも1つのパラメータについて、第1の間隔で量子化された当該パラメータの各々を用いてタイムストレッチされた前記第1音信号及び前記第2音信号を用いて、前記第1対象信号及び前記第2対象信号を同期するステップと、前記タイムストレッチされた後で、前記パラメータについて、第1の間隔よりも詳細な第2の間隔で量子化された当該パラメータの各々を用いてタイムストレッチされた前記第1音信号及び前記第2音信号を用いて、前記第1対象信号及び前記第2対象信号を同期するステップとを有してもよい。   The step of synchronizing the first target signal and the second target signal includes, for at least one parameter related to the time stretch, the first time stretched using each of the parameters quantized at a first interval. Using the sound signal and the second sound signal to synchronize the first target signal and the second target signal, and after the time stretch, the parameter is more detailed than the first interval. Synchronizing the first target signal and the second target signal using the first sound signal and the second sound signal time-stretched using each of the parameters quantized at intervals of two; You may have.

本発明によれば、音源に対して移動している装置において取得された音信号を用いて対象信号を同期する場合において、同期の精度を向上させることができる。   ADVANTAGE OF THE INVENTION According to this invention, when synchronizing a target signal using the sound signal acquired in the apparatus which is moving with respect to a sound source, the precision of a synchronization can be improved.

一実施形態に係る信号同期システム1の概要を例示する図。The figure which illustrates the outline | summary of the signal synchronization system 1 which concerns on one Embodiment. 信号同期装置10の機能構成を例示する図。The figure which illustrates the function structure of the signal synchronizer 10. FIG. 信号同期装置10のハードウェア構成を例示する図。The figure which illustrates the hardware constitutions of the signal synchronizer 10. 装置20の機能構成を例示する図。3 is a diagram illustrating a functional configuration of the device 20. FIG. 装置20のハードウェア構成を例示する図。FIG. 3 is a diagram illustrating a hardware configuration of the device 20. 信号同期装置10の動作(信号同期方法)を例示するフローチャート。The flowchart which illustrates operation | movement (signal synchronization method) of the signal synchronizer 10. FIG. 信号Srのタイムストレッチ処理を例示する図。The figure which illustrates the time stretch process of signal Sr.

1.構成
図1は、一実施形態に係る信号同期システム1の概要を例示する図である。信号同期システム1は、信号St[1]及び信号St[2]を同期するためのシステムである。信号St[1]及び信号St[2]は、それぞれ、装置20[1]及び装置20[2]において取得される。信号St[1]及び信号St[2]は同期の対象となる、第1対象信号及び第2対象信号の一例であり、装置20[1]及び装置20[2]は、第1装置及び第2装置の一例である。装置20[1]は、信号St[1]に加え、信号Sr[1]を取得する。装置20[2]は、信号St[2]に加え、信号Sr[2]を取得する。信号Sr[1]及び信号Sr[2]は、それぞれ信号St[1]及び信号St[2]との時間差が既知(例えば同時)の音信号である。信号同期装置10は、装置20[1]から信号St[1]及び信号Sr[1]の入力を受け付け、装置20[2]から信号St[2]及び信号Sr[2]の入力を受け付ける。信号同期装置10は、後述するタイムストレッチ後の信号Sr[1]及び信号Sr[2]の相互相関に基づいて、信号St[1]及び信号St[2]を同期する。なお、信号St[1]及びSt[2]を互いに区別しないときは単に信号Stと表記する。信号Sr及び装置20についても同様である。
1. Configuration FIG. 1 is a diagram illustrating an overview of a signal synchronization system 1 according to an embodiment. The signal synchronization system 1 is a system for synchronizing the signal St [1] and the signal St [2]. The signal St [1] and the signal St [2] are acquired in the device 20 [1] and the device 20 [2], respectively. The signal St [1] and the signal St [2] are examples of the first target signal and the second target signal to be synchronized, and the device 20 [1] and the device 20 [2] are the first device and the second target signal. 2 is an example of an apparatus. The device 20 [1] acquires the signal Sr [1] in addition to the signal St [1]. The device 20 [2] acquires the signal Sr [2] in addition to the signal St [2]. The signal Sr [1] and the signal Sr [2] are sound signals whose time differences from the signal St [1] and the signal St [2] are respectively known (for example, simultaneously). The signal synchronizer 10 receives input of the signal St [1] and the signal Sr [1] from the apparatus 20 [1], and receives input of the signal St [2] and the signal Sr [2] from the apparatus 20 [2]. The signal synchronizer 10 synchronizes the signal St [1] and the signal St [2] based on the cross-correlation between the signal Sr [1] and the signal Sr [2] after time stretching described later. When the signals St [1] and St [2] are not distinguished from each other, they are simply expressed as a signal St. The same applies to the signal Sr and the device 20.

信号St及び信号Srは、それぞれ、例えば、センサから出力される信号である。センサは、例えば、映像センサ(撮像素子)、音センサ(マイクロフォン)、加速度センサ、又は温度センサである。装置20[1]及び装置20[2]は、これらのセンサを搭載した装置、例えば、スマートフォン、カメラ、又はボイスレコーダである。一例において、信号Stは映像センサから出力される映像信号であり、信号Srはマイクロフォンから出力される音信号である。信号Sr[1]及び信号Sr[2]は第1音信号及び第2音信号の一例である。この例において、装置20[1]及び装置20[2]の少なくとも一方は、センシングの対象物(例えば、被写体又は音源)に対して移動しながら信号St及び信号Srを出力する。   Each of the signal St and the signal Sr is a signal output from a sensor, for example. The sensor is, for example, a video sensor (imaging device), a sound sensor (microphone), an acceleration sensor, or a temperature sensor. The device 20 [1] and the device 20 [2] are devices on which these sensors are mounted, for example, a smartphone, a camera, or a voice recorder. In one example, the signal St is a video signal output from the video sensor, and the signal Sr is a sound signal output from the microphone. The signal Sr [1] and the signal Sr [2] are examples of the first sound signal and the second sound signal. In this example, at least one of the device 20 [1] and the device 20 [2] outputs a signal St and a signal Sr while moving with respect to a sensing object (for example, a subject or a sound source).

図2は、信号同期装置10の機能構成を例示する図である。信号同期装置10は、信号取得部11、タイムストレッチ部12、同期部13、記憶部14、制御部15、及び通信部16を有する。信号取得部11は、装置20[1]から、信号St[1]及び信号Sr[1]を取得し、装置20[2]から信号St[2]及び信号Sr[2]を取得する。信号取得部11は、信号St[1]及び信号Sr[1]を同時に取得してもよいし、異なるタイミングで取得してもよい。信号St[2]及び信号Sr[2]についても同様である。タイムストレッチ部12は、信号Sr[1]及び信号Sr[2]のうち少なくとも一方の信号の少なくとも一部の区間をタイムストレッチする。ここで、タイムストレッチとは、音信号を時間軸方向に伸張する処理をいい、具体的には例えばリサンプリング処理である。タイムストレッチの詳細については後述する。信号Srをタイムストレッチ処理した信号を、信号Sr_tsという。装置20[1]が移動しながら信号St及び信号Srを出力した場合、タイムストレッチ部12は、信号Sr[1]をタイムストレッチして信号St_ts[1]を得る。同期部13は、信号Sr_ts[1]及び信号Sr[2]の相互相関に基づいて、信号St[1]及び信号St[2]を同期する。記憶部14は、各種のデータを記憶する。制御部15は、各種の制御を行う。通信部16は、他の装置と通信を行う。   FIG. 2 is a diagram illustrating a functional configuration of the signal synchronization apparatus 10. The signal synchronization device 10 includes a signal acquisition unit 11, a time stretch unit 12, a synchronization unit 13, a storage unit 14, a control unit 15, and a communication unit 16. The signal acquisition unit 11 acquires the signal St [1] and the signal Sr [1] from the device 20 [1], and acquires the signal St [2] and the signal Sr [2] from the device 20 [2]. The signal acquisition unit 11 may acquire the signal St [1] and the signal Sr [1] at the same time, or may acquire them at different timings. The same applies to the signal St [2] and the signal Sr [2]. The time stretcher 12 time stretches at least a part of at least one of the signals Sr [1] and Sr [2]. Here, time stretching refers to a process of extending a sound signal in the time axis direction, and specifically, for example, a resampling process. Details of the time stretch will be described later. A signal obtained by time-stretching the signal Sr is referred to as a signal Sr_ts. When the device 20 [1] moves and outputs the signal St and the signal Sr, the time stretch unit 12 time stretches the signal Sr [1] to obtain the signal St_ts [1]. The synchronization unit 13 synchronizes the signal St [1] and the signal St [2] based on the cross-correlation between the signal Sr_ts [1] and the signal Sr [2]. The storage unit 14 stores various data. The control unit 15 performs various controls. The communication unit 16 communicates with other devices.

図3は、信号同期装置10のハードウェア構成を例示する図である。この例において、信号同期装置10は、CPU(Central Processing Unit)101、メモリ102、ストレージ103、及び通信IF104を有するコンピュータ装置である。CPU101は、プログラムに従って各種の演算を行い、信号同期装置10の他のハードウェア要素を制御する制御装置である。メモリ102はCPU101が処理を実行する際のワークエリアとして機能する主記憶装置であり、例えばROM(Read Only Memory)及びRAM(Random Access Memory)を含む。ストレージ103は各種のデータ及びプログラムを記憶する補助記憶装置であり、例えばHDD(Hard Disk Drive)又はSSD(Solid State Drive)を含む。通信IF104は、所定の通信規格に従って他の装置と通信を行うための装置であり、例えばNIC(Network Interface Card)を含む。   FIG. 3 is a diagram illustrating a hardware configuration of the signal synchronization apparatus 10. In this example, the signal synchronization device 10 is a computer device having a CPU (Central Processing Unit) 101, a memory 102, a storage 103, and a communication IF 104. The CPU 101 is a control device that performs various calculations according to a program and controls other hardware elements of the signal synchronization device 10. The memory 102 is a main storage device that functions as a work area when the CPU 101 executes processing, and includes, for example, a ROM (Read Only Memory) and a RAM (Random Access Memory). The storage 103 is an auxiliary storage device that stores various data and programs, and includes, for example, an HDD (Hard Disk Drive) or an SSD (Solid State Drive). The communication IF 104 is a device for communicating with other devices in accordance with a predetermined communication standard, and includes, for example, a NIC (Network Interface Card).

一例において、信号同期装置10は、ネットワーク(例えばインターネット)上において動作するサーバ装置である。ストレージ103は、コンピュータ装置を信号同期システム1における信号同期装置10として機能させるためのプログラム(以下「同期プログラム」)を記憶する。CPU101がストレージ103から同期プログラムを読み出し、メモリ102にて処理を実行することにより、図2に示した機能がコンピュータ装置に実装される。CPU101が同期プログラムを実行している状態において、CPU101は、信号取得部11、タイムストレッチ部12、同期部13、及び制御部15の一例である。メモリ102及びストレージ103の少なくとも一方は記憶部14の一例である。通信IF104は、通信部16の一例である。   In one example, the signal synchronization apparatus 10 is a server apparatus that operates on a network (for example, the Internet). The storage 103 stores a program for causing the computer apparatus to function as the signal synchronization apparatus 10 in the signal synchronization system 1 (hereinafter referred to as “synchronization program”). The CPU 101 reads the synchronization program from the storage 103 and executes processing in the memory 102, whereby the functions shown in FIG. In a state where the CPU 101 is executing the synchronization program, the CPU 101 is an example of the signal acquisition unit 11, the time stretch unit 12, the synchronization unit 13, and the control unit 15. At least one of the memory 102 and the storage 103 is an example of the storage unit 14. The communication IF 104 is an example of the communication unit 16.

図4は、装置20の機能構成を例示する図である。装置20は、生成部21、取得部22、記憶部23、送信部24、UI部25、及び制御部26を有する。生成部21は、信号Stを生成する。取得部22は、信号Srを取得する。記憶部23は、各種のデータを記憶する。記憶部23が記憶するデータには、信号St及び信号Srをサンプリングしたデータが含まれる。以下、信号St及び信号Srをサンプリングしたデータを、それぞれデータDt及びデータDrという。送信部24は、データDt及びデータDrを信号同期装置10に送信する。UI部25は、装置20のユーザに対する情報の出力、及びそのユーザから指示の入力を行う。制御部26は、各種の制御を行う。   FIG. 4 is a diagram illustrating a functional configuration of the device 20. The apparatus 20 includes a generation unit 21, an acquisition unit 22, a storage unit 23, a transmission unit 24, a UI unit 25, and a control unit 26. The generation unit 21 generates a signal St. The acquisition unit 22 acquires the signal Sr. The storage unit 23 stores various data. The data stored in the storage unit 23 includes data obtained by sampling the signal St and the signal Sr. Hereinafter, data obtained by sampling the signal St and the signal Sr are referred to as data Dt and data Dr, respectively. The transmission unit 24 transmits the data Dt and the data Dr to the signal synchronization device 10. The UI unit 25 outputs information to the user of the device 20 and inputs an instruction from the user. The control unit 26 performs various controls.

図5は、装置20のハードウェア構成を例示する図である。装置20は、CPU201、メモリ202、ストレージ203、移動体通信部204、無線LAN通信部205、カメラ206、マイクロフォン207、及びタッチスクリーン208を有するコンピュータ装置である。CPU201は、プログラムに従って各種の演算を行い、装置20の他のハードウェア要素を制御する制御装置である。メモリ202はCPU201が処理を実行する際のワークエリアとして機能する主記憶装置であり、例えばROM及びRAMを含む。ストレージ203は各種のデータ及びプログラムを記憶する補助記憶装置であり、例えばSSD又はHDDを含む。移動体通信部204は、所定の移動体通信規格(例えばLTE)に従って他の装置と通信を行うための装置であり、例えばその通信規格に準拠したアンテナ及びチップセットを含む。無線LAN通信部205は、所定の無線LAN通信規格(例えばWiFi(登録商標))に従って他の装置と通信を行うための装置であり、例えばその通信規格に準拠したアンテナ及びチップセットを含む。カメラ206は、対象を撮影した映像信号を出力する。マイクロフォン207は、対象から得られた音信号を出力する。カメラ206及びマイクロフォン207は、対象の状況を検知し、その結果を示す信号を出力するセンサの一例である。タッチスクリーン208は、情報を表示する表示装置(例えばLCD)及びその表示装置の上に形成されたタッチセンサを有する。   FIG. 5 is a diagram illustrating a hardware configuration of the device 20. The device 20 is a computer device having a CPU 201, a memory 202, a storage 203, a mobile communication unit 204, a wireless LAN communication unit 205, a camera 206, a microphone 207, and a touch screen 208. The CPU 201 is a control device that performs various calculations according to a program and controls other hardware elements of the device 20. The memory 202 is a main storage device that functions as a work area when the CPU 201 executes processing, and includes, for example, a ROM and a RAM. The storage 203 is an auxiliary storage device that stores various data and programs, and includes, for example, an SSD or an HDD. The mobile communication unit 204 is a device for communicating with other devices in accordance with a predetermined mobile communication standard (for example, LTE), and includes, for example, an antenna and a chip set that comply with the communication standard. The wireless LAN communication unit 205 is a device for communicating with other devices in accordance with a predetermined wireless LAN communication standard (for example, WiFi (registered trademark)), and includes, for example, an antenna and a chip set conforming to the communication standard. The camera 206 outputs a video signal obtained by photographing the target. The microphone 207 outputs a sound signal obtained from the target. The camera 206 and the microphone 207 are an example of a sensor that detects a target situation and outputs a signal indicating the result. The touch screen 208 includes a display device (for example, an LCD) that displays information and a touch sensor formed on the display device.

一例において、装置20は、信号同期装置10が接続されたネットワークにアクセスする機能を有する装置、例えばスマートフォンである。信号Stは、スマートフォンで撮影された動画を示すビデオ信号である。ストレージ203は、コンピュータ装置を信号同期システム1における装置20として機能させるためのプログラム(データ取得プログラム)を記憶する。CPU201がデータ取得プログラムを実行している状況において、カメラ206は、生成部21の一例である。マイクロフォン207は、取得部22の一例である。CPU201は制御部26の一例である。メモリ202及びストレージ203の少なくとも一方は、記憶部23の一例である。移動体通信部204又は無線LAN通信部205は、送信部24の一例である。タッチスクリーン208は、UI部25の一例である。   In one example, the device 20 is a device having a function of accessing a network to which the signal synchronization device 10 is connected, for example, a smartphone. The signal St is a video signal indicating a moving image shot with a smartphone. The storage 203 stores a program (data acquisition program) for causing a computer device to function as the device 20 in the signal synchronization system 1. In a situation where the CPU 201 is executing a data acquisition program, the camera 206 is an example of the generation unit 21. The microphone 207 is an example of the acquisition unit 22. The CPU 201 is an example of the control unit 26. At least one of the memory 202 and the storage 203 is an example of the storage unit 23. The mobile communication unit 204 or the wireless LAN communication unit 205 is an example of the transmission unit 24. The touch screen 208 is an example of the UI unit 25.

一例において、データ取得プログラムを実行している装置20は、録画ボタンを含むUI画面(図示略)をタッチスクリーン208に表示する。録画ボタンは、録画開始の指示を受け付けるためのUI要素である。ユーザがタッチスクリーン208において録画ボタンに相当する位置をタッチすると、CPU201は、信号St及び信号Srの記録を開始する。信号St及び信号Srの記録中、装置20は停止ボタンを含むUI画面(図示略)をタッチスクリーンに表示する。停止ボタンは、録画開始の指示を受け付けるためのUI要素である。ユーザがタッチスクリーン208において停止ボタンに相当する位置をタッチすると、CPU201は、信号Stを示すデータ及び信号Srを示すデータを含むデータDmに、タイムスタンプ等の属性情報(又はタグ情報)を付与してストレージ203に記憶する。CPU201は、信号St及び信号Srの記録を同時に開始し、同時に終了する。なお、信号St及び信号Srを記録するタイミングは、その時間差が既知であればよく、同時に記録される必要はない。   In one example, the device 20 executing the data acquisition program displays a UI screen (not shown) including a recording button on the touch screen 208. The recording button is a UI element for receiving an instruction to start recording. When the user touches a position corresponding to the recording button on the touch screen 208, the CPU 201 starts recording the signal St and the signal Sr. During recording of the signal St and the signal Sr, the device 20 displays a UI screen (not shown) including a stop button on the touch screen. The stop button is a UI element for receiving an instruction to start recording. When the user touches a position corresponding to the stop button on the touch screen 208, the CPU 201 gives attribute information (or tag information) such as a time stamp to the data Dm including the data indicating the signal St and the data indicating the signal Sr. And stored in the storage 203. The CPU 201 starts recording the signal St and the signal Sr at the same time and ends them simultaneously. The timing for recording the signal St and the signal Sr only needs to be known in time, and does not need to be recorded simultaneously.

2.動作
図6は、信号同期装置10の動作(信号同期方法)を例示するフローチャートである。図6のフローを開始する前において、装置20[1]はデータDt[1]及びデータDr[1]を、装置20[2]はデータDt[2]及びデータDr[2]を、それぞれ取得済みである。以下の説明において、信号取得部11等の機能要素を処理の主体として記載する場合があるが、これは、同期プログラム等のソフトウェアを実行しているCPU101等のハードウェア要素が、他のハードウェア要素と協働して処理を実行することを意味する。
2. Operation FIG. 6 is a flowchart illustrating the operation (signal synchronization method) of the signal synchronization apparatus 10. Before starting the flow of FIG. 6, the device 20 [1] acquires data Dt [1] and data Dr [1], and the device 20 [2] acquires data Dt [2] and data Dr [2]. It is done. In the following description, a functional element such as the signal acquisition unit 11 may be described as a subject of processing. This is because a hardware element such as the CPU 101 that executes software such as a synchronization program is replaced with other hardware. This means that the process is executed in cooperation with the element.

ステップS101において、信号取得部11は、装置20[1]からデータDt[1]を取得する。データDt[1]は、例えば、装置20[1]においてユーザがデータ送信の指示を入力したというイベントを契機として、装置20[1]から信号同期装置10に送信される。装置20[1]は、データDt[1]に属性情報を付加して送付する。属性情報は、データD[1]に付随する情報である。属性情報は、例えば、装置20の識別子、装置20のユーザの識別子、被写体の説明、タイムスタンプ、及び位置情報(その画像を撮影したときの装置20の緯度及び経度)のうち少なくとも1つを含む。データDr[2]等の他のデータも、同様に属性情報が付加される。ステップS102において、信号取得部11は、装置20[1]からデータDr[1]を取得する。データDr[1]は、例えば、データDt[1]と同じイベントを契機として装置20[1]から信号同期装置10に送信される。あるいは、データDr[1]は、データDt[1]とは異なるイベントを契機として装置20[1]から信号同期装置10に送信されてもよい。この場合、データDr[1]の属性情報に含まれる識別子により、データDt[1]との関係が特定される。記憶部14は、信号取得部11が取得したデータDt[1]及びデータDr[1]を記憶する。   In step S101, the signal acquisition unit 11 acquires data Dt [1] from the device 20 [1]. For example, the data Dt [1] is transmitted from the device 20 [1] to the signal synchronization device 10 in response to an event that the user inputs a data transmission instruction in the device 20 [1]. The device 20 [1] adds the attribute information to the data Dt [1] and sends it. The attribute information is information accompanying the data D [1]. The attribute information includes, for example, at least one of an identifier of the device 20, an identifier of the user of the device 20, a description of the subject, a time stamp, and position information (latitude and longitude of the device 20 when the image is captured). . Attribute information is similarly added to other data such as data Dr [2]. In step S102, the signal acquisition unit 11 acquires data Dr [1] from the device 20 [1]. The data Dr [1] is transmitted from the device 20 [1] to the signal synchronization device 10 triggered by the same event as the data Dt [1], for example. Alternatively, the data Dr [1] may be transmitted from the device 20 [1] to the signal synchronization device 10 triggered by an event different from the data Dt [1]. In this case, the relationship with the data Dt [1] is specified by the identifier included in the attribute information of the data Dr [1]. The storage unit 14 stores the data Dt [1] and the data Dr [1] acquired by the signal acquisition unit 11.

ステップS103において、信号取得部11は、装置20[2]からデータDt[2]を取得する。ステップS104において、信号取得部11は、装置20[2]からデータDr[2]を取得する。ステップS103及びS104の詳細は、ステップS101及びS102と同様である。記憶部14は、信号取得部11が取得したデータDt[2]及びデータDr[2]を記憶する。   In step S103, the signal acquisition unit 11 acquires data Dt [2] from the device 20 [2]. In step S104, the signal acquisition unit 11 acquires data Dr [2] from the device 20 [2]. Details of steps S103 and S104 are the same as steps S101 and S102. The storage unit 14 stores the data Dt [2] and the data Dr [2] acquired by the signal acquisition unit 11.

ステップS105において、制御部15は、2つのデータを同期する指示(以下「同期指示」という)の入力を受け付ける。ここでいうデータの同期は、データにより示される信号波形の同期を意味するので、信号の同期と同義である。この指示は、例えば、信号同期装置10にアクセス可能な端末装置(図示略。例えば、インターネットにアクセス可能なスマートフォン又はPC)から入力される。この指示は、同期処理の対象となるデータDt[1]及びデータDt[2]を指定する情報を含む。   In step S105, the control unit 15 receives an input of an instruction to synchronize two data (hereinafter referred to as “synchronization instruction”). The data synchronization here means the synchronization of the signal waveform indicated by the data and is synonymous with the signal synchronization. This instruction is input from, for example, a terminal device (not shown; for example, a smartphone or a PC that can access the Internet) that can access the signal synchronization device 10. This instruction includes information specifying data Dt [1] and data Dt [2] to be subjected to synchronization processing.

ステップS106において、タイムストレッチ部12は、タイムストレッチ対象信号のうち対象区間に対し、タイムストレッチ処理を行い、信号Sr_tsを出力する。タイムストレッチ対象信号とは、信号Sr[1]及び信号Sr[2]のうちタイムストレッチ処理の対象となる信号をいう。タイムストレッチ処理の対象となるのは、例えば、音源に対して移動している装置20において取得された信号である。信号Srの取得の際、音源に対して装置20[1]が移動していた場合、信号Sr[1]がタイムストレッチ処理の対象となる。信号Srの取得の際、音源に対して装置20[2]が移動していた場合、信号Sr[2]がタイムストレッチ処理の対象となる。例えば、装置20[1]及び装置20[2]のうち音源に対し移動している装置が分かっている場合、その装置20において取得された信号Srがタイムストレッチ処理の対象となる。装置20[1]及び装置20[2]のうちどちらの装置が音源に対し移動しているか分かっていない場合、装置20[1]及び装置20[2]は1つずつ順番にタイムストレッチ処理の対象となる。   In step S106, the time stretch unit 12 performs time stretch processing on the target section of the time stretch target signal and outputs a signal Sr_ts. The time stretch target signal is a signal to be subjected to time stretch processing among the signals Sr [1] and Sr [2]. The target of the time stretch process is, for example, a signal acquired in the device 20 moving with respect to the sound source. When the signal Sr is acquired, if the device 20 [1] is moved with respect to the sound source, the signal Sr [1] is a target of time stretch processing. When the signal Sr is acquired, if the device 20 [2] is moved with respect to the sound source, the signal Sr [2] is a target of time stretch processing. For example, when the device 20 [1] and the device 20 [2] that are moving with respect to the sound source are known, the signal Sr acquired in the device 20 is the target of the time stretch process. When it is not known which of the devices 20 [1] and 20 [2] is moving with respect to the sound source, the devices 20 [1] and 20 [2] perform time stretch processing one by one in order. It becomes a target.

対象区間とは、タイムストレッチ対象信号のうちタイムストレッチの処理の対象となる区間をいう。対象区間は、タイムストレッチ対象信号の時間領域の一部又は全部の区間である。一例において、タイムストレッチ部12は、タイムストレッチ対象信号を複数の区間(例えば10個の区間)に等分する。タイムストレッチ部12は、これら10個の区間のうち1つの区間を順番に対象区間として設定する。例えば、タイムストレッチ部12は、まず第1の区間を対象区間として設定する。後述する処理が終了した後で、タイムストレッチ部12は、次に第2の区間を対象区間として設定する。以下、タイムストレッチ部12は、第10の区間まで順番に対象区間として設定する。   The target section refers to a section that is a target of time stretch processing in the time stretch target signal. The target section is a part or all of the time domain of the time stretch target signal. In one example, the time stretch unit 12 equally divides the time stretch target signal into a plurality of sections (for example, 10 sections). The time stretch unit 12 sets one of the ten sections as a target section in order. For example, the time stretch unit 12 first sets the first section as the target section. After the process to be described later is completed, the time stretch unit 12 next sets the second section as the target section. Hereinafter, the time stretch unit 12 sets the target sections in order up to the tenth section.

次に、タイムストレッチ処理の一例として、リサンプリング処理を説明する。いま、観測者である装置20[1]が速度v1で移動し、音源が速度v2で移動している例を考える。音源が発する音の周波数はfである。ドップラーシフトの結果、観測者は周波数fpの音を聞く。
fp={(c−v2)/(c−v1)}f=αf …(1)
α≡(c−v2)/(c−v1) …(2)
ここで、観測者及び音源のいずれもが等速度運動をしている場合、αは一定であるから、観測者がΔt/αの時間間隔でリサンプリングすればよい。ここで、Δtは、信号Sr[1]の(元の)サンプリング周期である(例えばΔt=1/fsである(fsはサンプリング周波数))。一方、観測者及び音源のいずれかが加速度運動をしている場合、速度v1又は速度v2の時間変化若しくは加速度βが分かっていれば、等速度運動の場合と同様に、観測者が、逐次、Δt/βの時間間隔でリサンプリングすればよい。なお観測者又は音源の速度が不明である場合、タイムストレッチ部12は、リサンプリング周期を変えてリサンプリング処理を行い、最適な条件を探す。
Next, the resampling process will be described as an example of the time stretch process. Now, consider an example in which the observer 20 [1] moves at a speed v1 and the sound source moves at a speed v2. The frequency of the sound emitted by the sound source is f. As a result of the Doppler shift, the observer hears sound of frequency fp.
fp = {(c−v2) / (c−v1)} f = αf (1)
α≡ (c−v2) / (c−v1) (2)
Here, when both the observer and the sound source are moving at a constant velocity, α is constant, so the observer may resample at a time interval of Δt / α. Here, Δt is the (original) sampling period of the signal Sr [1] (for example, Δt = 1 / fs (fs is the sampling frequency)). On the other hand, if either the observer or the sound source is accelerating, if the temporal change of the velocity v1 or the velocity v2 or the acceleration β is known, the observer sequentially Re-sampling may be performed at a time interval of Δt / β. When the speed of the observer or the sound source is unknown, the time stretch unit 12 performs resampling processing by changing the resampling period, and searches for an optimum condition.

ステップS107において、同期部13は、同期指示により指定された信号を同期する。ここで、信号を同期するとは、2つの信号の時間領域における位置のずれ(差)を特定することをいう。一例において、信号St[1]及び信号St[2]は、信号Sr[1]及び信号Sr[2]の相互相関に基づいて同期される。具体的には、同期部13は、次式(1)に示される相互相関Cij(τ)の絶対値|Cij(τ)|を最大とする時間差τを計算する。
ここで、信号yiはデータDr[1]により示される信号すなわち信号Sr[1]であり、信号yjはデータDr[2]により示される信号すなわち信号Sr[2]である。信号Sr[1]及び信号Sr[2]の少なくとも一方は、ステップS106においてタイムストレッチ処理されている。式(1)は、信号yi(t)の始点と信号yj(t)の始点とを時間領域において一致させてから、信号yi(t)に対する信号yj(t)の時間差(時間軸上のシフト量)τを変数として両者間の信号波形の相関の程度を示した数値列を示す。時間差τは、正の値も負の値もとり得る。例えば、信号Sr[2]が時間領域において信号Sr[1]の後方に位置する場合、時間差τは正であり、信号Sr[2]が時間領域において信号Sr[1]の前方に位置する場合、時間差τは負である。なお相互相関は式(1)によって計算されるものに限定されず、例えば次式(2)によって計算されてもよい。
In step S107, the synchronization unit 13 synchronizes the signal specified by the synchronization instruction. Here, synchronizing the signals means specifying a positional shift (difference) between the two signals in the time domain. In one example, the signal St [1] and the signal St [2] are synchronized based on the cross-correlation of the signal Sr [1] and the signal Sr [2]. Specifically, the synchronization unit 13 calculates a time difference τ that maximizes the absolute value | Cij (τ) | of the cross-correlation Cij (τ) expressed by the following equation (1).
Here, the signal yi is a signal indicated by the data Dr [1], that is, the signal Sr [1], and the signal yj is a signal indicated by the data Dr [2], that is, the signal Sr [2]. At least one of the signal Sr [1] and the signal Sr [2] is time-stretched in step S106. Equation (1) is obtained by matching the start point of the signal yi (t) and the start point of the signal yj (t) in the time domain, and then the time difference (shift on the time axis) of the signal yj (t) with respect to the signal yi (t) A numerical string indicating the degree of correlation of the signal waveform between the two using the amount τ as a variable. The time difference τ can be a positive value or a negative value. For example, when the signal Sr [2] is located behind the signal Sr [1] in the time domain, the time difference τ is positive, and the signal Sr [2] is located ahead of the signal Sr [1] in the time domain. The time difference τ is negative. The cross-correlation is not limited to that calculated by the equation (1), and may be calculated by the following equation (2), for example.

ステップS108において、同期部13は、同期の度合いを示す値として、相互相関Cij(τ)の絶対値|Cij(τ)|を記憶部14に記憶する。   In step S108, the synchronization unit 13 stores the absolute value | Cij (τ) | of the cross-correlation Cij (τ) in the storage unit 14 as a value indicating the degree of synchronization.

ステップS109において、同期部13は、すべてのタイムストレッチ条件を考慮したか判断する。タイムストレッチ条件とは、タイムストレッチ処理に係る条件であり、例えば、タイムストレッチ対象信号、対象区間、対象区間の分割数である。信号Sr[1]及び信号Sr[2]が両方ともタイムストレッチ対象信号となる場合、同期部13は、信号Sr[1]及び信号Sr[2]の双方について、相互相関Cij(τ)の絶対値|Cij(τ)|が計算されたか判断する。また、同期部13は、タイムストレッチ対象信号のすべての区間が対象区間として考慮されたか判断する。さらに、同期部13は、考慮の対象となるすべての分割数が考慮済みとなったか判断する。例えば、10分割、5分割、及び3分割が考慮の対象なる場合、同期部13は、対象信号を10分割したときの第1〜第10区間、5分割したときの第1〜第5区間、及び3分割したときの第1〜第3区間のすべてについて相互相関Cij(τ)の絶対値|Cij(τ)|が計算されたか判断する。なお、タイムストレッチ対象信号の分割数は、タイムストレッチ処理に関するパラメータであって、量子化されたパラメータの一例である。考慮されていない条件の組み合わせがあるとき(S109:NO)、同期部13は、対象となる条件を更新して、処理を再びステップS106に移行する。すべてのタイムストレッチ条件が考慮されたと判断された場合(S109:YES)、同期部13は、処理をステップS110に移行する。   In step S109, the synchronization unit 13 determines whether all time stretch conditions are considered. The time stretch condition is a condition related to the time stretch process, and is, for example, a time stretch target signal, a target section, and the number of divisions of the target section. When both the signal Sr [1] and the signal Sr [2] are time stretch target signals, the synchronization unit 13 determines the absolute value of the cross-correlation Cij (τ) for both the signal Sr [1] and the signal Sr [2]. It is determined whether the value | Cij (τ) | Further, the synchronization unit 13 determines whether all sections of the time stretch target signal are considered as target sections. Further, the synchronization unit 13 determines whether all the division numbers to be considered have been considered. For example, when 10 divisions, 5 divisions, and 3 divisions are objects to be considered, the synchronization unit 13 performs the first to the tenth sections when the target signal is divided into ten, the first to the fifth sections when the division is performed, Then, it is determined whether or not the absolute value | Cij (τ) | of the cross-correlation Cij (τ) has been calculated for all of the first to third sections obtained by dividing into three. The number of divisions of the time stretch target signal is a parameter related to the time stretch process and is an example of a quantized parameter. When there is a combination of conditions that are not considered (S109: NO), the synchronization unit 13 updates the target condition, and the process proceeds to step S106 again. When it is determined that all the time stretch conditions have been taken into account (S109: YES), the synchronization unit 13 proceeds to step S110.

図7は、信号Srのタイムストレッチ処理を例示する図である。この例においては、信号Sr[1]がタイムストレッチ対象信号である。信号Sr[1]のうち、区間Dv(図7(a))において装置20[1]は音源に対し移動しながら撮影を行った。タイムストレッチ部12は、信号Sr[1]を区間D1〜D4の4つの区間に区分する(図7(b))。タイムストレッチ部12は、例えば区間D2を対象として、伸長率を種々の値に異ならせタイムストレッチ処理を行う。このとき、タイムストレッチ部12は、区間D2の時間長を元の信号のまま一定に保つ。例えば、伸長率として10種類の値を採用した場合、各伸長率を用いてタイムストレッチ処理した信号Sr[1]を、信号Sr[1,1]〜信号Sr[1,10]と表す。同期部13は、これら10個の信号Sr[1,1]〜[1,10]について、それぞれ、信号Sr[2]との相互相関を計算する。同期部13は、これら10個の計算結果のうち相互相関が最大となる信号Sr[1,x]を用いた相互層間の計算結果から、時間差τを得る。   FIG. 7 is a diagram illustrating time stretching processing of the signal Sr. In this example, the signal Sr [1] is a time stretch target signal. Of the signal Sr [1], the device 20 [1] took an image while moving relative to the sound source in the section Dv (FIG. 7A). The time stretcher 12 divides the signal Sr [1] into four sections D1 to D4 (FIG. 7B). For example, for the section D2, the time stretch unit 12 performs the time stretch process by changing the expansion rate to various values. At this time, the time stretcher 12 keeps the time length of the section D2 constant with the original signal. For example, when ten types of values are employed as the expansion rate, the signal Sr [1] subjected to time stretch processing using each expansion rate is represented as signal Sr [1,1] to signal Sr [1,10]. The synchronizer 13 calculates a cross-correlation with the signal Sr [2] for each of these ten signals Sr [1,1] to [1,10]. The synchronization unit 13 obtains the time difference τ from the calculation result between the mutual layers using the signal Sr [1, x] having the maximum cross-correlation among these ten calculation results.

なお、この例で示すように、区間D1〜D4は、の境界は、区間Dvの境界と一致している必要はない。区間Dvの位置が不明な状態でタイムストレッチ処理を行っても、タイムストレッチ処理をまったく行わない場合と比較して同期精度を向上させることができる。   As shown in this example, the boundaries of the sections D1 to D4 do not have to coincide with the boundaries of the section Dv. Even if the time stretch process is performed in a state where the position of the section Dv is unknown, the synchronization accuracy can be improved as compared with the case where the time stretch process is not performed at all.

再び図6を参照する。ステップS110において、同期部13は、複数のタイムストレッチ条件の中から、相互相関Cij(τ)の絶対値|Cij(τ)|が最大となるタイムストレッチ条件を決定する。同期部13は、このタイムストレッチ条件において計算された時間差τを、信号St[1]及び信号St[2]の時間差τとして決定する。   Refer to FIG. 6 again. In step S110, the synchronization unit 13 determines a time stretch condition that maximizes the absolute value | Cij (τ) | of the cross-correlation Cij (τ) from among a plurality of time stretch conditions. The synchronization unit 13 determines the time difference τ calculated under the time stretch condition as the time difference τ between the signal St [1] and the signal St [2].

ステップS111において、制御部15は、同期された信号St[1]及び信号St[2]を合成した信号Ssを示すデータDsを生成する。ステップS112において、制御部15は、データDsを出力する。例えば、制御部15は、例えば、同期指示を出力した端末装置に対しデータDsを出力する。あるいは、制御部15は、記憶部14にデータDsを記憶してもよい。   In step S111, the control unit 15 generates data Ds indicating a signal Ss obtained by combining the synchronized signal St [1] and the signal St [2]. In step S112, the control unit 15 outputs data Ds. For example, the control unit 15 outputs the data Ds to, for example, the terminal device that has output the synchronization instruction. Alternatively, the control unit 15 may store the data Ds in the storage unit 14.

信号Stが映像信号である場合において、データDsは、信号St[1]により示される映像を表示する領域及び信号St[2]により示される映像を表示する領域を1画面中に含む映像を示すデータである。データDsは、この映像に同期する音声として、信号Sr[1]により示される音及び信号Sr[2]により示される音の少なくとも一方を含む。一例において、データDsは、相互相関Cij(τ)の絶対値|Cij(τ)|が最大となるタイムストレッチ条件においてタイムストレッチ処理されていない信号Srを含み、タイムストレッチ処理された信号Srを含まない(すなわち、音源に対し移動していない装置20において取得された音信号のみを含む)。あるいは、データDsは、第1チャンネルに信号Sr[1]を含み、第2チャンネルに信号Sr[2]を含んでもよい。   In the case where the signal St is a video signal, the data Ds indicates a video including an area for displaying the video indicated by the signal St [1] and an area for displaying the video indicated by the signal St [2] in one screen. It is data. The data Ds includes at least one of the sound indicated by the signal Sr [1] and the sound indicated by the signal Sr [2] as audio synchronized with the video. In one example, the data Ds includes a signal Sr that has not been time-stretched under a time-stretch condition in which the absolute value | Cij (τ) | of the cross-correlation Cij (τ) is maximum, and includes a signal Sr that has been time-stretched. There is no (that is, only the sound signal acquired in the device 20 not moving relative to the sound source is included). Alternatively, the data Ds may include the signal Sr [1] in the first channel and the signal Sr [2] in the second channel.

本実施形態によれば、音源に対して移動している装置において取得した音信号を信号Srとして用いて信号Stを同期する例において、タイムストレッチ処理を用いない場合と比較して同期精度を向上させることができる。   According to the present embodiment, in the example in which the signal St is synchronized using the sound signal acquired in the apparatus moving with respect to the sound source as the signal Sr, the synchronization accuracy is improved as compared with the case where the time stretch process is not used. Can be made.

本実施形態は、一例としては以下のシーンに利用することができる。装置20[1]及び装置20[2]は、いずれも、マイクロフォンを内蔵したビデオカメラである。撮影の対象は、例えば水泳大会又は陸上競技大会である。プール又はトラックのレーンに沿ってあらかじめレールが設置してあり、装置20[1]はこのレールの上を移動しながら選手を撮影する。装置20[2]はスタート地点又はゴール地点に固定される。音源は、会場に流れているBGM(Background Music)である。あるいは、音源は、撮影される選手であってもよい(この場合、信号Srは、水しぶきの音又は足で地面を蹴る音の信号である)であってもよい。なお本願発明の利用シーンはこれに限定されない。例えば、コンサートにおける演奏者を固定カメラ及び移動カメラを用いて撮影するシーンに本願発明を利用してもよい。あるいは、自動車等の乗り物が被写体であってもよい。   This embodiment can be used for the following scenes as an example. The devices 20 [1] and 20 [2] are both video cameras with built-in microphones. The object of shooting is, for example, a swimming competition or an athletics competition. A rail is installed in advance along the lane of the pool or track, and the device 20 [1] photographs the player while moving on the rail. The device 20 [2] is fixed at the start point or the goal point. The sound source is BGM (Background Music) flowing in the venue. Alternatively, the sound source may be a player to be photographed (in this case, the signal Sr is a signal of a splashing sound or a sound of kicking the ground with a foot). The use scene of the present invention is not limited to this. For example, the present invention may be used in a scene where a performer in a concert is photographed using a fixed camera and a moving camera. Alternatively, a vehicle such as an automobile may be the subject.

3.変形例
本発明は上述の実施形態に限定されるものではなく、種々の変形実施が可能である。以下、変形例をいくつか説明する。以下の変形例のうち2つ以上のものが組み合わせて用いられてもよい。
3. Modifications The present invention is not limited to the above-described embodiments, and various modifications can be made. Hereinafter, some modifications will be described. Two or more of the following modifications may be used in combination.

3−1.変形例1
タイムストレッチ対象信号を複数の区間に区分する場合、タイムストレッチ部12は、2つ以上の区間に対してタイムストレッチ処理を施してもよい。この場合において、タイムストレッチ部12は、区間毎に個別に設定された伸張率を用いてタイムストレッチ処理を行ってもよい。
3-1. Modification 1
When the time stretch target signal is divided into a plurality of sections, the time stretch unit 12 may perform time stretch processing on two or more sections. In this case, the time stretch unit 12 may perform the time stretch process using the expansion rate set individually for each section.

3−2.変形例2
相互相関が最大となるタイムストレッチ条件を探す際、タイムストレッチ部12は、タイムストレッチ条件に関する少なくとも1つのパラメータについて、まず粗い精度で最適な範囲を絞り込んだ後に、次により詳細な精度で条件の最適化を行ってもよい。一例において、タイムストレッチ部12は、タイムストレッチ対象信号を例えば5分割し、各区間について最適な伸長率を得る。その後で、タイムストレッチ部12は、元の信号との伸長率の差の絶対値が最も大きい区間をさらに複数の区間に区分し、相互相関が最大となる条件を探す。
3-2. Modification 2
When searching for the time stretch condition that maximizes the cross-correlation, the time stretch unit 12 first narrows down the optimum range with coarse accuracy for at least one parameter related to the time stretch condition, and then optimizes the condition with more detailed accuracy. May also be performed. In one example, the time stretch unit 12 divides the time stretch target signal into, for example, five, and obtains an optimum expansion rate for each section. Thereafter, the time stretcher 12 further divides a section having the largest absolute value of the difference in expansion rate from the original signal into a plurality of sections, and searches for a condition that maximizes the cross-correlation.

3−3.変形例3
例えば音源が発する音の周波数が既知である場合、タイムストレッチ部12は、信号Srの周波数が音源の周波数と一致するようにタイムストレッチ条件を探してもよい。
3-3. Modification 3
For example, when the frequency of the sound emitted from the sound source is known, the time stretcher 12 may search for the time stretch condition so that the frequency of the signal Sr matches the frequency of the sound source.

3−4.他の変形例
2つの信号を同期するための具体的方法は、相互相関を用いるものに限定されない。例えば、信号Sr[1]と信号Sr[2]とのパターンマッチングにより、信号St[1]及びSt[2]が同期されてもよい。
3-4. Other Modifications A specific method for synchronizing two signals is not limited to using cross-correlation. For example, the signals St [1] and St [2] may be synchronized by pattern matching between the signal Sr [1] and the signal Sr [2].

信号同期システム1の機能を実現するためのハードウェア構成は、実施形態において例示したものに限定されない。要求される機能を実現できるものであれば、信号同期システム1はどのようなハードウェア構成を有していてもよい。また、機能とハードウェアとの対応関係は、実施形態で例示したものに限定されない。例えば、実施形態において信号同期装置10に実装されていた機能を、2台以上の装置に分散して実装してもよい。また、実施形態又は変形例において信号同期装置10に実装されていた機能の少なくとも一部を、装置20に実装してもよい。例えば、装置20自身が信号同期装置10としての機能を有してもよい。この場合、例えば装置20[1]は、装置20[2]からデータDt[2]及びデータDr[2]を取得し、自身で記憶しているデータDt[1]及びデータDr[1]を用いて、信号St[1]及び信号St[2]を同期する。   The hardware configuration for realizing the function of the signal synchronization system 1 is not limited to the one exemplified in the embodiment. The signal synchronization system 1 may have any hardware configuration as long as the required function can be realized. In addition, the correspondence relationship between functions and hardware is not limited to that illustrated in the embodiment. For example, the functions implemented in the signal synchronization apparatus 10 in the embodiment may be distributed and implemented in two or more apparatuses. In addition, at least a part of the functions implemented in the signal synchronization apparatus 10 in the embodiment or the modification may be implemented in the apparatus 20. For example, the device 20 itself may have a function as the signal synchronization device 10. In this case, for example, the device 20 [1] acquires the data Dt [2] and the data Dr [2] from the device 20 [2], and uses the data Dt [1] and the data Dr [1] stored by itself. Use to synchronize the signal St [1] and the signal St [2].

実施形態においては2個の信号を同期する例を説明したが、同期される信号の数は2個に限定されない。3個以上の信号が同期されてもよい。   In the embodiment, an example in which two signals are synchronized has been described, but the number of signals to be synchronized is not limited to two. Three or more signals may be synchronized.

信号同期装置10及び装置20において実行されるプログラムは、光ディスク、磁気ディスク、半導体メモリなどの記憶媒体により提供されてもよいし、インターネット等の通信回線を介してダウンロードされてもよい。また、このプログラムは、実施形態において例示したステップを備える必要はない。これらのステップの一部が省略されてもよい。また、これらのステップの一部の順番が入れ替えられてもよい。   The program executed in the signal synchronization apparatus 10 and the apparatus 20 may be provided by a storage medium such as an optical disk, a magnetic disk, or a semiconductor memory, or may be downloaded via a communication line such as the Internet. Further, this program need not include the steps exemplified in the embodiment. Some of these steps may be omitted. Further, the order of some of these steps may be changed.

1…信号同期システム、10…信号同期装置、11…信号取得部、12…タイムストレッチ部、13…同期部、14…記憶部、15…制御部、16…通信部、20…装置、21…生成部、22…取得部、23…記憶部、24…送信部、25…UI部、26…制御部、101…CPU、102…メモリ、103…ストレージ、104…通信IF、201…CPU、202…メモリ、203…ストレージ、204…移動体通信部、205…無線LAN通信部、206…カメラ、207…マイクロフォン、208…タッチスクリーン DESCRIPTION OF SYMBOLS 1 ... Signal synchronization system, 10 ... Signal synchronization apparatus, 11 ... Signal acquisition part, 12 ... Time stretch part, 13 ... Synchronization part, 14 ... Memory | storage part, 15 ... Control part, 16 ... Communication part, 20 ... Apparatus, 21 ... Generation unit, 22 ... acquisition unit, 23 ... storage unit, 24 ... transmission unit, 25 ... UI unit, 26 ... control unit, 101 ... CPU, 102 ... memory, 103 ... storage, 104 ... communication IF, 201 ... CPU, 202 ... Memory, 203 ... Storage, 204 ... Mobile communication unit, 205 ... Wireless LAN communication unit, 206 ... Camera, 207 ... Microphone, 208 ... Touch screen

Claims (4)

音源に対し移動している第1装置において取得された第1音信号を取得するステップと、
前記第1音信号との時間差が既知の第1対象信号を取得するステップと、
前記第1装置と異なる第2装置において取得された第2音信号を取得するステップと、
前記第2音信号との時間差が既知の第2対象信号を取得するステップと、
前記移動に基づいて前記第1音信号の少なくとも一部の区間をタイムストレッチした信号と、前記第2音信号を用いて、前記第1対象信号及び前記第2対象信号を同期するステップと
を有する信号同期方法。
Obtaining a first sound signal obtained in a first device moving relative to a sound source;
Obtaining a first target signal having a known time difference from the first sound signal;
Obtaining a second sound signal obtained in a second device different from the first device;
Obtaining a second target signal having a known time difference from the second sound signal;
A step of time-stretching at least a part of the first sound signal based on the movement, and a step of synchronizing the first target signal and the second target signal using the second sound signal. Signal synchronization method.
前記第1音信号を複数の区間に区分するステップを有し、
前記複数の区間の各々に対して、個別に設定された伸長率でタイムストレッチする
請求項1に記載の信号同期方法。
Dividing the first sound signal into a plurality of sections;
The signal synchronization method according to claim 1, wherein each of the plurality of sections is time-stretched at an expansion rate set individually.
タイムストレッチされた後に同期された信号について、区分の長さを変えて再度、複数の区間に区分するステップと、
新たに区分された複数の区間の各々に対して、個別に設定された伸長率でタイムストレッチするステップと、
ある長さで区分された複数の区間を用いてタイムストレッチされた信号を用いて同期された結果と、当該長さと別の長さで区分された複数の区間を用いてタイムストレッチされた信号を用いて同期された結果のうち、より同期の度合いが高い結果を採用するステップと
を有する請求項2に記載の信号同期方法。
For a signal synchronized after being time stretched, the step of changing the length of the division and dividing it again into a plurality of sections;
For each of a plurality of newly divided sections, a step of time stretching with an individually set expansion rate;
A result of synchronization using a signal that has been time-stretched using a plurality of sections divided by a certain length, and a signal that has been time-stretched by using a plurality of sections that are divided by a length different from that result. The signal synchronization method according to claim 2, further comprising a step of adopting a result having a higher degree of synchronization among results synchronized using.
前記第1対象信号及び前記第2対象信号を同期するステップは、
前記タイムストレッチに関する少なくとも1つのパラメータについて、第1の間隔で量子化された当該パラメータの各々を用いてタイムストレッチされた前記第1音信号及び前記第2音信号を用いて、前記第1対象信号及び前記第2対象信号を同期するステップと、
前記タイムストレッチされた後で、前記パラメータについて、第1の間隔よりも詳細な第2の間隔で量子化された当該パラメータの各々を用いてタイムストレッチされた前記第1音信号及び前記第2音信号を用いて、前記第1対象信号及び前記第2対象信号を同期するステップと
を有する請求項1乃至3のいずれか一項に記載の信号同期方法。
Synchronizing the first target signal and the second target signal includes:
For at least one parameter related to the time stretch, the first target signal using the first sound signal and the second sound signal time-stretched using each of the parameters quantized at a first interval. And synchronizing the second target signal;
After the time stretching, the first sound signal and the second sound time-stretched using each of the parameters quantized at a second interval that is more detailed than the first interval. The signal synchronization method according to any one of claims 1 to 3, further comprising: synchronizing the first target signal and the second target signal using a signal.
JP2018059588A 2018-03-27 2018-03-27 Signal synchronization method Pending JP2019176229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018059588A JP2019176229A (en) 2018-03-27 2018-03-27 Signal synchronization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018059588A JP2019176229A (en) 2018-03-27 2018-03-27 Signal synchronization method

Publications (1)

Publication Number Publication Date
JP2019176229A true JP2019176229A (en) 2019-10-10

Family

ID=68167350

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018059588A Pending JP2019176229A (en) 2018-03-27 2018-03-27 Signal synchronization method

Country Status (1)

Country Link
JP (1) JP2019176229A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023089857A1 (en) * 2021-11-22 2023-05-25 Towa株式会社 Inspection system, control method, manufacturing method for electronic component, and cutting device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023089857A1 (en) * 2021-11-22 2023-05-25 Towa株式会社 Inspection system, control method, manufacturing method for electronic component, and cutting device
JP2023076250A (en) * 2021-11-22 2023-06-01 Towa株式会社 Inspection system, control method, electronic component manufacturing method and cutting device
JP7291766B2 (en) 2021-11-22 2023-06-15 Towa株式会社 Inspection system, control method, electronic component manufacturing method and cutting device
TWI848371B (en) * 2021-11-22 2024-07-11 日商Towa股份有限公司 Inspection system, control method, manufacturing method of electronic component and cutting device

Similar Documents

Publication Publication Date Title
CN106170096B (en) Multi-angle video editing based on cloud video sharing
JP7100863B1 (en) Video processing device, video processing method, program
US9966108B1 (en) Variable playback speed template for video editing application
JP2015523010A (en) Automatic digital curation and action video tagging
EP2816564B1 (en) Method and apparatus for smart video rendering
WO2017049796A1 (en) Navigation method and apparatus, navigation video generation method and apparatus
US20140337742A1 (en) Method, an apparatus and a computer program for determination of an audio track
JP2014064135A (en) Image pick-up controller, image pick-up control method, reproduction controller, reproduction control method and program
JP2017103542A (en) Synchronization device, synchronization method, and synchronization program
JP6249754B2 (en) IMAGING DEVICE, IMAGING SYSTEM, COMMUNICATION DEVICE, IMAGING METHOD, AND IMAGING PROGRAM
KR101721085B1 (en) Device and method for time syncronization between photographing apparatus and sensor
KR20110121304A (en) Sound source position calculating device and method
JP2019176229A (en) Signal synchronization method
JP2008299834A (en) Subject tracking program and subject tracking device
JP2002262233A (en) Behavior measurement system
CN115243087B (en) Audio and video shooting processing method and device, terminal equipment and storage medium
JP2010262072A (en) Karaoke system for digital TV
JP2019121816A (en) Signal synchronization method
JP6295634B2 (en) Information processing system and program
JP7218198B2 (en) Video playback device, video playback method and program
CN111432283B (en) A method and device for determining time of video playback
JP6693180B2 (en) Recording data analysis method and recording data analysis device
JP2008219608A (en) Content-associated information display method, content-associated information display device, program thereof, and recording medium
JP2013175964A (en) Signal processor, signal processing method, program, electronic apparatus, and signal processing system, and signal processing method for signal processing system
JP2019174520A (en) Signal synchronization method and signal synchronization device