Using mod pitchshifter under guitarix

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
User avatar
ycollette
Established Member
Posts: 96
Joined: Sun Jul 03, 2016 8:53 pm
Has thanked: 15 times
Been thanked: 20 times
Contact:

Using mod pitchshifter under guitarix

Post by ycollette »

Hello,

I am trying to use mod-pitchshifter under guitarix.
The mod-pitchshifter LV2 plugin is installed on my machine, but I am not able to see the plugin in the guitarix search dialog.

The plugin I want to use is here:

Code: Select all

$ lv2ls | grep Drop
http://moddevices.com/plugins/mod-devel/Drop
And some infos wrt inputs / outputs of Drop LV2 plugin:

Code: Select all

$ lv2info http://moddevices.com/plugins/mod-devel/Drop
http://moddevices.com/plugins/mod-devel/Drop

        Name:              Drop
        Class:             Spectral
        Author:            MOD Team
        Author Email:      mailto:devel@moddevices.com
        Author Homepage:   http://moddevices.com
        Has latency:       no
        Bundle:            file:///usr/lib64/lv2/mod-drop.lv2/
        Binary:            file:///usr/lib64/lv2/mod-drop.lv2/mod-drop.so
        Data URIs:         file:///usr/lib64/lv2/mod-drop.lv2/manifest.ttl
                           file:///usr/lib64/lv2/mod-drop.lv2/Drop.ttl
        Required Features: http://lv2plug.in/ns/ext/buf-size#powerOf2BlockLength
                           http://lv2plug.in/ns/ext/buf-size#fixedBlockLength
        Presets: 

        Port 0:
                Type:        http://lv2plug.in/ns/lv2core#AudioPort
                             http://lv2plug.in/ns/lv2core#InputPort
                Symbol:      In
                Name:        In

        Port 1:
                Type:        http://lv2plug.in/ns/lv2core#AudioPort
                             http://lv2plug.in/ns/lv2core#OutputPort
                Symbol:      Out
                Name:        Out

        Port 2:
                Type:        http://lv2plug.in/ns/lv2core#ControlPort
                             http://lv2plug.in/ns/lv2core#InputPort
                Symbol:      Step
                Name:        Step
                Minimum:     -12.000000
                Maximum:     0.000000
                Default:     0.000000
                Properties:  http://lv2plug.in/ns/lv2core#integer


        Port 3:
                Type:        http://lv2plug.in/ns/lv2core#ControlPort
                             http://lv2plug.in/ns/lv2core#InputPort
                Symbol:      Gain
                Name:        Gain
                Minimum:     -20.000000
                Maximum:     20.000000
                Default:     3.000000

        Port 4:
                Type:        http://lv2plug.in/ns/lv2core#ControlPort
                             http://lv2plug.in/ns/lv2core#InputPort
                Scale Points:
                        2 = "Hi-Fi"
                        0 = "Lo-Fi"
                        1 = "Normal"

                Symbol:      Fidelity
                Name:        Fidelity
                Minimum:     0.000000
                Maximum:     2.000000
                Default:     1.000000
                Properties:  http://lv2plug.in/ns/lv2core#integer
                             http://lv2plug.in/ns/lv2core#enumeration
                             http://lv2plug.in/ns/ext/port-props/port-props.html#expensive
Maybe this is because this effect plugin has some control port I can't see it under guitarix ?

Best regards,

Yann
tramp
Established Member
Posts: 2348
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 468 times

Re: Using mod pitchshifter under guitarix

Post by tramp »

The reason you can't see it under guitarix is this line:
Guitarix can't promise a fixedBlockLength nor a powerOf2BlockLength, as the user could change it at any time.

If you chose a buffersize at the power of 2, and remove this lines from the ttl you'll be able to see and load the mod pitchshifter into guitarix, but as soon you change the buffersize, guitarix (mod pitchshifter ) will crash.
On the road again.
User avatar
ycollette
Established Member
Posts: 96
Joined: Sun Jul 03, 2016 8:53 pm
Has thanked: 15 times
Been thanked: 20 times
Contact:

Re: Using mod pitchshifter under guitarix

Post by ycollette »

Thanks and sorry for the late answer. I will try this soon.
User avatar
ycollette
Established Member
Posts: 96
Joined: Sun Jul 03, 2016 8:53 pm
Has thanked: 15 times
Been thanked: 20 times
Contact:

Re: Using mod pitchshifter under guitarix

Post by ycollette »

I finally managed to find some time to test.
And it worked !
I forked the original moddevices/mod-pitchshifter repository and pushed all my changes here:
https://github.com/ycollet/mod-pitchshifter
I renamed all the plugins from (it's an example) Capo to GxCapo to signify Capo plugins compatible with guitarix.
Post Reply