Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=5200695
By: mokhov
>>I am just curious how did you set up your experiments?
>>Are going through the pipeline in the MARF's class or
>>are you invoking the classes you need directly?
>
>I am just invoking the classes I need directly.
>i.e.:
>
>File oImportWaveFile = new File("C523.25sop.wav");
>WAVLoader wavFile = new WAVLoader();
>// wavFile.setRequiredFrequency( 22000 );
>// MarfTest.java:32: cannot find symbol
>//symbol : method setRequiredFrequency(int)
>Sample wavSample = wavFile.loadSample(oImportWaveFile);
>
>I am also calling the FFT function directly. It just seemed easier.
>Is this not recommended?
No that's alright. The reason I asked if you were going through
the pipeline in the current way of things it would be more
difficult to set other-than-the-default sampling frequency :)
>>What kind of results are getting, i.e. "not very accurate"?
>
> I've made some progress with this since my last post.
> Right now it seems that the majority of the frequencies
> are just under double what they should be.
> i.e. Input at 440Hz is output at 877.8225314292689Hz
> Input at 523.25Hz is output at 1045.2825582814598Hz
> I have yet to test a larger range of frequencies.
> Could this be Aliasing (again I'm new to this)?
Hmmm interesting. It's hard to tell at this point for me without seeing what
you are actually doing, but in deferrance to your later post as well as the
fact that you should know that the FFT analysis does windowing, so this cuts
things in half -- i.e. we are really doing 1024 samples, but get 512 because
of windowing and so on, so you maybe observing the opposite of that, but I will
need to do more tracing to see why things behave like that and the way you
invoke
stuff after you loaded the samples.
>>It's in general good to know of the environment. Also
>>the MARF version you are using.
>
>I was originally using marf-0.3.0-devel-20060226.
>Today I tried 0.3.0.6-snapshot-0.3.0-devel-20070108
>with the same results. I searched the website for a more
>resent jar file/source package. Where can I find this?
>
>>The SampleLoader class has the standard get/setRequiredFrequency()
>
>I guess that was added after the 20070108 snapshot.
Shucks... I double checked and indeed somehow these escaped the latest snapshot.
I've been using the revising the CVS version, but I guess now that more people
are using the official file releases, another snaphot release is well overdue :(
Before I make a release of the new snapshot, would you please try with one of
the .jar's in my school's page? I compiled the last one from the working
checkout:
http://users.encs.concordia.ca/~mokhov/marf/
Do let me know if it helps (or doesn't).
Thanks!
-s
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=213052
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
marf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/marf-devel