SlideShare a Scribd company logo
A System to Generate Rhythms
Automatically for Songs in Rhythm Game
Kuan-Ting Chen 陳冠廷
Advisor : Yi-Shin Chen
Institute of Information Systems and Applications
National Tsing Hua University
1
Outline
• Introduction
• Related Work
• Methodology
• Experiment
• Conclusion and Future Work
• Demo
2
Introduction
• There are many different music genres
• People have their preferred and not preferred
music genres
• Making people to engage in the music genres
which they are not preferred is our purpose
3
Introduction
• Rhythm Game
– Widely be played
So we use rhythm game to achieve our goal
4
Related Work
• Conducting systems
– iConductor-[Liu et al. 2009]
– An interactive conducting system using kinect-[Toh
et al. 2012]
– Music interaction on mobile phones-[Chao et al.
2014]
5
Related Work
• Rhythm games
– Related to melody
• Guitar Hero
• Magic Piano
• Sing! Karaoke
– Only related to tempo
• 太鼓の達人
• ドラムマニア(DrumMania)
6
Related Work
• But in existing rhythm game, every time
players play, the tempo hints will always be
the same
• Replayability-[B. Shelley. Guidelines for Developing
Successful Games. 2001]
it motivates us to generate the dynamic tempo hints
for the rhythm game
7
Objective
• Static Mode
– For people who want to make good score in
rhythm game
• Dynamic Mode
– For people who want freshness in rhythm game
– make people stick in rhythm game more
– make game more flexible(just input a MIDI file,
then can directly play, no need to compose
rhythm sheet by players themselves)
8
Data
Collection
Number
Or
Character
Format
Data
Preprocessing
Patterns
Pattern
Extraction
Longest
Common
Subsequence
Algorithm
Aggregate
result
from all
songs
Delete
duplicate
result
actually in
rhythm game
Keep patterns
whose count is
greater than
threshold,
Split to
patterns
whose length
is one
measure
Difficulty
Score
Calculation
Metrical
Complexity
Numbers of
Note
Longest
Repetition
method
Patterns
with
difficulty
score
Rhythm game
Easy difficulty level
Medium difficulty level
Hard difficulty level
Differentiate
Methodology
Framework
Pattern
Replacement
9
Data
Collection
Number
Or
Character
Format
Data
Preprocessing
Patterns
Pattern
Extraction
Longest
Common
Subsequence
Algorithm
Aggregate
result
from all
songs
Delete
duplicate
result
actually in
rhythm game
Keep patterns
whose count is
greater than
threshold,
Split to
patterns
whose length
is one
measure
Difficulty
Score
Calculation
Metrical
Complexity
Numbers of
Note
Patterns
with
difficulty
score
Rhythm game
Easy difficulty level
Medium difficulty level
Hard difficulty level
Differentiate
Methodology
10
Framework
Pattern
Replacement
Longest
Repetition
method
Methodology
Data Collection
• Static Mode
– Downloaded specific MIDI file from
“https://freemidi.org/”
• Dynamic Mode
– We want to extract common rhythm patterns in
many songs
– Downloaded 24836 MIDI files from
“https://freemidi.org/”
11
Data
Collection
Number
Or
Character
Format
Data
Preprocessing
Patterns
Pattern
Extraction
Longest
Common
Subsequence
Algorithm
Aggregate
result
from all
songs
Delete
duplicate
result
actually in
rhythm game
Keep patterns
whose count is
greater than
threshold,
Split to
patterns
whose length
is one
measure
Difficulty
Score
Calculation
Metrical
Complexity
Numbers of
Note
Patterns
with
difficulty
score
Rhythm game
Easy difficulty level
Medium difficulty level
Hard difficulty level
Differentiate
Methodology
12
Framework
Pattern
Replacement
Longest
Repetition
method
Methodology
Data Preprocessing
• Static Mode
– Covert that specific MIDI file to XML file
• Dynamic Mode
– Only process with 15493 4/4 beat MIDI files
– Covert them to XML files
13
• Instrument number
• Measure number
• Number Or Character Format
– 32nd note → 1
– Fourth note → 8
– Half note → G
– Whole note → W
– 32nd rest → (1)
– Fourth rest → (8)
– Half rest → (G)
– Whole rest → (W)
Methodology
Data Preprocessing
14
Methodology
Data Preprocessing
15
16
Data
Collection
Number
Or
Character
Format
Data
Preprocessing
Patterns
Pattern
Extraction
Longest
Common
Subsequence
Algorithm
Aggregate
result
from all
songs
Delete
duplicate
result
actually in
rhythm game
Keep patterns
whose count is
greater than
threshold,
Split to
patterns
whose length
is one
measure
Difficulty
Score
Calculation
Metrical
Complexity
Numbers of
Note
Patterns
with
difficulty
score
Rhythm game
Easy difficulty level
Medium difficulty level
Hard difficulty level
Differentiate
Methodology
Framework
Pattern
Replacement
Longest
Repetition
method
Methodology
Pattern Extraction
• Longest Common Subsequence Algorithm
17
(G)8(8)(4)4(8)8(8) (4)4(8)8(8) (4)4(8)8(4)4 (4)4(8)8(8)(4)4(8)8(8)(4)4(8)8(4)4 (4)4(8)44(4)4
Longest common subsequence algorithm
(4)4(8)8(8)(4)4(8)8(8)(4)4(8)8(4)4
18
Aggregate LCS result from all songs
Combine duplicate result actually in rhythm game
Keep patterns whose count is greater than threshold,
split to patterns whose length is one measure
Using LCS algorithm and then divide the count depending on the length of the song
Methodology
Pattern Extraction
19
Data
Collection
Number
Or
Character
Format
Data
Preprocessing
Patterns
Pattern
Extraction
Longest
Common
Subsequence
Algorithm
Aggregate
result
from all
songs
Delete
duplicate
result
actually in
rhythm game
Keep patterns
whose count is
greater than
threshold,
Split to
patterns
whose length
is one
measure
Difficulty
Score
Calculation
Metrical
Complexity
Numbers of
Note
Patterns
with
difficulty
score
Rhythm game
Easy difficulty level
Medium difficulty level
Hard difficulty level
Differentiate
Methodology
Framework
Pattern
Replacement
Longest
Repetition
method
• Static Mode
– Ex. Easy difficulty level:
→ Medium difficulty level:
• Dynamic Mode
– Metrical Complexity
– Numbers of Note
– Longest Repetition method
Methodology
Difficulty Score Calculation
20
Methodology
Difficulty Score Calculation
• Metrical Complexity [G. T. Toussaint,2002]
• Formula: 𝑖=1
𝑛
𝑚𝑎𝑥 𝑤𝑖 − 𝑖=1
𝑛
𝑤𝑖
(6+5+4+4) - (6+4+5+4) = 0
1
0 2 5
3 6
4 7 12
9
8 14
10 11 13 17
16
15 18 19 20 22
21 31
29
28
27
26
25
24
23 30
x x x x
21
Methodology
Difficulty Score Calculation
• Numbers of Note
8
2
22
• Longest Repetition method
– “SuccessiveSubPattern” function
• Ex. Input: “44442(2)2(2)44” Output: “4444”, “2(2)2(2)” and “44”
– “FindUnitPattern” function
• Ex. Input: “4444” Output: “4”
– “LongestRepeatedSubPattern” function
• Ex. Input: “84(8)84” Output: “84”, because “84” occurs twice in this pattern
– “Difficulty Score” function
• rt: rhythm notation
• Note:
1
𝑟𝑡
Ex. quarter note → 1/8 32nd note → 1/1
• Rest: -
1
𝑟𝑡∗2
Ex. quarter rest → -1/16
• Because one quarter note plus one quarter rest equals one half note in rhythm
game, so we set the difficulty score for rest this way (1/8 +(-1/16) = 1/16)
23
Methodology
Difficulty Score Calculation
• Output of “SuccessiveSubPattern”function is
not null:
– Ex. Pattern: “44442(2)2(2)44”
24
Methodology
Difficulty Score Calculation
4444 2(2)2(2) 44
(1/4)
repeat four times
*(1/4) + [(1/2-1/4)]
repeat two times
*(1/2) +(1/4)
repeat two times
*(1/2)
• Output of “SuccessiveSubPattern”function is null, but
output of “LongestRepeatedSubPattern” function is
not null:
– Ex. Pattern: “84(8)84”
25
Methodology
Difficulty Score Calculation
84 84 (8)
(1/8+1/4) *(1/2)
repeat two times
but not adjacent
*1.2 +(-1/16)
• Output of “SuccessiveSubPattern”function and
output of “LongestRepeatedSubPattern” function are
all null:
– Ex. Pattern: “(2)BC7”
26
Methodology
Difficulty Score Calculation
(-1/4) +(1/11) +(1/12) +(1/7)
27
Methodology
Difficulty Score Calculation
Metrical
Complexity
Numbers of
Note
Longest
Repetition
method
Pattern
mcScore ntScore lrScore
FinalScore
*1/3 *1/3 *1/3
Methodology
• Sort patterns by difficulty scores
• Split these patterns into three parts
28
29
Data
Collection
Number
Or
Character
Format
Data
Preprocessing
Patterns
Pattern
Extraction
Longest
Common
Subsequence
Algorithm
Aggregate
result
from all
songs
Delete
duplicate
result
actually in
rhythm game
Keep patterns
whose count is
greater than
threshold,
Split to
patterns
whose length
is one
measure
Difficulty
Score
Calculation
Metrical
Complexity
Numbers of
Note
Patterns
with
difficulty
score
Rhythm game
Easy difficulty level
Medium difficulty level
Hard difficulty level
Differentiate
Methodology
Framework
Pattern
Replacement
Longest
Repetition
method
• Static Mode
– Ex. Easy difficulty level:
→ Medium difficulty level:
• Dynamic Mode
– We want to match the specific song, do not want
that generated rhythm is totally unrelated to that
specific song
– AAAB → CCCD
(length of A,B,C,D are all one measure)
Methodology
Pattern Replacement
30
Experiment
Experimental Setup
• Nexus 5 smartphone and a rhythm game open
source(Beats)
• Two set of experiment:
– In Quiet environment
• 22 people(11 people started from their preferred music
genre, other 11 people started from their not preferred
music genre)
– In noisy environment
• 6 people(all started from their not preferred music
genre)
31
• Classical music and Popular music
• Provide 5 songs in each music genre for
selection
• Listening → Playing
• Open triangle sound for classical music, bass
drum sound for popular music
• Let them rate the interesting level by 5 point
Likert scale
32
Experiment
Experimental Setup
Experiment
Experimental Setup
32
Experiment
Experimental Setup
33
Experiment
Experiment Result
35
Preferred music genre
Not preferred music genre
The hypothesis passed the t-test with
the p-value 2.41941*10−9
,
which indicates that the results is
significant at the p < 0.001 level
(99% confidence level).
The hypothesis passed the t-test with
the p-value 6.5886*10−8,
which indicates that the results is
significant at the p < 0.001 level
(99% confidence level).
0
100
200
300
400
500
600
700
800
900
1000
1100
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
seconds
user no.
listening duration playing duration
0
100
200
300
400
500
600
700
800
900
1000
1100
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
seconds
user no.
listening duration playing duration
In Quiet environment
36
Experiment
Experiment Result
0
1
2
3
4
5
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
5
points
Likert
scale
user no.
preferred music genre not preferred music genre
Preferred music genre average points: 3.77
Not preferred music genre average points: 3.63
Feel open triangle sound does not match the song
In dynamic mode, it happens that rhythm does not match the song,
so bass drum sound makes it strange
The quality of music is not good(because of using MIDI file)
In Quiet environment
37
Experiment
Experiment Result
0
20
40
60
80
100
120
140
160
180
1 2 3 4 5 6
seconds
user no.
listening duration playing duration
Preferred music genre
Not preferred music genre
0
100
200
300
400
500
1 2 3 4 5 6
seconds
user no.
listening duration playing duration
The hypothesis passed the t-test with
the p-value 0.03606,
which indicates that the results is
significant at the p < 0.05 level
(95% confidence level).
The hypothesis passed the t-test with
the p-value 0.00156,
which indicates that the results is
significant at the p < 0.05 level
(95% confidence level).
In Noisy environment
38
Experiment
Experiment Result
0
1
2
3
4
5
1 2 3 4 5 6
5
points
Likert
scale
user no.
preferred music genre not preferred music genre
Preferred music genre average points: 4.83
Not preferred music genre average points: 4
Tempo hints in that popular song is not exciting
In Noisy environment
Conclusion and Future Work
• we propose a system which can generate rhythms
for songs in rhythm game automatically
• The experiment result reveals that in either
preferred or not preferred music genre, the
playing duration is longer significantly than
listening duration of users
• we expect that our rhythm game can engage
people in music genre that is uncommon in their
daily lives
39
Conclusion and Future Work
• In our rhythm game, we use MIDI files to let
players to play. If could use MP3 files instead,
the game experience will be better
• If could make further adjustment about
patterns to make it more suitable for specific
song, the game experience will be better
36
Demo
37
Thanks for your listening
38
References
• Beats portable. https://github.com/Keripo/Beats.
• DrumMania (ドラムマニア). https://en.wikipedia.org/wiki/Drum_Mania.
• Freemidi.org. https://freemidi.org/
• Guitar Hero. https://en.wikipedia.org/wiki/Guitar_Hero.
• Longest common subsequence.
https://en.wikipedia.org/wiki/Longest_common_subsequence_problem.
• Magic Piano.
https://play.google.com/store/apps/details?id=com.smule.magicpiano&hl=zh_TW.
• Musescore. https://musescore.org/.
• Sing! Karaoke. https://en.wikipedia.org/wiki/Sing!_Karaoke.
• Taiko no Tatsujin (太鼓の達人) https://en.wikipedia.org/wiki/Taiko_no_Tatsujin.
• [Chao et al. 2014] W. Chao, K.-T. Chen, and Y.-S. Chen. Music interaction on mobile
phones. In Advances in Multimedia Information Processing - PCM 2014, pages
153–162. Springer, 2014.
43
References
• [Lerdahl et al. 1983] F. Lerdahl and R. Jackendoff. A Generative Theory of Tonal Music.
MIT Press, Cambridge, 1983.
• [Liu et al. 2009] Y.-L. Liu and Y.-S. Chen. iconduct:music control in the interactive
conducting system. Technical report, 2009.
• B. Shelley. Guidelines for Developing Successful Games.
http://www.gamasutra.com/view/feature/3041/guidelines_for_developing_.php,
2001. [Online; accessed 15-August-2001].
• [Toh et al. 2012] L.-W. Toh, W. Chao, and Y.-S. Chen. An interactive conducting
system using kinect. In Proceedings of The 2013 IEEE International Conference on
Multimedia and Expo, pages 1–6. IEEE, 2012.
• [Toussaint 2002] G. T. Toussaint. A mathematical analysis of african, brazilian and
cuban clave rhythms. In Proceedings of BRIDGES: Mathematical Connections
in Art, Music and Science, pages 157–168, 2002.
44

