ttencate / papageno

A mobile app that helps you learn to recognize bird sounds by ear
https://papageno.app/
4 stars 2 forks source link

Player can't play the same sound back to back #74

Open ttencate opened 4 years ago

ttencate commented 4 years ago

Because it writes the file to cache first using a predictable name, two Players can stomp on each other. This rarely happens because we mix up recordings, but it should be fixed. It seems maketemp is not available in Flutter, but simply generating a random filename (or prefix) from a static RNG should do the trick.