Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
標本化と量子化 (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
25
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
標本化と量子化 (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
RSA暗号を手計算したくなること、ありますよね?? (20260615_orestudy6_rsa)
thousanda
0
1.5k
eBPF超入門「o11yに使える」とは (20250424_eBPF_o11y)
thousanda
1
290
音声プラットフォームのアーキテクチャ変遷から学ぶ、クラウドネイティブなバッチ処理 (20250422_CNDS2025_Batch_Architecture)
thousanda
0
950
VoicyのTiDB移行とトラフィック量の変化に応じたリソース管理 (20241211_Findy_replace_Voicy_TiDB)
thousanda
0
47
VoicyのTiDB移行 失敗ポイント集 (20240613_Findy_TiDB)
thousanda
0
65
[Go Conference 2024] golang/goのbuiltin packageを覗いてみる (20240608_Go_Conference_2024_builtin_package)
thousanda
0
67
[Qiita Conference 2024] 音声プラットフォームVoicyがTiDBを検証し採用に至るまで (20240418_Qiita_Conference_PingCAP_Voicy_TiDB)
thousanda
0
43
パイプラインの並行化により音量正規化を8倍高速化した話 (20230705_concurrent_normalization)
thousanda
0
76
GASをバックエンドにしたLINE BotをChatGPTに作ってもらった話 (20230331_LINE_Bot_GAS_ChatGPT)
thousanda
0
29
Other Decks in Technology
See All in Technology
The Agent Builder Loop from Daily Work to OSS
minorun365
PRO
3
120
Reactの設計論
uhyo
14
7.7k
2026_devsumi_ozono.pdf
o3
2
300
『止めない』を設計する — 制約の中で、事業の根幹を支える判断
hiroyaterui
0
260
【視聴者参加型!】AWSセキュリティアンチパターンクイズ
syoshie
1
490
「重なり」は迎える側がつくる ― 人もAIエージェントも歓迎するプロダクトエンジニアリング ―
go0517go
PRO
0
280
多層防御と最⼩権限で実現する、安全なAIエージェント設計パターン
lycorptech_jp
PRO
1
250
Webとヘルスデータ
yukukotani
1
360
GoCon2026 - Open Source, Open World
sanposhiho
3
3.1k
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
25k
AIとペアプロを始める。人とのペアプロをやめる。ペアプロの良さを改めて知る。もっと好きになった。 / Rediscovering Pair Programming
honyanya
1
330
Slack上でインフラをトラブルシュートする! Agentic Platform Engineeringの第一歩
teru0x1
1
210
Featured
See All Featured
Facilitating Awesome Meetings
lara
57
7.1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.9k
Making Projects Easy
brettharned
120
6.7k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
710
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
690
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
460
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
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) 次回 • 続きを話します ◦ 「デジタルの波形ってギザギザでしょ?サンプリング周波数が大きくすればするほどそれがなめらかになって音質が良 くなるんだよ!」という誤解 標本化と量子化
音声×テクノロジーでワクワクする社会をつくる