Hi Bruno,
you are right, frequencies below 800Hz can't be reproduced correctly.
As you know function SoundPlay generates square signal with given frequency.
This is implemented through calling Delay_Cyc function.
This function has parameter range 3..255
This is the reason why frequency has limited range.
This will be documented in next Help:
Maximum frequency that can be produced by this function is
Freq_max = Fosc/(80*3). Minimum frequency is Freq_min = Fosc/(80*255).
bruno wrote:
BTW :
it would have been better to leave Sound_play() as it was for backward compatibility, and to create a new function like Sound_freq() for example
New set of parameters is far more intuitive than the old one (in our opinion)
and we introduced it to make the Sound Library usage easier.
We were assuming that users that used old set of parameters will
easily move to the new(better) parameters.
I am sorry if we were wrong and caused you trouble.
If we get more requests for maintaining backward compatibility -
we will think about the Library design again.