Page 1 of 1

How to use pitch shifting module in Libvlc version 3.0.4 ?

Posted: 14 Sep 2018 18:04
by minhvuongbmt
Hi everybody.
I use the Libvlc3.0 library for my music player, I developed it on C # .net.
All the functions I expect have finished and run very well. But I need to add "pitch shift module" to use it. But I did not find any functionality in libvlc to do that.
Can someone guide me?
I think in libvlc3.0 did not update this function. But the Vlc Player application has been updated and used.
please help me, can the Development Team update this functionality in the next release?
Thanks everyone!

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Posted: 18 Sep 2018 16:37
by mfkl
What wrapper are you using?

Have you tried passing the CLI arguments?

https://wiki.videolan.org/VLC_command-line_help/

Code: Select all

--pitch-shift=<float [-12.000000 .. 12.000000]> Pitch Shift

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Posted: 18 Sep 2018 18:44
by minhvuongbmt
Thanks you!
I'm using this Wrapp: "https://github.com/higankanshi/Meta.Vlc"
I tried it and it does not work. I think the vlc command used for vlc.exe
But my player only wrap Libvlc.dll and libvlccore.dll
Is there any other way?

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Posted: 19 Sep 2018 10:25
by mfkl
Don't know about Meta.Vlc much. This is what I'd do.

1. Figure out the command and arguments you need to achieve the result you want using the CLI and plain vlc.exe (no wrapper).
2. Then, use a maintained wrapper like Vlc.DotNet and pass the same arguments.

Good luck

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Posted: 21 Feb 2019 07:49
by gomugomu
Don't know about Meta.Vlc much. This is what I'd do.

1. Figure out the command and arguments you need to achieve the result you want using the CLI and plain vlc.exe (no wrapper).
2. Then, use a maintained wrapper like Vlc.DotNet and pass the same arguments.

Good luck

hallo.. can I call a pitch with VLCPlugin at delphi?
Image

and I done to use this code to change the channel and speed

Code: Select all

procedure TForm1.Button3Click(Sender: TObject); begin VLCPlugin21.audio.channel := 4; //audio channel end; procedure TForm1.Button4Click(Sender: TObject); begin VLCPlugin21.input.rate := tmpo - 0.50; //for speed end;
but for pitch am stuck :(

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Posted: 10 Mar 2019 11:40
by Jean-Baptiste Kempf
You cannot with the VLCPlugin21, no. You must use libVLC for this.

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Posted: 27 Mar 2019 07:18
by gomugomu
You cannot with the VLCPlugin21, no. You must use libVLC for this.
any sample.. please :cry:

Re: How to use pitch shifting module in Libvlc version 3.0.4 ?

Posted: 14 Aug 2019 16:18
by Ender2019
Hi,

I'm having the same problem, I tried with libvlc, but I still can't get it work , --pitch-shift.
Only with ffMpeg I can Adjust Pitch, Has anybody find a solution for libVLC, in Delphi or .Net ...?

I also try to figure it out in cmd line, but I can't find a solution.

Thanks,
Mihai