All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens-P6GI/4k7KOmELgA04lAiVw@public.gmane.org>
To: Felipe Tonello <eu-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org>
Cc: alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org,
	linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [alsa-devel] [RFC] MIDI over Bluetooth Low Energy
Date: Thu, 1 Oct 2015 13:53:38 +0200	[thread overview]
Message-ID: <560D1EC2.8010603@ladisch.de> (raw)
In-Reply-To: <CAGrhNMxmtt-5kZO-6me2sPQYeQ5wcpvonKqzbx7CEB5=RJ724Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

Felipe Tonello wrote:
> On Thu, Oct 1, 2015 at 12:27 PM, Clemens Ladisch <clemens-P6GI/4k7KOmELgA04lAiVw@public.gmane.org> wrote:
>> Felipe Tonello wrote:
>>> I am planning to start the support of MIDI BLE profile[1].
>>>
>>> I suggest two main goals:
>>>  * To be transparent to applications, i.e., use rawmidi and sequencer
>>> ALSA interfaces to interact.
>>>  * To support peripheral and central BLE roles.
>>>
>>> My question is: what is the best way possible of doing it?
>>
>> Just write a (user-space) sequencer client.
>
> But this will limit to seq interface only. It will not be available
> via rawmidi interface, right?

Yes.  And why would this be a problem?

>>> They all have the problem of context switching between bluez plugin
>>> and alsa midi driver.
>>
>> Why would context switches be a problem?
>
> It is just too much travelling around.

It hasn't been a problem with any other MIDI application.


Regards,
Clemens

WARNING: multiple messages have this Message-ID (diff)
From: Clemens Ladisch <clemens@ladisch.de>
To: Felipe Tonello <eu@felipetonello.com>
Cc: alsa-devel@alsa-project.org, linux-bluetooth@vger.kernel.org
Subject: Re: [alsa-devel] [RFC] MIDI over Bluetooth Low Energy
Date: Thu, 1 Oct 2015 13:53:38 +0200	[thread overview]
Message-ID: <560D1EC2.8010603@ladisch.de> (raw)
In-Reply-To: <CAGrhNMxmtt-5kZO-6me2sPQYeQ5wcpvonKqzbx7CEB5=RJ724Q@mail.gmail.com>

Felipe Tonello wrote:
> On Thu, Oct 1, 2015 at 12:27 PM, Clemens Ladisch <clemens@ladisch.de> wrote:
>> Felipe Tonello wrote:
>>> I am planning to start the support of MIDI BLE profile[1].
>>>
>>> I suggest two main goals:
>>>  * To be transparent to applications, i.e., use rawmidi and sequencer
>>> ALSA interfaces to interact.
>>>  * To support peripheral and central BLE roles.
>>>
>>> My question is: what is the best way possible of doing it?
>>
>> Just write a (user-space) sequencer client.
>
> But this will limit to seq interface only. It will not be available
> via rawmidi interface, right?

Yes.  And why would this be a problem?

>>> They all have the problem of context switching between bluez plugin
>>> and alsa midi driver.
>>
>> Why would context switches be a problem?
>
> It is just too much travelling around.

It hasn't been a problem with any other MIDI application.


Regards,
Clemens

  parent reply	other threads:[~2015-10-01 11:53 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01  8:41 [RFC] MIDI over Bluetooth Low Energy Felipe Tonello
2015-10-01  8:41 ` Felipe Tonello
     [not found] ` <CAGrhNMyY7rJVZ35p5P5FnGvJPYZuKndau1vNY5k+GCHHYzZtzQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-01  9:34   ` Luiz Augusto von Dentz
2015-10-01  9:34     ` Luiz Augusto von Dentz
     [not found]     ` <CABBYNZ+iR-LXvMDkGiOkh8+X_=PWjrbGs3kveYFMo1UdhHVaNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-01 10:17       ` Felipe Tonello
2015-10-01 10:17         ` Felipe Tonello
     [not found]         ` <CAGrhNMwpx9Q4Usb75jWofWpLpUxJOd6FsckRT=O4Uj8KBtqayA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-01 11:05           ` Luiz Augusto von Dentz
2015-10-01 11:05             ` Luiz Augusto von Dentz
     [not found]             ` <CABBYNZ+D5KbW7b2_F0fw9C=YvMNyVdaN=sLuNj5v0O-Zs6XSVg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-01 11:26               ` Felipe Tonello
2015-10-01 11:26                 ` Felipe Tonello
2015-10-01 11:16           ` Marcel Holtmann
2015-10-01 11:16             ` Marcel Holtmann
     [not found]             ` <BECBD8C9-C49D-410C-BE11-CA1A52839EED-kz+m5ild9QBg9hUCZPvPmw@public.gmane.org>
2015-10-01 11:29               ` Felipe Tonello
2015-10-01 11:29                 ` Felipe Tonello
2015-10-01 11:27 ` Clemens Ladisch
2015-10-01 11:27   ` [alsa-devel] " Clemens Ladisch
     [not found]   ` <560D1893.6040509-P6GI/4k7KOmELgA04lAiVw@public.gmane.org>
2015-10-01 11:35     ` Felipe Tonello
2015-10-01 11:35       ` Felipe Tonello
     [not found]       ` <CAGrhNMxmtt-5kZO-6me2sPQYeQ5wcpvonKqzbx7CEB5=RJ724Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-01 11:46         ` Takashi Iwai
2015-10-01 11:46           ` Takashi Iwai
     [not found]           ` <s5hfv1uvmjq.wl-tiwai-l3A5Bk7waGM@public.gmane.org>
2015-10-01 12:04             ` Felipe Tonello
2015-10-01 12:04               ` Felipe Tonello
     [not found]               ` <CAGrhNMxUsUXBmYFLo4Bq=Mx1qdUZC1Zv7c4pXb+F8D8adYTvcg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-01 14:15                 ` Luiz Augusto von Dentz
2015-10-01 14:15                   ` Luiz Augusto von Dentz
     [not found]                   ` <CABBYNZ+g9+QBEOxO8ZGnQbBva+JxX=WkQAvBst=YMM7zHdz1hw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-01 14:46                     ` Felipe Tonello
2015-10-01 14:46                       ` Felipe Tonello
     [not found]                       ` <CAGrhNMw1wZaTXFAp-56ujr_YH4wxHtnCWRZdThH39y-WLY26iA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2015-10-03 17:07                         ` Marcel Holtmann
2015-10-03 17:07                           ` Marcel Holtmann
2015-10-01 11:53         ` Clemens Ladisch [this message]
2015-10-01 11:53           ` Clemens Ladisch
2015-10-01 11:59           ` Felipe Tonello
2015-10-01 11:59             ` [alsa-devel] " Felipe Tonello

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560D1EC2.8010603@ladisch.de \
    --to=clemens-p6gi/4k7komelga04laivw@public.gmane.org \
    --cc=alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw@public.gmane.org \
    --cc=eu-NLnRV5p3vwDxYxTyqlRmvgC/G2K4zDHf@public.gmane.org \
    --cc=linux-bluetooth-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.