Comments (1)
Hi, well, ffmpeg has no really good option built in for this. But you could try something like this:
Option 1
aresample=48000
asetrate=48000*2
aresample=48000
atempo=0.5
This will double the tone frequency by keeping the original length of the track.
Off course you can change these numbers around. Another example would be to cut the frequency in half:
aresample=48000
asetrate=48000*0.5
aresample=48000
atempo=2.0
The lines explained:
aresample=48000
Resample the audio to a fixed rate (because we do not know the sample rate of the input files and want to process all files the same).
asetrate=48000*0.5
Tune the audio down to 50 %. Change this (0.5) as you want, but keep in mind to change the value in line 4 indirectly proportional to this.
aresample=48000
Resample back up to the original samplerate.
atempo=2.0
Double the tempo to keep the original duration of the track and not make it slower. You have to change this too if you changed the value in line 2.
Option 2
Use rubberband (if you have it installed on your system).
See: https://ffmpeg.org/ffmpeg-filters.html#rubberband
Btw. you can use any audio filter that ffmpeg supports. Have a look at the list here:
https://ffmpeg.org/ffmpeg-filters.html
from ffaudioconverter.
Related Issues (9)
- FFaudioConverter icon is wrong on KDE Plasma Wayland session HOT 5
- enable source file deleetion after convertion
- add a option to convert files from same source HOT 3
- text field and spinbox are borderless HOT 3
- Can't add multiple individual files from the command line HOT 2
- Replay Gain HOT 2
- More audio quality options HOT 1
- Installing on Mac? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ffaudioconverter.