I'd like to see an option to make the most of today's abundant RAM: allow the user to decide how much memory can be used, then decode the audio file to RAM and play it from there. This would make life a (tiny, I know) bit easier on hard disks. Also, some purists mention that wav playback (file is already decoded) from RAM can actually sound better, possibly because of no moving parts etc.
Announcement
Collapse
No announcement yet.
Decode to and play from RAM memory
Collapse
X
-
Originally Posted by audioamper View PostI'd like to see an option to make the most of today's abundant RAM: allow the user to decide how much memory can be used, then decode the audio file to RAM and play it from there. This would make life a (tiny, I know) bit easier on hard disks. Also, some purists mention that wav playback (file is already decoded) from RAM can actually sound better, possibly because of no moving parts etc.PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
-
-
Originally Posted by MrSinatra View Posti know there are some settings in prefs for this already, but what i'd like is the ability to load not only the entire currently playing file in RAM, but also the next file in the playlist.
Comment
-
-
i don't know, b/c i don't know what exactly that does, b/c i don't understand the general process itself, as to how it really works.
but i can tell you that what i want, is each file now playing, as well as the next one to be played, are fully decoded to wav in RAM, so crossfading and beat matching is seamless and disk access unnecessary beyond the initial file reading into memory.
i am hopeful such a system would solve my BUG #1 in my sig, since everything would be queued in RAM.
i would want that for ALL formats.PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
Comment
-
-
As far as pre-loading the entire next song, it may not be practical.
You have to remember that the driving force behind audio playback is the input plugin that is used to decode the audio file. Since not all files are decoded by the same plugin there would have to be a new (and supported) mechanism (or a transparent addition to the current one that won't break for current plugins) for the plugins to be told what file is next and all the plugins rewritten to support that new mechanism. Having only written 2 input plugins I can't really speak from authority so take what I say with a grain of salt.
Loading the entire file of the current song is something that would be done by the current input plugin. I know in_mp3 can do some pre-loading/caching/buffering but the extent to which it does I don't know. There is an option in it [Preferences]->[Plugins]->[Input]->[Nullsoft MPEG Audio Decoder]->[Configure]->[General tab]->[Full File Buffering].
Comment
-
-
Originally Posted by thinktink View PostAs far as pre-loading the entire next song, it may not be practical.
You have to remember that the driving force behind audio playback is the input plugin that is used to decode the audio file. Since not all files are decoded by the same plugin there would have to be a new (and supported) mechanism (or a transparent addition to the current one that won't break for current plugins) for the plugins to be told what file is next and all the plugins rewritten to support that new mechanism. Having only written 2 input plugins I can't really speak from authority so take what I say with a grain of salt.
i don't use beat-mixing, i'm waiting for a plugin that does it well. i've seen DJ software that does it really well, back in 99, so its overdue imo. but i'd only overlap the songs 2-3 seconds at the most anyway.
in my case, most are mp3 anyway, like at least 90%.
Originally Posted by thinktink View PostLoading the entire file of the current song is something that would be done by the current input plugin. I know in_mp3 can do some pre-loading/caching/buffering but the extent to which it does I don't know. There is an option in it [Preferences]->[Plugins]->[Input]->[Nullsoft MPEG Audio Decoder]->[Configure]->[General tab]->[Full File Buffering].
i wish i could tell it to do the same for the next file in the playlist.
this is confusing too, b/c in my sig bug link DrO says the way to get short files to play is to shorten the buffer size below the file size, which i obviously don't consider viable.
anyway, interesting convo...PENN STATE Radio or http://www.LION-Radio.org/
--
BUG #1 = Winamp skips short tracks
Wish #1 = Multiple Column Sorting
Wish #2 = Add TCMP/Compilation editing
Comment
-
-
Originally Posted by MrSinatra View Post...why does it matter if there are differing filetypes, since winamp will play them intermixed...
Originally Posted by MrSinatra View Postcrossfading seems to work with it all now, no?
Originally Posted by MrSinatra View Postdoes it load and decode the whole file in RAM?
Originally Posted by MrSinatra View Posti wish i could tell it to do the same for the next file in the playlist.
Originally Posted by MrSinatra View Postthis is confusing too, b/c in my sig bug link DrO says the way to get short files to play is to shorten the buffer size below the file size, which i obviously don't consider viable.
Comment
-
-
You need to distinguish between input and output buffers here.
The input buffer(set in the input plugin) is where the file is decoded from, the output buffer(set in the output plugin) is where the decoded output is sent too.
When DrO talks about shortening the buffer, he is referring to the output buffer. This is where Xfading, silence detection/gapless playback etc. happens .
UJ
Comment
-
-
Wouldn't it make sense to have an overview process that monitors the playlist, Queue, etc., and simply requests decoded data from the correct plugin for the "next" item in the playlist, and then have the OUTPUT plugin receive all of its data from the overview process? This would eliminate any conflict between input plugins; allow pre-buffering of ANY arbitrary length; and eliminate the problem of "short" audio files not playing; because the output plugin would never see, nor interact with, the input plugins directly.....
Something to think about.
-- the SASS Man--=> the SASS Man <=--
--> King of the Rock <--
Comment
-
Comment