aliasant wrote:Would be interesting to see if anyone can fix this?
tester wrote:Maybe someone knows how to make a code/ASM addon for making long-time wave display? I saw some talented users here, who could be able to make a really working piece.
One idea came to my mind. For certain needs - why to not delay a little bit the whole playback in order to make the display right?
trogluddite wrote:That's excellent stuff, Cyto - the use of the M2F "Automatic trigger reduction" particularly. (I've yet to completely fathom the peak detector code - but it seems to be very effective also).
I was just working on a version using bitmap scrolling rather than array storage - and the peak detection/M2F combo of your design happens to drop into mine rather well - solves problems I was having with making the scrolling smooth at a stroke!
Anyway, here's my version - it takes the output of your peak detector, and draws only a single line representing the current data point at the right of the display (no arrays needed), then scrolls using a bitmap buffer and transform.
This may not be so useful in some cases, I'm sure, as the wave data itself is not stored in an accessible way, and the window scaling is likely less accurate - but on my little Atom CPU mashine, it offers a useful reduction in CPU usage (about 25% compared to 40% for your design).
Quite why plotting 256 data points is more CPU intensive than encoding a bitmap still baffles me - and I'd be interested to know of those CPU savings translate well to other systems.
aliasant wrote:Looking at your mod of Cytos i noticed that your using the trigger from the Mono to float as trigger for the draws and that means that it wont redraw if theres no change in the float after the mono to float...
Set a 25 tick or similar directly to the draw part works better..
trogluddite wrote:But you are quite right - an unchanging value will not scroll, and maybe I have misunderstood the logic. Possibly adding an 'update now' output from the code could fix this, while also keeping the accurate resolution?
aliasant wrote:I pursued my 8split farray version and this one actually works glitch free and smooth.
cyto wrote:You should get a new value every time... ...very small amount (1e-036) to it
Users browsing this forum: No registered users and 1 guest