I think you're wrong, because, otherwise, why would -- to name a common example you may be familiar with -- an MP3 player like an iPod buffer data from the hard drive?Anonymous wrote:Nope. A spinning disk in a laptop will consume far less current than a cpu clocking away like billy-o crunching numbers.
Simply put, constant hard drive access costs in time and power, compared with chip memory.
I'll show you another real-world example below.
????Anonymous wrote:If part of the file(s) is/are pre-buffered then that gets around potential latency but that buffer(s) needs to be filled as fast as it/they are potentialy streamed and then what has already been decoded has now gone and will need to be decoded next time around, etc.
Sound samples in Live do not change (in general).
So if the decoded bits are in memory, if you're clever you shouldn't need to decode them again. This technique is called caching.
Disk arrays use fast RAM to cache frequently accessed data, to name another example:
-- http://www.sun.com/storage/highend/9980/
Though there the benefit is less for power consumption and more for speed and reliability.
It is a common technique and certainly high-end desktop computers that would be used with Live often have hundreds or thousands of megabytes of memory. Why not take advantage?
Anonymous wrote:I'm not arguing that decoding into ram wouldn't be more battery efficient than streaming from hard disk. However your point as stated was nothing to do with that...
Erm, what about this is wrong, exactly?Alex Reynolds wrote:MP3s also take up much less disk space, which would be nice from a storage library point of view and also in that Live reads a sample file over and over and again from the hard drive. A smaller file would mean less battery usage, less time required for Live to analyze the file, etc.
1. MP3s take less disk space than AIFF files.
2. Latency for memory access is lower than latency for disk access.
3. Smaller files require less data transfer.
4. Sound files in Live do not generally change during a usage session of Live.
Decode-and-write-once-into-memory costs less than decode-repeatedly-and-read-repeatedly-from-disk.
If I'm wrong about the benefits from that approach, please show me where.
Cheers,
Alex