[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem with wavread
From: |
John W. Eaton |
Subject: |
Re: problem with wavread |
Date: |
Fri, 31 Aug 2007 13:07:08 -0400 |
Octave 2.9.13 includes a wavread function.
jwe
On 31-Aug-2007, James Sherman Jr. wrote:
| I'm unfamiliar with wavread.m and don't have Octave available at the moment,
| but it would probably help for general debugging purposes if you told us
| a) what version of octave you're using
| b) what function inside your script is giving the error
|
| Furthermore, I think the audio package found here:
| http://octave.sourceforge.net/packages.html
| Has the function auload which may provide the same functionality.
| Also, googleing wavread and octave comes up with some code that was written
| for octave:
|
http://velveeta.che.wisc.edu/octave/lists/archive//octave-sources.2005/msg00017.html
| I don't know if this didn't make it into release or not (again I don't have
| octave available currently), but it is something I would try.
|
| In general, (I don't know the inner workings of octave) I wouldn't expect
| that copying a mathworks matlab .m file to work with octave since they have
| their own set of internal functions and octave has its own. I wouldn't even
| really call them the same language. One goal is to make octave compatible
| with matlab code, not to clone every detail of matlab. For example, on a
| very fundamental level, you can use ++ and += for example, in octave but not
| matlab. There maybe more nuanced examples, but I'm not that familiar with
| octave.
|
| Hope this helps.
|
| James
|
| On 8/31/07, Carlos Domínguez <address@hidden> wrote:
| >
| > Hello community
| > Sorry if i miss something writing this down but my language is spanish, so
| > i think you can understand.
| > I have a little problem, cause i have Octave in Red hat 9, but it doesn't
| > have the file wavread.m, that comes in Matlab 6.5 for Windows. I imported
| > a wavread.m (downloaded from internet) but is not the one i needed, so i
| > copied it from windows, but it doesn't run, puts an error (something like
| > "error in column x line y"). so my question is: ¿does anybody knows
| > something about this problem? Notice that I need exactly the same functions
| > that does the wavread.m file in the Matlab 6.5 (in matlab 7.0 is not the
| > same, at least in the version I have), cause i need to plot the wave form of
| > a wav file. ¿why the version of windows doesn't run over octave for red hat,
| > if the language is the same?
| > Well, I hope you can understand my awful english and the questions I've
| > made so i can solve my problem, I really need it.
| > Thanks a lot
| >
| > CADO
| > Carlos Dominguez
| > Santiago de Cuba, Cuba
| >
| > ------------------------------
| >
| > Sé un Mejor Amante del Cine
| > ¿Quieres saber cómo? ¡Deja que otras personas te ayuden!
| >
<http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html>
| > .
| >
| >
| > _______________________________________________
| > Help-octave mailing list
| > address@hidden
| > https://www.cae.wisc.edu/mailman/listinfo/help-octave
| >
| >
| I'm unfamiliar with wavread.m and don't have Octave available at the
moment, but it would probably help for general debugging purposes if you told
us<br>a) what version of octave you're using<br>b) what function inside
your script is giving the error
| <br><br>Furthermore, I think the audio package found here: <a
href="http://octave.sourceforge.net/packages.html">http://octave.sourceforge.net/packages.html</a><br>Has
the function auload which may provide the same functionality.
| <br>Also, googleing wavread and octave comes up with some code that was
written for octave:<br><a
href="http://velveeta.che.wisc.edu/octave/lists/archive//octave-sources.2005/msg00017.html">http://velveeta.che.wisc.edu/octave/lists/archive//octave-sources.2005/msg00017.html
| </a><br>I don't know if this didn't make it into release or not
(again I don't have octave available currently), but it is something I
would try.<br><br>In general, (I don't know the inner workings of octave) I
wouldn't expect that copying a mathworks matlab .m file to work with octave
since they have their own set of internal functions and octave has its
own. I wouldn't even really call them the same language. One
goal is to make octave compatible with matlab code, not to clone every detail
of matlab. For example, on a very fundamental level, you can use ++ and
+= for example, in octave but not matlab. There maybe more nuanced
examples, but I'm not that familiar with octave.
| <br><br>Hope this helps.<br><br>James<br><br><div><span
class="gmail_quote">On 8/31/07, <b class="gmail_sendername">Carlos
Domínguez</b> <<a href="mailto:address@hidden">address@hidden</a>>
wrote:</span>
| <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204,
204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello community<br>Sorry
if i miss something writing this down but my language is spanish, so i think
you can understand.
| <br>I have a little problem, cause i have Octave in Red hat 9, but it
doesn't have the file wavread.m, that comes in Matlab 6.5 for Windows. I
imported a wavread.m (downloaded from internet) but is not the one i needed, so
i copied it from windows, but it doesn't run, puts an error (something like
"error in column x line y"). so my question is: ¿does anybody knows
something about this problem? Notice that I need exactly the same functions
that does the
| wavread.m file in the Matlab 6.5 (in matlab 7.0 is not the same, at least in
the version I have), cause i need to plot the wave form of a wav file. ¿why the
version of windows doesn't run over octave for red hat, if the language is
the same?
| <br>Well, I hope you can understand my awful english and the questions
I've made so i can solve my problem, I really need it.<br>Thanks a
lot<br><br>CADO<br>Carlos
| Dominguez<br>Santiago de Cuba, Cuba<br><p>
|
|
| </p><hr size="1"><br><font face="Verdana" size="-2">Sé un Mejor Amante
del Cine<br>¿Quieres saber cómo? <a
href="http://us.rd.yahoo.com/mail/es/tagline/beabetter/*http://advision.webevents.yahoo.com/reto/entretenimiento.html"
target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
| ¡Deja que otras personas te ayuden!
|
</a>.<br></font><p></p><br>_______________________________________________<br>Help-octave
mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:address@hidden">address@hidden
| </a><br><a onclick="return top.js.OpenExtLink(window,event,this)"
href="https://www.cae.wisc.edu/mailman/listinfo/help-octave"
target="_blank">https://www.cae.wisc.edu/mailman/listinfo/help-octave</a><br><br></blockquote>
| </div><br>
| _______________________________________________
| Help-octave mailing list
| address@hidden
| https://www.cae.wisc.edu/mailman/listinfo/help-octave