Rockbox Technical Forums

Support and General Use => Recording => Topic started by: jhMikeS on August 27, 2006, 06:32:40 PM

Title: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on August 27, 2006, 06:32:40 PM
Adds compression options and FM Radio in for iAudio and iRiver.  No real changes for iPods and Archos.

Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: Mmmm on August 28, 2006, 06:42:05 AM
What does it do?
Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: Llorean on August 28, 2006, 08:16:25 AM
It lets you record in various bitrates of MP3 (preset choices, between 64kbps and 320kbps, if I recall), high bitrate WV, and uncompressed WAV.

Realtime, while you record, encoding.
Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: MoAv on August 28, 2006, 09:15:28 AM
If mp3 recording works good, my H140 will be complete firmwarewize and I'm the happiest man alive.
Great find MikeS !
Can't find the H1xx patch file though ...
Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: Peter200lx on August 28, 2006, 12:30:12 PM
Hi! I'd love to be able to record to MP3 on my H120, but I went to your site and didn't see any builds for the iRivers
Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: jhMikeS on August 28, 2006, 01:24:47 PM
What does it do?

It doesn't really do anything for HW codec players (Archos) or for iPods (no recording yet) but it should be verified that the bit of shuffling around of code didn't break anything (I'm about 100% positive with the changes there it would be impossible to have broken anything for Archos).

For software codec players (x5, iRiver) it adds codec recording in WAV, WV, MP3. No sample rate control (though the menu is there) yet but that I will work on immediately starting after a commit.

It's been checked on the iRivers and the x5 and works well.

There are seven mp3 bitrate settings: 64, 96,128,160,192,224,320
WV is ~900 kBit/s
WAV is of course 1411 but now uses wav_enc.codec.
Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: jhMikeS on August 28, 2006, 02:36:27 PM
To all asking about iRivers I didn't post builds because those have already been checked for me by some kind folks. I really want to commit this to CVS soon and it needs some quick testing on the Archos and iPod to see if the incidental changes hurt anything. You'll have to go patch and build if you want that right now for iRiver or iAudio. The link to the patch has been added to the original message up top.
Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: jhMikeS on August 28, 2006, 07:42:00 PM
FS# 2939 has been closed so all you with iRivers and iAudios rejoice!  ;D
Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: bk on August 28, 2006, 08:41:39 PM
Does the MP3/WV encoding run in realtime, or is that still being worked on?
Title: Re: New Codec and FM Recording [please check these for HW players and iPods]
Post by: jhMikeS on August 28, 2006, 08:49:56 PM
In real time...just pick your format and record. WV seems a bit CPU intensive thought but I've had no trouble on x5.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: bk on August 28, 2006, 09:21:54 PM
Excellent! Thanks for all the work you've put into this.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on August 29, 2006, 02:49:02 AM
Antonius Hellmann did the base/bulk of the work. I just made it integrate better.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: bluebrother on August 29, 2006, 04:42:29 AM
Is there a reason why direct encoding to ogg isn't supported? Has it simply not been done or is it too cpu intensive?
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Llorean on August 29, 2006, 06:35:39 AM
I'm sure this opens up the opportunity for many codecs to be tried. For example, I could imagine Ogg/Speex being rather valuable in this context.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Peter200lx on August 29, 2006, 04:09:12 PM
Very Nice, Thanks, I'm downloading it to my player right now.

Edit: It's great, I have a few small requests. I was wondering if there would be a way to add an option to have it record Mono. Also, if it could be added as an option to chose what output frequency the recording used. With the old Archos Recorder I was able to record hour long sermons that came out to about around 10MB. Right now I record WAV and then use winLAME on my computer to compress it to that size.

The settings I used on the old recorder was Mono, 16k Hz and a bitrate of 32 kbps.

While this is by no means nessassary, I already am using winLAME on the PC, It would be nice to be able to record to the finnished product directly on the device.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Davide-NYC on August 31, 2006, 12:46:10 AM
OK Bugs!  ;D

Bugs:




Feature Requests:

Llorean: I know this stuff goes on flyspray, I'm just inviting discussion before I post them to FS. Maybe some of them will get fixed so quick it's not worth it.  ;)
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on August 31, 2006, 01:30:22 AM
Quote
OK Bugs!  ;D

