[go: up one dir, main page]

JP7432386B2 - Program, information processing method, and information processing device - Google Patents

Program, information processing method, and information processing device Download PDF

Info

Publication number
JP7432386B2
JP7432386B2 JP2020020733A JP2020020733A JP7432386B2 JP 7432386 B2 JP7432386 B2 JP 7432386B2 JP 2020020733 A JP2020020733 A JP 2020020733A JP 2020020733 A JP2020020733 A JP 2020020733A JP 7432386 B2 JP7432386 B2 JP 7432386B2
Authority
JP
Japan
Prior art keywords
bits
sound data
information processing
pulse code
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2020020733A
Other languages
Japanese (ja)
Other versions
JP2021128184A (en
Inventor
雅人 小池
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.)
Koei Tecmo Games Co Ltd
Original Assignee
Koei Tecmo Games Co Ltd
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 Koei Tecmo Games Co Ltd filed Critical Koei Tecmo Games Co Ltd
Priority to JP2020020733A priority Critical patent/JP7432386B2/en
Publication of JP2021128184A publication Critical patent/JP2021128184A/en
Application granted granted Critical
Publication of JP7432386B2 publication Critical patent/JP7432386B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Description

本発明は、プログラム、情報処理方法、及び情報処理装置に関する。 The present invention relates to a program, an information processing method, and an information processing device.

従来、音のアナログ信号をデジタル信号に変換する変調方式として、パルス符号変調(PCM、Pulse Code Modulation)が知られている。なお、パルス符号変調は、音の信号を圧縮せずに記録するため、リニアPCM(Linear PCM)等とも称されている。 Conventionally, pulse code modulation (PCM) is known as a modulation method for converting analog sound signals into digital signals. Note that pulse code modulation is also called linear PCM (Linear PCM) because it records the sound signal without compressing it.

また、PCMよりも音のデータ量を圧縮(削減)する音声符号化方式として、ADPCM(Adaptive Differential Pulse Code Modulation)、MP3(MPEG-1 Audio Layer-3)、AAC(Advanced Audio Coding)等も知られている。これらの音声符号化方式を用いれば、例えば、PCMを用いる場合と比較して、音データを端末がサーバからダウンロードする際のネットワークの通信量、及び音データを記憶するための記憶容量等を低減できる。 Additionally, ADPCM (Adaptive Differential Pulse Code Modulation), MP3 (MPEG-1 Audio Layer-3), and AAC (Advanced Audio Coding) are also known as audio encoding methods that compress (reduce) the amount of sound data more than PCM. It is being By using these audio encoding methods, for example, compared to using PCM, the amount of network communication when a terminal downloads audio data from a server and the storage capacity for storing audio data can be reduced. can.

特開2009-109674号公報Japanese Patent Application Publication No. 2009-109674

しかしながら、従来技術では、データをダウンロードする際のネットワークの通信量、及びデータを記憶するための記憶容量等の制約により、PCMによる音データを端末に配信できない場合がある。 However, in the conventional technology, it may not be possible to deliver PCM sound data to a terminal due to constraints such as network traffic when downloading data and storage capacity for storing data.

また、ADPCM等により圧縮された音データを用いる場合、音データを再生する際、圧縮されているデータを解凍(伸長)する処理が必要である。そのため、機器の演算処理の性能、及び当該機器での他の演算処理の状況(例えば、動画像の再生処理を実行している)等によっては、ADPCM等により圧縮された音データは再生できない場合がある。 Furthermore, when audio data compressed by ADPCM or the like is used, processing for decompressing (expanding) the compressed data is required when reproducing the audio data. Therefore, depending on the performance of the device's arithmetic processing and the status of other arithmetic processing in the device (for example, if the device is performing video playback processing), sound data compressed by ADPCM etc. may not be playable. There is.

一側面では、パルス符号変調の音データのデータ量を圧縮可能とすることを目的とする。 One aspect of the present invention is to make it possible to compress the amount of pulse code modulated sound data.

一つの案では、情報処理装置に、パルス符号変調の音データにおける所定位置のビットを所定値に変換する処理を実行させるプログラムを提供する。 In one proposal, a program is provided that causes the information processing device to execute a process of converting bits at a predetermined position in pulse code modulated sound data into a predetermined value.

一側面によれば、パルス符号変調の音データのデータ量を圧縮可能とすることができる。 According to one aspect, the amount of pulse code modulated sound data can be compressed.

実施形態に係る情報処理システムの構成例を示す図である。1 is a diagram illustrating a configuration example of an information processing system according to an embodiment. 実施形態に係る情報処理装置のハードウェア構成例を示す図である。1 is a diagram illustrating an example of a hardware configuration of an information processing device according to an embodiment. 実施形態に係る情報処理装置の機能ブロック図である。FIG. 1 is a functional block diagram of an information processing device according to an embodiment. 実施形態に係る情報処理装置の処理の一例を示すフローチャートである。3 is a flowchart illustrating an example of processing of the information processing apparatus according to the embodiment. 実施形態に係る生成部により生成される圧縮用の音データについて説明する図である。FIG. 3 is a diagram illustrating compressed sound data generated by the generation unit according to the embodiment. 実施形態に係る生成部により生成される圧縮用の音データの波形の例について説明する図である。FIG. 3 is a diagram illustrating an example of a waveform of sound data for compression generated by a generation unit according to an embodiment. 実施形態に係る生成部により生成される圧縮用の音データの波形の例について説明する図である。FIG. 3 is a diagram illustrating an example of a waveform of sound data for compression generated by a generation unit according to an embodiment.

