This study aimed to establish a rapid and practical method for monitoring and predicting volatile compounds during coffee roasting using near-infrared (NIR) spectroscopy coupled with chemometrics. Washed Arabica coffee beans from Ethiopia and Congo were roasted to industry-validated light, medium, and dark degrees. Concurrent analysis of the samples was performed using gas chromatography-mass spectrometry (GC-MS) and NIR spectroscopy, generating datasets for partial least squares (PLS) regression analysis. The results showed that NIR spectroscopy successfully differentiated the differently roasted samples, similar to the discrimination achieved by GC-MS. This finding highlights the potential of NIR spectroscopy as a rapid tool for monitoring and standardizing the degree of coffee roasting in the industry. A PLS regression model was developed using Ethiopian samples to explore the feasibility of NIR spectroscopy to indirectly measure the volatiles that are important in classifying the roast degree. For PLSR, the data underwent autoscaling as a preprocessing step, and the optimal number of latent variables (LVs) was determined through cross-validation, utilizing the root mean squared error (RMSE). The model was further validated using Congo samples and successfully predicted (with R2 values > 0.75 and low error) over 20 volatile compounds, including furans, ketones, phenols, and pyridines. Overall, this study demonstrates the potential of NIR spectroscopy as a practical and rapid method to complement current techniques for monitoring and predicting volatile compounds during the coffee roasting process.
While solid-state fermentation (SSF) can enhance the bioactive potential of oats, the temporal dynamics of volatile compound formation, particularly in mixed microbial systems, remain poorly characterized. Such volatiles contribute not only to sensory attributes but also reflect underlying metabolic interactions during fermentation. This study investigated volatile evolution in oat SSF with Rhizopus oligosporus in mono-culture and co-culture with Lactiplantibacillus plantarum over 120 h. Fifty-five volatile compounds spanning ten chemical classes were identified. With the exception of aldehydes, most classes increased over time, with the co-culture producing higher levels of alcohols, carboxylic acids, esters, and ketones. Branched-chain, Strecker aldehyde peaks decreased during SSF in the co-culture system, indicating complementary metabolic exchange. Non-linear random forest regression better captured volatile trajectories than linear partial least squares regression. Together, these results provide a SSF system-level fingerprint of how mono- and co-culture SSF differentially shape oat volatile profiles, informing future development of fermented oat products.