Melody Composition for Tonal and Non-Tonal Languages Study

undefined
 
A Melody Composer for both Tonal and
Non-Tonal Languages
 
Coleman Yu, Raymond Chi-Wing Wong
The Hong Kong University of Science and Technology
 
ICMC 2017 
(16-10-2017)
 
1
 
Presented by Coleman
 
The paper and this slide can be found in 
.
http://www.cse.ust.hk/~raywong/
 
Introduction
 
2
 
Input
Input
Output
Output
 
Architecture
 
3
Mining
F
req.
P
atterns
(FPs)
Using FPs
to
compose
melody for
the lyrics
 
FPs
 
Songs
Lyrics
 
lyrics
Melody
 
melody
I want to own a
song.
I am happy.
 
Outline
 
1. Mining Frequent Patterns
Mining FPs from both songs and instrumental compositions
 
2. Composing Melody
Compose Melody for Tonal and Non-Tonal languages
 
4
New
New
Original
Original
Lyrics is absent
 
1. Tonal and Non-Tonal Languages
 
In non-tonal languages, using different tones to pronounce
the same phonetic will not change their meanings.
E.g. men (men)
 
In tonal languages, opposite condition.
 
5
Pronounced at different tones will
alter the meanings of “si”
 
1. Tone Contour and Tone Digit
 
6
 
1. Representation
 
7
No lyrics are
assigned to these
notes
 
1. Absolute Seq. VS Trend
 
The absolute sequences are not useful for us.
 
Trend is more suitable because melody is more like a
sequence of changing pitch differences but not a sequence of
absolute pitches.
 
8
pitches, durs, tones
Pairwise differences
tones
tone trend
Similar procedure for computing the trends of pitches and durs
 
1. Frequent Pattern (FP)
 
We are interested in the correlations between melodies and
lyrics.
 
These correlations can be represented by
 
“fps of the tone trend and pitch trend”
                         and
“fps of the tone trend and duration trend”.
 
9
 
1. Specific Frequent Threshold
 
10
In song 1, the
support of <c,b> is 3
In song 4, the
support of <c,b> is 3
1.
Specific Frequent
Threshold is set to be 3
<c,b> is specific
frequent w.r.t. song 1
<c,b> is specific
frequent w.r.t. song 4
 
11
1.
Specific Frequent
Threshold is set to be 3
2.
Overall Frequent
Threshold is set to be 2
<c,b> is specific
frequent w.r.t. song 1
<c,b> is specific
frequent w.r.t. song 4
<c,b> is overall frequent w.r.t. the
sequence database
 
1. Overall Frequent Threshold
 
1. Original Method: Mining FPs from
songs
 
12
Mining FPs
from songs
It cannot mine FPs from
instrumental compositions.
 
1. New method: Mining FPs from plain
music (Method 1)
 
Method emphasizing the original fps
 
13
Tone trend
Pitch trend
A frequent
pattern
 
FP database (General)
 
FP database (Style)
 
Frequent pitch trends (Style)
A frequent
pitch trend
 
Mine freq.
pitch trends
FP database (Style) is a subset of FP
database (General)
 
1. New method: Mining FPs from plain
music (Method 2)
Method emphasizing the newly mined frequent pitch trends
 
14
Tone trend
Pitch trend
A frequent pattern with length = 
l
 
FP database (Style)
 
Frequent pitch trends (Style)
 
Mine freq. pitch
trends
 
FP database (General)
 
+
 
+
 
=
 
+
 
+
 
We find that
 
We guess
 
=
 
+
 
+
We fill the tone
tread      of      by
A frequent pitch trend with length 
l
FPs with length = 
l
FPs with length < 
l
FPs with length << 
l
Shorter FPs
Even shorter FPs
Goal
: Fill the tone trend for all the freq. pitch
trends
A new FP !
 
2. Construct Pitch Seq. from pitch trend
 
Pitch trend = 
< 
3
, 
2
, 
3
, 
0
, 
0
, 
1
, − 
1
, 
0
, 
0
, 
1
>
 
 
 
 
 
 
 
15
Generate from
the ending
note
Diff. in sofa
name = 
1
Diff. in sofa
name = 
-3
Diff. in sofa
name = 
3
This melody is
in C major.
Obtained based on the tone
trend of the input lyrics
 
2. Composing Melody using fps in
Different Language
 
Goals
: Use the fps mined from songs with lyrics in language L
1
to compose the melody with the user-input lyrics in language
L
2
.
Do a tone mapping of the tones from L
2
 to L
1
.
 
L
2
 tone sequence       L
1
 tone sequence
 
16
Language of user-input lyrics
Language of songs
Thai
Cantonese
Example:
 
2. Cantonese Tones and Thai Tones
 
17
Use the greedy algorithm to find the similar pairs.
 
2. Map the Thai tones to the Cantonese
tones
 
