Would it be possible to have an option to change the tune of the audio of the video in realtime ? (original pitch of a sound raised or lowered)
Like this player : https://29a.ch/timestretch/
I would say manipulating audio in web browser is one thing and manipulating the audio track of a video in web browser is something else.
I found how we can connect to the video audio track and add simple filters using Web Audio API: https://developer.mozilla.org/en-US/docs/Web/Guide/Audio_and_video_manipulation#audio_manipulation
And here’s how a sample can be played at a different pitch: https://zpl.fi/pitch-shifting-in-web-audio-api/
So the challenge here would be to connect these two pieces together and ensure compatibility with different browsers.
I wonder if this could be some FV Player Audio Effects plugin which could be used on a music teaching websites.
Hi Cédric and Marcel,
Thanks for your suggestion. For the moment this feature request is beyond the scope of FV Player. The biggest issue is where to put the interface.
By trying to serve every need, we would serve no needs.
If you can show us some use case examples along with good interface for the request, I have an open mind.
- This reply was modified 1 year, 4 months ago by Alec Kinnear.
I absolutely see your point.
I own a online music school based on videos. Some instruments have only a small range or only work in one key. To use the videos for instruments in other keys I would need a pitch shifter. Actually I can see many reasons for a pitch shifter but I am not share if music platforms are your target customers.
I would see two ways to do this:
Have a Pitch button like the AB and then a list to change the tonality (1 semitone up to 7 semitones up and 1 semitone down to 7 semitones down) like the speed dropdown
Have a pitch button which opens a text field or slider to change the tonality in cent (100ct= one semitone up, -300=three semitones down and so on)
For my particular reason it would be great to be able to create a list in the settings and then have a list in the player with the options set like
And then the list to change the tonality in the player
But I think my use case might be a one off :)
Let me know if I can help in any way and thanks for reaching out.
Thanks for the images.
We’ve looked into creating a shift pitcher and done quite a bit of technical research. Basically to make it work, we’d have to disable almost all download protection. And then it’s ultra complicated.
My suggestion for musicians who wish to adjust pitch would be to do it not in the player but in a DAC or equalizer between the player and the amplification system.
Have you seen a pitch shifter in the wild actually being used as part of a pro video site (not just a proof of concept but in actual use), Marcel?
the implementation of a pitch shifter would be awesome!
I found a website with an implemented pitch shifter in the video player:
You need to be registered for free than you can have a look at some free videos and the video player.
On the left side is the select box with three different pitch levels.
Finally, here’s an idea of what that might look like in backend and frontend.