Hi,
I love the ability to have an alarm pick a random sound file from a directory. I have a music directory with around 1300 songs in it so ideally I should be able to go over a year without waking up to the same song. But the truth is that even with 1000+ songs to choose from, I will still hear repeats throughout each month.
I propose keeping a record of recently played songs and if a randomly picked song is in that list, we can then skip and pick another. The UI can be narrowed down to just a simple boolean to enable or not. The only parameter needed would be a "history size" which could be determined by simply taking the total file count of songs and dividing by two (or some other constant).
I may look into working on this myself if I find time in the coming months.
But for now, mostly wanted to document my idea and intent somewhere in case someone else wants to implement it 🙂
Hi,
I love the ability to have an alarm pick a random sound file from a directory. I have a music directory with around 1300 songs in it so ideally I should be able to go over a year without waking up to the same song. But the truth is that even with 1000+ songs to choose from, I will still hear repeats throughout each month.
I propose keeping a record of recently played songs and if a randomly picked song is in that list, we can then skip and pick another. The UI can be narrowed down to just a simple boolean to enable or not. The only parameter needed would be a "history size" which could be determined by simply taking the total file count of songs and dividing by two (or some other constant).
I may look into working on this myself if I find time in the coming months.
But for now, mostly wanted to document my idea and intent somewhere in case someone else wants to implement it 🙂