fsrwFemto almost gave me a heart attack!
Rayman
Posts: 14,833
Ok, so I'm doing some final testing on my PSMs and finally got around to playing a wav file (been doing·simple tones before)...
And, it sounded really, really bad.· After fighting off a panic attack and trying all types of things with the circuit, I switched back to the regular fsrw and it sounded fine!
If I give it a really, really big buffer, fsrwFemto works.· What's going on?· It appears that fsrwFemto is slower at filling a buffer for some reason that I don't get...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
And, it sounded really, really bad.· After fighting off a panic attack and trying all types of things with the circuit, I switched back to the regular fsrw and it sounded fine!
If I give it a really, really big buffer, fsrwFemto works.· What's going on?· It appears that fsrwFemto is slower at filling a buffer for some reason that I don't get...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
Comments
Please let us know more as you uncover the difference.
fsrwFemto is one of my favorite tools, so I tend to use it alot.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
fsrwFemto does not use the counters, so I expect it has the same speed as the sdspiasm, but not reaches the speed of the sdspiqasm object.
Andy
This is bad news for me because I was growing accustomed to fsrwFemto...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
It's been a while, but IIRC Propdos uses it as well as your original WAV player code without issue.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
I just found an apparently newer version of fsrw on OBEX with MIT license (I assume Rokicki knows about this one).
Switched my video player over to this one and got 20 fps, twice as fast!
Unless I'm doing something wrong, it seems that fsrw is faster than fsrwFemto. Not that speed is everything, but my particular application (showing off [noparse]:)[/noparse] really needs speed...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
My Prop Info&Apps: ·http://www.rayslogic.com/propeller/propeller.htm