geraldmwangi / GuitarMidi-LV2

A concept for guitar to midi as an lv2 plugin
Other
50 stars 0 forks source link

Segmentation falut error on Carla and Ardour #6

Open queengab opened 4 months ago

queengab commented 4 months ago

Hi,

i'm using arch linux rt last version, last vcersion of carla (2.6.0 alpha and ardour 8.6) Followed exactly the build process create 2 ttl files with .so file and the plugin can be viewed by rack (Carla) or Daw (Ardour).

But now if i select it, Carla and Ardour stop immediately.

this is the error from ardour:

Thread 41 "RT-main-(nil)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffadffb6c0 (LWP 8801)]
0x00007fffd07ea6f7 in NoteClassifier::filterAndComputeMeanEnv(float*, int, bool*) ()
   from /home/xxx/.lv2/guitarmidi.lv2/guitarmidi.so
(gdb)

Can you help me?

geraldmwangi commented 4 months ago

Hi. Which samplerate and framebuffer is configured? Plugin currently only supports @.*** This will change to be more flexible sometime though

On 7 May 2024 16:58:37 CEST, Gabriele @.***> wrote:

Hi,

i'm using arch linux rt last version, last vcersion of carla (2.6.0 alpha and ardour 8.6) Followed exactly the build process create 2 ttl files with .so file and the plugin can be viewed by rack (Carla) or Daw (Ardour).

But now if i select it, Carla and Ardour stop immediately.

this is the error from ardour:

Thread 41 "RT-main-(nil)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffadffb6c0 (LWP 8801)]
0x00007fffd07ea6f7 in NoteClassifier::filterAndComputeMeanEnv(float*, int, bool*) ()
  from /home/xxx/.lv2/guitarmidi.lv2/guitarmidi.so
(gdb)

Can you help me?

-- Reply to this email directly or view it on GitHub: https://github.com/geraldmwangi/GuitarMidi-LV2/issues/6 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

geraldmwangi commented 4 months ago

256 samples at 48khz

On 7 May 2024 17:54:55 CEST, geraldmwangi @.***> wrote:

Hi. Which samplerate and framebuffer is configured? Plugin currently only supports @.*** This will change to be more flexible sometime though

On 7 May 2024 16:58:37 CEST, Gabriele @.***> wrote:

Hi,

i'm using arch linux rt last version, last vcersion of carla (2.6.0 alpha and ardour 8.6) Followed exactly the build process create 2 ttl files with .so file and the plugin can be viewed by rack (Carla) or Daw (Ardour).

But now if i select it, Carla and Ardour stop immediately.

this is the error from ardour:

Thread 41 "RT-main-(nil)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffadffb6c0 (LWP 8801)]
0x00007fffd07ea6f7 in NoteClassifier::filterAndComputeMeanEnv(float*, int, bool*) ()
  from /home/xxx/.lv2/guitarmidi.lv2/guitarmidi.so
(gdb)

Can you help me?

-- Reply to this email directly or view it on GitHub: https://github.com/geraldmwangi/GuitarMidi-LV2/issues/6 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

-- Reply to this email directly or view it on GitHub: https://github.com/geraldmwangi/GuitarMidi-LV2/issues/6#issuecomment-2098789706 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

queengab commented 4 months ago

Hi,

Sorry I should have read the documentation properly. When do you plan to bring the plugin operation to 1024 frames? To connect it and make it work I could not do it via ardour routing but directly by routing qpwgraph, one of the most used gui for pipewire. Do you find that? How do you usually do it? Last thing: my electric guitar has a somewhat defective pickup and when I make chords these are not read very well.

Thanks for this free plugin for linux! Is Awesome!

geraldmwangi commented 3 months ago

I typically usw and test it in carla and Jack. 1024 frames is too high. The goal is to Make the plugin close to realtime so rather go for 128 or 64 samples. The Plugin works besteht with the bridge pickup. You also need to play with the input gain in your sound interface.

On 8 May 2024 11:25:24 CEST, Gabriele @.***> wrote:

Hi,

Sorry I should have read the documentation properly. When do you plan to bring the plugin operation to 1024 frames? To connect it and make it work I could not do it via ardour routing but directly by routing qpwgraph, one of the most used gui for pipewire. Do you find that? How do you usually do it? Last thing: my electric guitar has a somewhat defective pickup and when I make chords these are not read very well.

Thanks for this free plugin for linux! Is Awesome!

-- Reply to this email directly or view it on GitHub: https://github.com/geraldmwangi/GuitarMidi-LV2/issues/6#issuecomment-2100150132 You are receiving this because you commented.

Message ID: @.***>

geraldmwangi commented 3 months ago

Plugin works best with bridge pickup

On 10 May 2024 15:45:00 CEST, geraldmwangi @.***> wrote:

I typically usw and test it in carla and Jack. 1024 frames is too high. The goal is to Make the plugin close to realtime so rather go for 128 or 64 samples. The Plugin works besteht with the bridge pickup. You also need to play with the input gain in your sound interface.

On 8 May 2024 11:25:24 CEST, Gabriele @.***> wrote:

Hi,

Sorry I should have read the documentation properly. When do you plan to bring the plugin operation to 1024 frames? To connect it and make it work I could not do it via ardour routing but directly by routing qpwgraph, one of the most used gui for pipewire. Do you find that? How do you usually do it? Last thing: my electric guitar has a somewhat defective pickup and when I make chords these are not read very well.

Thanks for this free plugin for linux! Is Awesome!

-- Reply to this email directly or view it on GitHub: https://github.com/geraldmwangi/GuitarMidi-LV2/issues/6#issuecomment-2100150132 You are receiving this because you commented.

Message ID: @.***>

-- Reply to this email directly or view it on GitHub: https://github.com/geraldmwangi/GuitarMidi-LV2/issues/6#issuecomment-2104638158 You are receiving this because you are subscribed to this thread.

Message ID: @.***>

geraldmwangi commented 1 month ago

For non realtime checkout https://github.com/DamRsn/NeuralNote