18
Between the tone digit of
the Thai tones and that of
the Cantonese tones
The 4
th
 Thai tones
is assigned to 2
Cantonese tones
With this mapping, we can transform the Thai
tone sequence to the Cantonese tone sequence
 
2. Map the Japanese tones to the
Cantonese tones
 
19
lowest
highest
High pitch tone
Low pitch tone
l
h
 
2. Existing Method: Random mapping
 
20
 
< 1, 0, 1, 1, 0, 1 >
Japanese tone seq.
 
< 5, 1, 4, 3, 0, 4 >
A possible Cantonese tone seq.
 
< 4, 2, 5, 3, 1, 5 >
An other possible Cantonese tone seq.
Tone mapping
Its tone trend <-4,3,-1,-3,4 > 
does not 
appear in
the fp database
Its tone trend <-2,3,-2,-2,4 > 
does 
appear in the
fp database
There is a fp with tone tread = <-2,3,-2,-2,4 > in
the fp database!
Conclusion
: We should map 
< 1, 0, 1, 1, 0, 1 > to
< 4, 2, 5, 3, 1, 5 > !
Random mapping cannot do this for us!
 
2. A lemma
 
21
 
Lemma 1: A Cantonese tone trend can be generated from at most 4 Japanese tone sequences,
no matter how long the Cantonese tone trend is.
A Cantonese
tone seq.
 
Tone mapping
A Cantonese
tone trend
 
Pairwise diff.
A Cantonese
tone seq.
A Cantonese
tone seq.
A Jap. tone seq.
A Cantonese
tone seq.
A Jap. tone seq.
A Jap. tone seq.
A Jap. tone seq.
< l, l, l, l, l, l >
< h, l, h, h, l, l >
< h, h, h, h, l, h >
< h, h, h, h, h, h >
< 5, 4, 5, 5, 3, 4 >
< 4, 3, 4, 4, 2, 3 >
< 3, 2, 3, 3, 1, 2 >
< 2, 1, 2, 2, 0, 1 >
< − 1 , 1 , 0 , − 2 , 1>
Example
Generated from FP
database
 
2. New method: Optimal mapping
 
22
 
FP database (Cantonese)
Cantonese Tone trend
Sofa trend
A frequent
pattern
 
Japanese tone seqs.
 
Size: 4X of FP database (Cantonese)
Japanese tone seq.
Japanese lyrics
 
Input
Find the at most 4
Japanese tone seqs. of
each Cantonese tone trend
Japanese tone seq.
 
Conclusion
 
A demo video
https://vimeo.com/209610916
 
Thank You
 
23
Slide Note
Embed
Share

The research paper presented by Coleman Yu and Raymond Chi-Wing Wong delves into the development of a melody composer capable of creating compositions for both tonal and non-tonal languages. The study explores the use of Mining Frequent Patterns (FPs) to compose melodies for lyrics, examining the differences in tonality between languages and the correlation between melodies and lyrics. Through the analysis of tone contours, representations, absolute sequences, and frequent patterns, the researchers aim to enhance understanding and capability in music composition across diverse linguistic contexts.

  • Melody Composition
  • Tonal Languages
  • Non-Tonal Languages
  • Frequent Patterns
  • Music Research.

Uploaded on Oct 02, 2024 | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

E N D

