Deep Metric Learning with Tuplet Margin Loss

Total Page:16

File Type:pdf, Size:1020Kb

Deep Metric Learning with Tuplet Margin Loss Deep Metric Learning with Tuplet Margin Loss Baosheng Yu and Dacheng Tao UBTECH Sydney AI Centre, School of Computer Science, Faculty of Engineering, The University of Sydney, Darlington, NSW 2008, Australia {baosheng.yu, dacheng.tao}@sydney.edu.au Abstract ¯ =0 ¯>0 x Deep metric learning, in which the loss function plays a p ¢ x ) ni key role, has proven to be extremely useful in visual recog- ¯ ¡ xa xa ap nition tasks. However, existing deep metric learning loss µ functions such as contrastive loss and triplet loss usually cos( x ¡ n i x i an p rely on delicately selected samples (pairs or triplets) for fast µ cos ¡ convergence. In this paper, we propose a new deep metric s learning loss function, tuplet margin loss, using randomly e 1 selected samples from each mini-batch. Specifically, the proposed tuplet margin loss implicitly up-weights hard sam- Easy 0 Hard ples and down-weights easy samples, while a slack margin cosµan cos(µap ¯) in angular space is introduced to mitigate the problem of i ¡ ¡ overfitting on the hardest sample. Furthermore, we address the problem of intra-pair variation by disentangling class- specific information to improve the generalizability of tu- Figure 1: An illustration of tuplet margin loss function. plet margin loss. Experimental results on three widely used Given a tuplet (xa,xp,xn1 ,...,xnk−1 ), tuplet margin loss deep metric learning datasets, CARS196, CUB200-2011, exponentially up-weights hard triplets and down-weights and Stanford Online Products, demonstrate significant im- easy triplets within the tuplet. Specifically, the loss of each provements over existing deep metric learning methods. triplet (xa,xp,xni ) is defined by the scale factor s> 1 and the violate margin cos θani −cos θap. A slack margin β > 0 is used to mitigate the problem of overfitting on the hard- 1. Introduction est triplets by paying more attention to “moderately hard triplets” (the shaded area). See more details in Section 3.3. Deep metric learning focuses on learning a deep feature embedding consistent with semantic similarity, i.e., a small intra-class variation and a large inter-class variation [38, backs. Specifically, classification-based loss functions usu- 35]. It has been proven that deep metric learning methods ally use a classification layer or a reference point for each are extremely valuable in visual recognition tasks such as class [36], in which both the computation and the require- one-shot learning [5, 29], image retrieval [9, 18], person re- ments on device memory increase linearly with the num- identification [39, 12], and face recognition [27, 23]. With ber of classes [8]. Recently, several methods such as dy- the growing scale of training data, i.e., both the number namic class selection [43] and distributed parallel accelera- of samples and classes, deep metric learning loss function tion [4] have been developed to relieve the computation and has attracted more and more attention in large-scale visual memory bottlenecks in classification-based loss functions, recognition tasks [23, 17]. while the discussion of approximation algorithms for mas- Deep metric learning loss function can be divided into sive classification is beyond the scope of this paper. Re- two main groups: (1) classification-based loss functions, gardless of the heavy classification layer or massive ref- e.g., large-margin softmax loss [14] and center loss [36]; erence points, distance-based loss functions directly opti- and (2) distance-based loss functions, e.g., contrastive mize the margin between intra- and inter-class distances, loss [2, 27] and triplet loss [24, 23]. However, existing and are independent with the number of classes [23]. How- loss functions usually suffer from several inherent draw- ever, existing distance-based loss functions, e.g., triplet loss, 16490 ing only a set of randomly sampled tuplets. Inspired by the 푥 푥 푥# 푥$ 푥 푥% $& & & # # # focal loss for object detection [13], we exponentially up- weight hard triplets and down-weight easy triplets within 푥 푥 푥 푥$ 푥 푥% $$ $ #$ $ $ $ each tuplet (see an example in Figure 1). However, the ex- ponential weighting scheme usually tends to form a rela- tively large margin between the intra- and inter-class dis- 휎 휏 ! tances by overfitting the hardest triplet in each tuplet. To 휎 " solve this problem, we introduce a slack margin in angular (a) (b) space to pay more attention to “moderately hard triplets” rather than “the hardest triplets” [23]. An intuitive example of the slack margin for changing the weighting scheme is Figure 2: An illustration of intra-pair variation. The height shown in Figure 1. of each bar indicates pairwise distance, i.e., color-fill bar Distance-based loss functions, including the proposed for positive pair and pattern-fill bar for negative pair. In tuplet margin loss, focus on optimizing the margin between both (a) and (b), there is a clear margin between positive intra- and inter-class distances by penalizing the margin and negative pairs, i.e., we have ∀i = 1, 2, d(xai ,xpi ) < between positive and negative pairs with the same anchor . However, in (a), the distance metric on each d(xai ,xni ) point, while leaving a risk of learning a class-dependent dis- specific type of pairs (positive or negative pairs) varies tance metric from the training set. A class-dependent dis- among different classes, i.e., the distribution of pairwise tance metric indicates that the distance distribution of posi- distance is class-dependent on training set. Comparing with tive pairs (or negative pairs) varies among different classes, the class-independent distribution shown in (b), the intra- which has not been well-addressed in previous work [1]. pair variation increases the risk of failing to find a proper We refer to the variation within each type of pairs (pos- threshold τ to separate all positive and negative pairs and itive or negative pairs) as the intra-pair variation, and ar- degrades the performance for visual recognition such as ver- gue that the intra-pair variation degrades the generalizabil- ification task. A class-independent distance metric can be ity of deep metric learning model. An intuitive failure case learned by minimizing the intra-pair variances, i.e., σap for induced by the intra-pair variation is shown in Figure 2. positive pairs and σan for negative pairs. See more details To solve this problem, we disentangle the intra-pair vari- in Section 3.4. ation from intra/inter-class variation and try to learn a class- independent distance metric by minimizing the intra-pair variances in both positive and negative pairs. usually suffer from the problem of slow convergence, and In this paper, our main contribution is a new tuplet-based rely heavily on mining informative samples for fast conver- deep metric learning loss function: (1) we propose a tuplet gence [23, 8], raising a number of severe sampling prob- margin loss by using a set of randomly selected samples, lems: (1) the number of possible triplets grows cubically which is computationally more efficient than explicitly min- with the number of training samples [8]; (2) mining in- ing informative samples; (2) we introduce a slack margin to formative triplets tends to be difficult, e.g., both randomly address the problem of overfitting on the hardest sample; selected triplets and the hardest triplets lead to bad local and (3) we address the problem of intra-pair variation to minima [23, 6]; and (3) the training stability benefits from further improve the generalizability of deep metric learn- large mini-batches, in which cross-device synchronization ing model. Specifically, with the proposed tuplet margin is a non-trivial engineering task [23, 17]. loss, we achieve the state-of-the-art results on three widely Recently, significant improvements on distance-based used deep metric learning datasets, i.e., CARS196 [11], loss function have been achieved by using the notation of CUB200-2011 [30], and Stanford Online Products [18]. tuplet, which generalizes a triplet with multiple negative examples to form a better approximation of inter-class dis- 2. Related Work tance [18, 25, 17]. Although delivering impressive perfor- mance improvements, tuplet-based loss functions further Classification-based Loss Function. Feature embeddings exacerbate the sampling problems, because the computa- learned by the classification loss generalize well to a vari- tional complexity exponentially increases with the number ety of visual recognition tasks [21, 40]. Inspired by this, of negative examples. Therefore, here we develop a new center loss [36] and large-margin softmax loss [14] have tuplet-based loss function, tuplet margin loss, using a set of been proposed to further improve the discriminability of randomly sampled tuplets. Unlike previous distance-based classification-based loss function. Specifically, center loss loss functions [18, 25], in which informative samples are minimizes the distance between each example and its class explicitly selected by sampling heuristics, we address infor- center, forming a class-dependent constraint. Large-margin mative samples from the view of loss function, while us- softmax loss has since been significantly improved by both 6491 푛 512푑 푥- 푥. 푥/0 푥/1 * * 푥/230 1 2 + ⋯ + * + ⋯ + 푘 … ⋯ * 푘푛(푛 − 1) + ⋯ + Batch CNNs Embedding Random Tuplet Selection Tuplet Margin Loss Figure 3: An illustration of the tuplet-based deep metric learning framework. We first randomly sample a mini-batch of training data, which contains kn training samples from k different classes, i.e., n samples per class. The deep neural network is used to learn a fixed-dimensional feature embedding, e.g, 512d. We then construct a set of tuplets using all kn(n − 1) positive pairs within the mini-batch and negative examples are randomly sampled from each of the other k − 1 classes. Finally, the loss function is evaluated on the tuplets constructed from each mini-batch.
Recommended publications
  • Music Notation As a MEI Feasibility Test
    Music Notation as a MEI Feasibility Test Baron Schwartz University of Virginia 268 Colonnades Drive, #2 Charlottesville, Virginia 22903 USA [email protected] Abstract something more general than either notation or performance, but does not leave important domains, such as notation, up to This project demonstrated that enough information the implementer. The MEI format’s design also allows a pro- can be retrieved from MEI, an XML format for mu- cessing application to ignore information it does not need and sical information representation, to transform it into extract the information of interest. For example, the format in- music notation with good fidelity. The process in- cludes information about page layout, but a program for musical volved writing an XSLT script to transform files into analysis can simply ignore it. Mup, an intermediate format, then processing the Generating printed music notation is a revealing test of MEI’s Mup into PostScript, the de facto page description capabilities because notation requires more information about language for high-quality printing. The results show the music than do other domains. Successfully creating notation that the MEI format represents musical information also confirms that the XML represents the information that one such that it may be retrieved simply, with good recall expects it to represent. Because there is a relationship between and precision. the information encoded in both the MEI and Mup files and the printed notation, the notation serves as a good indication that the XML really does represent the same music as the notation. 1 Introduction Most uses of musical information require storage and retrieval, 2 Methods usually in files.
    [Show full text]
  • Automated Analysis and Transcription of Rhythm Data and Their Use for Composition
    Automated Analysis and Transcription of Rhythm Data and their Use for Composition submitted by Georg Boenn for the degree of Doctor of Philosophy of the University of Bath Department of Computer Science February 2011 COPYRIGHT Attention is drawn to the fact that copyright of this thesis rests with its author. This copy of the thesis has been supplied on the condition that anyone who consults it is understood to recognise that its copyright rests with its author. This thesis may not be consulted, photocopied or lent to other libraries without the permission of the author for 3 years from the date of acceptance of the thesis. Signature of Author . .................................. Georg Boenn To Daiva, the love of my life. 1 Contents 1 Introduction 17 1.1 Musical Time and the Problem of Musical Form . 17 1.2 Context of Research and Research Questions . 18 1.3 Previous Publications . 24 1.4 Contributions..................................... 25 1.5 Outline of the Thesis . 27 2 Background and Related Work 28 2.1 Introduction...................................... 28 2.2 Representations of Musical Rhythm . 29 2.2.1 Notation of Rhythm and Metre . 29 2.2.2 The Piano-Roll Notation . 33 2.2.3 Necklace Notation of Rhythm and Metre . 34 2.2.4 Adjacent Interval Spectrum . 36 2.3 Onset Detection . 36 2.3.1 ManualTapping ............................... 36 The times Opcode in Csound . 38 2.3.2 MIDI ..................................... 38 MIDIFiles .................................. 38 MIDIinReal-Time.............................. 40 2.3.3 Onset Data extracted from Audio Signals . 40 2.3.4 Is it sufficient just to know about the onset times? . 41 2.4 Temporal Perception .
    [Show full text]
  • Interpreting Tempo and Rubato in Chopin's Music
    Interpreting tempo and rubato in Chopin’s music: A matter of tradition or individual style? Li-San Ting A thesis in fulfilment of the requirements for the degree of Doctor of Philosophy University of New South Wales School of the Arts and Media Faculty of Arts and Social Sciences June 2013 ABSTRACT The main goal of this thesis is to gain a greater understanding of Chopin performance and interpretation, particularly in relation to tempo and rubato. This thesis is a comparative study between pianists who are associated with the Chopin tradition, primarily the Polish pianists of the early twentieth century, along with French pianists who are connected to Chopin via pedagogical lineage, and several modern pianists playing on period instruments. Through a detailed analysis of tempo and rubato in selected recordings, this thesis will explore the notions of tradition and individuality in Chopin playing, based on principles of pianism and pedagogy that emerge in Chopin’s writings, his composition, and his students’ accounts. Many pianists and teachers assume that a tradition in playing Chopin exists but the basis for this notion is often not made clear. Certain pianists are considered part of the Chopin tradition because of their indirect pedagogical connection to Chopin. I will investigate claims about tradition in Chopin playing in relation to tempo and rubato and highlight similarities and differences in the playing of pianists of the same or different nationality, pedagogical line or era. I will reveal how the literature on Chopin’s principles regarding tempo and rubato relates to any common or unique traits found in selected recordings.
    [Show full text]
  • Chapter 1 "The Elements of Rhythm: Sound, Symbol, and Time"
    This is “The Elements of Rhythm: Sound, Symbol, and Time”, chapter 1 from the book Music Theory (index.html) (v. 1.0). This book is licensed under a Creative Commons by-nc-sa 3.0 (http://creativecommons.org/licenses/by-nc-sa/ 3.0/) license. See the license for more details, but that basically means you can share this book as long as you credit the author (but see below), don't make money from it, and do make it available to everyone else under the same terms. This content was accessible as of December 29, 2012, and it was downloaded then by Andy Schmitz (http://lardbucket.org) in an effort to preserve the availability of this book. Normally, the author and publisher would be credited here. However, the publisher has asked for the customary Creative Commons attribution to the original publisher, authors, title, and book URI to be removed. Additionally, per the publisher's request, their name has been removed in some passages. More information is available on this project's attribution page (http://2012books.lardbucket.org/attribution.html?utm_source=header). For more information on the source of this book, or why it is available for free, please see the project's home page (http://2012books.lardbucket.org/). You can browse or download additional books there. i Chapter 1 The Elements of Rhythm: Sound, Symbol, and Time Introduction The first musical stimulus anyone reacts to is rhythm. Initially, we perceive how music is organized in time, and how musical elements are organized rhythmically in relation to each other. Early Western music, centering upon the chant traditions for liturgical use, was arhythmic to a great extent: the flow of the Latin text was the principal determinant as to how the melody progressed through time.
    [Show full text]
  • UC Riverside Electronic Theses and Dissertations
    UC Riverside UC Riverside Electronic Theses and Dissertations Title Fleeing Franco’s Spain: Carlos Surinach and Leonardo Balada in the United States (1950–75) Permalink https://escholarship.org/uc/item/5rk9m7wb Author Wahl, Robert Publication Date 2016 Peer reviewed|Thesis/dissertation eScholarship.org Powered by the California Digital Library University of California UNIVERSITY OF CALIFORNIA RIVERSIDE Fleeing Franco’s Spain: Carlos Surinach and Leonardo Balada in the United States (1950–75) A Dissertation submitted in partial satisfaction of the requirements for the degree of Doctor of Philosophy in Music by Robert J. Wahl August 2016 Dissertation Committee: Dr. Walter A. Clark, Chairperson Dr. Byron Adams Dr. Leonora Saavedra Copyright by Robert J. Wahl 2016 The Dissertation of Robert J. Wahl is approved: __________________________________________________________________ __________________________________________________________________ __________________________________________________________________ Committee Chairperson University of California, Riverside Acknowledgements I would like to thank the music faculty at the University of California, Riverside, for sharing their expertise in Ibero-American and twentieth-century music with me throughout my studies and the dissertation writing process. I am particularly grateful for Byron Adams and Leonora Saavedra generously giving their time and insight to help me contextualize my work within the broader landscape of twentieth-century music. I would also like to thank Walter Clark, my advisor and dissertation chair, whose encouragement, breadth of knowledge, and attention to detail helped to shape this dissertation into what it is. He is a true role model. This dissertation would not have been possible without the generous financial support of several sources. The Manolito Pinazo Memorial Award helped to fund my archival research in New York and Pittsburgh, and the Maxwell H.
    [Show full text]
  • Feathered Beams in Cross-Staff Notation 3 Luke Dahn Step 1: on the Bottom Staff, Insert One 32Nd Rest; Trying to Fix This
    ® Feathered Beams in Cross-Staff Notation 3 Luke Dahn Step 1: On the bottom staff, insert one 32nd rest; Trying to fix this. then enter notes 2 through 8 as a tuplet: seven quarter notes in the space of seven 32nds. (Hide number œ and bracket on tuplet.) 4 #œ #œ œ & 4 Œ Ó œ 4 œ #œ œ œ & 4 bœ œ #œ Œ Ó ®bœ œ #œ Œ Ó Step 3: On the other staff (top here), insert the first note Step 2: Apply cross-staff and stem direction change to following by any random on the staff. (This note will be notes as appropriate. hidden, so a note off the staff will produce ledger lines.) #œ œ œ #œ œ œ #œ ‰ Œ Ó & œ & ®bœ œ #œ œ Œ Ó ®bœ œ #œ œ Œ Ó Step 4: Now hide the rests within beat 1 in top staff, and drag the second note to the place in the measure where the final note of the grouplet rests (the D here). Step 5: Feather and place the beaming as appropriate. * See note below. #œ #œ œ œ #œ #œ œ œ & œ Œ Ó œ Œ Ó ®bœ œ #œ œ Œ Ó ®bœ œ #œ œ Œ Ó & Step 7: Using the stem length tool, drag the stems of the quarter-note tuplets to the feathered beam as appropriate. The final note of the tuplet may need horizontal adjustment Step 6: Once the randomly inserted note is placed (step 4), to align with the end of the beam.
    [Show full text]
  • Guide to Programming with Music Blocks Music Blocks Is a Programming Environment for Children Interested in Music and Graphics
    Guide to Programming with Music Blocks Music Blocks is a programming environment for children interested in music and graphics. It expands upon Turtle Blocks by adding a collection of features relating to pitch and rhythm. The Turtle Blocks guide is a good place to start learning about the basics. In this guide, we illustrate the musical features by walking the reader through numerous examples. TABLE OF CONTENTS 1 Getting Started 2 Making a Sound 2.1 Note Value Blocks 2.2 Pitch Blocks 2.3 Chords 2.4 Rests 2.5 Drums 3 Programming with Music 3.1 Chunks 3.2 Musical Transformations 3.2.1 Step Pitch Block 3.2.2 Sharps and Flats 3.2.3 Adjust-Transposition Block 3.2.4 Dotted Notes 3.2.5 Speeding Up and Slowing Down Notes via Mathematical Operations 3.2.6 Repeating Notes 3.2.7 Swinging Notes and Tied Notes 3.2.8 Set Volume, Crescendo, Staccato, and Slur Blocks 3.2.9 Intervals and Articulation 3.2.10 Absolute Intervals 3.2.11 Inversion 3.2.12 Backwards 3.2.13 Setting Voice and Keys 3.2.14 Vibrato 3.3 Voices 3.4 Graphics 3.5 Interactions 4 Widgets 4.1 Monitoring status 4.2 Generating chunks of notes 4.2.1 Pitch-Time Matrix 4.2.2 The Rhythm Block 4.2.3 Creating Tuplets 4.2.4 What is a Tuplet? 4.2.5 Using Individual Notes in the Matrix 4.3 Generating rhythms 4.4 Musical Modes 4.5 The Pitch-Drum Matrix 4.6 Exploring musical proportions 4.7 Generating arbitrary pitches 4.8 Changing tempo 5 Beyond Music Blocks Many of the examples given in the guide have links to code you can run.
    [Show full text]
  • Non-Isochronous Meter: a Study of Cross-Cultural Practices, Analytic Technique, and Implications for Jazz Pedagogy
    NON-ISOCHRONOUS METER: A STUDY OF CROSS-CULTURAL PRACTICES, ANALYTIC TECHNIQUE, AND IMPLICATIONS FOR JAZZ PEDAGOGY JORDAN P. SAULL A DISSERTATION SUBMITTED TO THE FACULTY OF GRADUATE STUDIES IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF DOCTOR OF PHILOSOPHY GRADUATE PROGRAM IN MUSIC YORK UNIVERSITY TORONTO, ONTARIO December 2014 © Jordan Saull, 2014 ABSTRACT This dissertation examines the use of non-isochronous (NI) meters in jazz compositional and performative practices (meters as comprised of cycles of a prime number [e.g., 5, 7, 11] or uneven divisions of non-prime cycles [e.g., 9 divided as 2+2+2+3]). The explorative meter practices of jazz, while constituting a central role in the construction of its own identity, remains curiously absent from jazz scholarship. The conjunct research broadly examines NI meters and the various processes/strategies and systems utilized in historical and current jazz composition and performance practices. While a considerable amount of NI meter composers have advertantly drawn from the metric practices of non-Western music traditions, the potential for utilizing insights gleaned from contemporary music-theoretical discussions of meter have yet to fully emerge as a complimentary and/or organizational schemata within jazz pedagogy and discourse. This paper seeks to address this divide, but not before an accurate picture of historical meter practice is assessed, largely as a means for contextualizing developments within historical and contemporary practice and discourse. The dissertation presents a chronology of explorative meter developments in jazz, firstly, by tracing compositional output, and secondly, by establishing the relevant sources within conjunct periods of development i.e., scholarly works, relative academic developments, and tractable world music sources.
    [Show full text]
  • Metricsplit– Automated Notation of Rhythms, Adequate to a Metric Structure TECHNICAL REPORT
    metricSplit{ Automated Notation of Rhythms, Adequate to a Metric Structure TECHNICAL REPORT Markus Lepper semantics GmbH Baltasar Tranc´ony Widemann Programmiersprachen und Compilertechnik Technische Universit¨at Ilmenau 2017-03-31 urn:nbn:de:gbv:ilm1-2017200259 Zusammenfassung In der traditionellen Westeurop¨aischen Standard-Notation\ der Musik " ( Common Western Notation\, CWN) kann jeder als Folge von Dauernwerten " gegebener musikalischer Rhythmus mittels der grundlegenden Mittel der Dau- ernbeschreibung (Notensymbole, Verl¨angerungspunkte, Proportionalklammern, Halteb¨ogen) auf unendlich viele Weisen dargestellt werden. Ein musikalisches Metrum ist eine hierarchische Gliederung der Dauer eines Taktes in Unterintervalle. Ein Metrum schr¨ankt die Anzahl der m¨oglichen Notationen deutlich ein auf die ihm ad¨aquaten. Dies bedeutet: ergonomisch zweckm¨aßig fur¨ leichte Erfassbarkeit der ryhthmischen Gestalt als solcher und ihrer Stellung relativ in der Hierarchie des Metrums. Im Falle automatisch generierter Dauernfolgen, z.B. durch algorithmische Komposition oder computergestutzte¨ Analyse, erhebt sich das Problem der automatischen Berechnung solch ad¨aquater Darstellungen. Dies erledigt der Algorithmus metricSplit, der in dieser Schrift spezifiziert wird. Als vollst¨andige Funktion uber¨ alle m¨oglichen Eingaben ist er ohne ver¨offentlichte Vorl¨aufer. Die zu seiner Konstruktion und Beschreibung notwendigen Formalisierungen sollen auch beitragen zur allgemeinen Diskussion uber¨ Rollen und Eigenschaften von mathematischen Modellen in ¨asthetischen
    [Show full text]
  • A Beat-Oriented System of Rhythm Pedagogy
    Takadimi: A Beat-Oriented System of Rhythm Pedagogy Richard Hoffman, William Pelto, and John W. White tudents entering college in the 1990s are less well prepared in S many areas of fundamentals than were students of previous generations. This situation is not surprising given reductions in public school music education, a shift away from music making as a leisure time activity, and changing musical values. As a result, there are increasing numbers of students with the interest and tal- ent to study music at the college level who lack the requisite skills. Further, the teaching of these students is influenced by an emerg- ing egalitarian approach to higher education in which it is expected that all students, regardless of background, will be given every op- portunity to succeed. Students, administrators, and the circum- stances themselves demand pedagogic techniques that not only evaluate and hone basic skills, but effectively teach those skills to novices as well. These conditions present a particular challenge to music teach- ers in their efforts to teach rhythm skills. While most students be- gin college needing remediation or basic instruction, the level of rhythmic complexity at which they are expected to function contin- ues to increase. Teachers, therefore, need pedagogic techniques that address elementary skills and complex rhythmic concepts in order to provide a strong foundation for musicians who will practice their art well into the twenty-first century. Goals of Effective Rhythm Pedagogy In order to address these concerns, we propose the following goals for an effective rhythm pedagogy: Reprinted from Journal of Music Theory Pedagogy, vol 10 (1996) 7 – 30.
    [Show full text]
  • Uses for the Tuplets Over Barlines Plug-In in Sibelius Robin Walker February 5, 2020
    Uses for the Tuplets Over Barlines plug-in in Sibelius Robin Walker February 5, 2020 Practical uses for Tuplet Over Barlines (all examples provided by Robin Walker) Here are some practical applications for this plug-in. Mensural Notation In September 2017, Alexander Plötz published an article on the Scoring Notes blog, entitled: Use Dorico’s tuplets-over-barline feature for proper mensural notation In that article, Alexander explained how the ability to engrave tuplets over a barline enabled the engraver to reproduce the original period notation whereby the sounding duration of a note extended over a (sometimes hypothetical) barline, instead of using ties over a barline in the modern fashion. The article is well worth reading for an explanation of the technique. That technique is now available in Sibelius, using Tuplet Over Barlines. In the example attached, the locations where the plug-in has been used are highlit in yellow. In five cases, the plug-in has been used to engrave a dotted full note over a barline, so that the first full-note’s worth occurs before the barline, and the remaining half-note occurs at the beginning of the next bar: but only one dotted full note has been engraved. This is achieved by positioning a note or rest selection at the desired starting point of the dotted whole note, and asking the plug-in to create a tuplet of ratio 1:1 with unit length of a 1 dotted whole note. Note how the spacing of the second bar is correctly managed, so that blank space is maintained for the residual half-note, before the next note appears.
    [Show full text]
  • HORIZONTAL STRUCTURE One Way in Which Most Styles of Music Strive
    CHAPTER XI HORIZONTAL STRUCTURE One way in which most styles of music strive to satisfy the listener is to present repeating patterns which are easily recognized by the listener. Certainly this represents a connection between music and mathematics, although the mathematics involved here is not deep for the mostpart. Duration of Notes Time durations in music are often measured in beats, which are the temporal units by which music is notated. Frequently one beat represents the time interval by which one is prone to “count off” the passing of time while the music is performed, although this is not always the case. The most basic notational unit, of course, is the note, and the duration of the note is indicated by such things as note stems, dots, and tuplet designations. The durational names of notes in Western music is based on the whole note, which has a duration in beats (often four) dictated by the time signature (discussed below). Notes whose duration has proportion 1/2n,n∈ Z+ with the duration of the whole note are named according to that proportion. Thus, if the whole note has a certain duration in beats, then the half note has half that duration, the quarternotehas one fourth that duration, etc. In the situation where a whole note gets four beats, then a half note gets two beats and the sixty-fourth note represents one eighth of a beat. We will use the term durational note to mean a note distinguished by its duration, such as half note, quarter note, independent of its associated pitch.
    [Show full text]