Playing audio in Linux Debian

I am new to Rust and would like to ask for resources, and tutorials, that would help me to implement a music player.

It will be a console application that when started, it will fetch a list of tracks and would play them sequentially.

I would also like to have the ability to fade in and fade out the audio.

I appreciate any help.

Thank you in advance.

The rodio crate can decode and play audio files, and has functions for mixing and fading. It's built on top of the lower-level cpal crate, which you could use directly if you need more control than rodio provides.

1 Like

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.