Menu

#22 qmidiarp open sound control mapping

0.6.6
pending
Frank
None
5
2021-02-07
2021-01-23
Patrick
No

Hi, I would like to control qmidiarp via OSC. There is already liblo for nsm, but is it possible to control bpm, maybe switching pattern, muting, etc? In short instead of mapping midi.

Thanks

Related

Feature Requests: #22

Discussion

  • Frank

    Frank - 2021-02-06
    • status: open --> pending
    • assigned_to: Frank
     
  • Frank

    Frank - 2021-02-06

    Hi,
    I haven't planned implementing OSC handling inside qmidiarp. But I think there are some external tools to map OSC messages to MIDI, I will try to point you to something.

    Best
    Frank

     
  • Patrick

    Patrick - 2021-02-06

    Thank you very much, I "hacked" something just to make it works for me. It's not beautiful, but I can create pattern in pd -> osc -> qmidiarp (among other things).

    //liblo
    #include <lo/lo.h>
    #include <lo/lo_cpp.h>
    #include <iostream>
    #include <atomic>
    
    // global liblo thread
    lo::ServerThread st(9000);
    
    MainWindow::MainWindow(int p_portCount, bool p_alsamidi, char *execName)
    {
        ...
    
        st.add_method("/updatepattern", "s",
            [this](lo_arg **argv, int nb)
            {
                engine->midiArp(0)->updatePattern(&argv[0]->s);
            });
    
        // start liblo thread
        st.start();
    
     
    • Frank

      Frank - 2021-02-07

      OK great if this works for you

      Best

      Frank

      On 06/02/2021 21:46, Patrick wrote:

      Thank you very much, I "hacked" something just to make it works for
      me. It's not beautiful, but I can create pattern in pd -> osc ->
      qmidiarp (among other things).

      //liblo

      include <lo lo.h=""></lo>

      include <lo lo_cpp.h=""></lo>

      include <iostream></iostream>

      include <atomic></atomic>

      // global liblo thread
      lo::ServerThread st(9000);

      MainWindow::MainWindow(int p_portCount,bool p_alsamidi,char *execName)
      {
      ...

       st.add_method("/updatepattern","s",
           [this](lo_arg  **argv,int  nb)
           {
               engine->midiArp(0)->updatePattern(&argv[0]->s);
           });
      
       //  start  liblo  thread
       st.start();
      

      [feature-requests:#22]
      https://sourceforge.net/p/qmidiarp/feature-requests/22/ qmidiarp
      open sound control mapping

      Status: pending
      Group: 0.6.6
      Created: Sat Jan 23, 2021 01:26 AM UTC by Patrick
      Last Updated: Sat Feb 06, 2021 09:01 AM UTC
      Owner: Frank

      Hi, I would like to control qmidiarp via OSC. There is already liblo
      for nsm, but is it possible to control bpm, maybe switching pattern,
      muting, etc? In short instead of mapping midi.

      Thanks


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/qmidiarp/feature-requests/22/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Feature Requests: #22

  • Frank

    Frank - 2021-02-07

    OK Patrick,
    great if this works for you.

    Best
    Frank

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.