Forcing 88.2 -> 44.1?

Discuss Decibel, a high quality audio player.
Post Reply
Kraft
Posts: 11
Joined: Sun Jan 15, 2012 7:45 pm

Forcing 88.2 -> 44.1?

Post by Kraft » Tue May 29, 2012 2:39 am

Enjoy using Decibel, but I only have USB as an option out of my laptop and my DAC will not accept 88.2 khz. I like to use 'adjust sample rate' option and was wondering if there was a way to force 88.2 to play at 44.1 so I don't have to uncheck that option and adjust the sample rate myself if there are any songs at that sample rate in my selection.

User avatar
sbooth
Site Admin
Posts: 2450
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: Forcing 88.2 -> 44.1?

Post by sbooth » Tue May 29, 2012 10:50 am

This should happen automatically. If Decibel notices that your DAC doesn't support the file's sample rate it will select an integer multiple of the sample rate that is supported.

Kraft
Posts: 11
Joined: Sun Jan 15, 2012 7:45 pm

Re: Forcing 88.2 -> 44.1?

Post by Kraft » Tue May 29, 2012 6:56 pm

For some reason it doesn't automatically downsample to 44.1. It tries to play at 88.2 and I get a heavily distorted output (Nuforce HDP btw).

User avatar
sbooth
Site Admin
Posts: 2450
Joined: Fri Dec 23, 2005 7:45 am
Location: USA
Contact:

Re: Forcing 88.2 -> 44.1?

Post by sbooth » Tue May 29, 2012 11:41 pm

That is obviously not right. Would you mind to enable logging so I can determine what is happening?

Kraft
Posts: 11
Joined: Sun Jan 15, 2012 7:45 pm

Re: Forcing 88.2 -> 44.1?

Post by Kraft » Thu May 31, 2012 3:02 am

Sure, I can get the log. May take a week or two as I'm moving. Btw, since logging is needed to troubleshoot issues, any chance of an enable/disable logging button?

Kraft
Posts: 11
Joined: Sun Jan 15, 2012 7:45 pm

Re: Forcing 88.2 -> 44.1?

Post by Kraft » Fri Jun 08, 2012 11:57 pm

Got a chance to try it out today, hope this helps figure this out:

