Support and General Use > Recording
Gain logging
petur:
I'm implementing gain logging and would like your opinion.
Current implementation:
- write to a logfile on every gain change
- logs time offset (in ms), left gain and right gain
- tab separated
- logfile has same name as recording but ends with .log
- file is written to disk when recording is flushed to disk or gain log buffer full
- keeps 50 gain changes in memory to reduce disk spinup
let me know what's missing/overlooked. The code is not ready so nothing to try yet.
lenny:
--- Quote from: petur on September 23, 2007, 06:38:18 PM ---- logs time offset (in ms), left gain and right gain
--- End quote ---
Might samples be better (more accurate)?
Edit: Oh and this
http://forums.rockbox.org/index.php?topic=2513.msg44075#msg44075
Davide-NYC:
Logging should not increase disk spin-up frequency.
Whenever the HD needs to spin up to write audio the current "in memory" logs should be written to disk as well.
Was that at all clear? ???
petur:
--- Quote from: Davide-NYC on September 23, 2007, 11:26:59 PM ---Logging should not increase disk spin-up frequency.
Whenever the HD needs to spin up to write audio the current "in memory" logs should be written to disk as well.
--- End quote ---
That was my 5th point, probably also not very clear ;)
petur:
--- Quote from: lenny on September 23, 2007, 06:47:59 PM ---Might samples be better (more accurate)?
--- End quote ---
That is next to impossible because the data is transferred in chunks using DMA. It will be already hard to have some accurate time in ms...
Navigation
[0] Message Index
[#] Next page
Go to full version