Rockbox Development > Feature Ideas
playing multiple tracks at once - please please
saratoga:
Thinking about this more, if you just want to generate white noise mixed in with your music, you could probably set the preamp as low as it would go in the EQ, then use the replaygain precut to drop the level even lower. Then if you cranked up the volume, you would blow up the quantization noise. Assuming you had dithering on in the sound settings, this ought to add quite a lot of white noise.
The resulting audio would be pretty quiet though. You might need an amp to hear it.
nls:
Writing a plugin that just generates white noise on the fly and mixes it in with playback should be quite easy and would not need any decoding or complicated buffering system.
Chronon:
My naive approach would basically average the audio samples on the fly with the output from a suitably scaled random number generator, but this seems to involve decoding. What is a better way?
hurricane:
My computer will play multiple audio files at the same time. You could do this and then record it and load that into your ipod.
You can mix your own tracks on your computer.
I would like to be able to watch TV and hear the sound while at the same time listening to music on my Ipod.
Are you sure that playing two songs at the same time is what you want? Because to me they wouldn't cancel each other out; it would sound more like a very bad band that keeps hitting the wrong notes. I think it would be very distracting. I read while listening to my ipod all the time and the music helps me concentrate on what I'm reading rather than being distracting.
nls:
--- Quote from: Chronon on August 18, 2011, 11:02:50 AM ---My naive approach would basically average the audio samples on the fly with the output from a suitably scaled random number generator, but this seems to involve decoding. What is a better way?
--- End quote ---
Well, yes the music still needs to be decoded but the playback engine can handle that, the plugin only needs to generate whitenoise (which as you say is just random numbers) and tell the mixer to mix it in with the playback audio.
Still this usecase seems fairly odd.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version