以下、図面を参照しながら、本開示の実施形態を説明する。 Embodiments of the present disclosure will be described below with reference to the drawings.

<システム構成>
図1は、実施形態に係る情報処理システム1の構成例を示す図である。図1において、情報処理システム1は、情報処理装置10、サーバ装置20、及び情報端末30-1、情報端末30-2、・・・(以下、区別する必要がない場合は、単に「情報端末30」と称する。)を含む。
<System configuration>
FIG. 1 is a diagram illustrating a configuration example of an information processing system 1 according to an embodiment. In FIG. 1, an information processing system 1 includes an information processing device 10, a server device 20, an information terminal 30-1, an information terminal 30-2, ... (hereinafter, when there is no need to distinguish, it is simply referred to as "information terminal 30).

情報処理装置10とサーバ装置20は、インターネット、携帯電話網、無線LAN(Local Area Network)等の通信ネットワークによって接続される。また、サーバ装置20と情報端末30も、同様に、通信ネットワークによって接続される。 The information processing device 10 and the server device 20 are connected via a communication network such as the Internet, a mobile phone network, or a wireless LAN (Local Area Network). Further, the server device 20 and the information terminal 30 are similarly connected via a communication network.

情報処理装置10は、例えば、ゲームを提供する事業者のコンピュータである。情報処理装置10は、ゲームのデータをサーバ装置20にアップロードする。 The information processing device 10 is, for example, a computer of a business that provides games. The information processing device 10 uploads game data to the server device 20.

情報端末30は、例えば、スマートフォン、タブレット型端末、PC(Personal Computer)、ゲーム専用機等の端末である。情報端末30は、ユーザからの指示により、情報処理装置10によりアップロードされたゲームをサーバ装置20からダウンロードする。 The information terminal 30 is, for example, a smartphone, a tablet terminal, a PC (Personal Computer), a game console, or the like. The information terminal 30 downloads the game uploaded by the information processing device 10 from the server device 20 according to a user's instruction.

<ハードウェア構成>
図1は、実施形態に係る情報処理装置10のハードウェア構成例を示す図である。図1に示す情報処理装置10は、それぞれバスBで相互に接続されているドライブ装置100、補助記憶装置102、メモリ装置103、CPU104、及びインタフェース装置105等を有する。
<Hardware configuration>
FIG. 1 is a diagram showing an example of a hardware configuration of an information processing device 10 according to an embodiment. The information processing device 10 shown in FIG. 1 includes a drive device 100, an auxiliary storage device 102, a memory device 103, a CPU 104, an interface device 105, etc., which are interconnected via a bus B.

情報処理装置10での処理を実現するゲームプログラムは、記録媒体101によって提供される。ゲームプログラムを記録した記録媒体101がドライブ装置100にセットされると、ゲームプログラムが記録媒体101からドライブ装置100を介して補助記憶装置102にインストールされる。但し、ゲームプログラムのインストールは必ずしも記録媒体101より行う必要はなく、ネットワークを介して他のコンピュータよりダウンロードするようにしてもよい。補助記憶装置102は、インストールされたゲームプログラムを格納すると共に、必要なファイルやデータ等を格納する。 A game program that implements processing by the information processing device 10 is provided by the recording medium 101. When the recording medium 101 on which the game program is recorded is set in the drive device 100, the game program is installed from the recording medium 101 into the auxiliary storage device 102 via the drive device 100. However, the game program does not necessarily need to be installed from the recording medium 101, and may be downloaded from another computer via a network. The auxiliary storage device 102 stores installed game programs as well as necessary files, data, and the like.

メモリ装置103は、例えば、DRAM(Dynamic Random Access Memory)、またはSRAM(Static Random Access Memory)等のメモリであり、プログラムの起動指示があった場合に、補助記憶装置102からプログラムを読み出して格納する。CPU104は、メモリ装置103に格納されたプログラムに従って情報処理装置10に係る機能を実現する。インタフェース装置105は、ネットワークに接続するためのインタフェースとして用いられる。 The memory device 103 is, for example, a memory such as DRAM (Dynamic Random Access Memory) or SRAM (Static Random Access Memory), and reads the program from the auxiliary storage device 102 and stores it when a program startup instruction is received. . The CPU 104 implements functions related to the information processing device 10 according to programs stored in the memory device 103. The interface device 105 is used as an interface for connecting to a network.

なお、記録媒体101の一例としては、CD-ROM、DVDディスク、ブルーレイディスク、又はUSBメモリ等の可搬型の記録媒体が挙げられる。また、補助記憶装置102の一例としては、HDD(Hard Disk Drive)、SSD(Solid State Drive)、又はフラッシュメモリ等が挙げられる。記録媒体101及び補助記憶装置102のいずれについても、コンピュータ読み取り可能な記録媒体に相当する。 Note that an example of the recording medium 101 is a portable recording medium such as a CD-ROM, a DVD disc, a Blu-ray disc, or a USB memory. Furthermore, examples of the auxiliary storage device 102 include an HDD (Hard Disk Drive), an SSD (Solid State Drive), a flash memory, and the like. Both the recording medium 101 and the auxiliary storage device 102 correspond to computer-readable recording media.

なお、サーバ装置20、及び情報端末30のハードウェア構成は、情報処理装置10のハードウェア構成と同様でもよい。 Note that the hardware configurations of the server device 20 and the information terminal 30 may be the same as the hardware configuration of the information processing device 10.

<構成>
次に、図3を参照し、情報処理装置10の構成について説明する。図3は、実施形態に係る情報処理装置10の機能ブロック図である。
<Configuration>
Next, the configuration of the information processing device 10 will be described with reference to FIG. 3. FIG. 3 is a functional block diagram of the information processing device 10 according to the embodiment.

情報処理装置10は、取得部11、生成部12、圧縮部13、及び出力部14を有する。これら各部は、情報処理装置10にインストールされた1以上のプログラムと、情報処理装置10のCPU104等のハードウェアとの協働により実現されてもよい。 The information processing device 10 includes an acquisition section 11, a generation section 12, a compression section 13, and an output section 14. Each of these units may be realized by cooperation between one or more programs installed in the information processing device 10 and hardware such as the CPU 104 of the information processing device 10.

取得部11は、ゲームの音データを記憶装置から取得する。生成部12は、取得部11により取得された音データに基づいて、圧縮用の音データを生成する。 The acquisition unit 11 acquires the sound data of the game from the storage device. The generation unit 12 generates sound data for compression based on the sound data acquired by the acquisition unit 11.

圧縮部13は、生成部12により生成された音データを圧縮する。出力部14は、圧縮部13により圧縮された音データをサーバ装置20にアップロードする。 The compression unit 13 compresses the sound data generated by the generation unit 12. The output unit 14 uploads the sound data compressed by the compression unit 13 to the server device 20.

<処理>
次に、図4から図6Bを参照して、情報処理装置10の処理について説明する。図4は、実施形態に係る情報処理装置10の処理の一例を示すフローチャートである。図5は、実施形態に係る生成部12により生成される圧縮用の音データについて説明する図である。図6A及び図6Bは、実施形態に係る生成部12により生成される圧縮用の音データの波形の例について説明する図である。
<Processing>
Next, processing of the information processing device 10 will be described with reference to FIGS. 4 to 6B. FIG. 4 is a flowchart illustrating an example of processing of the information processing device 10 according to the embodiment. FIG. 5 is a diagram illustrating compression sound data generated by the generation unit 12 according to the embodiment. FIGS. 6A and 6B are diagrams illustrating examples of waveforms of compressed sound data generated by the generation unit 12 according to the embodiment.

ステップS1において、取得部11は、ゲームのパルス符号変調(PCM、Pulse Code Modulation、リニアPCM、Linear PCM、非圧縮リニアPCM)音データを記憶装置から取得する。当該音データは、例えば、ゲームにおける効果音、及びキャラクタのセリフの音声等でもよい。なお、当該記憶装置は、情報処理装置10に内蔵されている記憶装置でもよいし、情報処理装置10の外部の記憶装置でもよい。 In step S1, the acquisition unit 11 acquires pulse code modulation (PCM, linear PCM, uncompressed linear PCM) sound data of the game from the storage device. The sound data may be, for example, a sound effect in a game, a voice of a character's dialogue, or the like. Note that the storage device may be a storage device built into the information processing device 10 or a storage device external to the information processing device 10.

続いて、生成部12は、取得部11により取得されたPCMの音データに基づいて、圧縮用のPCMの音データを生成する(ステップS2)。ここで、生成部12は、取得部11により取得された、PCMの音データにおける所定位置のビットを所定値に変換してもよい。これにより、例えば、当該音データを再生する情報端末30におけるハードウェアまたはソフトウェアの制約により、PCM以外の音データを再生できない場合でも、ZIPのデータ圧縮方法等を用いて、PCMの音データを圧縮させることができる。なお、PCMの音データのサンプリング周波数は任意の値でもよい。 Next, the generation unit 12 generates PCM sound data for compression based on the PCM sound data acquired by the acquisition unit 11 (step S2). Here, the generation unit 12 may convert bits at a predetermined position in the PCM sound data acquired by the acquisition unit 11 into a predetermined value. With this, for example, even if non-PCM sound data cannot be played due to hardware or software constraints in the information terminal 30 that plays the sound data, PCM sound data can be compressed using the ZIP data compression method, etc. can be done. Note that the sampling frequency of the PCM sound data may be any value.

この場合、生成部12は、PCMの音データにおける第1位置から最下位までの全ビットを同一の値(例えば、全て0、または全て1)に変換してもよい。これにより、PCMの音データのうち、最下位ビットを含み連続する各ビットで表される音量が小さい部分のみが変換される。そのため、取得部11により取得されたPCMの音データを、ビット深度をより低くしたPCMデータに符号化する場合と比較して、音質を向上させることができる。また、情報端末30では、生成部12により生成されたPCMの音データを再生する際に音データの変換処理等は不要であるため、通常のPCMの音データと同様に再生することができる。 In this case, the generation unit 12 may convert all bits from the first position to the least significant bit in the PCM sound data to the same value (for example, all 0s or all 1s). As a result, of the PCM sound data, only the portion where the volume is low represented by each successive bit including the least significant bit is converted. Therefore, the sound quality can be improved compared to the case where the PCM sound data acquired by the acquisition unit 11 is encoded into PCM data with a lower bit depth. Further, in the information terminal 30, when reproducing the PCM sound data generated by the generation unit 12, there is no need for conversion processing of the sound data, so that the PCM sound data can be reproduced in the same manner as normal PCM sound data.

この場合、生成部12は、例えば、PCMのビット深度が16ビットである音データにおける下位6ビット(最下位ビット(LSB、Least Significant Bit)を含み連続する6ビット)を同一の値に変換してもよい。なお、PCMのビット深度は、例えば、各標本化時点(サンプルポイント)における量子化ビット数である。これにより、例えば、ZIPのデータ圧縮方法等を用いて、16ビットのビット深度のPCMの音データを、10ビットのビット深度のPCMの音データと同様のデータサイズに圧縮させることができる。 In this case, the generation unit 12 converts, for example, the lower 6 bits (6 consecutive bits including the least significant bit (LSB)) of the sound data whose PCM bit depth is 16 bits into the same value. You can. Note that the bit depth of PCM is, for example, the number of quantization bits at each sampling point (sample point). Thereby, for example, using the ZIP data compression method, it is possible to compress PCM sound data with a bit depth of 16 bits to the same data size as PCM sound data with a bit depth of 10 bits.

図5では、16ビットのビット深度のPCMの音データのある標本化時点におけるデータ501が示されている。左端の最上位ビット(MSB、Most Significant Bit)であるビット501Aの値は、正(+)または負(-)の符号を示している。また、ビット501Bからビット501Pの値は、音の振幅を示している。なお、501Pは最下位ビットである。 FIG. 5 shows data 501 at a certain sampling point in time of PCM sound data with a bit depth of 16 bits. The value of bit 501A, which is the leftmost most significant bit (MSB), indicates a positive (+) or negative (-) sign. Further, the values of bits 501B to 501P indicate the amplitude of the sound. Note that 501P is the least significant bit.

図5のデータ501は、説明のためにビット501Aから501Pはすべて「1」となっている。生成部12によりデータ501の下位6ビットが全て「0」に変換されると、図5のデータ511のようなる。データ511において、ビット511Aから511Jはそれぞれ元の値である「1」のままであり、ビット511Kから511Pはすべて「0」に変換されている。 In data 501 in FIG. 5, bits 501A to 501P are all "1" for explanation. When the lower 6 bits of the data 501 are all converted to "0" by the generation unit 12, the data 511 in FIG. 5 is obtained. In data 511, bits 511A to 511J each remain at their original value of "1", and bits 511K to 511P have all been converted to "0".

図6Aの例では、取得部11により取得された16ビットのビット深度のPCMの音データの波形601と、生成部12により生成された圧縮用のPCMの音データの波形602が示されている。なお、閾値613、及び閾値614は、それぞれ、16ビットのビット深度での音の振幅の最大値、及び最小値である。なお、図6Aの例では、説明のために波形601を曲線で示しているが、実際には16ビットのビット深度で量子化されている。波形602は、下位6ビットが変換されている場合、10ビットのビット深度で量子化されている。 In the example of FIG. 6A, a waveform 601 of PCM sound data with a bit depth of 16 bits acquired by the acquisition unit 11 and a waveform 602 of PCM sound data for compression generated by the generation unit 12 are shown. . Note that the threshold value 613 and the threshold value 614 are the maximum value and minimum value of the sound amplitude at a bit depth of 16 bits, respectively. Note that in the example of FIG. 6A, the waveform 601 is shown as a curve for explanation, but it is actually quantized with a bit depth of 16 bits. Waveform 602 is quantized with a bit depth of 10 bits if the lower 6 bits are converted.

生成部12は、変換する下位ビットの数に応じた音量の雑音を、取得部11により取得された音データに加えた後、当該下位ビットを同一の値に変換してもよい。例えば、16ビットのビット深度のPCMの音データの下位6ビットを変換する場合、生成部は、下位6ビットにより表される音の振幅に応じた振幅のノイズを加えた後、当該下位ビットを同一の値に変換してもよい。この場合、生成部12は、最大振幅が下位6ビットにより表される音の振幅未満であり、所定の確率分布(例えば、ランダム、三角分布、または正規分布)に従う振幅の音を、当該ノイズとしてもよい。これにより、下位6ビットの変換による周期的なノイズが非周期的なノイズとなるため、音質がさらに向上する。 The generation unit 12 may add noise of a volume corresponding to the number of lower bits to be converted to the sound data acquired by the acquisition unit 11, and then convert the lower bits to the same value. For example, when converting the lower 6 bits of PCM sound data with a bit depth of 16 bits, the generation unit adds noise with an amplitude corresponding to the amplitude of the sound represented by the lower 6 bits, and then converts the lower bits to the lower 6 bits. It may be converted to the same value. In this case, the generation unit 12 generates a sound whose maximum amplitude is less than the amplitude of the sound represented by the lower 6 bits and whose amplitude follows a predetermined probability distribution (for example, random, triangular distribution, or normal distribution) as the noise. Good too. Thereby, the periodic noise caused by the conversion of the lower 6 bits becomes aperiodic noise, so that the sound quality is further improved.

(端数処理による下位ビットの値の変換)
また、生成部12は、変換対象の下位ビットで示される値を端数処理(切り捨てまたは切り上げ、丸め等)することにより、PCMの音データにおける第1位置から最下位までの全ビットを同一の値に変換してもよい。この場合、生成部12は、取得部11により取得されたPCMの音データにおける第1位置から最下位までのビットで示される値が閾値以上である場合、当該第1位置に対する上位のビットに1を加算し、前記第1位置から最下位までのビットをそれぞれ0に変換してもよい。また、生成部12は、取得部11により取得されたPCMの音データにおける第1位置から最下位までのビットで示される値が当該閾値以上でない場合、当該第1位置に対する上位のビットから1を減算し、前記第1位置から最下位までのビットをそれぞれ1に変換してもよい。
(Conversion of lower bit value by rounding)
In addition, the generation unit 12 performs fractional processing (rounding down, rounding up, rounding, etc.) on the value indicated by the lower bits to be converted, so that all bits from the first position to the lowest position in the PCM sound data have the same value. It may be converted to In this case, if the value indicated by the bits from the first position to the lowest order in the PCM sound data acquired by the acquisition unit 11 is equal to or greater than the threshold, the generation unit 12 sets 1 to the upper bit for the first position. may be added, and each bit from the first position to the least significant position may be converted to 0. Furthermore, if the value indicated by the bits from the first position to the lowest order in the PCM sound data acquired by the acquisition unit 11 is not greater than or equal to the threshold value, the generation unit 12 extracts 1 from the upper bits for the first position. The bits from the first position to the least significant position may each be converted to 1 by subtraction.

(音量に応じた変換対象の下位ビットの決定)
生成部12は、取得部11により取得されたPCMの音データにおける音量に応じた第1位置から、最下位までの全ビットを同一の値に変換してもよい。この場合、生成部12は、例えば、音量が大きい部分はより多くの下位ビットを変換対象とし、音量が小さい部分はより少ない数の下位ビットを変換対象としてもよい。これにより、PCMの音データを、音質の低下を低減しながら、データの圧縮比(圧縮効率)を向上させることができる。
(Determination of lower bits to be converted according to volume)
The generation unit 12 may convert all bits from the first position corresponding to the volume in the PCM sound data acquired by the acquisition unit 11 to the lowest bit to the same value. In this case, the generation unit 12 may, for example, convert more low-order bits for a portion with a high volume, and convert a smaller number of low-order bits for a portion with a low volume. Thereby, it is possible to improve the compression ratio (compression efficiency) of the PCM sound data while reducing deterioration in sound quality.

この場合、生成部12は、例えば、当該音データの各区間(例えば、10秒間毎の区間)の音の振幅の平均値、音の振幅の最大値、及び音量の平均値の少なくとも一つに基づいて、当該第1位置を決定してもよい。また、生成部12は、例えば、当該音データの各標本化(サンプリング)時点の音の振幅に基づいて、当該第1位置を決定してもよい。この場合、生成部12は、例えば、音(振幅、または音量)が大きいほど、第1位置を上位のビットの位置に決定してもよい。この場合、例えば、生成部12は、第1区間の音量の平均値が第1値である場合、最下位ビットを含み連続する第1数の各ビットを同一の値に変換し、第2区間の音量の平均値が当該第1値よりも小さい第2値である場合、最下位ビットを含み連続する当該第1数よりも少ない第2数の各ビットを同一の値に変換してもよい。これにより、振幅が大きい程ビット深度が小さくなり、振幅が小さい程ビット深度が大きくなる。生成部12は、例えば、16ビットのビット深度のPCMの音データを、最少10ビットのビット深度のPCMの音データに変換する場合、振幅に応じてビット深度を10ビットから16ビットまで変化させてもよい。 In this case, the generation unit 12 generates at least one of the average value of the sound amplitude, the maximum value of the sound amplitude, and the average value of the volume of each section (for example, every 10 seconds) of the sound data. Based on this, the first position may be determined. Further, the generation unit 12 may determine the first position based on, for example, the amplitude of the sound at each sampling time of the sound data. In this case, the generation unit 12 may, for example, determine the first position to be a higher-order bit position as the sound (amplitude or volume) is louder. In this case, for example, if the average value of the volume in the first section is the first value, the generation unit 12 converts each bit of the first number including the least significant bit into the same value, and If the average value of the volume of is a second value smaller than the first value, each bit of the second number that is smaller than the first number including the least significant bit may be converted to the same value. . As a result, the larger the amplitude, the smaller the bit depth, and the smaller the amplitude, the larger the bit depth. For example, when converting PCM sound data with a bit depth of 16 bits to PCM sound data with a minimum bit depth of 10 bits, the generation unit 12 changes the bit depth from 10 bits to 16 bits depending on the amplitude. You can.

図6Bの例では、取得部11により取得された16ビットのビット深度のPCMの音データの波形601と、生成部12により、音量に応じて変換対象の下位ビットが決定されて生成された圧縮用のPCMの音データの波形612が示されている。波形612は、音の振幅が低い程(音量が小さい程)、大きいビット数のビット深度で量子化され、音の振幅が高い程(音量が大きい程)、小さいビット数のビット深度で量子化されている。図6Bでは、振幅の大きさに応じて、波形612が3つのビット深度の値を取る例が示されている。なお、図6Bの波形612では、説明のため、ビット深度の違いを明りょう化するべく、振幅が小さい程サンプリングの間隔が短くなっている。しかしながら、実際には、波形612のサンプリングの間隔は、振幅によらず同一である。 In the example of FIG. 6B, a waveform 601 of PCM sound data with a bit depth of 16 bits acquired by the acquisition unit 11 and a compressed sound data generated by the generation unit 12 by determining the lower bits to be converted according to the volume. A waveform 612 of PCM sound data is shown. The waveform 612 is quantized with a bit depth of a larger number of bits as the amplitude of the sound is lower (lower the volume), and quantized with a bit depth of a smaller number of bits as the amplitude of the sound is higher (the louder the volume). has been done. In FIG. 6B, an example is shown in which the waveform 612 takes on three bit depth values depending on the magnitude of the amplitude. Note that in the waveform 612 of FIG. 6B, for the sake of explanation, the sampling interval becomes shorter as the amplitude becomes smaller, in order to clarify the difference in bit depth. However, in reality, the sampling interval of waveform 612 is the same regardless of the amplitude.

続いて、圧縮部13は、生成部12により生成された音データを圧縮する(ステップS3)。ここで、圧縮部13は、例えば、ZIPで規定されているデータ圧縮方法を用いて、各音データ(ファイル)をそれぞれ圧縮してもよい。この場合、圧縮部13は、例えば、Deflate(RFC(Request for Comments)1951,"DEFLATE Compressed Data Format Specification version 1.3" )を用いて、音データを圧縮してもよい。 Subsequently, the compression unit 13 compresses the sound data generated by the generation unit 12 (step S3). Here, the compression unit 13 may compress each sound data (file) using, for example, a data compression method defined by ZIP. In this case, the compression unit 13 may compress the sound data using, for example, Deflate (RFC (Request for Comments) 1951, "DEFLATE Compressed Data Format Specification version 1.3").

続いて、出力部14は、圧縮部13により圧縮された音データをサーバ装置20にアップロードする(ステップS4)。これにより、情報端末30は、例えば、圧縮された音データを含むゲームのプログラムのZIPファイルをサーバ装置20からダウンロードできる。そして、情報端末30は、例えば、当該ZIPファイルを解凍し、当該ゲームのプログラムを実行することにより、生成部12により生成された音データを再生してスピーカから出力させることができる。 Subsequently, the output unit 14 uploads the sound data compressed by the compression unit 13 to the server device 20 (step S4). Thereby, the information terminal 30 can download, for example, a ZIP file of a game program including compressed sound data from the server device 20. Then, the information terminal 30 can reproduce the sound data generated by the generation unit 12 and output it from the speaker by, for example, unzipping the ZIP file and running the program of the game.

<実施形態の効果>
上述した実施形態によれば、情報処理装置10は、PCMの音データにおける所定位置のビットを所定値に変換する。これにより、PCMの音データのデータ量を圧縮可能とすることができる。
<Effects of embodiment>
According to the embodiment described above, the information processing device 10 converts bits at predetermined positions in PCM sound data into predetermined values. This makes it possible to compress the amount of PCM sound data.

そのため、例えば、情報端末30において、ADPCM等で圧縮された音データを再生できない場合であり、また情報端末30に配信するゲームプログラム等のデータサイズに制約がある場合等においても、情報端末30に音データを再生させることができる。 Therefore, for example, even if the information terminal 30 cannot reproduce sound data compressed by ADPCM or the like, or if there is a restriction on the data size of a game program or the like distributed to the information terminal 30, the information terminal 30 Sound data can be played back.

また、ADPCM等で圧縮された音データを再生する場合、再生時の解凍処理が必要である。一方、上述した実施形態によれば、情報端末30にゲームプログラム等のデータがインストールされる等の際に、当該データが格納されたZIPファイル等が解凍できる。そのため、音データの再生時の情報端末30における処理負荷を低減できる。そのため、音データがゲームにおける各シーンでのキャラクタのセリフ、または効果音等である場合であり、ゲームにおける各シーンの動画像のCG(Computer Graphics)を表示する処理の処理負荷が高い場合でも、音データの再生によるCG処理の性能の低下を低減できる。 Furthermore, when playing back sound data compressed by ADPCM or the like, decompression processing is required at the time of playback. On the other hand, according to the embodiment described above, when data such as a game program is installed on the information terminal 30, a ZIP file or the like in which the data is stored can be decompressed. Therefore, the processing load on the information terminal 30 when playing back sound data can be reduced. Therefore, even if the sound data is characters' lines or sound effects in each scene in the game, and the processing load of displaying CG (Computer Graphics) of the moving image of each scene in the game is high, Deterioration in performance of CG processing due to reproduction of sound data can be reduced.

<変形例>
情報処理装置10の各機能部は、例えば1以上のコンピュータにより提供されるクラウドコンピューティングにより実現されていてもよい。この場合、例えば、圧縮部13、及び出力部14を、情報処理装置10とは別体の装置に設けてもよい。
<Modified example>
Each functional unit of the information processing device 10 may be realized, for example, by cloud computing provided by one or more computers. In this case, for example, the compression unit 13 and the output unit 14 may be provided in a separate device from the information processing device 10.

以上、本発明の実施例について詳述したが、本発明は斯かる特定の実施形態に限定されるものではなく、特許請求の範囲に記載された本発明の要旨の範囲内において、種々の変形・変更が可能である。 Although the embodiments of the present invention have been described in detail above, the present invention is not limited to these specific embodiments, and various modifications can be made within the scope of the gist of the present invention as described in the claims. - Can be changed.

1 情報処理システム
10 情報処理装置
11 取得部
12 生成部
13 圧縮部
14 出力部
20 サーバ装置
30 情報端末
1 Information processing system 10 Information processing device 11 Acquisition unit 12 Generation unit 13 Compression unit 14 Output unit 20 Server device 30 Information terminal

Claims (8)

情報処理装置に、
パルス符号変調の音データにおける所定位置のビットを所定値に変換する処理を実行させ
前記変換する処理では、
前記パルス符号変調の音データにおける第1位置から最下位までの全ビットを同一の値に変換する、
プログラム。
In the information processing device,
Executes processing to convert bits at a predetermined position in pulse code modulation sound data to a predetermined value ,
In the conversion process,
converting all bits from the first position to the lowest order in the pulse code modulated sound data to the same value;
program.
前記変換する処理では、
前記第1位置に応じた音量の雑音を、前記パルス符号変調の音データに加えた後、前記第1位置から最下位までの全ビットを同一の値に変換する、
請求項に記載のプログラム。
In the conversion process,
After adding noise with a volume corresponding to the first position to the pulse code modulated sound data, converting all bits from the first position to the lowest order into the same value;
The program according to claim 1 .
前記変換する処理では、
前記パルス符号変調の音データにおける音量に応じた前記第1位置から、最下位までの全ビットを同一の値に変換する、
請求項またはに記載のプログラム。
In the conversion process,
converting all bits from the first position to the lowest order according to the volume in the pulse code modulated sound data to the same value;
The program according to claim 1 or 2 .
前記変換する処理では、
前記パルス符号変調の音データにおける前記第1位置から最下位までのビットで示される値が閾値以上である場合、前記第1位置に対する上位のビットに1を加算し、前記第1位置から最下位までのビットをそれぞれ0に変換する、
請求項からのいずれか一項に記載のプログラム。
In the conversion process,
If the value indicated by the bits from the first position to the lowest order in the pulse code modulated sound data is greater than or equal to the threshold value, 1 is added to the upper bits for the first position, and Convert each bit up to 0 to 0,
The program according to any one of claims 1 to 3 .
前記変換する処理では、
前記パルス符号変調の音データにおける前記第1位置から最下位までのビットで示される値が閾値以上でない場合、前記第1位置に対する上位のビットに1を減算し、前記第1位置から最下位までのビットをそれぞれ1に変換する、
請求項からのいずれか一項に記載のプログラム。
In the conversion process,
If the value indicated by the bits from the first position to the lowest order in the pulse code modulated sound data is not greater than or equal to the threshold value, 1 is subtracted from the upper bits for the first position, and from the first position to the lowest order. Convert each bit of to 1,
The program according to any one of claims 1 to 4 .
情報処理装置に、
パルス符号変調の音データにおける所定位置のビットを所定値に変換する処理を実行させ、
前記変換する処理では、
前記パルス符号変調のビット深度が16ビットである音データにおける下位6ビットを同一の値に変換する、
ログラム。
In the information processing device,
Executes processing to convert bits at a predetermined position in pulse code modulation sound data to a predetermined value,
In the conversion process,
converting the lower 6 bits of the sound data in which the bit depth of the pulse code modulation is 16 bits into the same value;
program .
情報処理装置
パルス符号変調の音データにおける所定位置のビットを所定値に変換する処理を実行させ
前記変換する処理では、
前記パルス符号変調の音データにおける第1位置から最下位までの全ビットを同一の値に変換する、
情報処理方法。
In the information processing device,
Executes processing to convert bits at a predetermined position in pulse code modulation sound data to a predetermined value ,
In the conversion process,
converting all bits from the first position to the lowest order in the pulse code modulated sound data to the same value;
Information processing method.
パルス符号変調の音データにおける所定位置のビットを所定値に変換する処理を実行し、
前記変換する処理では、
前記パルス符号変調の音データにおける第1位置から最下位までの全ビットを同一の値に変換する、
情報処理装置。
Execute processing to convert bits at a predetermined position in pulse code modulation sound data to a predetermined value ,
In the conversion process,
converting all bits from the first position to the lowest order in the pulse code modulated sound data to the same value;
Information processing device.
JP2020020733A 2020-02-10 2020-02-10 Program, information processing method, and information processing device Active JP7432386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020020733A JP7432386B2 (en) 2020-02-10 2020-02-10 Program, information processing method, and information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020020733A JP7432386B2 (en) 2020-02-10 2020-02-10 Program, information processing method, and information processing device

Publications (2)

Publication Number Publication Date
JP2021128184A JP2021128184A (en) 2021-09-02
JP7432386B2 true JP7432386B2 (en) 2024-02-16

Family

ID=77488422

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020020733A Active JP7432386B2 (en) 2020-02-10 2020-02-10 Program, information processing method, and information processing device

Country Status (1)

Country Link
JP (1) JP7432386B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003107107A (en) 2001-09-28 2003-04-09 Yokogawa Electric Corp Resolution compression method of waveform data in waveform display device
JP2006197321A (en) 2005-01-14 2006-07-27 Sony Corp Image processing method and apparatus, and program

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61146021A (en) * 1984-12-20 1986-07-03 Sharp Corp Digital signal processing device
JPH09214636A (en) * 1996-02-07 1997-08-15 Tateba Syst Kk Method and device for voice communication imbedded with data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003107107A (en) 2001-09-28 2003-04-09 Yokogawa Electric Corp Resolution compression method of waveform data in waveform display device
JP2006197321A (en) 2005-01-14 2006-07-27 Sony Corp Image processing method and apparatus, and program

Also Published As

Publication number Publication date
JP2021128184A (en) 2021-09-02

Similar Documents

Publication Publication Date Title
KR101085697B1 (en) Audio signal band extension device and method
US7714223B2 (en) Reproduction device, reproduction method and computer usable medium having computer readable reproduction program emodied therein
CN113450846B (en) Sound pressure level calibration method and device
CN103325376B (en) Code device, coding method, decoding device and coding/decoding method
US7507894B2 (en) Sound data encoding apparatus and sound data decoding apparatus
JP7432386B2 (en) Program, information processing method, and information processing device
JP4973422B2 (en) Signal recording / reproducing apparatus and method
US20060107821A1 (en) Sound data encoding apparatus and sound data decoding apparatus
TW201407969A (en) Method for determining data format of linear pulse-code modulation data
JP2007101871A (en) Interpolation device, audio playback device, interpolation method, and interpolation program
JP2005151327A (en) Pcm data compressing/decompressing method and apparatus
JP2002109824A (en) Digital audio signal recording method and apparatus
KR20060051158A (en) Information processing apparatus, information processing method, and program
US20100328114A1 (en) Data converting device, program and method
US20200365162A1 (en) Adaptive and fixed mapping for compression and decompression of audio data
JP4334940B2 (en) Data file compression method
JP4254960B2 (en) Audio data encoding apparatus and audio data reproducing apparatus
JP6130128B2 (en) Data structure of compressed data, recording medium, data compression apparatus, data compression system, data compression program, and data compression method
JP7032795B2 (en) 1-bit audio signal generator, program
JP3510493B2 (en) Audio signal encoding / decoding method and recording medium recording the program
JP3765413B2 (en) Information encoding apparatus and method, information decoding apparatus and method, recording medium, and program
JP4109124B2 (en) Time series signal encoding device
JP3787986B2 (en) Recording medium storing sound waveform data compression / decompression method and program for executing the operation
JP2011209412A (en) Compressing device, compressing method, reproducing device, and reproducing method
KR100776432B1 (en) Audio recording and reproducing apparatus and audio coding method for improvement of compression ratio executable in the apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20221215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20230926

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20231003

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20231010

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20231129

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20240205

R150 Certificate of patent or registration of utility model

Ref document number: 7432386

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150