Re: [Scilab-users] 3 byte integers

2019-12-17 Thread Federico Miyara
Stéphane, Sorry for having explained myself so poorly. The problem with the macros already available is that in order to save a wavfile in a single operation, I need to have the whole signal loaded in a variable. I'm not sure whether it is possible to handle a variable with about 2

Re: [Scilab-users] Scilab API sciprint to print on the same line

2019-12-17 Thread Chin Luh Tan
Hi,  Looks like the last command followed by the clc(1) would be ignore : example 1:  --> for i=1:10 mprintf("%d\n",i) end; 1 2 3 4 5 6 7 8 9 10 --> clc(1) 1 2 3 4 5 6 7 8 9 10  <-- cleared       <--cleared example 2:   --> for i=1:10 mprintf("%d\n",i)

Re: [Scilab-users] 3 byte integers

2019-12-17 Thread Federico Miyara
Stéphane, wavewrite also supports 3 bytes, but as I commented, I cannot save, not evem generate huge files, so i must create them by successive appending, so i needto be able to save 3 byte numbers directly. Thanks anyway. Regards, Federico Miyara On 17/12/2019 17:15, Stéphane Mottelet

Re: [Scilab-users] 3 byte integers

2019-12-17 Thread Stéphane Mottelet
Hello I think it is supported in savewave and loadwave. There was a pb with savewave but fixed by https://codereview.scilab.org/#/c/19947/ in 6.0.2 S. > Le 17 déc. 2019 à 20:09, Federico Miyara a écrit : > >  > Dear All, > > While it is possible to create directly a wav file of

[Scilab-users] 3 byte integers

2019-12-17 Thread Federico Miyara
Dear All, While it is possible to create directly a wav file of reasonable size from Scilab, if the size is very large, say, 1 Gb,we willmost likely have memory problems. That's why I'm trying to program a script allowing to append new audio data to an existing wav file. It is simple to