Has anyone used Thymio to mimick bird sounds? I'm a bit afraid the speaker isn't loud enough for it. I could find many .wavs of crows in the internet. But I think I do have to convert them first. Any ideas on matching the sound level of thymio with the birds sound level?

It means thymio is playing its default start sound instead of the .wav I saved under s0.wav on the SD-card. So my thought is that the format somehow could be wrong, but I saved it exactly as written in the wiki.

Also: The s0.wav from a robot-library here works and the logo of that file is different. The one I exported got an audacity logo.

The sound sampling frequency is about 8Khz, which mean that the highest frequency you can get out of Thymio is 4Khz. According to this paper: S. Fagerlund, "Acoustics and physical models of bird sounds", this is too low. Thus you cannot mimick birds with Thymio.

BTW, the timer is limited because aseba can only handle signed 16 bits integer. But you can do a software counter inside the timer event to extend it.

Thank you for the information. Maybe I should try out beaglebone or arduino uno for this. But it will be definitely a bigger learning curve to use those.

BTW: I need more information on the math.rand() function and how I can assign them to a variable, cause it didn't work the way I did. It would be even better to assign a random number between say 30 seconds to 1.5 minutes.

Striclty speaking, using a modulo for constraining a random variable range is a bad idea as the distribution will be affected. You should use a division to constrain the range between -n and n, and then an addition to shift the mean and have a range between 0 and 2*n.