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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Koki Senda
October 07, 2022
Technology
0
11
標本化と量子化 (20221007_sampling_and_quantization)
2022年10月7日にVoicy社内のエンジニア発表会で話した内容です。
関連した話
https://speakerdeck.com/thousanda/20221111-32float
Koki Senda
October 07, 2022
Tweet
Share
More Decks by Koki Senda
See All by Koki Senda
eBPF超入門「o11yに使える」とは (20250424_eBPF_o11y)
thousanda
1
210
音声プラットフォームのアーキテクチャ変遷から学ぶ、クラウドネイティブなバッチ処理 (20250422_CNDS2025_Batch_Architecture)
thousanda
0
780
VoicyのTiDB移行とトラフィック量の変化に応じたリソース管理 (20241211_Findy_replace_Voicy_TiDB)
thousanda
0
23
VoicyのTiDB移行 失敗ポイント集 (20240613_Findy_TiDB)
thousanda
0
36
[Go Conference 2024] golang/goのbuiltin packageを覗いてみる (20240608_Go_Conference_2024_builtin_package)
thousanda
0
26
[Qiita Conference 2024] 音声プラットフォームVoicyがTiDBを検証し採用に至るまで (20240418_Qiita_Conference_PingCAP_Voicy_TiDB)
thousanda
0
22
パイプラインの並行化により音量正規化を8倍高速化した話 (20230705_concurrent_normalization)
thousanda
0
32
GASをバックエンドにしたLINE BotをChatGPTに作ってもらった話 (20230331_LINE_Bot_GAS_ChatGPT)
thousanda
0
7
FluxからArgo CDに移行したら お手製カナリアリリースが動かなくなった話 (20230317_k8s_flux_to_argocd)
thousanda
0
16
Other Decks in Technology
See All in Technology
書籍執筆での生成AIの活用
sat
PRO
1
160
ドキュメントからはじめる未来のソフトウェア
pkshadeck
1
190
たかがボタン、されどボタン ~button要素から深ぼるボタンUIの定義について~ / BuriKaigi 2026
yamanoku
1
290
AI Agent Standards and Protocols: a Walkthrough of MCP, A2A, and more...
glaforge
1
490
Git Training GitHub
yuhattor
1
250
Data Hubグループ 紹介資料
sansan33
PRO
0
2.6k
Claude Codeベストプラクティスまとめ
minorun365
31
16k
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
22k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
12k
Zephyr RTOS の発表をOpen Source Summit Japan 2025で行った件
iotengineer22
0
150
re:Inventで出たインフラエンジニアが嬉しかったアップデート
nagisa53
3
130
AWS Network Firewall Proxyで脱Squid運用⁈
nnydtmg
1
150
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
370
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
170
Build your cross-platform service in a week with App Engine
jlugia
234
18k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
A better future with KSS
kneath
240
18k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.6k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
120
A Soul's Torment
seathinner
5
2.2k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
140
The Limits of Empathy - UXLibs8
cassininazir
1
200
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.7k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
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) 次回 • 続きを話します ◦ 「デジタルの波形ってギザギザでしょ?サンプリング周波数が大きくすればするほどそれがなめらかになって音質が良 くなるんだよ!」という誤解 標本化と量子化
音声×テクノロジーでワクワクする社会をつくる