More Related Content

What's hot

Daa unit 4
Daa unit 4Daa unit 4
Daa unit 4
Abhimanyu Mishra
 
Hidden Markov Models with applications to speech recognition
Hidden Markov Models with applications to speech recognitionHidden Markov Models with applications to speech recognition
Hidden Markov Models with applications to speech recognition
butest
 
Keymanagement of ipsec
Keymanagement of ipsecKeymanagement of ipsec
Keymanagement of ipsec
PACHIYAPPAN PACHIYAPPAS
 
Telephone call-simulation
Telephone call-simulationTelephone call-simulation
Telephone call-simulation
Prakash Poudel
 
MAT Chapter 1
MAT Chapter 1MAT Chapter 1
MAT Chapter 1
IF Engineer 2
 
Speech processing
Speech processingSpeech processing
Speech recognition system seminar
Speech recognition system seminarSpeech recognition system seminar
Speech recognition system seminar
Diptimaya Sarangi
 
Ch3 4 regular expression and grammar
Ch3 4 regular expression and grammarCh3 4 regular expression and grammar
Ch3 4 regular expression and grammar
meresie tesfay
 
Usage of regular expressions in nlp
Usage of regular expressions in nlpUsage of regular expressions in nlp
Usage of regular expressions in nlp
eSAT Journals
 
