Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Recording
| | |-+  Recording via optical in - sample rate 44,1 khz or 48 khz
« previous next »
  • Print
Pages: [1] 2

Author Topic: Recording via optical in - sample rate 44,1 khz or 48 khz  (Read 10559 times)

Offline hellokitty

  • Member
  • *
  • Posts: 31
Recording via optical in - sample rate 44,1 khz or 48 khz
« 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?
Logged

Offline keuleJ

  • Member
  • *
  • Posts: 93
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #1 on: September 24, 2006, 03:14:07 PM »
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
« Last Edit: September 24, 2006, 03:24:22 PM by keuleJ »
Logged

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #2 on: September 25, 2006, 04:36:30 AM »
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. :)
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #3 on: September 25, 2006, 07:20:46 AM »
The bug is confirmed but not so easy to fix... Sorry.
Logged

Offline perjak

  • Member
  • *
  • Posts: 16
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #4 on: October 11, 2006, 10:38:57 AM »
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
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #5 on: October 11, 2006, 11:59:48 AM »
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 ;)
Logged

Offline perjak

  • Member
  • *
  • Posts: 16
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #6 on: October 11, 2006, 02:29:13 PM »
Cool Eddie did the job!

Thanks so far! ;D
Logged

Offline jhMikeS

  • Developer
  • Member
  • *
  • Posts: 242
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #7 on: October 19, 2006, 09:23:29 PM »
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.
Logged

Offline perjak

  • Member
  • *
  • Posts: 16
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #8 on: October 25, 2006, 07:36:35 AM »
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


Quote from: MikeS on October 19, 2006, 09:23:29 PM
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.
Logged

Offline lordzoster

  • Member
  • *
  • Posts: 11
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #9 on: November 02, 2006, 02:07:04 PM »
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.
Logged

Offline petur

  • Developer
  • Member
  • *
  • Posts: 769
  • wtb: time
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #10 on: November 02, 2006, 02:58:34 PM »
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...
Logged

Offline jhMikeS

  • Developer
  • Member
  • *
  • Posts: 242
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #11 on: November 06, 2006, 11:53:23 PM »
New stuff in CVS now...try it out  ;)
Logged

Offline perjak

  • Member
  • *
  • Posts: 16
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #12 on: November 07, 2006, 05:00:34 AM »
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


Quote from: MikeS on November 06, 2006, 11:53:23 PM
New stuff in CVS now...try it out  ;)
« Last Edit: November 07, 2006, 05:31:57 AM by perjak »
Logged

Offline pabouk

  • Member
  • *
  • Posts: 387
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #13 on: November 07, 2006, 07:04:28 AM »
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.
Logged

Offline perjak

  • Member
  • *
  • Posts: 16
Re: Recording via optical in - sample rate 44,1 khz or 48 khz
« Reply #14 on: November 07, 2006, 10:57:31 AM »
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

Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Recording
| | |-+  Recording via optical in - sample rate 44,1 khz or 48 khz
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.111 seconds with 14 queries.