Support and General Use > Recording

New Codec and FM Recording for iAudio and iRiver

<< < (8/13) > >>

AlexP:

--- Quote from: pabouk on September 04, 2006, 06:20:12 AM ---It is clear that Rockbox has to write the buffer when it is full.

--- End quote ---

I know you know!  ;)  That's why I said:


--- Quote from: BigBambi on September 04, 2006, 06:07:59 AM ---(not sure about at the start)

--- End quote ---

I was replying to you when you said:


--- Quote from: pabouk on September 04, 2006, 05:56:22 AM ---It would be much more useful if the disk spins up only after stopping the recording OR even after some delay after recording several files
 
--- End quote ---

I was just pointing out that it can't necessarily just spin up after stopping recording, as you may have recorded for longer than the buffer lenght at your chosen bitrate and format.

I don't know why it spins up at the start of recording.  I'm sure a recording guru (Mmmm, Petur?) can tell us!  :P

pabouk:

--- Quote from: BigBambi on September 04, 2006, 09:49:16 AM ---I was just pointing out that it can't necessarily just spin up after stopping recording, as you may have recorded for longer than the buffer lenght at your chosen bitrate and format.
--- End quote ---
OK OK ;)  I was talking mainly about short recordins which fit into the buffer (54 minutes - MP3 64 kbps mono ;D). I just did not say that. Excuse my ignorance.


--- Quote ---I don't know why it spins up at the start of recording.  I'm sure a recording guru (Mmmm, Petur?) can tell us!  :P
--- End quote ---
Probably Rockbox determines the next available filename at that moment. But it could be done just before the first portion of the file is written or after booting Rockbox (if you want to have the filename displayed). Problem with spinning up after file splitting is not so serious but writing the split file immediately should be probably optional.

AlexP:

--- Quote from: pabouk on September 04, 2006, 10:18:09 AM ---Excuse my ignorance.

--- End quote ---

And my pedantry!  :D

jhMikeS:
Several points here:

-When you start recording the codec must be loaded from disk. No choice. It is not cached and it is unloaded when you exit the screen.

-When you start a new file the file must be created and perhaps a WAV header written (not for mp3). This should be addressable once all outgoing data can be placed in the output stream and the first flush is done.

-The data is flushed and the file is synced when the current file is closed. Disk up!

-And yes, it has to spin up when < 5sec or so remain free in the buffer to write.

-Mono mode is enabled now (for a couple days actually) for you iRiver owners :) I had neglected a couple #defines that enabled the menu selection. 44.1kHz is also the only frequency menu item you should see atm.

Tips:
-Keep your hd spinning longer when recording or just leave it on...this could be a recording option.
-Don't record immediately after startup when dircache is working or you'll be doing some waiting at times. As long as other houskeeping is done, recording is quite responsive...most of the time. Data doesn't get lost though which is the important thing.

pabouk:

--- Quote from: MikeS on September 04, 2006, 08:52:14 PM ----When you start recording the codec must be loaded from disk. No choice. It is not cached and it is unloaded when you exit the screen.

--- End quote ---
I totally forgot about the clear implications of the new recording codec architecture :D

Unfortunately the internal microphone will be fully usable only when the hardisk will be stopped during recording until the buffer almost fills up. It would be great if there will be an option to:
a) load selected codec(s) permanently at boot of Rockbox
b) load the selected codec after entering the recording menu or immediately after selecting the codec
c) cache the lastly selected/used codec(s)


--- Quote ----The data is flushed and the file is synced when the current file is closed. Disk up!

--- End quote ---
When the data stream (with possibility to store file headers) is implemented it would be helpful if immediate flushing of the closed file is optional.


--- Quote ----Keep your hd spinning longer when recording or just leave it on...this could be a recording option.

--- End quote ---
It would help a little. The noise of the spinning drive is high although it is lower than the noise of the spinning up drive.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version