Fri Jun 8 19:53:14 KD-MB.local Decibel[51915] <Debug>: Opening log
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Debug>: Opening output for device 0x106
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Opening output for device 0x106 (Built-in Output)
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Setting output device UID to AppleHDAEngineOutput:8,0,1,1:0
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Setting output device ID to 0x106
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Digital volume set to 1
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Digital volume set to 1
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Found plug-in: org.sbooth.Decibel.PlugIn.AddSelection
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Found plug-in: org.sbooth.Decibel.PlugIn.GrowlNotifier
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Found plug-in: org.sbooth.Decibel.PlugIn.IRRemote
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Found plug-in: org.sbooth.Decibel.PlugIn.iTunesBrowser
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Found plug-in: org.sbooth.Decibel.PlugIn.Scrobbler
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Instantiated plug-in: org.sbooth.Decibel.PlugIn.AddSelection (DecibelAddSelection)
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Instantiated plug-in: org.sbooth.Decibel.PlugIn.IRRemote (DecibelIRRemote)
Fri Jun 8 19:53:15 KD-MB.local Decibel[51915] <Info>: Instantiated plug-in: org.sbooth.Decibel.PlugIn.iTunesBrowser (DecibeliTunesBrowser)
Fri Jun 8 19:53:54 KD-MB.local Decibel[51915] <Debug>: -stop:
Fri Jun 8 19:53:54 KD-MB.local Decibel[51915] <Info>: Setting output device UID to AppleUSBAudioEngine:Nuforce, Inc.:Nuforce Icon HDP DAC:26220000:3
Fri Jun 8 19:53:54 KD-MB.local Decibel[51915] <Info>: Setting output device ID to 0x108
Fri Jun 8 19:53:54 KD-MB.local Decibel[51915] <Debug>: Closing output for device 0x106
Fri Jun 8 19:53:54 KD-MB.local Decibel[51915] <Debug>: Opening output for device 0x108
Fri Jun 8 19:53:54 KD-MB.local Decibel[51915] <Info>: Opening output for device 0x108 (Nuforce Icon HDP DAC)
Fri Jun 8 19:54:11 KD-MB.local Decibel[51915] <Debug>: -playPause:
Fri Jun 8 19:54:11 KD-MB.local Decibel[51915] <Debug>: -play:
Fri Jun 8 19:54:11 KD-MB.local Decibel[51915] <Info>: Creating decoder for "01 - Art Pepper - Move.flac"
Fri Jun 8 19:54:13 KD-MB.local Decibel[51915] <Info>: Selecting physical format for stream 0x109: 2 ch, 44100 Hz, 'lpcm' (0x0000000c) 24-bit little-endian signed integer
Fri Jun 8 19:54:13 KD-MB.local Decibel[51915] <Info>: Setting stream 0x109 physical format to: 2 ch, 44100 Hz, 'lpcm' (0x0000000c) 24-bit little-endian signed integer
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: -> kAudioStreamPropertyPhysicalFormat [0x109]: 2 ch, 44100 Hz, 'lpcm' (0x0000000c) 24-bit little-endian signed integer
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Starting playback for "01 - Art Pepper - Move.flac"
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Device sample rate (44100 Hz) doesn't match decoder sample rate (88200 Hz)
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Setting device 0x108 sample rate to 88200 Hz
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: -> kAudioStreamPropertyPhysicalFormat [0x109]: 2 ch, 88200 Hz, 'lpcm' (0x0000000c) 16-bit little-endian signed integer
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: -> kAudioStreamPropertyVirtualFormat [0x109]: 2 ch, 88200 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Warning>: Ring buffer has invalid format
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Warning>: CreateConvertersAndSRCBuffer failed
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: -> kAudioDevicePropertyNominalSampleRate [0x108]: 88200 Hz
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Enqueuing "01 - Art Pepper - Move.flac"
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Device preferred stereo channels: 1 2
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Stream 0x109 information:
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Virtual format: 2 ch, 88200 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Starting channel: 1
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Channel map:
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: 0 -> 0
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: 1 -> 1
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Decoding starting for "01 - Art Pepper - Move.flac"
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Decoder format: 2 ch, 88200 Hz, 'lpcm' (0x0000002c) 24-bit little-endian signed integer, deinterleaved
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Decoder channel layout: kAudioChannelLayoutTag_Stereo (0x00650002)
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Debug>: Decoding started for "01 - Art Pepper - Move.flac"
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Debug>: Starting device 0x108
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: Creating decoder for "02 - Art Pepper - Groovin' High.flac"
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Info>: -> kAudioDevicePropertyDeviceIsRunning [0x108]: True
Fri Jun 8 19:54:14 KD-MB.local Decibel[51915] <Debug>: Rendering started for "01 - Art Pepper - Move.flac"
Fri Jun 8 19:54:32 KD-MB.local Decibel[51915] <Debug>: -playPause:
Fri Jun 8 19:54:32 KD-MB.local Decibel[51915] <Debug>: -pause:
Fri Jun 8 19:54:32 KD-MB.local Decibel[51915] <Debug>: Stopping device 0x108
Fri Jun 8 19:54:32 KD-MB.local Decibel[51915] <Info>: -> kAudioDevicePropertyDeviceIsRunning [0x108]: False
Fri Jun 8 19:54:34 KD-MB.local Decibel[51915] <Info>: Setting stream 0x109 physical format to: 2 ch, 44100 Hz, 'lpcm' (0x0000000c) 16-bit little-endian signed integer
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: -> kAudioStreamPropertyPhysicalFormat [0x109]: 2 ch, 44100 Hz, 'lpcm' (0x0000000c) 16-bit little-endian signed integer
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: -> kAudioStreamPropertyVirtualFormat [0x109]: 2 ch, 44100 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: Using sample rate converter for 88200 Hz to 44100 Hz conversion
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: Device preferred stereo channels: 1 2
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: Stream 0x109 information:
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: Virtual format: 2 ch, 44100 Hz, 'lpcm' (0x00000009) 32-bit little-endian float
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: Starting channel: 1
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: Channel map:
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: 0 -> 0
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: 1 -> 1
Fri Jun 8 19:54:35 KD-MB.local Decibel[51915] <Info>: -> kAudioDevicePropertyNominalSampleRate [0x108]: 44100 Hz

Post Reply