Bugs:

Quote
- AGC is not displayed on WRS when source = FM Radio
AGC is fully functional just not adjustable and not displayed. In fact you can even 'select' and modify values with the joystick. It is as if the AGC line is "behind" the line that says 44.1kHz Stereo.

It may in fact be behind it...not much care has been taken there yet but this may have come up when adding AGC and not from fmradio since their use is mutually exclusive.

Quote
- Encoding status still displayed on WRS when source = Digital (but there is no encoding during digital input)

Huh? I don't quite understand this. It looks like it's writing a file but it's not? Can you post a picture? The SPDIF is very new...discuss with preglow too.

Quote
- On H100 (iriver) remote on WRS when source = FM Radio only the Gain Left is displayed and does not scroll. Basically this new WRS (FM Radio) needs the loving treatment from a willing dev.

I never even looked at the remote when getting this started so I'm sure there must be something wrong. Glad you reminded me to look at it! :)

Quote
Feature Requests:
Quote
- Bitrate should be displayed next to the encoding type.
Example: 'MP3 224kb' instead of just 'MP3'

Yes...it should and the display will improve for sure.

Quote
- Be able to change FM station from WRS when source = FM Radio
Maybe a single line under the AGC line with the current station displayed and "left/right" increments and decrement the station. Awesome!

Me too, but again...we're in prototype mode here. I suppose it should work like the other controls...yeah!

Quote
- From the FM Radio screen be taken to the WRS with source=FM and gain set to 0 by just pressing and holding REC. neato.

I'd better ask Mmmm about that...we didn't want to mess with keys yet. This is a way to get to WRS that I contemplated and is about the only option besides the menu at least for x5 where all the keys are assigned except long record for fmrs.

Quote
Llorean: I know this stuff goes on flyspray, I'm just inviting discussion before I post them to FS. Maybe some of them will get fixed so quick it's not worth it.  ;)
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Mmmm on August 31, 2006, 04:25:55 AM
Quote
- From the FM Radio screen be taken to the WRS with source=FM and gain set to 0 by just pressing and holding REC. neato.

I'd better ask Mmmm about that...we didn't want to mess with keys yet. This is a way to get to WRS that I contemplated and is about the only option besides the menu at least for x5 where all the keys are assigned except long record for fmrs.
I still think this would be great but it will only work on devices with a few spare keys (I cant remember if there are any long keypresses available on the X5 in the recording screen).  A menu item would be fairly pointless, because if you exit the radio you immediately have the option to record right there anyway.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Mmmm on August 31, 2006, 04:54:21 AM
Davide...bugs 1 and 3 should be fixed now, Give it a try... :)
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Rincewind on August 31, 2006, 02:03:15 PM
Quote
- From the FM Radio screen be taken to the WRS with source=FM and gain set to 0 by just pressing and holding REC. neato.

I'd better ask Mmmm about that...we didn't want to mess with keys yet. This is a way to get to WRS that I contemplated and is about the only option besides the menu at least for x5 where all the keys are assigned except long record for fmrs.
I still think this would be great but it will only work on devices with a few spare keys (I cant remember if there are any long keypresses available on the X5 in the recording screen).  A menu item would be fairly pointless, because if you exit the radio you immediately have the option to record right there anyway.


I tried to add this to my record button patch some time ago, but it was more difficult than I thought. Also, I was afraid to break something if I exit the fm screen in a wrong way so I didn't actually test anything.

If someone has a solution, I am happy to incorporate it in my patch (which then goes in the REP)
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Davide-NYC on August 31, 2006, 08:39:30 PM
Mmmm I can confirm that bugs 1 and 3 are history. Thanks.

Quote
- Encoding status still displayed on WRS when source = Digital (but there is no encoding during digital input)

What I mean by this is that while in the WRS with source = digital there is still displayed a big "MP3" at the last line (I believe line 5)

As far as I understand the "encoding type/quality" line should not be displayed at all in the WRS while source = digital.


[EDIT] According to MikeS:
Quote
The SPDIF just puts samples into the buffer like every other source and the encoder picks em up
This means the the line displaying encoding options and quality is totally valid and my objection to its existence should be disregarded.  :P
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on August 31, 2006, 10:24:27 PM
Quote
As far as I understand the "encoding type/quality" line should not be displayed at all in the WRS while source = digital.

Why not? Digital in can use sample rates and compression now...well...sample rates when the encoders are updated.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on August 31, 2006, 10:25:44 PM
Mono should work now on SWCODEC. Nothing should have changed for any Archos devices.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Parsifal on September 01, 2006, 08:25:41 AM
This is a great addition! Thanks for all the work!

But, if I may be so shameless, the two now most wanted features are mono recording and output sample frequency settings  ;)

And a question, if I record to MP3 instead of WV/Wav, would the HD on my IHP120 spin up to save the recorded data less frequently? I ask this not so much for battery length time but because when you record with the built-in mic, the whine from the HD is pretty annoying in the recordings :)

Edit: lame has the -a switch to downmix from stereo to mono, maybe that would be a quick way to add it, at least for the mp3 settings?
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Toni on September 01, 2006, 11:57:04 AM
With MP3 recording you can expect disk access every 54min at 64kBit,MP3,Mono. Unfortunately mono cannot be selected right now from the recording settings menu.
The disk writing time itself is longer than before, because the cpu has to compress the audio data while file writing (and may be unboosted).
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on September 01, 2006, 12:36:37 PM
Toni. I can set mono just fine and record it. What's up?

Davide-NYC: I'm gonna do a quick update to get that FM Radio input option on the sim.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Toni on September 01, 2006, 01:10:55 PM
MikeS: It's the

#ifndef UDA1380
recchannels
#endif

thingy, which makes Mono/Stereo selection impossible on iriver.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on September 01, 2006, 01:17:01 PM
Toni: Never paid attention to that! ;D The mixing to mono is done in the codecs so I don't see a good reason to disable it...anymore at least.

BTW that mp3 encoder says it's shine but it doesn't look much like shine code. I need some details about it:

-Where'd you pick it up?
-How much of the code is your own and what?
-What exactly is it capable of?
-If I use other settings (Joint Stereo fe) and any of those tables that don't appear to be used with the current config are they gonna end up trying to be used?
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on September 01, 2006, 01:21:25 PM
Toni: And what's the encoder delay? 576?
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Toni on September 01, 2006, 02:46:06 PM
MikeS:
I got the shine code from the link in the rockbox encoder page.
To get reasonable performance on iriver I had to rewrite the code completely.
For performance reasons I merged the mdct algorithm from a later lame encoder.
Finally I optimized the code to get the best quality from integer calculation
restrictions.
So basically the internal technique is shine, but optimized for iriver.
The encoder quality is very close to the shine quality, which equals lame quality
setting zero.
This encoder does not use any of the lame advanced mp3 encoding features.
I once tried to implement joint stereo, but gave up. There is also no psymodel
included.
For my purpose (radio recording on iriver) this encoder is quite satisfying
because of the relatively poor radio quality.
Because the current source is based on shine, which is based on lame, there are
still a lot of unused options from the original code.
And yes, the delay should still be 576 samples.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on September 01, 2006, 05:01:07 PM
Actually it really doesn' t sound too bad.

I need to know all the details cause I'm including sample rates/bit rates and other config options for codecs soon.

What MPEG versions does it support?

So you only have full stereo/mono? I though I saw references to joint stereo in there somewhere. What's missing for it? <== Would like to attempt.

I currently know next to nothing about writing an MP3 encoder btw but I'll do my research.

