CPU load

edited January 2014 in General
Hi all,

I built my girlfriend an LXR for christmas, and she's been having a great time getting to grips with it.

I was wondering how much CPU time was free on the LXRs mainboard? I'd been pondering the idea of looking at adding USB audio support, or maybe additional effects, but there's no point if it's running close to the limit.

Thanks!

Comments

  • edited January 2014
    Hello!
    TO quote Julian
    I'll have to see how much flash is left after finishing the 1st firmware version.
    I have 1MB flash memory in total on the hardware.
    The remaining flash might be used for samples one day (as additional OSC waveform)
    but again this is a feature for the future"

    It was in february, a lot a features have been added since. I know we have less than 500kb to put the samples, so maybe around 500kb if you dont put samples? Just a guess here.
  • The main problem for audio support will be the question if there are still unused DAC channels available for this use. My guesstimate would be no...
  • It's USB audio - it doesn't need DAC channels, it just needs the USB code to be extended to also traverse the existing DMA buffers and transfer them appropriately. I've just got the toolchains working under Eclipse on my mac, so I'll be giving it a try today.
  • But you still need enough resources for the codec anyways.
  • it's not a problem of flash size,but unused cpu cycles.
    I never build an USB audio device before,but I would think that using an automated dma transfer to push the audio buffer to the USB port should not need that many cycles. So probably worth a try.

    The MIDI USB device used on the LXR is already a class compliant audio/midi device, so probably it should not be that hard to change the description headers and add another outpoint.

    But these are all assumptions from my side ;)
  • Hey lisor did you manage to get the audio thru usb?? thanks
Sign In or Register to comment.