<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<font face="Courier New">Samuel,<br>
<br>
I too would appreciate direct recording from Scilab and also offer
myself to test it!<br>
<br>
I currently record using Audacity, perhaps some code from Audacity
could be reused (it is GPL)<br>
<br>
Regards,<br>
<br>
Federico Miyara<br>
<br>
</font><br>
<div class="moz-cite-prefix">On 30/10/2019 09:18, Samuel Gougeon
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:65a51ffa-5707-65c5-f244-07cb864d6ca7@free.fr">Hello
Antoine,
<br>
<br>
Le 30/10/2019 à 10:14, Antoine Monmayrant a écrit :
<br>
<blockquote type="cite">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>
</blockquote>
<br>
<br>
FYI : i am currently supervising a students project about this,
for the whole academic year.
<br>
I submitted this project planning to enhance and extend Scilab
sound 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 the addressed topics.
<br>
It is set as a priority for the mid-term evaluation of the
project, in january.
<br>
The priority is also to get a fully portable solution, and without
C/C++ code and compilation
<br>
using any Scilab API, that would require to be reviewed and
recompiled 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 has been considered.
<br>
But after being assessed, it looks too hard to do. BTW, it would
not 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 year ago, due to
<br>
major changes in Oracle Licenses policy since early 2019. But java
is still a first way to be
<br>
explored, indeed.
<br>
Scilab help pages of JIMS have nice examples to start using the
JVM from Scilab:
<br>
<a class="moz-txt-link-freetext" href="https://help.scilab.org/docs/6.0.2/en_US/section_158670c44b251b5b028c4e3178ff4ed0.html">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 class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
<br>
<br>
<br>
</blockquote>
<br>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br /> <table style="border-top: 1px solid #D3D4DE;">
<tr>
<td style="width: 55px; padding-top: 18px;"><a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif" alt="" width="46" height="29" style="width: 46px; height: 29px;" /></a></td>
<td style="width: 470px; padding-top: 17px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Libre de virus. <a href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" target="_blank" style="color: #4453ea;">www.avast.com</a> </td>
</tr>
</table>
<a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>