Theses
M.S. Theses
- M.S.Audio-Free Timbre Classification with Text-Only TrainingPeter McCabeMar 2026
Text-only Training is a promising alternative machine learning paradigm for training multimodal models that does not require data from every modality. However, despite the potential of Text-only Training, its use as an approximation of, and replacement for, missing data for supervised learning in data-scarce environments remains under-explored. In this work I define the kinds of problems well suited to Text-only Training and examine techniques to label, generate, and design textbased training data. I address the Modality Gap’s effect on the performance of Text-only Training by extending and contrasting theoretically-justified methods with those commonly used in practice. I provide a case study on classifying subjective audio timbre descriptions based on three kinds of text-only training data, four models, and fourteen augmentation methods on eight audio-timbre datasets. Finally, my work shows that the Text-only Training paradigm successfully allows for the training of audio classifiers without real audio data, and lays the foundation for assessing Text-only Training in data-scarce supervised learning problems in general.
@mastersthesis{mccabe2026audiofree, author = {McCabe, Peter}, title = {Audio-Free Timbre Classification with Text-Only Training}, school = {Oregon State University}, address = {Corvallis, OR}, type = {M.S. thesis}, degree = {Master of Science in Artificial Intelligence}, year = {2026}, month = mar, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/graduate_thesis_or_dissertations/ff365f73j}, } - M.S.Time is Not on Your Side: Assessing the Value of Dynamic Audio Features for Static Music Emotion LabelsShaun LeibApr 2026
Related (1)
Music Emotion Recognition is an unsolved task within the field of Music Information Retrieval with a relatively stagnating state of the art. Within the problem there are two sub-tasks which we explore. Static emotion labeling considers a global predominant emotion label for the entire audio, whereas dynamic emotion labeling, or music emotion variance detection, considers emotion fluctuations over time. In our work, we analyze the embeddings of three pre-trained audio models (Wav2Vec 2.0, MERT, MAEST) in addition to handcrafted low/mid-level features to determine if temporally dynamic features can lead to higher performance on static emotion labels. Specifically, we examine if the information gained from dynamic features over temporally averaged global features from the same models lead to increased performance on statically labeled music. These experiments are performed utilizing the “Music Emotion Recognition next GEneration (MERGE)” dataset, a recently created music dataset which removes many of the issues prevalent in previous MER datasets. In addition, we test three levels of feature fusion in order to examine how our feature types interact, and we obtain the highest audio only performance on the MERGE dataset. Counter to our beliefs, we find that temporally dynamic features do not add additional information for static emotion labels.
@mastersthesis{leib2026time, author = {Leib, Shaun}, title = {Time is Not on Your Side: Assessing the Value of Dynamic Audio Features for Static Music Emotion Labels}, school = {Oregon State University}, address = {Corvallis, OR}, type = {M.S. thesis}, degree = {Master of Science in Artificial Intelligence}, year = {2026}, month = apr, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/graduate_thesis_or_dissertations/sb397j180}, } - M.S.Automatic Classification of Ultrasonic Harbor Porpoise Clicks in a Varying Noise EnvironmentDaniel De LeonJun 2022
This study compares three approaches in the design of an autonomous machine listening agent that predicts harbor porpoise ultrasonic echolocation clicks in diverse noise environments. Considering the temporal variations of noisy coastal ocean soundscapes which the harbor porpoises inhabit, we propose a leave-one-day-out (LODO) cross-validation strategy in the training of a random forest classifier that successfully addressed the covariate shift present in our time-series data. To evaluate the efficacy of our approach to capture signals in this noisy environment, we compare three preprocessing approaches and two deep learning architectures on our harbor porpoise click data. We find that feature extraction strategies of mel frequency cepstral coefficients (MFCC) and short time Fourier transform STFT outperformed our novel approach, the heterodyned-TKEO, which shifts down the ultrasonic signal to a lower frequency in the time domain. Building on these results, we seek to improve the robustness of our porpoise click classifier for a real world environment by implementing a second-stage stacked random forest ensemble on combinations of subsets of 42 CNN and LSTM base models that were trained from the folds of our LODO cross-validation and the three preprocessing approaches that were explored in this study. Our results demonstrate that experiments using the LODO cross-validation strategy reported a difference between the average fold accuracy and a held-out test accuracy of 6%, while training without cross-validation and the equal k-fold crossvalidation reported a 28.7% and 30.4% difference, respectively. From the three preprocessing approaches we implement, the models trained on MFCC produced the highest accuracy of 95.6% on the held-out test set while those trained on STFT and heterodyned-TKEO produced accuracies on the same held-out test set of 88.7% and 85.0%, respectively. Results from our stacked random forest show the greatest improvement in accuracy of 5.6% in the heterodyned-TKEO models while the STFT and MFCC models reported 4.5% and 1.9% improvements in accuracy, respectively. Highly varying noise environments are common across coastal areas inhabited by harbor porpoises. This study, with our proposed ensemble of different feature and model architectures, emphasizes the need to overcome such shifts in noise to design a robust porpoise click classifier that is ready for real-time deployment and able to generalize to all real world conditions.
@mastersthesis{deleon2022automatic, author = {De Leon, Daniel}, title = {Automatic Classification of Ultrasonic Harbor Porpoise Clicks in a Varying Noise Environment}, school = {Oregon State University}, address = {Corvallis, OR}, type = {M.S. thesis}, degree = {Master of Science in Computer Science}, year = {2022}, month = jun, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/graduate_thesis_or_dissertations/9k41zn95b}, }
M.S. Projects
- M.S.Towards Automatic Household Food Waste Measurement with the Smart Compost BinAidan BeeryDec 2025
Related (2)
The rising amounts of food waste across the world constitute an environmental, social, and economic disaster. Over 60% of food waste is generated by household consumers, yet we currently lack reliable means to quantify this waste. A lack of publicly available image datasets of commingled food waste has prohibited researchers from leveraging advances in computer vision for the task of automatic food waste measurement. We present an AI-assisted compost bin that automatically measures kitchen compost waste by collecting waste images alongside environmental and weight data. We streamline the food waste annotation routine, combining weighing and imaging into a single step and enabling users to verbally label these waste images using onboard automatic speech recognition. We provide a companion mobile application as a platform for both instancelevel food waste image annotation and an analytics dashboard to inform users of their waste habits. We will deploy 55 of these compost bins in a forthcoming field study to curate a large, novel dataset of commingled food waste images. Additionally, we explore the feasibility of using pretrained CLIP models for open-vocabulary food waste object detection and assess the viability of transferring a model trained on uneaten food images to compost image recognition tasks.
@mastersthesis{beery2025towards, author = {Beery, Aidan}, title = {Towards Automatic Household Food Waste Measurement with the Smart Compost Bin}, school = {Oregon State University}, address = {Corvallis, OR}, type = {M.S. project}, degree = {Master of Science in Computer Science}, year = {2025}, month = dec, advisor = {Donnelly, Patrick J.}, } - M.S.Machine Learning-Based Real-Time Canine Seizure Detection Using a Smart CollarAustin MartinSep 2025
Canine epilepsy affects 0.6–0.8% of the domestic dog population. Seizures are extraordinarily stressful events for both dogs and their owners. Caretakers must be constantly vigilant and manually track seizure events for veterinary diagnoses and treatment recommendations. Existing commercial pet wearables lack the multimodal sensing capabilities and real-time processing required for reliable seizure detection, and previously proposed methods to monitor epilepsy are surgically invasive and difficult to deploy outside of clinical settings. This master’s project presents a complete Internet-of-Things (IoT) system for continuous and non-invasive canine activity monitoring, designed as a foundation for future seizure detection research. The implemented system integrates four key components: (1) a custom smart collar built on Arduino Nano RP2040 Connect hardware, capturing eight sensor channels (3-axis accelerometer, 3-axis gyroscope, temperature, and microphone amplitude) at 20 Hz; (2) a React Native Android application providing real-time data visualization, manual activity labeling, and alert management; (3) a robust AWS cloud architecture utilizing IoT Core, S3, and DynamoDB for scalable data ingestion and storage; and (4) dual-path connectivity supporting both direct Wi-Fi transmission and Bluetooth Low Energy proxy routing through the mobile application. The cloud pipeline successfully processes sensor windows with less than 2second latency over Wi-Fi and less than 10-second latency via cellular backup. The mobile application enables one-tap activity labeling across six behavioral categories (rest, walk, run, play, sleep, and seizure), which will enable the creation of a structured dataset for machine learning development. Using feature engineering, the system extracts multiple timeand frequency-domain characteristics from each 5-second sensor window, preparing the data for future for supervised learning experiments using Amazon SageMaker. This project contributes a production-ready platform incorporating solutions for critical pet wearable requirements: power management strategies, robust connectivity handling, and a streamlined user experience design. The complete system generates properly labeled, multi-modal sensor data suitable for future research into canine seizure detection algorithms. While actual seizure data collection will require veterinary collaboration and extended field studies, the implemented infrastructure provides the necessary technological foundation for advancing automated canine health monitoring from research concept to practical deployment.
@mastersthesis{martin2025machine, author = {Martin, Austin}, title = {Machine Learning-Based Real-Time Canine Seizure Detection Using a Smart Collar}, school = {Oregon State University}, address = {Corvallis, OR}, type = {M.S. project}, degree = {Master of Science in Computer Science}, year = {2025}, month = sep, advisor = {Donnelly, Patrick J.}, } - M.S.Comparative Analysis of Sentiment in Chinese Opera with Different FeaturesShengxuan WangMar 2025
Chinese Opera, recognized as an Intangible Cultural Heritage by UNESCO, represents the expression of traditional Chinese culture through its unique art form that combines singing, acting, and recitative. Understanding the emotional expression of Chinese Opera can help scholars and enthusiasts study it more deeply. There are many approaches to classify the emotional state of general music using deep learning with different models. This study will analyze and compare the performance of these methods on Chinese Opera using different features. We first conducted extensive data corrections and cleansing to address several data challenges in existing datasets of Chinese Opera, which we release as the Opera Singing Dataset-2025. We then compared the performance of spectrograms, raw audio, lyrics, and latent representation from pretrained models as features. The results demonstrate that models trained on lyrics outperformed all of the different acoustic features. Through this analysis, we conclude that the complexity of Chinese Opera performances added challenges not present with other types of music; challenges that are further aggravated by the lack of high quality annotated data. Many traditional approaches to automatic music sentiment analysis may not scale well to Chinese Opera, and as such, new and specific methods may need to be developed alongside the collection of additional labeled datasets.
@mastersthesis{wang2025comparative, author = {Wang, Shengxuan}, title = {Comparative Analysis of Sentiment in Chinese Opera with Different Features}, school = {Oregon State University}, address = {Corvallis, OR}, type = {M.S. project}, degree = {Master of Science in Computer Science}, year = {2025}, month = mar, advisor = {Donnelly, Patrick J.}, }
Honors Theses
- HonorsInterpreting Emotion from Sound: A Comparison of Features and Models for Music Emotion ClassificationShaun LeibMay 2025
Related (1)
The classification of emotion in music is a task of recent importance in the field of music information retrieval. However, the current state of the art has stagnated with very few breakthroughs. In our work, we analyze a large set of extracted acoustical features in an attempt to find a subset of emotional relevance. Utilizing the 4Q dataset with ground truth values corresponding to the four quadrants of Russell’s valence and arousal model for emotion, we obtain these features using five different extractor toolkits. We employ various feature selection methods to find the most important feature types by comparing the results of different machine learning models. We compare our results to the best results on this dataset to date. We find that our feature sets contain more emotionally relevant information, and our models are able to learn more complex relationships when predicting an emotion.
@mastersthesis{leib2025interpreting, author = {Leib, Shaun}, title = {Interpreting Emotion from Sound: A Comparison of Features and Models for Music Emotion Classification}, school = {Oregon State University}, address = {Corvallis, OR}, type = {Honors Baccalaureate thesis}, degree = {Honors Baccalaureate of Science in Computer Science}, year = {2025}, month = may, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/honors_college_theses/4b29bf957}, } - HonorsSynthetic Instrument Generation: Generating Novel Instrument Timbres with a Genetic AlgorithmJohn KnowltonDec 2023
The use of genetic algorithms to compose music and generate sounds is an area of interest in the artificial intelligence field. Music and instrument sounds have known rules and structures that can be followed which make them well-suited for genetic algorithms. However, genetic algorithms still struggle to generate sounds comparable to human-designed instruments largely due to the subjective nature of music and sounds. Genetic algorithms also struggle to produce a unique variety of sounds due to issues like premature convergence where the sounds become more similar as the algorithm runs. To address these issues, this project combines sound synthesis, genetic algorithms, crowdsourcing and the population model to generate more complex and enjoyable sounds. In our approach, sounds are synthesized by mixing randomly generated simple sine waves using additive synthesis. The genetic algorithm applies mathematical fitness rules and human evaluation through crowdsourcing to evaluate the quality of the generated sounds. Crowdsourcing evaluators conduct A−B testing through a web application to pick the sounds they prefer which guides the algorithm to produce more complex and interesting sounds. The population model creates subpopulations of sounds that develop separately and periodically trade sounds which encourages a greater variety of sounds and introduces greater genetic diversity each time subpopulations trade sounds. These components work together to take random noise and transform it into sounds that mimic real instruments or sound interesting enough that they could be utilized as an instrument by programming it as a mode to an electronic keyboard.
@mastersthesis{knowlton2023synthetic, author = {Knowlton, John}, title = {Synthetic Instrument Generation: Generating Novel Instrument Timbres with a Genetic Algorithm}, school = {Oregon State University}, address = {Corvallis, OR}, type = {Honors Baccalaureate thesis}, degree = {Honors Baccalaureate of Science in Computer Science}, year = {2023}, month = dec, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/honors_college_theses/pv63g791r}, } - HonorsMood-Dynamic Playlist: Interpolating a Path of Emotions Using a KNN AlgorithmShaurya GaurMay 2023
Users curate music playlists based on emotion to focus or relax, so streaming services often create playlists of songs to aid this process. Prior research focuses on generating playlists of a single mood or genre, although a few studies work to construct automatic playlists that transition between the genres of their first and last songs. Building upon previous methods, we present a novel method for efficiently generating smooth and even playlists dynamic in both mood and genre. Given starting and target songs and a desired length, our two-stage algorithm sequentially chooses each track in between. It first uses a K-Nearest Neighbor model to retrieve potential songs based on emotional annotations in the Valence-Arousal emotion space, and then a vector distance metric to choose the next song based on audio features. We evaluate the smoothness and evenness of playlists across various regions of an emotional feature space. Our experiments indicate that the quality of track transitions from our algorithm’s playlists is dependent on various input parameters and the distribution of the songs in our emotion dataset. This algorithm has potential as a novel music therapy tool, allowing users to create playlists in specific genres that nudge them to a desired mood.
@mastersthesis{gaur2023mood, author = {Gaur, Shaurya}, title = {Mood-Dynamic Playlist: Interpolating a Path of Emotions Using a {KNN} Algorithm}, school = {Oregon State University}, address = {Corvallis, OR}, type = {Honors Baccalaureate thesis}, degree = {Honors Baccalaureate of Science in Computer Science}, year = {2023}, month = may, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/honors_college_theses/mg74qt94q}, } - HonorsImproving the Accuracy and Efficiency of Bird Song Analysis with Machine Learning Based Event DetectionAnju MathewMay 2023
Ornithology is an exciting field with novel research emerging everyday. Researchers in bioacoustics often spend hours within the wilderness recording bird calls to analyze later in their lab. The burden of sifting through hours of audio recordings from the field continues to remain a time-consuming and manual task, despite the inherent value of such research. In this work, we investigate the ability of a mobile application to provide an accelerated method for ornithologists to upload acoustic field recordings for analysis. Driven by recent advancements in technology, there is a growing need for innovative solutions that can streamline this research process. Our proposed solution integrates machine learning algorithms with bioacoustic signal processing with the goal of accelerating the process of analyzing hours of field recordings. In this thesis, we focus on the integration of future machine learning algorithms into an event detection pipeline. This larger project involves three separate parts: (1) the user interface and back end architecture developed by a small team of students for the Oregon State CS 46x capstone series, (2) an event detection algorithm completed as a synergistic extension of the capstone, and (3) and a machine learning system developed as part of a graduate thesis. Together, these projects integrate to enhance the accuracy and efficiency of bioacoustic event detection by leveraging machine intelligence with deep learning. Furthermore, we evaluate the performance of these approaches using real-world datasets and discuss our approach in the context of traditional event detection techniques. This research project contributes valuable insights into the feasibility and effectiveness of integrating machine learning algorithms into a cloud-based acoustic event detection pipeline and highlights the potential benefits of this integration for various applications to expedite time-consuming bioacoustic research processes.
@mastersthesis{mathew2023improving, author = {Mathew, Anju}, title = {Improving the Accuracy and Efficiency of Bird Song Analysis with Machine Learning Based Event Detection}, school = {Oregon State University}, address = {Corvallis, OR}, type = {Honors Baccalaureate thesis}, degree = {Honors Baccalaureate of Science in Computer Science}, year = {2023}, month = may, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/honors_college_theses/c821gt336}, } - HonorsPredicting Music Emotion with Social Media DiscourseAidan BeeryAug 2022
Related (2)
Predicting the average affect of a piece of music is a task which has been of recent interest in the field of music information retrieval. We investigate the use of sentiment analysis on online social media conversations to predict a song’s valence and arousal. Using four music emotion datasets - DEAM, AMG1608, Deezer, and PmEmo, we create a corpus of social media commentary surrounding the songs contained in these datasets by extracting comments from YouTube, Twitter, and Reddit. Two learning approaches are compared − one bag-of-words model using dictionaries of affective terms to extract emotive features, and a DistilBERT transformer model fine-tuned on our social media discourse to perform direct comment-level valence and arousal prediction. We find that transformer models are better suited to the task of predicting music emotion directly from social media conversations.
@mastersthesis{beery2022predicting, author = {Beery, Aidan}, title = {Predicting Music Emotion with Social Media Discourse}, school = {Oregon State University}, address = {Corvallis, OR}, type = {Honors Baccalaureate thesis}, degree = {Honors Baccalaureate of Science in Computer Science}, year = {2022}, month = aug, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/honors_college_theses/tt44pv32b}, } - HonorsTranscribing Solo Piano Performances from Audio to MIDI Using a Neural NetworkVictoria EbertMay 2022
Related (1)
Automatic Music Transcription is a growing area of interest in Music Information Retrieval, and recent research has shown promise using onset detection on spectrograms. We propose a deep learning model that takes raw audio as input in order to transcribe a solo piano performance from audio to MIDI without complicated audio pre-processing and translation to spectrograms. This project focuses on the representation of piano audio as MIDI, but the contributions of this work will have applications in the area of piano sheet music creation. In this work we show that a bidirectional long short-term memory neural network can be used to transcribe a solo piano performance with high levels of both pitch and onset accuracy. Despite our unique approach, our model outperforms early models in this field and approaches competitiveness with top-performing models of the last two years. Our model is the only model in recent years to use raw audio as opposed to spectrograms or constant Q transforms. Because we use raw audio, we are able to capture resonance that exists within an audio recording that is not present in MIDI recordings. We also correctly model the behavior of the sustain pedal, despite having difficulty transcribing it correctly. These results show the promise of simpler models than are currently used for Automatic Music Transcription and bode well for the use of raw audio in music transcription.
@mastersthesis{ebert2022transcribing, author = {Ebert, Victoria}, title = {Transcribing Solo Piano Performances from Audio to {MIDI} Using a Neural Network}, school = {Oregon State University}, address = {Corvallis, OR}, type = {Honors Baccalaureate thesis}, degree = {Honors Baccalaureate of Science in Computer Science}, year = {2022}, month = may, advisor = {Donnelly, Patrick J.}, url = {https://ir.library.oregonstate.edu/concern/honors_college_theses/ff365d34n}, }