End-to-end Speech Recognition with Recurrent Neural Networks (D3L6 Deep Learn...
End-to-end Speech Recognition with Recurrent Neural Networks (D3L6 Deep Learn...End-to-end Speech Recognition with Recurrent Neural Networks (D3L6 Deep Learn...
End-to-end Speech Recognition with Recurrent Neural Networks (D3L6 Deep Learn...
Universitat Politècnica de Catalunya
 
Linear time sorting algorithms
Linear time sorting algorithmsLinear time sorting algorithms
Linear time sorting algorithms
Dr Sandeep Kumar Poonia
 
Natural Language Processing: Parsing
Natural Language Processing: ParsingNatural Language Processing: Parsing
Natural Language Processing: Parsing
Rushdi Shams
 
Deterministic context free grammars &non-deterministic
Deterministic context free grammars &non-deterministicDeterministic context free grammars &non-deterministic
Deterministic context free grammars &non-deterministic
Leyo Stephen
 
Boyer more algorithm
Boyer more algorithmBoyer more algorithm
Boyer more algorithm
Kritika Purohit
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
Fatemeh Karimi
 
NLP_KASHK:Markov Models
NLP_KASHK:Markov ModelsNLP_KASHK:Markov Models
NLP_KASHK:Markov Models
Hemantha Kulathilake
 
Video processing on dsp
Video processing on dspVideo processing on dsp
Video processing on dsp
Nirma University
 
Digital cinema
Digital cinemaDigital cinema
Digital cinema
Anoop K Anand
 
Speech to Speech real time translations, Aigars Macins, Skype
Speech to Speech real time translations, Aigars Macins, SkypeSpeech to Speech real time translations, Aigars Macins, Skype
Speech to Speech real time translations, Aigars Macins, Skype
TAUS - The Language Data Network
 
Speech Recognition
Speech RecognitionSpeech Recognition
Speech Recognition
Hardik Kanjariya
 

What's hot (20)

Daa unit 4
Daa unit 4Daa unit 4
Daa unit 4
 
Hidden Markov Models with applications to speech recognition
Hidden Markov Models with applications to speech recognitionHidden Markov Models with applications to speech recognition
Hidden Markov Models with applications to speech recognition
 
Keymanagement of ipsec
Keymanagement of ipsecKeymanagement of ipsec
Keymanagement of ipsec
 
Telephone call-simulation
Telephone call-simulationTelephone call-simulation
Telephone call-simulation
 
MAT Chapter 1
MAT Chapter 1MAT Chapter 1
MAT Chapter 1
 
Speech processing
Speech processingSpeech processing
Speech processing
 
Speech recognition system seminar
Speech recognition system seminarSpeech recognition system seminar
Speech recognition system seminar
 
Ch3 4 regular expression and grammar
Ch3 4 regular expression and grammarCh3 4 regular expression and grammar
Ch3 4 regular expression and grammar
 
Usage of regular expressions in nlp
Usage of regular expressions in nlpUsage of regular expressions in nlp
Usage of regular expressions in nlp
 
End-to-end Speech Recognition with Recurrent Neural Networks (D3L6 Deep Learn...
End-to-end Speech Recognition with Recurrent Neural Networks (D3L6 Deep Learn...End-to-end Speech Recognition with Recurrent Neural Networks (D3L6 Deep Learn...
End-to-end Speech Recognition with Recurrent Neural Networks (D3L6 Deep Learn...
 
Linear time sorting algorithms
Linear time sorting algorithmsLinear time sorting algorithms
Linear time sorting algorithms
 
Natural Language Processing: Parsing
Natural Language Processing: ParsingNatural Language Processing: Parsing
Natural Language Processing: Parsing
 
Deterministic context free grammars &non-deterministic
Deterministic context free grammars &non-deterministicDeterministic context free grammars &non-deterministic
Deterministic context free grammars &non-deterministic
 
Boyer more algorithm
Boyer more algorithmBoyer more algorithm
Boyer more algorithm
 
Genetic Algorithm
Genetic AlgorithmGenetic Algorithm
Genetic Algorithm
 
NLP_KASHK:Markov Models
NLP_KASHK:Markov ModelsNLP_KASHK:Markov Models
NLP_KASHK:Markov Models
 
Video processing on dsp
Video processing on dspVideo processing on dsp
Video processing on dsp
 
Digital cinema
Digital cinemaDigital cinema
Digital cinema
 
Speech to Speech real time translations, Aigars Macins, Skype
Speech to Speech real time translations, Aigars Macins, SkypeSpeech to Speech real time translations, Aigars Macins, Skype
Speech to Speech real time translations, Aigars Macins, Skype
 
Speech Recognition
Speech RecognitionSpeech Recognition
Speech Recognition
 

Similar to A system to generate rhythms automatically for songs in rhythm game

Learning to Groove with Inverse Sequence Transformations
Learning to Groove with Inverse Sequence TransformationsLearning to Groove with Inverse Sequence Transformations
Learning to Groove with Inverse Sequence Transformations
ivaderivader
 
AC overview
AC overviewAC overview
AC overview
WarNik Chow
 
A Unified Music Recommender System Using Listening Habits and Semantics of Tags
A Unified Music Recommender System Using Listening Habits and Semantics of TagsA Unified Music Recommender System Using Listening Habits and Semantics of Tags
A Unified Music Recommender System Using Listening Habits and Semantics of Tags
datasciencekorea
 
Data science-2013-heekim
Data science-2013-heekimData science-2013-heekim
Data science-2013-heekim
Haklae Kim
 
Deep Learning Meetup #5
Deep Learning Meetup #5Deep Learning Meetup #5
Deep Learning Meetup #5
Aloïs Gruson
 
Music Creation by Example
Music Creation by ExampleMusic Creation by Example
Music Creation by Example
ivaderivader
 
DNN-based frequency-domain permutation solver for multichannel audio source s...
DNN-based frequency-domain permutation solver for multichannel audio source s...DNN-based frequency-domain permutation solver for multichannel audio source s...
DNN-based frequency-domain permutation solver for multichannel audio source s...
Kitamura Laboratory
 
earPod: Eyes-free Menu Selection using Touch Input and Reactive Audio Feedback
earPod: Eyes-free Menu Selection using Touch Input and Reactive Audio FeedbackearPod: Eyes-free Menu Selection using Touch Input and Reactive Audio Feedback
earPod: Eyes-free Menu Selection using Touch Input and Reactive Audio Feedback
Kimberly Aguada
 
Crowsourcing for Social Multimedia Task: Crowsorting Timed Comments about Music
Crowsourcing for Social Multimedia Task: Crowsorting Timed Comments about MusicCrowsourcing for Social Multimedia Task: Crowsorting Timed Comments about Music
Crowsourcing for Social Multimedia Task: Crowsorting Timed Comments about Music
multimediaeval
 
Automatic Set List Identification and Song Segmentation of Full-Length Concer...
Automatic Set List Identification and Song Segmentation of Full-Length Concer...Automatic Set List Identification and Song Segmentation of Full-Length Concer...
Automatic Set List Identification and Song Segmentation of Full-Length Concer...
Ju-Chiang Wang
 
Improvise
ImproviseImprovise
Improvise
Ricardo Dias
 
Enar short course
Enar short courseEnar short course
Enar short course
Deepak Agarwal
 
VEX_PPT
VEX_PPTVEX_PPT
VEX_PPT
Jonathon Boyd
 
Kaggle kenneth
Kaggle kennethKaggle kenneth
Kaggle kenneth
kenluck2001
 
MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training
MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training  MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training
MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training
ivaderivader
 
Vex 2
Vex 2Vex 2
Robust music signal separation based on supervised nonnegative matrix factori...
Robust music signal separation based on supervised nonnegative matrix factori...Robust music signal separation based on supervised nonnegative matrix factori...
Robust music signal separation based on supervised nonnegative matrix factori...
Daichi Kitamura
 
Recsys Challenge 2018 - Creamy Fireflies - Artist-driven layering and user’s...
Recsys Challenge 2018 - Creamy Fireflies -  Artist-driven layering and user’s...Recsys Challenge 2018 - Creamy Fireflies -  Artist-driven layering and user’s...
Recsys Challenge 2018 - Creamy Fireflies - Artist-driven layering and user’s...
Emanuele Chioso
 
Heuristic approach optimization
Heuristic  approach optimizationHeuristic  approach optimization
Heuristic approach optimization
Ang Sovann
 
Good practices (and challenges) for reproducibility
Good practices (and challenges) for reproducibilityGood practices (and challenges) for reproducibility
Good practices (and challenges) for reproducibility
Javier Quílez Oliete
 

Similar to A system to generate rhythms automatically for songs in rhythm game (20)

Learning to Groove with Inverse Sequence Transformations
Learning to Groove with Inverse Sequence TransformationsLearning to Groove with Inverse Sequence Transformations
Learning to Groove with Inverse Sequence Transformations
 
AC overview
AC overviewAC overview
AC overview
 
A Unified Music Recommender System Using Listening Habits and Semantics of Tags
A Unified Music Recommender System Using Listening Habits and Semantics of TagsA Unified Music Recommender System Using Listening Habits and Semantics of Tags
A Unified Music Recommender System Using Listening Habits and Semantics of Tags
 
Data science-2013-heekim
Data science-2013-heekimData science-2013-heekim
Data science-2013-heekim
 
Deep Learning Meetup #5
Deep Learning Meetup #5Deep Learning Meetup #5
Deep Learning Meetup #5
 
Music Creation by Example
Music Creation by ExampleMusic Creation by Example
Music Creation by Example
 
DNN-based frequency-domain permutation solver for multichannel audio source s...
DNN-based frequency-domain permutation solver for multichannel audio source s...DNN-based frequency-domain permutation solver for multichannel audio source s...
DNN-based frequency-domain permutation solver for multichannel audio source s...
 
earPod: Eyes-free Menu Selection using Touch Input and Reactive Audio Feedback
earPod: Eyes-free Menu Selection using Touch Input and Reactive Audio FeedbackearPod: Eyes-free Menu Selection using Touch Input and Reactive Audio Feedback
earPod: Eyes-free Menu Selection using Touch Input and Reactive Audio Feedback
 
Crowsourcing for Social Multimedia Task: Crowsorting Timed Comments about Music
Crowsourcing for Social Multimedia Task: Crowsorting Timed Comments about MusicCrowsourcing for Social Multimedia Task: Crowsorting Timed Comments about Music
Crowsourcing for Social Multimedia Task: Crowsorting Timed Comments about Music
 
Automatic Set List Identification and Song Segmentation of Full-Length Concer...
Automatic Set List Identification and Song Segmentation of Full-Length Concer...Automatic Set List Identification and Song Segmentation of Full-Length Concer...
Automatic Set List Identification and Song Segmentation of Full-Length Concer...
 
Improvise
ImproviseImprovise
Improvise
 
Enar short course
Enar short courseEnar short course
Enar short course
 
VEX_PPT
VEX_PPTVEX_PPT
VEX_PPT
 
Kaggle kenneth
Kaggle kennethKaggle kenneth
Kaggle kenneth
 
MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training
MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training  MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training
MusicBERT: Symbolic Music Understanding with Large-Scale Pre-Training
 
Vex 2
Vex 2Vex 2
Vex 2
 
Robust music signal separation based on supervised nonnegative matrix factori...
Robust music signal separation based on supervised nonnegative matrix factori...Robust music signal separation based on supervised nonnegative matrix factori...
Robust music signal separation based on supervised nonnegative matrix factori...
 
Recsys Challenge 2018 - Creamy Fireflies - Artist-driven layering and user’s...
Recsys Challenge 2018 - Creamy Fireflies -  Artist-driven layering and user’s...Recsys Challenge 2018 - Creamy Fireflies -  Artist-driven layering and user’s...
Recsys Challenge 2018 - Creamy Fireflies - Artist-driven layering and user’s...
 
Heuristic approach optimization
Heuristic  approach optimizationHeuristic  approach optimization
Heuristic approach optimization
 
Good practices (and challenges) for reproducibility
Good practices (and challenges) for reproducibilityGood practices (and challenges) for reproducibility
Good practices (and challenges) for reproducibility
 

Recently uploaded

Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
Karya Keeper
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
kgyxske
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
Envertis Software Solutions
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
Green Software Development
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
Patrick Weigel
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
The Third Creative Media
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
Alberto Brandolini
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
kalichargn70th171
 
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabhQuarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
aisafed42
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
ShulagnaSarkar2
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
sjcobrien
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
ToXSL Technologies
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 

Recently uploaded (20)

Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
Project Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdfProject Management: The Role of Project Dashboards.pdf
Project Management: The Role of Project Dashboards.pdf
 
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
一比一原版(sdsu毕业证书)圣地亚哥州立大学毕业证如何办理
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
What’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete RoadmapWhat’s New in Odoo 17 – A Complete Roadmap
What’s New in Odoo 17 – A Complete Roadmap
 
Energy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina JonuziEnergy consumption of Database Management - Florina Jonuzi
Energy consumption of Database Management - Florina Jonuzi
 
WWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders AustinWWDC 2024 Keynote Review: For CocoaCoders Austin
WWDC 2024 Keynote Review: For CocoaCoders Austin
 
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdfBaha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
Baha Majid WCA4Z IBM Z Customer Council Boston June 2024.pdf
 
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
Unlock the Secrets to Effortless Video Creation with Invideo: Your Ultimate G...
 
Modelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - AmsterdamModelling Up - DDDEurope 2024 - Amsterdam
Modelling Up - DDDEurope 2024 - Amsterdam
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
A Comprehensive Guide on Implementing Real-World Mobile Testing Strategies fo...
 
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabhQuarter 3 SLRP grade 9.. gshajsbhhaheabh
Quarter 3 SLRP grade 9.. gshajsbhhaheabh
 
14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision14 th Edition of International conference on computer vision
14 th Edition of International conference on computer vision
 
Malibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed RoundMalibou Pitch Deck For Its €3M Seed Round
Malibou Pitch Deck For Its €3M Seed Round
 
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?How Can Hiring A Mobile App Development Company Help Your Business Grow?
How Can Hiring A Mobile App Development Company Help Your Business Grow?
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 

A system to generate rhythms automatically for songs in rhythm game

  • 1. A System to Generate Rhythms Automatically for Songs in Rhythm Game Kuan-Ting Chen 陳冠廷 Advisor : Yi-Shin Chen Institute of Information Systems and Applications National Tsing Hua University 1
  • 2. Outline • Introduction • Related Work • Methodology • Experiment • Conclusion and Future Work • Demo 2
  • 3. Introduction • There are many different music genres • People have their preferred and not preferred music genres • Making people to engage in the music genres which they are not preferred is our purpose 3
  • 4. Introduction • Rhythm Game – Widely be played So we use rhythm game to achieve our goal 4
  • 5. Related Work • Conducting systems – iConductor-[Liu et al. 2009] – An interactive conducting system using kinect-[Toh et al. 2012] – Music interaction on mobile phones-[Chao et al. 2014] 5
  • 6. Related Work • Rhythm games – Related to melody • Guitar Hero • Magic Piano • Sing! Karaoke – Only related to tempo • 太鼓の達人 • ドラムマニア(DrumMania) 6
  • 7. Related Work • But in existing rhythm game, every time players play, the tempo hints will always be the same • Replayability-[B. Shelley. Guidelines for Developing Successful Games. 2001] it motivates us to generate the dynamic tempo hints for the rhythm game 7
  • 8. Objective • Static Mode – For people who want to make good score in rhythm game • Dynamic Mode – For people who want freshness in rhythm game – make people stick in rhythm game more – make game more flexible(just input a MIDI file, then can directly play, no need to compose rhythm sheet by players themselves) 8
  • 9. Data Collection Number Or Character Format Data Preprocessing Patterns Pattern Extraction Longest Common Subsequence Algorithm Aggregate result from all songs Delete duplicate result actually in rhythm game Keep patterns whose count is greater than threshold, Split to patterns whose length is one measure Difficulty Score Calculation Metrical Complexity Numbers of Note Longest Repetition method Patterns with difficulty score Rhythm game Easy difficulty level Medium difficulty level Hard difficulty level Differentiate Methodology Framework Pattern Replacement 9
  • 10. Data Collection Number Or Character Format Data Preprocessing Patterns Pattern Extraction Longest Common Subsequence Algorithm Aggregate result from all songs Delete duplicate result actually in rhythm game Keep patterns whose count is greater than threshold, Split to patterns whose length is one measure Difficulty Score Calculation Metrical Complexity Numbers of Note Patterns with difficulty score Rhythm game Easy difficulty level Medium difficulty level Hard difficulty level Differentiate Methodology 10 Framework Pattern Replacement Longest Repetition method
  • 11. Methodology Data Collection • Static Mode – Downloaded specific MIDI file from “https://freemidi.org/” • Dynamic Mode – We want to extract common rhythm patterns in many songs – Downloaded 24836 MIDI files from “https://freemidi.org/” 11
  • 12. Data Collection Number Or Character Format Data Preprocessing Patterns Pattern Extraction Longest Common Subsequence Algorithm Aggregate result from all songs Delete duplicate result actually in rhythm game Keep patterns whose count is greater than threshold, Split to patterns whose length is one measure Difficulty Score Calculation Metrical Complexity Numbers of Note Patterns with difficulty score Rhythm game Easy difficulty level Medium difficulty level Hard difficulty level Differentiate Methodology 12 Framework Pattern Replacement Longest Repetition method
  • 13. Methodology Data Preprocessing • Static Mode – Covert that specific MIDI file to XML file • Dynamic Mode – Only process with 15493 4/4 beat MIDI files – Covert them to XML files 13
  • 14. • Instrument number • Measure number • Number Or Character Format – 32nd note → 1 – Fourth note → 8 – Half note → G – Whole note → W – 32nd rest → (1) – Fourth rest → (8) – Half rest → (G) – Whole rest → (W) Methodology Data Preprocessing 14
  • 16. 16 Data Collection Number Or Character Format Data Preprocessing Patterns Pattern Extraction Longest Common Subsequence Algorithm Aggregate result from all songs Delete duplicate result actually in rhythm game Keep patterns whose count is greater than threshold, Split to patterns whose length is one measure Difficulty Score Calculation Metrical Complexity Numbers of Note Patterns with difficulty score Rhythm game Easy difficulty level Medium difficulty level Hard difficulty level Differentiate Methodology Framework Pattern Replacement Longest Repetition method
  • 17. Methodology Pattern Extraction • Longest Common Subsequence Algorithm 17 (G)8(8)(4)4(8)8(8) (4)4(8)8(8) (4)4(8)8(4)4 (4)4(8)8(8)(4)4(8)8(8)(4)4(8)8(4)4 (4)4(8)44(4)4 Longest common subsequence algorithm (4)4(8)8(8)(4)4(8)8(8)(4)4(8)8(4)4
  • 18. 18 Aggregate LCS result from all songs Combine duplicate result actually in rhythm game Keep patterns whose count is greater than threshold, split to patterns whose length is one measure Using LCS algorithm and then divide the count depending on the length of the song Methodology Pattern Extraction
  • 19. 19 Data Collection Number Or Character Format Data Preprocessing Patterns Pattern Extraction Longest Common Subsequence Algorithm Aggregate result from all songs Delete duplicate result actually in rhythm game Keep patterns whose count is greater than threshold, Split to patterns whose length is one measure Difficulty Score Calculation Metrical Complexity Numbers of Note Patterns with difficulty score Rhythm game Easy difficulty level Medium difficulty level Hard difficulty level Differentiate Methodology Framework Pattern Replacement Longest Repetition method
  • 20. • Static Mode – Ex. Easy difficulty level: → Medium difficulty level: • Dynamic Mode – Metrical Complexity – Numbers of Note – Longest Repetition method Methodology Difficulty Score Calculation 20
  • 21. Methodology Difficulty Score Calculation • Metrical Complexity [G. T. Toussaint,2002] • Formula: 𝑖=1 𝑛 𝑚𝑎𝑥 𝑤𝑖 − 𝑖=1 𝑛 𝑤𝑖 (6+5+4+4) - (6+4+5+4) = 0 1 0 2 5 3 6 4 7 12 9 8 14 10 11 13 17 16 15 18 19 20 22 21 31 29 28 27 26 25 24 23 30 x x x x 21
  • 23. • Longest Repetition method – “SuccessiveSubPattern” function • Ex. Input: “44442(2)2(2)44” Output: “4444”, “2(2)2(2)” and “44” – “FindUnitPattern” function • Ex. Input: “4444” Output: “4” – “LongestRepeatedSubPattern” function • Ex. Input: “84(8)84” Output: “84”, because “84” occurs twice in this pattern – “Difficulty Score” function • rt: rhythm notation • Note: 1 𝑟𝑡 Ex. quarter note → 1/8 32nd note → 1/1 • Rest: - 1 𝑟𝑡∗2 Ex. quarter rest → -1/16 • Because one quarter note plus one quarter rest equals one half note in rhythm game, so we set the difficulty score for rest this way (1/8 +(-1/16) = 1/16) 23 Methodology Difficulty Score Calculation
  • 24. • Output of “SuccessiveSubPattern”function is not null: – Ex. Pattern: “44442(2)2(2)44” 24 Methodology Difficulty Score Calculation 4444 2(2)2(2) 44 (1/4) repeat four times *(1/4) + [(1/2-1/4)] repeat two times *(1/2) +(1/4) repeat two times *(1/2)
  • 25. • Output of “SuccessiveSubPattern”function is null, but output of “LongestRepeatedSubPattern” function is not null: – Ex. Pattern: “84(8)84” 25 Methodology Difficulty Score Calculation 84 84 (8) (1/8+1/4) *(1/2) repeat two times but not adjacent *1.2 +(-1/16)
  • 26. • Output of “SuccessiveSubPattern”function and output of “LongestRepeatedSubPattern” function are all null: – Ex. Pattern: “(2)BC7” 26 Methodology Difficulty Score Calculation (-1/4) +(1/11) +(1/12) +(1/7)
  • 27. 27 Methodology Difficulty Score Calculation Metrical Complexity Numbers of Note Longest Repetition method Pattern mcScore ntScore lrScore FinalScore *1/3 *1/3 *1/3
  • 28. Methodology • Sort patterns by difficulty scores • Split these patterns into three parts 28
  • 29. 29 Data Collection Number Or Character Format Data Preprocessing Patterns Pattern Extraction Longest Common Subsequence Algorithm Aggregate result from all songs Delete duplicate result actually in rhythm game Keep patterns whose count is greater than threshold, Split to patterns whose length is one measure Difficulty Score Calculation Metrical Complexity Numbers of Note Patterns with difficulty score Rhythm game Easy difficulty level Medium difficulty level Hard difficulty level Differentiate Methodology Framework Pattern Replacement Longest Repetition method
  • 30. • Static Mode – Ex. Easy difficulty level: → Medium difficulty level: • Dynamic Mode – We want to match the specific song, do not want that generated rhythm is totally unrelated to that specific song – AAAB → CCCD (length of A,B,C,D are all one measure) Methodology Pattern Replacement 30
  • 31. Experiment Experimental Setup • Nexus 5 smartphone and a rhythm game open source(Beats) • Two set of experiment: – In Quiet environment • 22 people(11 people started from their preferred music genre, other 11 people started from their not preferred music genre) – In noisy environment • 6 people(all started from their not preferred music genre) 31
  • 32. • Classical music and Popular music • Provide 5 songs in each music genre for selection • Listening → Playing • Open triangle sound for classical music, bass drum sound for popular music • Let them rate the interesting level by 5 point Likert scale 32 Experiment Experimental Setup
  • 35. Experiment Experiment Result 35 Preferred music genre Not preferred music genre The hypothesis passed the t-test with the p-value 2.41941*10−9 , which indicates that the results is significant at the p < 0.001 level (99% confidence level). The hypothesis passed the t-test with the p-value 6.5886*10−8, which indicates that the results is significant at the p < 0.001 level (99% confidence level). 0 100 200 300 400 500 600 700 800 900 1000 1100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 seconds user no. listening duration playing duration 0 100 200 300 400 500 600 700 800 900 1000 1100 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 seconds user no. listening duration playing duration In Quiet environment
  • 36. 36 Experiment Experiment Result 0 1 2 3 4 5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 points Likert scale user no. preferred music genre not preferred music genre Preferred music genre average points: 3.77 Not preferred music genre average points: 3.63 Feel open triangle sound does not match the song In dynamic mode, it happens that rhythm does not match the song, so bass drum sound makes it strange The quality of music is not good(because of using MIDI file) In Quiet environment
  • 37. 37 Experiment Experiment Result 0 20 40 60 80 100 120 140 160 180 1 2 3 4 5 6 seconds user no. listening duration playing duration Preferred music genre Not preferred music genre 0 100 200 300 400 500 1 2 3 4 5 6 seconds user no. listening duration playing duration The hypothesis passed the t-test with the p-value 0.03606, which indicates that the results is significant at the p < 0.05 level (95% confidence level). The hypothesis passed the t-test with the p-value 0.00156, which indicates that the results is significant at the p < 0.05 level (95% confidence level). In Noisy environment
  • 38. 38 Experiment Experiment Result 0 1 2 3 4 5 1 2 3 4 5 6 5 points Likert scale user no. preferred music genre not preferred music genre Preferred music genre average points: 4.83 Not preferred music genre average points: 4 Tempo hints in that popular song is not exciting In Noisy environment
  • 39. Conclusion and Future Work • we propose a system which can generate rhythms for songs in rhythm game automatically • The experiment result reveals that in either preferred or not preferred music genre, the playing duration is longer significantly than listening duration of users • we expect that our rhythm game can engage people in music genre that is uncommon in their daily lives 39
  • 40. Conclusion and Future Work • In our rhythm game, we use MIDI files to let players to play. If could use MP3 files instead, the game experience will be better • If could make further adjustment about patterns to make it more suitable for specific song, the game experience will be better 36
  • 42. Thanks for your listening 38
  • 43. References • Beats portable. https://github.com/Keripo/Beats. • DrumMania (ドラムマニア). https://en.wikipedia.org/wiki/Drum_Mania. • Freemidi.org. https://freemidi.org/ • Guitar Hero. https://en.wikipedia.org/wiki/Guitar_Hero. • Longest common subsequence. https://en.wikipedia.org/wiki/Longest_common_subsequence_problem. • Magic Piano. https://play.google.com/store/apps/details?id=com.smule.magicpiano&hl=zh_TW. • Musescore. https://musescore.org/. • Sing! Karaoke. https://en.wikipedia.org/wiki/Sing!_Karaoke. • Taiko no Tatsujin (太鼓の達人) https://en.wikipedia.org/wiki/Taiko_no_Tatsujin. • [Chao et al. 2014] W. Chao, K.-T. Chen, and Y.-S. Chen. Music interaction on mobile phones. In Advances in Multimedia Information Processing - PCM 2014, pages 153–162. Springer, 2014. 43
  • 44. References • [Lerdahl et al. 1983] F. Lerdahl and R. Jackendoff. A Generative Theory of Tonal Music. MIT Press, Cambridge, 1983. • [Liu et al. 2009] Y.-L. Liu and Y.-S. Chen. iconduct:music control in the interactive conducting system. Technical report, 2009. • B. Shelley. Guidelines for Developing Successful Games. http://www.gamasutra.com/view/feature/3041/guidelines_for_developing_.php, 2001. [Online; accessed 15-August-2001]. • [Toh et al. 2012] L.-W. Toh, W. Chao, and Y.-S. Chen. An interactive conducting system using kinect. In Proceedings of The 2013 IEEE International Conference on Multimedia and Expo, pages 1–6. IEEE, 2012. • [Toussaint 2002] G. T. Toussaint. A mathematical analysis of african, brazilian and cuban clave rhythms. In Proceedings of BRIDGES: Mathematical Connections in Art, Music and Science, pages 157–168, 2002. 44

Editor's Notes

  1. 放Objective 有甚麼目標導致現在要做兩個模式
  2. 字放大
  3. 為什麼要用LCS
  4. 舉例子 做動畫 It’s my life acoustic snare durm 不該除上小節數 該除上做了LCS的次數
  5. 用動畫