[Scilab-users] Accessing sound device using java api from scilab

Federico Miyara fmiyara at fceia.unr.edu.ar
Wed Oct 30 22:11:22 CET 2019


Samuel,

I too would appreciate direct recording from Scilab and also offer 
myself to test it!

I currently record using Audacity, perhaps some code from Audacity could 
be reused (it is GPL)

Regards,

Federico Miyara


On 30/10/2019 09:18, Samuel Gougeon wrote:
> Hello Antoine,
>
> Le 30/10/2019 à 10:14, Antoine Monmayrant a écrit :
>> Hi all,
>>
>> For a small demo project, I am trying to show both the temporal 
>> signal and the spectrum of the sound recorded by the microphone of my 
>> laptop.
>> I managed to hack together a proof of principle that relies on the 
>> linux command "arecord" and uses "unix_g" scilab function.
>> I would be happy to go for a more portable way of recording the sound 
>> from scilab.
>> I know there is a java api for sound: As anyone here ever worked with 
>> it or tried to call it from scilab?
>>
>> I've never tried to call a java api from within scilab.
>> If you have any ressource and/or tutorial on the sound java api or on 
>> calling a java api from scilab, it would be of great help.
>
>
> FYI : i am currently supervising a students project about this, for 
> the whole academic year.
> I submitted this project planning to enhance and extend Scilab sound 
> capabilities, and it
> was actually assigned to a group of 5 students in School of engineering.
>
> Implementing a sound recorder through the standard microphone is one 
> of the addressed topics.
> It is set as a priority for the mid-term evaluation of the project, in 
> january.
> The priority is also to get a fully portable solution, and without 
> C/C++ code and compilation
> using any Scilab API, that would require to be reviewed and recompiled 
> for each new Scilab 6.x release.
> We know how this makes external modules quickly obsolete and unusable.
> On this aspect, porting the portaudio and sndfile modules to Scilab 6 
> has been considered.
> But after being assessed, it looks too hard to do. BTW, it would not 
> remedy to the need to
> recompile. So, it is not a priority of the project.
>
> Using Java in open source projects requires more care today than one 
> year ago, due to
> major changes in Oracle Licenses policy since early 2019. But java is 
> still a first way to be
> explored, indeed.
> Scilab help pages of JIMS have nice examples to start using the JVM 
> from Scilab:
> https://help.scilab.org/docs/6.0.2/en_US/section_158670c44b251b5b028c4e3178ff4ed0.html 
>
>
> Regards
> Samuel
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
>



-- 
El software de antivirus Avast ha analizado este correo electrónico en busca de virus.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20191030/caff1871/attachment.htm>


More information about the users mailing list