Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to change a sample rate (96 kHz -> 44.1 kHz) #40

Closed
qwertier opened this issue Feb 1, 2017 · 10 comments
Closed

Add an option to change a sample rate (96 kHz -> 44.1 kHz) #40

qwertier opened this issue Feb 1, 2017 · 10 comments

Comments

@qwertier
Copy link

qwertier commented Feb 1, 2017

Hello,
FLAC audio often has sample rates 96 kHZ and 48 kHz.
I always convert to OGG. I found that Flacon doesn't have an option to resample tracks.
What is very desirable to most of users is to have an option "resample to" in OGG encoding configuration
which allows to change a sample rate.
For example, when set "resample to" with "44.1", then when convert from FLAC to OGG,
we'll have always
FLAC 96 kHZ -> OGG 44.1 kHz

@qwertier
Copy link
Author

qwertier commented Oct 12, 2017

Unfortunately, as the issue was reported more than 9 months ago, there were no responds about...
I've stuck with the issue again, when I found that one of cue+flac recordings had 192KHz.
I tried a hack, adding to the oggenc field

/usr/bin/oggenc --resample 44100

The program started to claim that it couldn't find the encoder.
Then I tried a workaround:

#!/bin/bash

if [ $# -eq 1 ]
then
    oggenc --resample 44100 "$1"
fi
if [ $# -eq 2 ]
then
    oggenc --resample 44100 "$1" "$2"
fi
...

Flacon started working normally, and I saw intermediate "*.wav" files it was creating, but at the end I didn't see any OGG files in the directories!
So, I can conclude that without "Add cmd params to encoder" field Flacon is useless as a 'lossless to lossy' converter!

@SokoloffA
Copy link
Member

I'm sorry for the long silence. It's a shame for me.

I got plans to add a resampling, but unfortunately the program doesn't have it now.
While you can use a script like this:

#!/bin/sh
oggenc --resample 44100 "$@"

@SokoloffA
Copy link
Member

Done in the 5.0.0 release.

@qwertier
Copy link
Author

qwertier commented Feb 24, 2019

Done in the 5.0.0 release.

I've just looked through the newest 5.1.0 version (2019-02-24) and didn't found any resampling options!
Can you, please, point me out the place in the program options,
where I can set resampling for the following: FLAC 96 kHZ => OGG 44.1 kHZ .
Thank you!

@ranperry
Copy link

ranperry commented Feb 24, 2019 via email

@qwertier
Copy link
Author

Resampling in Flacon is done via Settings > Preferences > General > Resampling

I don't see such an option in the app's Preferences window!
I've installed the app using ppa repo.

@SokoloffA
Copy link
Member

foobar

@qwertier
Copy link
Author

qwertier commented Feb 24, 2019

Thanks, I've figured out what's going on. By default, the screen size is smaller, and it does not contain extra features that you added in 5.0 release. (see screenshot) I had to maximize the window to see the new options!
I think, you should mark this as a bug and add a code to the app to resize forcely the Preferences window...

image

@SokoloffA
Copy link
Member

I agree it's a bug. An example of how a feature becomes a bug. I save the size of the dialog and it led to an error.

@SokoloffA
Copy link
Member

I think, you should mark this as a bug and add a code to the app to resize forcely the Preferences window...

Fixed fc47b6b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants