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
Pydubをさわろう
Search
高見知英
September 08, 2021
Programming
700
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Pydubをさわろう
2021/09/08 みんなのPython勉強会 #73 で発表した資料です。
高見知英
September 08, 2021
More Decks by 高見知英
See All by 高見知英
ポッドキャストをはじめよう ポッドキャストのやりかたと続けるコツ
takamichie
0
160
高見知英とAndroid
takamichie
0
130
大人になってからのゲームデビューのハナシ
takamichie
0
110
最近のゲーム実況のハナシ
takamichie
0
140
健常者から見たAndroidのアクセシビリティ機能
takamichie
0
580
山手縁乃庭のいまとこれから考えていること
takamichie
0
200
子どもとゲームとそのほかいろいろのハナシ
takamichie
0
190
高見知英のヒストリー
takamichie
0
160
SRPGがやりたい!
takamichie
0
310
Other Decks in Programming
See All in Programming
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
140
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
190
複数ドメインを一つのアプリに統合するFlutterの設計と運用_FlutterKaigi2026登壇資料(須永高弘)
takahirosunaga
0
140
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.5k
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
480
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
270
Next.js: The final boss of Web Performance
guaca
0
380
Spec-driven Development with AI
simas
PRO
0
2.2k
GraphQL の onError と Nullability のこれから
quramy
0
200
Goコンパイラを作ってGoをもっと理解する / Build a Go compiler to better understand Go
ikura_hamu
0
120
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
320
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.6k
Featured
See All Featured
Abbi's Birthday
coloredviolet
4
11k
Chasing Engaging Ingredients in Design
codingconduct
0
390
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Paper Plane
katiecoart
PRO
5
54k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
2
1.2k
Skip the Path - Find Your Career Trail
mkilby
1
280
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
830
Visualization
eitanlees
153
17k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
290
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
680
Transcript
Pydubをさわろう NPO法人 まちづくりエージェント SIDE BEACH CITY. 高見知英
高見知英です! フリーランス プログラマ 書籍製作 Udemy動画 IT利活用支援 SBCast. SBC.オープンマイク 地域 オンラインイベント
まちづくり エージェント SIDE BEACH CITY. 2021年9月8日 Pydubをさわろう 2
Pydubとは Pythonで音声ファイルを操作するためのライブラリ 音声を切り分けたり、音量を調整したり、 ループさせることが可能 Pure Python • 内部で使用しているのはaudiloopというPython標準ライブラリ 2021年9月8日 Pydubをさわろう
3
事例 2021年9月8日 Pydubをさわろう 4
基本的な使い方 • wav, mp4, ogg, wmaなど • 一部ファイル読み込みにはffmpegが必要 読み込める ファイル
• AudioSegmentオブジェクトで音声を管理 • 他セグメントと結合・部分切り出し可能 • ボリュームの調整も可能 使い方 2021年9月8日 Pydubをさわろう 5
作例 • stand.fm用の音声にBGMを付与するツール • https://github.com/TakamiChie/standfm_bgm • カバーアートの作成ツールと合わせて音声をstand.fmにアップロードする準備 • https://github.com/TakamiChie/standfm_photo 2021年9月8日
Pydubをさわろう 6
今後に向けて • pydub.playbackにもplay()メソッドが あるがこれを呼んでいる simpleaudioで 再生も可能 • タイミングで伴奏の違う曲にスイッチ • 状況に合わせて幾つかの音楽を組み替
える インタラクティ ブミュージック も再生可能? 2021年9月8日 Pydubをさわろう 7
おわり ご静聴ありがとうございました