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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
高見知英
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
150
高見知英とAndroid
takamichie
0
130
大人になってからのゲームデビューのハナシ
takamichie
0
110
最近のゲーム実況のハナシ
takamichie
0
140
健常者から見たAndroidのアクセシビリティ機能
takamichie
0
570
山手縁乃庭のいまとこれから考えていること
takamichie
0
200
子どもとゲームとそのほかいろいろのハナシ
takamichie
0
190
高見知英のヒストリー
takamichie
0
150
SRPGがやりたい!
takamichie
0
300
Other Decks in Programming
See All in Programming
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
140
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
外から家のPCの電源入れたい!をPHPで解決する
kawashimo0
1
130
カツオ、ご期待ください
suneo3476
0
190
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
630
Domain-Driven Transformation
hschwentner
2
2.3k
Workers Cache を知る
syumai
0
360
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
420
AI時代のコードレビューは人に向けるな、仕組みに向けろ
texmeijin
5
3.7k
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
Featured
See All Featured
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Designing for humans not robots
tammielis
254
26k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Designing for Performance
lara
612
70k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
Site-Speed That Sticks
csswizardry
13
1.6k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
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
おわり ご静聴ありがとうございました