I also need to make the encoder include the correct amount of zero samples at the beginning and end of an MP3 file. It doesn't seem to do that. If I need 576 for the beginning...how many extra end frames?
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: pabouk on September 04, 2006, 05:56:22 AM
Firstly I would like to thank you for this great addition.

With MP3 recording you can expect disk access every 54min at 64kBit,MP3,Mono.
Unfortunately the disk spins up at the beginning of every recorded file i.e. when you start recording or when you split the recorded file so it is still hardly usable for recording from the internal microphone.

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 - so you can record for example several dictaphone notices without the harddrive noise.

Quote
Unfortunately mono cannot be selected right now from the recording settings menu.
Could you please implement more mono modes? - i.e.:
left channel
right channel
downmixed L+R (normal mono)
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: AlexP on September 04, 2006, 06:07:59 AM
It HAS to spin up as soon as the buffer is full in order to write the data to disk otherwise it would be lost.  Only a certain time period could be recorded (depending on bitrate etc) before flushing to disk.  AFAIK this is what happens now, it spins up as little as possible just to empty the buffer (not sure about at the start)
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: pabouk on September 04, 2006, 06:20:12 AM
It is clear that Rockbox has to write the buffer when it is full.

English is not my native language so excuse me for clumsily expressing my ideas. I will try it once more:

Rockbox spins up the harddrive immediately when you START recording.
(or when you split the recorded file by pressing the RECORD button)

It means that you will hear the harddrive noise at the beginning of every recorded file when you record from the internal microphone or when the external microphone picks up the noise (i.e. in a quiet room).
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: keuleJ on September 04, 2006, 08:54:20 AM
I think it's very useful to write down the finished file to disk when you split files. In case something happens, at least the finished file is completely saved.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: AlexP on September 04, 2006, 09:49:16 AM
It is clear that Rockbox has to write the buffer when it is full.

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

(not sure about at the start)

I was replying to you when you said:

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
 

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
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: pabouk on September 04, 2006, 10:18:09 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.
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
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.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: AlexP on September 04, 2006, 01:50:38 PM
Excuse my ignorance.

And my pedantry!  :D
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on September 04, 2006, 08:52:14 PM
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.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: pabouk on September 05, 2006, 05:07:34 AM
-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.
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!
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.
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.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on September 05, 2006, 06:05:18 AM
Audio cannot be played if the codecs are loaded so any loading of codecs will stop playback. Else a new buffer would be needed for codecs that would take up space all the time and leave less for everything else.

Perhaps the codec could be loaded into normal RAM at first then swapped into the codec IRAM when needed, much like what happens between voice/(playback & record). But you still need a buffer set aside for that since there's no dynamic memory allocation.

Full flushing as well as creating the new file could be delayed and full sync delayed until recording has been stopped.

Don't say anything until the HD spins down perhaps? Make it a short timeout.

Needless to say disk access should be minimized in general.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: pabouk on September 06, 2006, 10:59:33 AM
Probably the best compromise (i.e. without changes to the Rockbox architecture) would be to (optionaly) load the codec immediately after entering the recording menu, entering the recording screen or changing a codec.

If someone wants to use Rockbox as a "ready" recorder (s)he will activate "Show Recording Screen on Startup" option so the codec will be loaded immediately after boot.

During recording the harddisk spindown timeout should be automatically set to 0.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: lux on September 06, 2006, 08:37:59 PM
hello, i tried to record FM radio on iriver H140 and have some notes: when recording to MP3 (i tried 160 and 320 too) there is some digital noise, like very quick pulses oh high frequencies. i tried WAV too, and sound was clear. is it problem of not good encoder or what?
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: pabouk on September 08, 2006, 08:33:32 AM
Yesterday I encountered two crashes while recording to WavPack with the latest build. This bug was described in the tracker as #5952 (http://www.rockbox.org/tracker/task/5952) already so I added my observations as a comment.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: mlind on September 11, 2006, 05:31:11 PM
hello, i tried to record FM radio on iriver H140 and have some notes: when recording to MP3 (i tried 160 and 320 too) there is some digital noise, like very quick pulses oh high frequencies. i tried WAV too, and sound was clear. is it problem of not good encoder or what?

