Hi,
This thread is so close to being useful to me:
http://lists.puredata.info/pipermail/pd-list/2013-02/101248.html
Miller or anyone who knows the answer, can you please tell me what the "this"is that you put in the .pdsettings file? As in, the precise syntax?
Thanks,
Joe
Well, I'm apparently very confused. When I run Pd with no settings or arguments, I get OSS MIDI. So I don't know why in that post I claimed that 'ALSA midi' was Pd's default.
I looked in the pdsettings and found that 'ALSA MIDI' doesn't even get saved in that file - so the ALSA MIDI setting gets forgotten. So the only way to get 'ALSA MIDI' is to specify it on the command line.
cheers Miller
On Sun, Jun 08, 2014 at 07:35:01PM -0700, Joe Newlin via Pd-list wrote:
Hi,
This thread is so close to being useful to me:
http://lists.puredata.info/pipermail/pd-list/2013-02/101248.html
Miller or anyone who knows the answer, can you please tell me what the "this"is that you put in the .pdsettings file? As in, the precise syntax?
Thanks,
Joe
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I'm trying to use a NanoKontrol on Raspbian. It works fine if select OSS-MIDI from the menu, but I'm hoping to boot up headless & this is the last hurdle (I think). It's defaulting to ALSA-MIDI for me (with and without arguments). If you're confused ... :(
Thanks,
Joe
On Jun 9, 2014, at 9:54 AM, Miller Puckette msp@ucsd.edu wrote:
Well, I'm apparently very confused. When I run Pd with no settings or arguments, I get OSS MIDI. So I don't know why in that post I claimed that 'ALSA midi' was Pd's default.
I looked in the pdsettings and found that 'ALSA MIDI' doesn't even get saved in that file - so the ALSA MIDI setting gets forgotten. So the only way to get 'ALSA MIDI' is to specify it on the command line.
cheers Miller
On Sun, Jun 08, 2014 at 07:35:01PM -0700, Joe Newlin via Pd-list wrote: Hi,
This thread is so close to being useful to me:
http://lists.puredata.info/pipermail/pd-list/2013-02/101248.html
Miller or anyone who knows the answer, can you please tell me what the "this"is that you put in the .pdsettings file? As in, the precise syntax?
Thanks,
Joe
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
you can try the [mediasettings] lib from iem which allow you to choose midi driver from patch
or you can also directly send message to pd to setup midi port use : [receive pd] | [print pd] while changing midi settings to monitor what messages you should sent to select OSS MIDI
remember [loadbang] could happen *before* midi and audio settings when pd is launched with -nogui option so if you use a loadbang to change midi settings, you should also have a [delay] just before choosing midi settings to let pd load the driver
moreover, concerning Raspbian, Pd and MIDI, I made a little patch that plugs all ALSA MIDI input device to all output devices (avoiding feedback loop) it's here : https://github.com/avilleret/krapps_remote/blob/master/krapps_remote.pd It's alsa but it's works on Raspbian (but not tested with NanoKontrol) the patch also maps each keyboard key to a MIDI message
a
-- do it yourself http://antoine.villeret.free.fr
2014-06-09 20:30 GMT+02:00 Joe Newlin via Pd-list pd-list@lists.iem.at:
I'm trying to use a NanoKontrol on Raspbian. It works fine if select OSS-MIDI from the menu, but I'm hoping to boot up headless & this is the last hurdle (I think). It's defaulting to ALSA-MIDI for me (with and without arguments). If you're confused ... :(
Thanks,
Joe
On Jun 9, 2014, at 9:54 AM, Miller Puckette msp@ucsd.edu wrote:
Well, I'm apparently very confused. When I run Pd with no settings or arguments, I get OSS MIDI. So I don't know why in that post I claimed that 'ALSA midi' was Pd's default.
I looked in the pdsettings and found that 'ALSA MIDI' doesn't even get saved in that file - so the ALSA MIDI setting gets forgotten. So the
only
way to get 'ALSA MIDI' is to specify it on the command line.
cheers Miller
On Sun, Jun 08, 2014 at 07:35:01PM -0700, Joe Newlin via Pd-list wrote: Hi,
This thread is so close to being useful to me:
http://lists.puredata.info/pipermail/pd-list/2013-02/101248.html
Miller or anyone who knows the answer, can you please tell me what the "this"is that you put in the .pdsettings file? As in, the precise
syntax?
Thanks,
Joe
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
That should work, yes.
I just realized - you must be using Pd extended - Pd vanilla is OSS by default, but perhaps Pd extended isn't. I'd suggest switching to Pd vanilla - it should be compatible with whatever externs you're using ,and in general it's more stable than extended.
cheers Miller
On Mon, Jun 09, 2014 at 08:59:39PM +0200, Antoine Villeret via Pd-list wrote:
you can try the [mediasettings] lib from iem which allow you to choose midi driver from patch
or you can also directly send message to pd to setup midi port use : [receive pd] | [print pd] while changing midi settings to monitor what messages you should sent to select OSS MIDI
remember [loadbang] could happen *before* midi and audio settings when pd is launched with -nogui option so if you use a loadbang to change midi settings, you should also have a [delay] just before choosing midi settings to let pd load the driver
moreover, concerning Raspbian, Pd and MIDI, I made a little patch that plugs all ALSA MIDI input device to all output devices (avoiding feedback loop) it's here : https://github.com/avilleret/krapps_remote/blob/master/krapps_remote.pd It's alsa but it's works on Raspbian (but not tested with NanoKontrol) the patch also maps each keyboard key to a MIDI message
a
-- do it yourself http://antoine.villeret.free.fr
2014-06-09 20:30 GMT+02:00 Joe Newlin via Pd-list pd-list@lists.iem.at:
I'm trying to use a NanoKontrol on Raspbian. It works fine if select OSS-MIDI from the menu, but I'm hoping to boot up headless & this is the last hurdle (I think). It's defaulting to ALSA-MIDI for me (with and without arguments). If you're confused ... :(
Thanks,
Joe
On Jun 9, 2014, at 9:54 AM, Miller Puckette msp@ucsd.edu wrote:
Well, I'm apparently very confused. When I run Pd with no settings or arguments, I get OSS MIDI. So I don't know why in that post I claimed that 'ALSA midi' was Pd's default.
I looked in the pdsettings and found that 'ALSA MIDI' doesn't even get saved in that file - so the ALSA MIDI setting gets forgotten. So the
only
way to get 'ALSA MIDI' is to specify it on the command line.
cheers Miller
On Sun, Jun 08, 2014 at 07:35:01PM -0700, Joe Newlin via Pd-list wrote: Hi,
This thread is so close to being useful to me:
http://lists.puredata.info/pipermail/pd-list/2013-02/101248.html
Miller or anyone who knows the answer, can you please tell me what the "this"is that you put in the .pdsettings file? As in, the precise
syntax?
Thanks,
Joe
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
2014-06-09 21:06 GMT+02:00 Miller Puckette msp@ucsd.edu:
That should work, yes.
I just realized - you must be using Pd extended - Pd vanilla is OSS by default, but perhaps Pd extended isn't. I'd suggest switching to Pd vanilla - it should be compatible with whatever externs you're using ,and in general it's more stable than extended.
that's even more true on Raspbian
Antoine & Miller-
Those are all good things to know - I installed PD on the Pi a while ago & I just assumed I installed vanilla.
Thank you!
Joe
On Jun 9, 2014, at 12:08 PM, Antoine Villeret antoine.villeret@gmail.com wrote:
2014-06-09 21:06 GMT+02:00 Miller Puckette msp@ucsd.edu:
That should work, yes.
I just realized - you must be using Pd extended - Pd vanilla is OSS by default, but perhaps Pd extended isn't. I'd suggest switching to Pd vanilla - it should be compatible with whatever externs you're using ,and in general it's more stable than extended.
that's even more true on Raspbian
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2014-06-09 21:15, Joe Newlin via Pd-list wrote:
Antoine & Miller-
Those are all good things to know - I installed PD on the Pi a while ago & I just assumed I installed vanilla.
afaik, Pd-vanilla [sic!] on *Debian* is patched so that it uses alsa-midi by default.
@miller: i think this is along the lines of our recent discussion that we should have a flag to turn OFF each feature that we can turn ON via cmdline flags. please add an "-ossmidi" flag.
even better would be to have a flag "-midiapi <API>" and make <API> to be either "oss" or "alsa" or "portmidi" (or "pm") or whatever.
fgasdrm IOhannes
On 06/10/2014 09:45 AM, IOhannes m zmoelnig via Pd-list wrote:
@miller: i think this is along the lines of our recent discussion that we should have a flag to turn OFF each feature that we can turn ON via cmdline flags. please add an "-ossmidi" flag.
i just submitted a patch [1] that allows to override each (binary) flag (and non-default defaults), e.g. adding support for
i omitted the "-removelib" and "-rmpath" flags for sanity reasons.
gfmards IOhannes