[Scilab-users] strange sounds repeated over and over in scilab 6.1.0

Perrichon perrichon.pierre at wanadoo.fr
Mon Mar 2 16:45:40 CET 2020


Ok but this is a strange way to handle backward compatibility

 

 

De : users <users-bounces at lists.scilab.org> De la part de Samuel Gougeon
Envoyé : lundi 2 mars 2020 16:15
À : users at lists.scilab.org
Objet : Re: [Scilab-users] strange sounds repeated over and over in scilab
6.1.0

 

Le 02/03/2020 à 14:52, Perrichon a écrit :

 

Hello

 

Few years ago, I got routines producing sounds in threads

 

With Scilab 5.5.2, sounds are produced once.

 

With Scilab 6.1.0, sounds are repeated endlessly.

 

No no, "only" 16 times :-)
You can stop it with playsnd([]) or CTRL+C.

I have proposed to remove sound(), that is a duplicate of playsnd() and
brings nothing.
But finally this has not been done for 6.1.0.
playsnd() has been upgraded. In the change, its nbits argument has been
removed.
But we have forgotten to update sound() calling playsnd().
So you hear the sound the default nbits=16 times.

You must directly use playsnd() instead.

Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20200302/e2e62fee/attachment.htm>


More information about the users mailing list