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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
高見知英
September 08, 2021
Programming
670
0
Share
Pydubをさわろう
2021/09/08 みんなのPython勉強会 #73 で発表した資料です。
高見知英
September 08, 2021
More Decks by 高見知英
See All by 高見知英
ポッドキャストをはじめよう ポッドキャストのやりかたと続けるコツ
takamichie
0
120
高見知英とAndroid
takamichie
0
100
大人になってからのゲームデビューのハナシ
takamichie
0
93
最近のゲーム実況のハナシ
takamichie
0
110
健常者から見たAndroidのアクセシビリティ機能
takamichie
0
530
山手縁乃庭のいまとこれから考えていること
takamichie
0
170
子どもとゲームとそのほかいろいろのハナシ
takamichie
0
160
高見知英のヒストリー
takamichie
0
130
SRPGがやりたい!
takamichie
0
270
Other Decks in Programming
See All in Programming
Agentic Elixir
whatyouhide
0
450
AI-DLC Deep Dive
yuukiyo
9
5.8k
AIを導入する前にやるべきこと
negima
2
350
実用!Hono RPC2026
yodaka
2
310
My daily life on Ruby
a_matsuda
3
340
要はバランスからの卒業 #yumemi_grow
kajitack
0
160
Agent Skills を社内で育てる仕組み作り
jackchuka
1
1.9k
(Re)make Regexp in Ruby: Democratizing internals for the JIT
makenowjust
3
1.1k
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
Spec Driven Development | AI Summit Vilnius
danielsogl
PRO
1
150
GoogleCloudとterraform完全に理解した
terisuke
1
190
Featured
See All Featured
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
150
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
Speed Design
sergeychernyshev
33
1.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
Exploring anti-patterns in Rails
aemeredith
3
350
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
360
Game over? The fight for quality and originality in the time of robots
wayneb77
1
170
Discover your Explorer Soul
emna__ayadi
2
1.1k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
170
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.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
おわり ご静聴ありがとうございました