Audio Caching?

Author
TomHelvey
Max Output Level: -80 dBFS
  • Total Posts : 537
  • Joined: 2013/02/26 20:23:54
  • Status: offline
2014/09/30 02:25:01 (permalink)

Audio Caching?

I have a boatload of memory (32G) but audio is still read from disk, looking at one of my larger projects the audio files are less than 2GB total. Is there a way to tell Sonar to cache as much of a project as possible in memory instead of reading it from disk?
I'd like to be able to say, cache up to 8GB before going to the disk. Is that possible?
 

System: i7-6900, 64Gb, AMI X99 Carbon Pro Gaming, AMD Radeon HD 7700, Win 10 Pro
PCIe: UAD Octo
USB: MOTU midi express 128, OB-6 Module, Akai MPK-249, Moog SUB 37, Antelope Orion 32 HD, Softube Console 1, iLok, eLicenser
DAW: Cubase Pro, Ableton Live, Sonar Platinum
Plugins: Waves, UAD, Xfer, Lennar Digital, u-he, Reveal Sound, Spectrasonics, SoundToys, VPS, Blue Cat, iZotope, NI, Valhalla, Lexicon, etc.
 
https://soundcloud.com/thomas-helvey
#1

7 Replies Related Threads

    Beagle
    Max Output Level: 0 dBFS
    • Total Posts : 50621
    • Joined: 2006/03/29 11:03:12
    • Location: Fort Worth, TX
    • Status: offline
    Re: Audio Caching? 2014/09/30 09:03:11 (permalink)
    That has never been an option that I'm aware of, the audio has always streamed directly from the hard drive.
     
    there are samplers which can do that, but to my knowledge it has never been an option in Sonar.

    http://soundcloud.com/beaglesound/sets/featured-songs-1
    i7, 16G DDR3, Win10x64, MOTU Ultralite Hybrid MK3
    Yamaha MOXF6, Hammond XK3c, other stuff.
    #2
    KPerry
    Max Output Level: -44 dBFS
    • Total Posts : 3120
    • Joined: 2011/04/26 15:13:15
    • Location: London, UK
    • Status: offline
    Re: Audio Caching? 2014/09/30 10:01:26 (permalink)
    It would also mean quite a delay before playback would start each and every time...not really a great idea.
    #3
    Sanderxpander
    Max Output Level: -36.5 dBFS
    • Total Posts : 3873
    • Joined: 2013/09/30 10:08:24
    • Status: offline
    Re: Audio Caching? 2014/09/30 10:25:29 (permalink)
    You can specify the read cache in preferences but I've never set it anywhere near that large and I think it means it will start reading anew everytime you press play.
    #4
    John T
    Max Output Level: -7.5 dBFS
    • Total Posts : 6783
    • Joined: 2006/06/12 10:24:39
    • Status: offline
    Re: Audio Caching? 2014/09/30 11:22:05 (permalink)
    The other thing is, there's not much tangible benefit. Hard drives have been fast enough for high track counts at high sample rates for a long time now. So it's a feature barely worth coding.
     

    http://johntatlockaudio.com/
    Self-build PC // 16GB RAM // i7 3770k @ 3.5 Ghz // Nofan 0dB cooler // ASUS P8-Z77 V Pro motherboard // Intel x-25m SSD System Drive // Seagate RAID Array Audio Drive // Windows 10 64 bit // Sonar Platinum (64 bit) // Sonar VS-700 // M-Audio Keystation Pro 88 // KRK RP-6 Monitors // and a bunch of other stuff
    #5
    Sanderxpander
    Max Output Level: -36.5 dBFS
    • Total Posts : 3873
    • Joined: 2013/09/30 10:08:24
    • Status: offline
    Re: Audio Caching? 2014/09/30 11:29:04 (permalink)
    Not to mention in case of a power outage, at least audio files on disk will be recoverable. If everything (including new recordings) was kept in RAM they would all be lost.
    #6
    daveny5
    Max Output Level: 0 dBFS
    • Total Posts : 16934
    • Joined: 2003/11/06 09:54:36
    • Location: North Carolina
    • Status: offline
    Re: Audio Caching? 2014/09/30 12:00:23 (permalink)
    You could try turning off the Windows paging file in the device manager.

    Dave
    Computer: Intel i7, ASROCK H170M, 16GB/5TB+, Windows 10 Pro 64-bit, Sonar Platinum, TASCAM US-16x08, Cakewalk UM-3G MIDI I/F
    Instruments: SL-880 Keyboard controller, Korg 05R/W, Korg N1R, KORG Wavestation EX
    Axes: Fender Stratocaster, Line6 Variax 300, Ovation Acoustic, Takamine Nylon Acoustic, Behringer GX212 amp, Shure SM-58 mic, Rode NT1 condenser mic.
    Outboard: Mackie 1402-VLZ mixer, TC Helicon VoiceLive 2, Digitech Vocalist WS EX, PODXTLive, various stompboxes and stuff. 
    Controllers: Korg nanoKONTROL, Wacom Bamboo Touchpad
    #7
    tlw
    Max Output Level: -49.5 dBFS
    • Total Posts : 2567
    • Joined: 2008/10/11 22:06:32
    • Location: West Midlands, UK
    • Status: offline
    Re: Audio Caching? 2014/09/30 21:10:12 (permalink)
    You can switch Windows disk caching on somewhere in Sonar's preferences. Or, more accurately, tell Sonar not to bypass caching.

    I used it for a while as an experiment and yes, if you've sufficient RAM to contain the project it's seriously fast. After the initial run through disk activity drops to nearly nothing unless you're recording.

    There is of course the risk of losing recorded audio if the PC or Sonar crashes during recording and disk caching is active. On the other hand I've had crashes once in a while where audio being recorded at the point of the crash wasn't on the disk, or not as a recoverable file using Window's tools, when Windows caching was off so how much of a saviour writing direct to disk really is I don't know.

    Sonar Platinum 64bit, Windows 8.1 Pro 64bit, I7 3770K Ivybridge, 16GB Ram, Gigabyte Z77-D3H m/board,
    ATI 7750 graphics+ 1GB RAM, 2xIntel 520 series 220GB SSDs, 1 TB Samsung F3 + 1 TB WD HDDs, Seasonic fanless 460W psu, RME Fireface UFX, Focusrite Octopre.
    Assorted real synths, guitars, mandolins, diatonic accordions, percussion, fx and other stuff.
    #8
    Jump to:
    © 2025 APG vNext Commercial Version 5.1