Presentation Transcript


  1. A Melody Composer for both Tonal and Non-Tonal Languages Coleman Yu, Raymond Chi-Wing Wong The Hong Kong University of Science and Technology cyuab@cse.ust.hk, raywong@cse.ust.hk ICMC 2017 (16-10-2017) Presented by Coleman The paper and this slide can be found in http://www.cse.ust.hk/~raywong/. 1

  2. Introduction Output Input Output Input 2

  3. Architecture I am happy. Using FPs to compose melody for the lyrics Mining Freq. Patterns (FPs) Songs FPs melody Melody Songs lyrics Lyrics I want to own a song. 3

  4. Outline Lyrics is absent 1. Mining Frequent Patterns Mining FPs from both songs and instrumental compositions Original New 2. Composing Melody Compose Melody for Tonal and Non-Tonal languages Original New 4

  5. 1. Tonal and Non-Tonal Languages In non-tonal languages, using different tones to pronounce the same phonetic will not change their meanings. E.g. men (men) Pronounced at different tones will alter the meanings of si In tonal languages, opposite condition. 5

  6. 1. Tone Contour and Tone Digit 6

  7. 1. Representation No lyrics are assigned to these notes 7

  8. 1. Absolute Seq. VS Trend pitches, durs, tones The absolute sequences are not useful for us. Trend is more suitable because melody is more like a sequence of changing pitch differences but not a sequence of absolute pitches. tone trend tones Pairwise differences Similar procedure for computing the trends of pitches and durs 8

  9. 1. Frequent Pattern (FP) We are interested in the correlations between melodies and lyrics. These correlations can be represented by fps of the tone trend and pitch trend and fps of the tone trend and duration trend . 9

  10. 1. Specific Frequent Threshold is set to be 3 1. Specific Frequent Threshold In song 1, the support of <c,b> is 3 <c,b> is specific frequent w.r.t. song 1 In song 4, the support of <c,b> is 3 <c,b> is specific frequent w.r.t. song 4 10

  11. 1. Specific Frequent Threshold is set to be 3 Overall Frequent Threshold is set to be 2 1. Overall Frequent Threshold 2. <c,b> is specific frequent w.r.t. song 1 <c,b> is specific frequent w.r.t. song 4 <c,b> is overall frequent w.r.t. the sequence database 11

  12. 1. Original Method: Mining FPs from songs Mining FPs from songs Songs FPs It cannot mine FPs from instrumental compositions. 12

  13. 1. New method: Mining FPs from plain music (Method 1) Method emphasizing the original fps A frequent pattern FP database (Style) is a subset of FP database (General) FP database (General) Tone trend Pitch trend FP database (Style) Frequent pitch trends (Style) Mine freq. pitch trends Plain music with style A frequent pitch trend 13

  14. 1. New method: Mining FPs from plain music (Method 2) Goal: Fill the tone trend for all the freq. pitch trends Method emphasizing the newly mined frequent pitch trends A frequent pattern with length = l FP database (General) Tone trend Pitch trend FP database (Style) + + FPs with length << l FPs with length = l FPs with length < l Frequent pitch trends (Style) Even shorter FPs Shorter FPs Mine freq. pitch trends A new FP ! We fill the tone tread of by Plain music with style = + + We find that We guess + = + 14 A frequent pitch trend with length l

  15. Obtained based on the tone trend of the input lyrics 2. Construct Pitch Seq. from pitch trend Pitch trend = < 3, 2, 3, 0, 0, 1, 1, 0, 0, 1> Generate from the ending note Diff. in sofa name = 1 This melody is in C major. Diff. in sofa name = 3 Diff. in sofa name = -3 15

  16. 2. Composing Melody using fps in Different Language Goals: Use the fps mined from songs with lyrics in language L1 to compose the melody with the user-input lyrics in language L2. Do a tone mapping of the tones from L2 to L1. L2 tone sequence L1 tone sequence Language of songs Language of user-input lyrics Example: 16 Thai Cantonese

  17. 2. Cantonese Tones and Thai Tones Use the greedy algorithm to find the similar pairs. 17

  18. 2. Map the Thai tones to the Cantonese tones Between the tone digit of the Thai tones and that of the Cantonese tones The 4th Thai tones is assigned to 2 Cantonese tones With this mapping, we can transform the Thai tone sequence to the Cantonese tone sequence 18

  19. 2. Map the Japanese tones to the Cantonese tones lowest Low pitch tone l High pitch tone h highest 19

  20. 2. Existing Method: Random mapping Its tone trend <-4,3,-1,-3,4 > does not appear in the fp database A possible Cantonese tone seq. < 5, 1, 4, 3, 0, 4 > Japanese tone seq. < 1, 0, 1, 1, 0, 1 > < 4, 2, 5, 3, 1, 5 > Tone mapping An other possible Cantonese tone seq. Its tone trend <-2,3,-2,-2,4 > does appear in the fp database Conclusion: We should map < 1, 0, 1, 1, 0, 1 > to < 4, 2, 5, 3, 1, 5 > ! There is a fp with tone tread = <-2,3,-2,-2,4 > in the fp database! Random mapping cannot do this for us! 20

  21. Lemma 1: A Cantonese tone trend can be generated from at most 4 Japanese tone sequences, no matter how long the Cantonese tone trend is. 2. A lemma A Cantonese tone seq. A Jap. tone seq. A Cantonese tone seq. A Jap. tone seq. A Cantonese tone trend A Cantonese tone seq. A Jap. tone seq. A Cantonese tone seq. A Jap. tone seq. Pairwise diff. Tone mapping Example < 2, 1, 2, 2, 0, 1 > < l, l, l, l, l, l > < h, l, h, h, l, l > < 3, 2, 3, 3, 1, 2 > < 1 , 1 , 0 , 2 , 1> < h, h, h, h, l, h > < 4, 3, 4, 4, 2, 3 > < h, h, h, h, h, h > < 5, 4, 5, 5, 3, 4 > 21

  22. 2. New method: Optimal mapping Size: 4X of FP database (Cantonese) Generated from FP database Japanese tone seqs. FP database (Cantonese) A frequent pattern Cantonese Tone trend Sofa trend Input Japanese lyrics Japanese tone seq. Find the at most 4 Japanese tone seqs. of each Cantonese tone trend Japanese tone seq. 22

  23. Conclusion A demo video https://vimeo.com/209610916 Thank You 23

More Related Content

giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#giItT1WQy@!-/#