{
    "article_id": 1573,
    "public_id": "f9d37d3f-5b3f-4ff4-856b-e308ceeddd53",
    "internal_identifier": null,
    "source_identifier": "99:17",
    "status": "published",
    "type": "research_article",
    "title": "Comparative Analysis of cVAE, cGAN, and LSTM Models for Music Generation Based on Weather Conditions",
    "title_secondary": null,
    "abstract": "Generative Artificial Intelligence is gaining popularity every day and uses contextual data to personalize and enhance user experiences. This paper explores music generation that is conditioned on weather. It influences musical compositions by connecting MIDI music data with corresponding weather attributes, for example sunny and cloudy weather. In this paper, three generative models are compared for the task of weather based music generation; Conditional Variational Autoencoder (cVAE), a Conditional Generative Adversarial Network (cGAN) and Long Short-Term Memory (LSTM) network. Mentioned models are implemented and trained on combination of large MIDI corpus with historical weather information. Performance of models in this paper are evaluated using metrics that capture musical diversity and quality, such as pitch range, unique pitches and pitch variance, and for fidelity to real data is measured by mean squared error and KL divergence. Results of the paper showed that the cVAE produced the most diverse music for music that is context sensitive. Using cVAE in this approach helped the model in achieving the widest pitch range and variety of notes with low error. Runner ups in this comparison was cGAN that generated relevant music, but with slightly less diversity while LSTM showed higher error and inability to integrate the weather context. Contributions to this work is made of the first comparative analysis of these architectures for weather based music generation, exploration of their strength and limits and evidence that environmental data can be used to influence AI generated music. Results showed the relevance of blending weather data with music generation which can serve as a foundation for applications such as adaptive game soundtracks, mood based music therapy or dynamic background music that is being generated according to the user's environment.",
    "language": "en",
    "english_title": null,
    "english_abstract": null,
    "doi": "10.36287/setsci.22.11.001",
    "doi_url": "https://doi.org/10.36287/setsci.22.11.001",
    "resource_url": "https://www.set-science.com/a/f9d37d3f-5b3f-4ff4-856b-e308ceeddd53",
    "pdf_url": "https://www.set-science.com/a/f9d37d3f-5b3f-4ff4-856b-e308ceeddd53/pdf",
    "og_image": "https://www.set-science.com/assets/img/og-card-v2.png",
    "authors": [
        {
            "public_id": "a6232082-ee66-40d5-81d2-900ccdb5c4f2",
            "given": "Nedim",
            "family": "Karavdić",
            "full": "Nedim Karavdić",
            "literal": null,
            "orcid": null,
            "orcid_url": null,
            "email": "nedim.karavdic@stu.ibu.edu.ba",
            "corresponding": false,
            "sequence": "first",
            "affiliations": [
                {
                    "name": "Department of Information Technology, International Burch University",
                    "department": null,
                    "country": null,
                    "country_code": null,
                    "ror": null,
                    "ror_url": null
                }
            ]
        },
        {
            "public_id": "d0c447ae-acec-4d28-9533-22b49ba71a60",
            "given": "Bećir",
            "family": "Isaković ",
            "full": "Bećir Isaković ",
            "literal": null,
            "orcid": null,
            "orcid_url": null,
            "email": "becir.isakovic@ibu.edu.ba",
            "corresponding": true,
            "sequence": "additional",
            "affiliations": [
                {
                    "name": "Department of Information Technology, International Burch University",
                    "department": null,
                    "country": null,
                    "country_code": null,
                    "ror": null,
                    "ror_url": null
                }
            ]
        }
    ],
    "keywords": [
        "Music Generation",
        "cVAE",
        "cGAN",
        "LSTM",
        "MIDI"
    ],
    "translations": [],
    "subjects": [],
    "subject_names": [],
    "published_date": "2025-07-10",
    "published_year": "2025",
    "received_date": null,
    "accepted_date": null,
    "volume": "22",
    "issue": null,
    "page_first": "89",
    "page_last": "95",
    "article_number": null,
    "conference": {
        "short_name": "ISADES2025",
        "full_title": "International Symposium on AI-Driven Engineering Systems",
        "name": "International Symposium on AI-Driven Engineering Systems",
        "acronym": "ISADES2025",
        "location": "Tokat, Türkiye",
        "start_date": "2025-06-19",
        "end_date": null,
        "public_id": "0936c2f4-e8ff-4682-8919-ec4c363cea84"
    },
    "proceedings": {
        "title": "International Symposium on AI-Driven Engineering Systems",
        "series_title": "SETSCI Conference Proceedings",
        "publisher": "SET Technology",
        "isbn": "978-625-95366-3-7",
        "eisbn": null,
        "issn": null,
        "eissn": "2687-5527",
        "doi": null,
        "doi_prefix": "10.36287",
        "slug": "setsci-volume-22-2025-legacy-99",
        "public_id": "77f81b26-3853-4a17-b403-3067c0db86c2",
        "url": "https://www.set-science.com/p/setsci-volume-22-2025-legacy-99"
    },
    "license": {
        "name": "CC BY 4.0",
        "url": "https://creativecommons.org/licenses/by/4.0/",
        "code": "CC-BY-4.0",
        "open_access": true
    },
    "copyright": {
        "holder": "SET Technology",
        "year": "2025"
    },
    "funding_statement": null,
    "funders": [],
    "references": [
        {
            "order": 1,
            "raw": "A. van den Oord, S. Dieleman, H. Zen, K. Simonyan, O. Vinyals, A. Graves, N. Kalchbrenner, A. Senior, and K. Kavukcuoglu, “WaveNet: A Generative Model for Raw Audio,” 2016.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 2,
            "raw": "G. Hadjeres, F. Pachet, and F. Nielsen, “DeepBach: a Steerable Model for Bach Chorales Generation,” 2017.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 3,
            "raw": "J. Engel, K. K. Agrawal, S. Chen, I. Gulrajani, C. Donahue, and A. Roberts, “GANSynth: Adversarial Neural Audio Synthesis,” 2019.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 4,
            "raw": "Z. Zheng, C. Cai, and Y. Zhang, “Real-Time Intelligent Big Data Processing: Technology, Platform, and Applications,” 2019.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 5,
            "raw": "A. N. Navaz and T. Karthikeyan, “Real-Time Data Streaming Algorithms and Processing Technologies: A Survey,” 2019.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 6,
            "raw": "J.-P. Briot, G. Hadjeres, and F.-D. Pachet, “Deep Learning Techniques for Music Generation,” 2020.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 7,
            "raw": "P. Dhariwal, H. Jun, C. Payne, J. W. Kim, A. Radford, and I. Sutskever, “Jukebox: A Generative Model for Music,” 2020.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 8,
            "raw": "W. X. Zhao, Y. Wu, J. Liu, and J. Xu, “Retrieval-Augmented Generation for AI-Generated Content: A Survey,” 2023.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 9,
            "raw": "J. Wen and K. M. Ting, “Computational Intelligence Techniques for Music Composition: A Review,” 2023.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 10,
            "raw": "Google Cloud, “Enabling Real-Time AI with Streaming Ingestion in Vertex AI,” 2022. [Online]. Available: https://cloud.google.com/blog/products/ai-machine-learning/real-time-ai-with-streaming-ingestion-in-vertex-ai",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 11,
            "raw": "Y. Zhao, X. Wang, and C. Liu, “Domain Adversarial Training on Conditional VAE for Controllable Music Generation,” 2022.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 12,
            "raw": "D. Conner, T. Johnson, and K. Lee, “Music Generation Using LSTM Networks for Sequence Modeling,” 2022.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 13,
            "raw": "Lakh MIDI Dataset.",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        },
        {
            "order": 14,
            "raw": "Historical Hourly Weather Data 2012-2017",
            "doi": null,
            "title": null,
            "authors": null,
            "source": null,
            "year": null,
            "volume": null,
            "pages": null
        }
    ],
    "statements": {
        "acknowledgements": null,
        "conflict_of_interest": null,
        "data_availability": null,
        "ai_disclosure": null
    },
    "credit": [],
    "history": {
        "published": "2025-07-10"
    }
}