Is this the same thing?
http://forums.rockbox.org/index.php?topic=6327.0
Seems they fixed it by now.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: pabouk on September 19, 2006, 10:03:18 AM
After the recent changes to the recording code there are still some bugs remaining. I have added my findings to the tracker task #5952 (http://www.rockbox.org/tracker/task/5952).
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: IpaqMan on September 27, 2006, 09:51:47 PM
Here are a couple of bugs, I think.  The disk space warning message and the minutes left display do not account for the recording quality.  They seem to be based upon uncompressed WAV usage.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Mmmm on September 28, 2006, 03:38:54 AM
Here are a couple of bugs, I think.  The disk space warning message and the minutes left display do not account for the recording quality.  They seem to be based upon uncompressed WAV usage.

I think you are talking about the REP only right?
In which case this is irrelevant here.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: innersoul on September 30, 2006, 03:56:36 AM
these recording options only concern iRiver H1xx, not the iRiver h10 5/6 GB, right?
if so, does that mean it could be available for the small iRiver (h10 5/6) too or is that a totally different architecture. excuse my ignorance, i'm a rockbox user since yesterday (again) ;)
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: darkdoomer on October 05, 2006, 12:38:40 PM
hem, excuse me but where do i get the FM and recording plug-ins for the iriver ? i got a h10 20gb and they dont work on me .__.  
maybe i dit it wrong
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: bluebrother on October 05, 2006, 12:43:02 PM
hem, excuse me but where do i get the FM and recording plug-ins for the iriver ? i got a h10 20gb and they dont work on me .__.  
maybe i dit it wrong
FM tuner and recording isn't implemented for the h10 yet. See the H10 specific IriverH10FAQ wiki page.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jamfreak on October 08, 2006, 01:09:48 PM
Is anyone working on a lossless encoder so it would be possible to record lossless (FLAC.....) Without getting HUUUGE wav files on your player
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Llorean on October 08, 2006, 01:13:17 PM
The wavpack encoder is lossless.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jamfreak on October 08, 2006, 01:30:01 PM
The wavpack encoder is lossless.
Like I said: The files are lossless BUT HUUUUGE! Specially when u record for a longer period of time you end up with a file that takes a good portion of your HD. I have all my pics as well as a lot of music on my player and "only" a few GB to work with. It would be nice to have a lossless encoder other than wavpack since your file would be half the size.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: AlexP on October 08, 2006, 02:09:33 PM
Wavpack is different to wav.

Wavpack and FLAC file sizes are very similar, and both are lossless encodings of wav, and much smaller.
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jamfreak on October 08, 2006, 07:42:44 PM
Wavpack is different to wav.

Wavpack and FLAC file sizes are very similar, and both are lossless encodings of wav, and much smaller.
Nice, I didn't realize that the wavpack that rockbox uses is actually lossless. I know that some wavpack are actually lossy even so it's much better quality than MP3
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: Phobia on October 08, 2006, 11:09:29 PM
Wait a second...

I thought the wavpack encoder used was the lossy version.  Its lossless??  Thats great news if true.

:)

-- Phob
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jamfreak on October 09, 2006, 02:11:37 AM
Wait a second...

I thought the wavpack encoder used was the lossy version.  Its lossless??  Thats great news if true.

:)

-- Phob
Yeah, that's what I thought. Can someone clarify this please?
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jhMikeS on October 09, 2006, 02:15:41 AM
http://en.wikipedia.org/wiki/WavPack
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: jaybeee on October 09, 2006, 06:44:32 AM
Yes, it's lossless.
You could've just tried it you know ;)
Title: Re: New Codec and FM Recording for iAudio and iRiver
Post by: AlexP on October 09, 2006, 08:18:39 AM
Encoding to wavpack in rockbox is lossless mode.  The playback of wavpack will do either lossy or lossless.