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
690
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
150
高見知英とAndroid
takamichie
0
130
大人になってからのゲームデビューのハナシ
takamichie
0
110
最近のゲーム実況のハナシ
takamichie
0
130
健常者から見たAndroidのアクセシビリティ機能
takamichie
0
570
山手縁乃庭のいまとこれから考えていること
takamichie
0
190
子どもとゲームとそのほかいろいろのハナシ
takamichie
0
190
高見知英のヒストリー
takamichie
0
150
SRPGがやりたい!
takamichie
0
300
Other Decks in Programming
See All in Programming
新卒PdEのリアル
ryu1013
1
520
海上で動くGoサーバー: goroutineとchannelでさばく航行データストリーム
atsuki_seo
0
970
Security issues being discussed on Web Platforms
petamoriken
0
1.3k
モジュールの視点からSwiftを読み解く #iosdc
s_shimotori
0
200
iOSDC2026登壇資料.pdf
riofujimon
0
190
IBM Bob Dojo #1 仕様駆動開発入門
oniak3ibm
PRO
0
280
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
310
速く作れる。その次は、速く確かめられる開発へ 〜AIネイティブ開発を支える、Shift Down〜 / Can build fast. Next, moving to development where we can verify fast.
rkaga
7
5k
UPDATE をやめる — EF Core でマスタをバージョン管理する
panda728
PRO
0
850
iOSDCのペンライトを自動制御したい!
akkeylab
0
100
Agents on Rails - Rails at Scale 2026
irinanazarova
0
270
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
290
Featured
See All Featured
How to Ace a Technical Interview
jacobian
281
24k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
840
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Become a Pro
speakerdeck
PRO
31
6.3k
Building AI with AI
inesmontani
PRO
1
1.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
Discover your Explorer Soul
emna__ayadi
2
1.3k
ラッコキーワード サービス紹介資料
rakko
1
5M
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
250
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
710
SEO for Brand Visibility & Recognition
aleyda
0
4.8k
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
おわり ご静聴ありがとうございました