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
Pydubをさわろう
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
高見知英
September 08, 2021
Programming
0
640
Pydubをさわろう
2021/09/08 みんなのPython勉強会 #73 で発表した資料です。
高見知英
September 08, 2021
Tweet
Share
More Decks by 高見知英
See All by 高見知英
ポッドキャストをはじめよう ポッドキャストのやりかたと続けるコツ
takamichie
0
93
高見知英とAndroid
takamichie
0
76
大人になってからのゲームデビューのハナシ
takamichie
0
74
最近のゲーム実況のハナシ
takamichie
0
93
健常者から見たAndroidのアクセシビリティ機能
takamichie
0
500
山手縁乃庭のいまとこれから考えていること
takamichie
0
150
子どもとゲームとそのほかいろいろのハナシ
takamichie
0
140
高見知英のヒストリー
takamichie
0
110
SRPGがやりたい!
takamichie
0
250
Other Decks in Programming
See All in Programming
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.6k
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
Data-Centric Kaggle
isax1015
2
780
AtCoder Conference 2025
shindannin
0
1.1k
CSC307 Lecture 08
javiergs
PRO
0
670
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
要求定義・仕様記述・設計・検証の手引き - 理論から学ぶ明確で統一された成果物定義
orgachem
PRO
1
170
AI & Enginnering
codelynx
0
120
登壇資料を作る時に意識していること #登壇資料_findy
konifar
4
1.6k
ノイジーネイバー問題を解決する 公平なキューイング
occhi
0
110
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Building Adaptive Systems
keathley
44
2.9k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
260
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
62
Everyday Curiosity
cassininazir
0
130
Building Flexible Design Systems
yeseniaperezcruz
330
40k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
270
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
120
Building the Perfect Custom Keyboard
takai
2
690
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
おわり ご静聴ありがとうございました