Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
標本化と量子化 (20221007_sampling_and_quantization)
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Koki Senda
October 07, 2022
Technology
15
0
Share
標本化と量子化 (20221007_sampling_and_quantization)
2022年10月7日にVoicy社内のエンジニア発表会で話した内容です。
関連した話
https://speakerdeck.com/thousanda/20221111-32float
Koki Senda
October 07, 2022
More Decks by Koki Senda
See All by Koki Senda
eBPF超入門「o11yに使える」とは (20250424_eBPF_o11y)
thousanda
1
230
音声プラットフォームのアーキテクチャ変遷から学ぶ、クラウドネイティブなバッチ処理 (20250422_CNDS2025_Batch_Architecture)
thousanda
0
840
VoicyのTiDB移行とトラフィック量の変化に応じたリソース管理 (20241211_Findy_replace_Voicy_TiDB)
thousanda
0
27
VoicyのTiDB移行 失敗ポイント集 (20240613_Findy_TiDB)
thousanda
0
47
[Go Conference 2024] golang/goのbuiltin packageを覗いてみる (20240608_Go_Conference_2024_builtin_package)
thousanda
0
34
[Qiita Conference 2024] 音声プラットフォームVoicyがTiDBを検証し採用に至るまで (20240418_Qiita_Conference_PingCAP_Voicy_TiDB)
thousanda
0
27
パイプラインの並行化により音量正規化を8倍高速化した話 (20230705_concurrent_normalization)
thousanda
0
47
GASをバックエンドにしたLINE BotをChatGPTに作ってもらった話 (20230331_LINE_Bot_GAS_ChatGPT)
thousanda
0
11
FluxからArgo CDに移行したら お手製カナリアリリースが動かなくなった話 (20230317_k8s_flux_to_argocd)
thousanda
0
19
Other Decks in Technology
See All in Technology
Master Dataグループ紹介資料
sansan33
PRO
1
4.6k
CloudSec JP #005 後締め ~ソフトウェアサプライチェーン攻撃から開発者のシークレットを守る~
lhazy
0
210
DevOpsDays2026 Tokyo Cross-border practices to connect "safety" and "DX" in healthcare
hokkai7go
0
160
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
16k
昔はシンプルだった_AmazonS3
kawaji_scratch
0
280
【Findy FDE登壇_2026_04_14】— 現場課題を本気で解いてたら、FDEになってた話
miyatakoji
0
1.1k
DevOpsDays Tokyo 2026 見えない開発現場を、見える投資に変える
rojoudotcom
3
200
Code Interpreter で、AIに安全に コードを書かせる。
yokomachi
0
6.3k
ぼくがかんがえたさいきょうのあうとぷっと
yama3133
0
140
#jawsugyokohama 100 LT11, "My AWS Journey 2011-2026 - kwntravel"
shinichirokawano
0
290
明日からドヤれる!超マニアックなAWSセキュリティTips10連発 / 10 Ultra-Niche AWS Security Tips
yuj1osm
0
480
DevOpsDays Tokyo 2026 軽量な仕様書と新たなDORA AI ケイパビリティで実現する、動くソフトウェアを中心とした開発ライフサイクル / DevOpsDays Tokyo 2026
n11sh1
0
130
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.2k
How to train your dragon (web standard)
notwaldorf
97
6.6k
My Coaching Mixtape
mlcsv
0
97
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.5k
Making Projects Easy
brettharned
120
6.6k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
320
Paper Plane
katiecoart
PRO
1
49k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.3k
Transcript
標本化と量子化 2022/10/07 千田 航己
©2022 Voicy, Inc. はじめに 背景 • デジタル化された音データの話がしたかった • が、前提知識を揃えておかないとおもしろい話にならない気がした •
たぶん全3回くらいのシリーズになります 今日の内容 • 音声のデジタル化についての話 ◦ 標本化 (Sampling) ◦ 量子化 (Quantization) 標本化と量子化
©2022 Voicy, Inc. 標本化の元の意味 • たくさんあるものから一部を取り出すこと Sampling
©2022 Voicy, Inc. 標本化の元の意味 • 例: 国民全員にアンケートをとるのは大変 Sampling
©2022 Voicy, Inc. 標本化の元の意味 • 例: 国民全員にアンケートをとるのは大変 ◦ 一部の人を代表として選ぶ
Sampling
©2022 Voicy, Inc. 標本化 • 音のデジタル化の文脈の場合 ◦ 信号を時間方向に離散化する ◦
無限の連続性があるものの一部を取り出すイメージ Sampling
©2022 Voicy, Inc. 標本化 • 音のデジタル化の文脈の場合 ◦ 信号を時間方向に離散化する ◦
無限の連続性があるものの一部を取り出すイメージ Sampling
©2022 Voicy, Inc. 標本化 • 音のデジタル化の文脈の場合 ◦ 信号を時間方向に離散化する ◦
無限の連続性があるものの一部を取り出すイメージ Sampling
©2022 Voicy, Inc. 標本化 • 音のデジタル化の文脈の場合 ◦ 信号を時間方向に離散化する ◦
無限の連続性があるものの一部を取り出すイメージ Sampling
©2022 Voicy, Inc. 量子化 • 得られた信号を振幅方向に離散化する Quantization
©2022 Voicy, Inc. 量子化 • 得られた信号を振幅方向に離散化する Quantization
©2022 Voicy, Inc. 量子化 • 得られた信号を振幅方向に離散化する ◦ 各値はintの配列に入れるイメージ ◦
CD音源なら16 bit signed integer Quantization
©2022 Voicy, Inc. 量子化 • 量子化ビット数 ◦ 量子化するときに使うデータ量 ◦
N ビットのとき 2^N 段階に離散化する • 量子化の方法 ◦ データを格納する変数の型みたいなイメージ ◦ 整数表現を使うと一定間隔になる ◦ 浮動小数点表現を使ってもいい Quantization
©2022 Voicy, Inc. PCM • 一定間隔でサンプリングする方法 ◦ 「一定間隔でサンプリングしたデジタル音源なんだな〜」と思えばいい パルス符号変調
(Pulse Code Modulation)
©2022 Voicy, Inc. リニアPCM • リニア (Linear) = 線形
◦ 量子化の間隔も一定 ◦ 「データをIntで持ってるんだな〜」と思えばいい パルス符号変調 (Pulse Code Modulation)
©2022 Voicy, Inc. むすび 今日の発表 • 音声のデジタル化についての話 ◦ 標本化 (Sampling)
◦ 量子化 (Quantization) 次回 • 続きを話します ◦ 「デジタルの波形ってギザギザでしょ?サンプリング周波数が大きくすればするほどそれがなめらかになって音質が良 くなるんだよ!」という誤解 標本化と量子化
音声×テクノロジーでワクワクする社会をつくる