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
| |-+  Hardware
| | |-+  Sansa clip+ : half pitch
« previous next »
  • Print
Pages: [1]

Author Topic: Sansa clip+ : half pitch  (Read 1687 times)

Offline porjo

  • Member
  • *
  • Posts: 1
Sansa clip+ : half pitch
« on: October 24, 2013, 09:29:58 AM »
Player is Sansa Clip+ with Rockbox 3.13 firmware

I regularly convert mp4 files from Youtube to m4a using MP4Box command line utility e.g.

Code: [Select]
$ mp4box -add audiofile.mp4#audio audiofile.m4a

Occasionally I find that the pitch of the audio is too low when played back on the Sansa Clip. If I adjust the pitch to 200% the audio sounds normal.

An example file that exhibits this problem is as follows:

Code: [Select]
$ mp4box -info audiofile.m4a 
* Movie Info *
Timescale 600 - Duration 01:52:44.808
Fragmented File no - 1 track(s)
File suitable for progressive download (moov before mdat)
File Brand M4A  - version 1
Created: GMT Thu Oct 24 13:15:06 2013

File has root IOD (9 bytes)
Scene PL 0xff - Graphics PL 0xff - OD PL 0xff
Visual PL: No visual capability required (0xff)
Audio PL: High Efficiency AAC Profile @ Level 2 (0x2c)
No streams included in root OD

iTunes Info:
Name: Audiofile

Track # 1 Info - TrackID 1 - TimeScale 44100 - Duration 01:52:44.808
Media Info: Language "Undetermined" - Type "soun:mp4a" - 145668 samples
MPEG-4 Config: Audio Stream - ObjectTypeIndication 0x40
MPEG-4 Audio MPEG-4 Audio SBR - 2 Channel(s) - SampleRate 22050 - SBR SampleRate 44100
Self-synchronized

My guess is that the Sansa is playing 22khz auido at 44khz sample rate (does that make any sense?)

Does anyone know a) why this is happening b) what can be done to fix the issue (without modifying pitch on the player)?
« Last Edit: October 24, 2013, 09:32:50 AM by porjo »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: Sansa clip+ : half pitch
« Reply #1 on: October 24, 2013, 12:12:45 PM »
It does sound like the SBR part isn't decoded correctly resulting in half the sample rate.

Do the files decode correctly in other software?
Logged

Offline Echo

  • Member
  • *
  • Posts: 28
  • Peace And Love
Re: Sansa clip+ : half pitch
« Reply #2 on: October 24, 2013, 02:48:19 PM »
Is this just the pitch that is different or also the sound is playing slower? (should be twice as long or cut somewere in 50% of the sound original length)
If it dose that it is most likely bitrate issue and may even be fixed manually, depending on the exact format.
If not then it is very, very strange.

I also noticed that the track has 2 channels. Maybe the nono/stereo definition is incorrect?
Try looking at all your problem files and see if they all stereo.
That check all your good files and see if they all mono.
If so than that may be case.

Good luck
Logged
Peace And Love
Raz

Offline Julian67

  • Member
  • *
  • Posts: 116
Re: Sansa clip+ : half pitch
« Reply #3 on: October 24, 2013, 06:50:44 PM »
This looks the same bug as FS#12856
Logged

Offline silvertree

  • Member
  • *
  • Posts: 51
Re: Sansa clip+ : half pitch
« Reply #4 on: October 27, 2013, 07:28:26 AM »
I encountered this phenomenon last night from the same circumstances.

I used last night's build on Sansa Fuze+

I downloaded some youtube .3gp content and demuxed the audio with YAMB.

The 2 troublesome tracks were 32kkps AAC.

Here's what mediainfo had to say about both of the problem files:

Audio
ID                               : 2
Format                           : AAC
Format/Info                      : Advanced Audio Codec
Format profile                   : LC
Codec ID                         : 40
Duration                         : 11mn 8s
Bit rate mode                    : Variable
Bit rate                         : 32.0 Kbps
Nominal bit rate                 : 236 bps
Maximum bit rate                 : 35.2 Kbps
Channel(s)                       : 1 channel
Channel positions                : Front: C
Sampling rate                    : 22.05 KHz
Compression mode                 : Lossy

[edit] I just mentally processed echo's question: the files are low pitch as a result of playing slower.
« Last Edit: October 27, 2013, 07:30:51 AM by silvertree »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  Sansa clip+ : half pitch
 

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

Page created in 0.089 seconds with 15 queries.