[Scilab-users] 3 byte integers

Federico Miyara fmiyara at fceia.unr.edu.ar
Tue Dec 17 22:37:48 CET 2019


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 wrote:
> 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 <fmiyara at fceia.unr.edu.ar> a 
>> écrit :
>>
>> 
>> 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 save 8 bit, 16 bit and 32 bit samples to a file. 
>> However, 24 bit is also a popular format and Scilab doesn't seem to 
>> support 3 byte integer format, either for variables and read/write 
>> file operations.
>>
>> Is there some way to save 3 byte integers other than creating a 
>> specialized routine from scratch?
>>
>> Regards,
>>
>> Federico Miyara
>> _______________________________________________
>> users mailing list
>> users at lists.scilab.org
>> https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

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


More information about the users mailing list