<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style='font-size:10pt;font-family:Verdana,Arial,Helvetica,sans-serif;'><div id="message"></div>Hi  Samuel,<div><br></div><div>I agreed that porting the portaudio might not be priority as from what i understand,  it is quite hard to make it non blocking recording. </div><div><br></div><div>Infact we just made a module base on java for non blocking recording,  and it was planned to released in a week or 2.</div><div><br></div><div>There are more room to improve,  perhap your team could use it as fundamental and improved it to a better module?</div><div><br></div><div>Thanks</div><div><br></div><div>Regards. </div><div>Chin Luh<br id="br3"><br id="br3"><br id="br3"><div id="signature"></div><div id="content"><br> ---- On Wed, 30 Oct 2019 20:18:52 +0800 <b> sgougeon@free.fr </b> wrote ----<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin-left: 5px;"><div>Hello Antoine,<br><br>Le 30/10/2019 à 10:14, Antoine Monmayrant a écrit :<br>> Hi all,<br>><br>> 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.<br>> I managed to hack together a proof of principle that relies on the linux command "arecord" and uses "unix_g" scilab function.<br>> I would be happy to go for a more portable way of recording the sound from scilab.<br>> I know there is a java api for sound: As anyone here ever worked with it or tried to call it from scilab?<br>><br>> I've never tried to call a java api from within scilab.<br>> 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.<br><br><br>FYI : i am currently supervising a students project about this, for the <br>whole academic year.<br>I submitted this project planning to enhance and extend Scilab sound <br>capabilities, and it<br>was actually assigned to a group of 5 students in School of engineering.<br><br>Implementing a sound recorder through the standard microphone is one of <br>the addressed topics.<br>It is set as a priority for the mid-term evaluation of the project, in <br>january.<br>The priority is also to get a fully portable solution, and without C/C++ <br>code and compilation<br>using any Scilab API, that would require to be reviewed and recompiled <br>for each new Scilab 6.x release.<br>We know how this makes external modules quickly obsolete and unusable.<br>On this aspect, porting the portaudio and sndfile modules to Scilab 6 <br>has been considered.<br>But after being assessed, it looks too hard to do. BTW, it would not <br>remedy to the need to<br>recompile. So, it is not a priority of the project.<br><br>Using Java in open source projects requires more care today than one <br>year ago, due to<br>major changes in Oracle Licenses policy since early 2019. But java is <br>still a first way to be<br>explored, indeed.<br>Scilab help pages of JIMS have nice examples to start using the JVM from <br>Scilab:<br><a href="https://help.scilab.org/docs/6.0.2/en_US/section_158670c44b251b5b028c4e3178ff4ed0.html" target="_blank">https://help.scilab.org/docs/6.0.2/en_US/section_158670c44b251b5b028c4e3178ff4ed0.html</a><br><br>Regards<br>Samuel<br><br><br>_______________________________________________<br>users mailing list<br><a href="mailto:users@lists.scilab.org" target="_blank">users@lists.scilab.org</a><br><a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br></div></blockquote></div></div></div>
<br></body></html>