126 research outputs found

    Chord-Conditioned Melody Choralization with Controllable Harmonicity and Polyphonicity

    Full text link
    Melody choralization, i.e. generating a four-part chorale based on a user-given melody, has long been closely associated with J.S. Bach chorales. Previous neural network-based systems rarely focus on chorale generation conditioned on a chord progression, and none of them realised controllable melody choralization. To enable neural networks to learn the general principles of counterpoint from Bach's chorales, we first design a music representation that encoded chord symbols for chord conditioning. We then propose DeepChoir, a melody choralization system, which can generate a four-part chorale for a given melody conditioned on a chord progression. Furthermore, with the improved density sampling, a user can control the extent of harmonicity and polyphonicity for the chorale generated by DeepChoir. Experimental results reveal the effectiveness of our data representation and the controllability of DeepChoir over harmonicity and polyphonicity. The code and generated samples (chorales, folk songs and a symphony) of DeepChoir, and the dataset we use now are available at https://github.com/sander-wood/deepchoir.Comment: 7 pages, 4 figures, 2 table

    TunesFormer: Forming Irish Tunes with Control Codes by Bar Patching

    Full text link
    This paper introduces TunesFormer, an efficient Transformer-based dual-decoder model specifically designed for the generation of melodies that adhere to user-defined musical forms. Trained on 214,122 Irish tunes, TunesFormer utilizes techniques including bar patching and control codes. Bar patching reduces sequence length and generation time, while control codes guide TunesFormer in producing melodies that conform to desired musical forms. Our evaluation demonstrates TunesFormer's superior efficiency, being 3.22 times faster than GPT-2 and 1.79 times faster than a model with linear complexity of equal scale while offering comparable performance in controllability and other metrics. TunesFormer provides a novel tool for musicians, composers, and music enthusiasts alike to explore the vast landscape of Irish music. Our model and code are available at https://github.com/sander-wood/tunesformer.Comment: 5 pages, 3 figures, 1 tabl

    Effects of different chemical materials and cultural methods on growth and yield of winter wheat

    Get PDF
    To determine the effects of different chemical and cultural methods on the growth of winter wheat, six treatments were carried out: Conservational irrigation, non-irrigation, water absorbent polymers (WAP), liquid mulching film (LMF), water-saving irrigation (WSI) and subsoiling tillage (SST). The results show that winter wheat could use more water from soil profile though WAP, LMF and SST treatments; only LMF could use extra water for yield while both WAP and SST could not increase yield. SST could not increase yield of winter wheat. Both LMF and WAP treatments could help in maintaining leaf chlorophyll content and leaf water content which may help in maintaining photosynthetic ability in late growing periods. Furthermore, more dry matter partitioning to reproductive organs is observed in LMF and WAP treatments. LMF might be favorable for yield when grown under lower soil moisture conditions, while the application of WAP might not help in yield producing in field both in high or low soil moisture conditions. A reasonable irrigation quantity may be needed when applying WAP, while LMF could be used in any meteorological and/or soil water conditions.Keywords: Winter wheat, water absorbent polymers, liquid mulching film, subsoiling tillageAfrican Journal of Biotechnology Vol. 12(36), pp. 5522-552

    MixPoet: Diverse Poetry Generation via Learning Controllable Mixed Latent Space

    Full text link
    As an essential step towards computer creativity, automatic poetry generation has gained increasing attention these years. Though recent neural models make prominent progress in some criteria of poetry quality, generated poems still suffer from the problem of poor diversity. Related literature researches show that different factors, such as life experience, historical background, etc., would influence composition styles of poets, which considerably contributes to the high diversity of human-authored poetry. Inspired by this, we propose MixPoet, a novel model that absorbs multiple factors to create various styles and promote diversity. Based on a semi-supervised variational autoencoder, our model disentangles the latent space into some subspaces, with each conditioned on one influence factor by adversarial training. In this way, the model learns a controllable latent variable to capture and mix generalized factor-related properties. Different factor mixtures lead to diverse styles and hence further differentiate generated poems from each other. Experiment results on Chinese poetry demonstrate that MixPoet improves both diversity and quality against three state-of-the-art models.Comment: 8 pages, 5 figures, published in AAAI 202

    An Extensible Plug-and-Play Method for Multi-Aspect Controllable Text Generation

    Full text link
    Recently, multi-aspect controllable text generation that controls the generated text in multiple aspects (e.g., sentiment, topic, and keywords) has attracted increasing attention. Although methods based on parameter efficient tuning like prefix-tuning could achieve multi-aspect controlling in a plug-and-play way, the mutual interference of multiple prefixes leads to significant degeneration of constraints and limits their extensibility to training-time unseen aspect combinations. In this work, we provide a theoretical lower bound for the interference and empirically found that the interference grows with the number of layers where prefixes are inserted. Based on these analyses, we propose using trainable gates to normalize the intervention of prefixes to restrain the growing interference. As a result, controlling training-time unseen combinations of aspects can be realized by simply concatenating corresponding plugins such that new constraints can be extended at a lower cost. In addition, we propose a unified way to process both categorical and free-form constraints. Experiments on text generation and machine translation demonstrate the superiority of our approach over baselines on constraint accuracy, text quality, and extensibility.Comment: long paper, accepted by ACL 2023 (main conference
    • …
    corecore