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
Analyzing PSB tracks with R
Search
nonki1974
April 06, 2019
640
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Analyzing PSB tracks with R
nonki1974
April 06, 2019
More Decks by nonki1974
See All by nonki1974
GTFS with Tidytransit package
nonki1974
0
350
TokyoR#84_Rexams
nonki1974
0
240
都道府県別焼き鳥屋ランキングの作成
nonki1974
1
940
Introduction to R
nonki1974
0
400
Introduction to dplyr
nonki1974
0
570
Introduction to ggplot2
nonki1974
1
560
introduction to fukuoka.R @ Fukuoka.LT
nonki1974
0
85
所要時間のヒートマップを作成する
nonki1974
0
620
gtfsr package @ fukuoka.R #11
nonki1974
0
370
Featured
See All Featured
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
46k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
How to train your dragon (web standard)
notwaldorf
96
6.9k
Google's AI Overviews - The New Search
badams
0
1.6k
Git: the NoSQL Database
bkeepers
PRO
433
67k
sira's awesome portfolio website redesign presentation
elsirapls
0
460
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
Building AI with AI
inesmontani
PRO
1
1.3k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
570
Transcript
祝 Pet Shop Boys 来日! @nonki1974 Fukuoka.R#14 2019/04/07
2019年4月1日 日本武道館
None
None
None
spotifyr package API経由でspotifyのDBにアクセス 曲の特徴量を取得できる 曲の再生履歴,再生数の多いアーティスト, アーティストごとの曲リストなど
PSBの全トラックリストを取得 get_artist_audio_features() 関数を使う
None
acousticness 電子音楽(?) 0.0 ------- 1.0 アコースティック
danceability テンポ,リズムの安定性,ビートの強さ,全体の規則性 最も踊れない 0.0 ------- 1.0 最高に踊れる
energy 激しさや活発さを表す知覚尺度 典型的にはenergyの高いトラックは テンポが早く,音が大きく派手である:例えばデスメタル
liveness Audienceの存在を検出 0.8を越えるとライブの可能性が高い
instrumentalness Rap 0.0 ------- 1.0 No vocal
loudness 平均的な音の強さ,大きさ [dB]
mode 0: minor, 1: major
speechiness トラック全体における言葉が話された割合 0.6~1.0:トークショー,オーディオブック,ポエム 0.3~0.6:音楽としゃべりの両方を含む 0~0.3:音楽もしくはしゃべりではないトラック
tempo [BPM]
valence ネガティブ 0.0 ---------- 1.0 ポジティブ
None
クラスタリング
k = 9
クラスターごとの特徴
クラスターごとの特徴
分類木
分類木
例えばクラスター6 acousticness danceability energy valence mode エレクトロな感じでなく 踊れる感じでもなく おとなしくて ちょっと悲しげな
マイナーコード主体の曲
各クラスターごとの プレイリストを作る!
create_playlist() add_tracks_to_playlist() プレイリストの作成 プレイリストへトラックを追加
できた!!!
よろしければお聴きください プレイリスト名 イメージ 再生 PSB_nonki1974_C1 ダンス、ボーカル多め 再生 PSB_nonki1974_C2 ダンス、マイナー 再生
PSB_nonki1974_C3 7のボーカル少なめ 再生 PSB_nonki1974_C4 7より少しおとなしめ 再生 PSB_nonki1974_C5 2のボーカル少なめ 再生 PSB_nonki1974_C6 静か、マイナー 再生 PSB_nonki1974_C7 ビート強め、ダンス 再生 PSB_nonki1974_C8 ネガティブ系 再生 PSB_nonki1974_C9 6のメジャー版 再生 ※ 要Spotifyへのユーザー登録。今月中いっぱいこのまま残します。
Enjoy!!