Spooler: Difference between revisions

From kJams Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 8: Line 8:
# the cache: The cache stores uncompressed audio and video.  If you play a song off the CD, and then decide to import it, it doesn't have to rip because it's already in the cache.  Likewise, the next time you play it, it does not have to read it from the CD.  If the file was just in your library, it is unpacked (decoded from MP3 or whatever) into uncompressed.  If the file was zipped, it will also go into the cache, so next time you play it it will not have to be unzipped or unpacked.
# the cache: The cache stores uncompressed audio and video.  If you play a song off the CD, and then decide to import it, it doesn't have to rip because it's already in the cache.  Likewise, the next time you play it, it does not have to read it from the CD.  If the file was just in your library, it is unpacked (decoded from MP3 or whatever) into uncompressed.  If the file was zipped, it will also go into the cache, so next time you play it it will not have to be unzipped or unpacked.
# perfectly sample accurate playback of audio with locked-on sync to video, when you [[Screen_Shots#LCD_Panel|scrub the play head]], even for [http://developer.apple.com/documentation/QuickTime/QT6WhatsNew/Chap1/chapter_1_section_37.html VBR compressed audio].
# perfectly sample accurate playback of audio with locked-on sync to video, when you [[Screen_Shots#LCD_Panel|scrub the play head]], even for [http://developer.apple.com/documentation/QuickTime/QT6WhatsNew/Chap1/chapter_1_section_37.html VBR compressed audio].
# Playback of many QuickTime formats: Now that QuickTime is handling the audio files rather than CoreAudio, I get a bunch more file formats for free, including MIDI and KAR files.


Future benefits:
Future benefits:
# Playback of all QuickTime formats: Now that QuickTime is handling the audio files rather than CoreAudio, I get a dozen more file formats for free, including MIDI and KAR files.
# Coming soon: OGG Vorbis Encoding and Playback.
# Coming soon: OGG Vorbis Encoding and Playback.
# Cue multiple songs with crossfade
# Cue multiple songs with crossfade

Revision as of 01:57, 14 September 2006

The Spooler is an integral part of kJams, and provides these benefits:

  1. Play direct from CD without manually ripping first
  2. background ripping: rips will happen in the background, not interfering with your use of kJams while it does it's work
  3. background encoding & zipping: these too happen in the background
  4. QuickTime Export, even direct from disc
  5. ripping will be at the full speed of your drive. That is, it won't be slowed down by the encoding process. With the spooler, ripping happens on it's own thread, which is *just* a tight loop reading from the CD, and writes into memory (a deque for those who want to know). For this "read loop", there's no audio encoding, no subchannel descrambling or error correcting, so it reads as fast as possible, making the rip itself go as fast as possible. (there is a second, separate thread that reads from the deque and writes mp3 and cdg)
  6. the cache: The cache stores uncompressed audio and video. If you play a song off the CD, and then decide to import it, it doesn't have to rip because it's already in the cache. Likewise, the next time you play it, it does not have to read it from the CD. If the file was just in your library, it is unpacked (decoded from MP3 or whatever) into uncompressed. If the file was zipped, it will also go into the cache, so next time you play it it will not have to be unzipped or unpacked.
  7. perfectly sample accurate playback of audio with locked-on sync to video, when you scrub the play head, even for VBR compressed audio.
  8. Playback of many QuickTime formats: Now that QuickTime is handling the audio files rather than CoreAudio, I get a bunch more file formats for free, including MIDI and KAR files.

Future benefits:

  1. Coming soon: OGG Vorbis Encoding and Playback.
  2. Cue multiple songs with crossfade
  3. Cue a song to it's first non-silent sample, so when you un-pause the music starts instantly

You will want to have the Tasks window showing, that way you can see all the spools that are running.

You should take care to manage the spooler's audio cache, see Preferences.