Rockbox Technical Forums
Support and General Use => Recording => Topic started by: hellokitty on September 24, 2006, 02:46:13 PM
-
Hi,
after I upgraded rockbox with daily build 230906 I realized that recording via optical in now seems to be limited to 44,1 khz. If I go to the recording menu it shows 48, but the generated file is only 44,1 khz. I could find no way to select a sample rate higher than 1441 kbps WAV (source digital).
It also seemed to be too slow, maybe because of the difference between optical out (48 khz) an the optical in ("forced" 44,1 khz).
I decided to downgrade with daily build 090806 which always generates 48 khz files from optical in. And it workes just fine.
But I really would like to see it working again because the latest builds have the bookmarking for .txt files which I missed for months.
Maybe someone can help me?
-
Hi, I just discovered the same error. If you record 48kHz with optical, the recording screen shows you 48kHz. But if you listen to the file, it is played in 44.1kHz without resampling, pitch is too low and speed is too slow. If you play it on the computer, its still too slow, because of that I think something with the recorded file is wrong.
Funny is, that if you monitor the recording, I think you listen to the right pitch/speed.
This is for Wave and for MP3 recording. I didn't test other formats. I can supply example files, if needed.
Filed as a Bug: http://www.rockbox.org/tracker/task/6061
-
AFAIK Rockbox never does resampling while recording. The bug is that it writes wrong sampling rate into the WAV header (44.1 instead of 48 kHz). You can fix your recordings by manually editing the WAV header. :)
-
The bug is confirmed but not so easy to fix... Sorry.
-
Well, I am having troubles with this as well....
So until it is fixed: Have do I manually edit the .wav header?
Thanks a million in advance
Per in Denmark
-
Mike is working on a patch - it's in the tracker but so far it only works for iaudio x5, not iriver h1x0/h3x0
I'm sure there's plenty of freeware tools to change WAVs. If not, load it in audacity/cooledit/... and change the samplerate there (not 'resample'!)
Or wait until somebody post below here with a better answer ;)
-
Cool Eddie did the job!
Thanks so far! ;D
-
This will be fixed in the next update (codecs always assumed 44.1kHz) but be aware you don't choose rates for SPDIF. The rate is taken from the source and rounded to the nearest standard rate (SPDIF could be actually running at 44099 for example). 48kHz will work with all codecs as well.
-
Sorry, if my question is stupid: Next update is not the same as the next daily build?
Is there any sort of announcement of an update? Or is it clearly seen on the frontpage of the website?
Best wishes Per in Denmark
This will be fixed in the next update (codecs always assumed 44.1kHz) but be aware you don't choose rates for SPDIF. The rate is taken from the source and rounded to the nearest standard rate (SPDIF could be actually running at 44099 for example). 48kHz will work with all codecs as well.
-
quoting from the Daily Builds page header, they "are automated daily builds of the code in CVS. They contain all the latest features. They may also contain bugs and/or undocumented changes".
this means that, in the last day an update have been committed, the daily build will contain it.
Elsewhere not.
-
Well Mike wasn't to clear there: he meant with the next change of the recording code, not the next time the automated build system produces a new version.
Mike got himself an h120 to be able to finish this part of the code, so it'll be ready soon hopefully...
-
New stuff in CVS now...try it out ;)
-
Sorry again. I am on a Mac.....
What do I do? ???
My H140 was RockBoxed with the help from a friend with a Win PC a month ago.
Per
New stuff in CVS now...try it out ;)
-
Follow the normal Rockbox upgrade procedure:
http://www.rockbox.org/twiki/bin/view/Main/ManualRockboxInstall#Keeping_Rockbox_up_to_date
If you do not want to lose your configuration, save your Rockbox settings before updating then you can restore it. Saving is needed only if the configuration block format changes between the versions but anyway it is useful to have the configuration saved in a file.
-
Thanks for reply, but
- do I have to visit the friend with the PC or can I do it from the Mac?
It's not easy for a rookie to differ between the terms "Daily Build", "Bleeding Edge" and a CVS.
Today I have d/l and unzipped two items fro the website:
1. rockbox.zip which unzips to rockbox Folder. In this folder there is a file named rockbox.iriver dated 7th Nov 2006, 6:38
2. rockbox-h120-20061107.zip which unzips to rockbox-h120-20061107 Folder. In this folder there is also a file named rockbox.iriver dated 7th Nov 2006, 6:38
In the root of the H140 drive there is a file named rockbox.iriver dated 1st Oct 2006, 7:09.
Is it enough just to replace the old one with the new one?
TIA
Per
-
- do I have to visit the friend with the PC or can I do it from the Mac?
No. You just need to extract an archive to the disk in the player.
It's not easy for a rookie to differ between the terms "Daily Build", "Bleeding Edge" and a CVS.
Bleeding edge and CVS builds are the same. They are built automatically whenever a developer changes the Rockbox code. The change is called commit.
Daily builds are virtually the same but they are made only once per day and they are archived for one month. The developers should also ensure that the Rockbox code is functional (when there is a serious bug introduced by a recent change) before the daily built is made (about 5:00 UTC).
I recommend you trying the CVS build unless it is broken.
In the root of the H140 drive there is a file named rockbox.iriver dated 1st Oct 2006, 7:09.
Is it enough just to replace the old one with the new one?
Overwrite the rockbox.iriver file and the .rockbox directory on your player. The .rockbox directory is probably hidden by default on Mac OS X. In the command line you can list hidden files and directories using ls -a but I do not know how to list them in the GUI.
-
That was great help! Thanks.
I want to save the config file (settings). I go to Manage Settings, Write .cfg file. I get a screen with the settings, BUT CAN'T FIND OUT HOW TO SAVE the damned file.
It's not in the RockBox manual.
Best from Per
-
I am glad to hear that it was helpful :)
What you get after selecting the "Write .cfg file" item is the Virtual Keyboard. To save the .cfg file you have to confirm the filename by pressing Play.
Unfortunately in the manual there is not a link to the Virtual Keyboard description (http://download.rockbox.org/manual/rockbox-h100/rockbox-buildch4.html#x7-340004.1.4) from the Manage Settings menu description.
-
I believe I tried all buttons and combinations - incl. Play - several times. Got confused, ran through manual like a mad.
Obviously one have to wait some seconds before it saves.....
Thanks for relieving my confusion ;D
One have to learn something every day....
Per
-
This is strange!
I got this
**********************************************
A reply has been posted to a topic you are watching by petur.
View the reply at: http://forums.rockbox.org/index.php?topic=6669.new;topicseen#new
Unsubscribe to this topic by clicking here: http://forums.rockbox.org/index.php?action=notify;topic=6669.0
More replies may be posted, but you won't receive any more notifications until you read the topic.
*********************************************
I read it (thanks!!) and spotted a typo in my previous post. I edited that, saved, and suddenly petur's very helpful reply was gone ???
What has happened?
Per
-
I read it (thanks!!) and spotted a typo in my previous post. I edited that, saved, and suddenly petur's very helpful reply was gone ???
What has happened?
well, I was just being silly and used my powers to hide it ;)
I popped in during work, saw your question without seeing that I was on page 1/2 and answered. Then I saw what I did, see the answer was already there and decided to remove my own post again as it was just out of place there.
-
yesterday I tried the 7.november build on my H140 and recorded 50min from my dvd-recorders optical out into the iriver´s optical in.
all was fine, no problems at all.
only 1 question:
the displayed sample rate on the recording screen was WAV/64k ??? Why 64k when my panasonic dvd recorder puts out an PCM audio signal when recording at Panasonic´s XP-mode?
Of course I checked the Panasonic´s Audio setup before I recorded the concert from TV to make sure the output will be as PCM.
I recorded the show while the panasonic was playing back the concert.
thx
arni
-
Hi everybody!
Yesterday I recorded 2:30 h from my digital satellite receiver with automatic timesplit at 2:00 h. Everything worked just fine (48 khz/16bit).
Daily build: 20061109
Finally I can use bookmarking in .txt-files again and record via optical in!
Thank you very much!
-
Hello again
I updated to the build of 20061207.
Yesterday I recorded a DAT tape - recorded in 48kHz/16bit - to my H140. To my surprise the recorded file showed up in Cool Eddie as 64kHz and sounds a bit 'Donald Duck' like. It is easy to "Adjust" the recording to 48kHz, but what is wrong ???
Last time I tried - with an older build from around 20061001 - the recorded 48kHz file showed up as 44.1kHz and sounded 'slow and lazy'.
Regards from Per in Denmark
-
Hi,
you have to enter the recording screen after you plugged the optical cable into the player (and of course there has to be "red light"). If you do so the recording screen will "read" the data coming in. It should now say 48k - and sound allright.
If you first enter the recording screen and then plug the cable it'll say 64k which causes the strange sound.
In the recording menu you should choose "same as source" - then it'll work like described above.
Good luck!
-
Great help!
Solved now.
Thanks a million.
Per
-
I want to resolve this at some point and make it more friendly. The CPU can fire off interrupts or at least recording can check incoming samplerates while prerecording/waiting and switch when the cable is plugged. As for switching while recording, possibly. Rather a small thing to tell the encoder to do something else. I could probably never guarantee a gapless split in that case or that some samples of the incorrect rate will never make it to the current file or next.