Re: [PD] comport + usb hub issue

2016-08-29 Thread Christof Ressi
I had the same problem when using comport on an older macbook. The same setup 
worked with a newer macbook. Couldn't find a reason...
 
 

Gesendet: Dienstag, 30. August 2016 um 11:55 Uhr
Von: "Rick Snow" 
An: Pd-List 
Betreff: [PD] comport + usb hub issue

Howdy list,
 
I am using comport to send messages to three arduinos via osx for an 
installation.  Almost invariably one of the connections drops after an extended 
period of time.  It seems that only unplugging and replugging in the usb hub's 
usb cable will refresh the connection (after sending the connect message again 
from the patch).  I am running the project on an older macbook pro with osx 
10.8.5.  Is this a usb hub problem (radioshack brand) or should I be looking at 
something else?
 
Advice/Experiences appreciated!
 
Cheers,
Rick___ Pd-list@lists.iem.at 
mailing list UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] comport + usb hub issue

2016-08-29 Thread Rick Snow
Howdy list,

I am using comport to send messages to three arduinos via osx for an
installation.  Almost invariably one of the connections drops after an
extended period of time.  It seems that only unplugging and replugging in
the usb hub's usb cable will refresh the connection (after sending the
connect message again from the patch).  I am running the project on an
older macbook pro with osx 10.8.5.  Is this a usb hub problem (radioshack
brand) or should I be looking at something else?

Advice/Experiences appreciated!

Cheers,
Rick
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Package and sources for complex-mod~ and hilbert~ ?

2016-08-29 Thread Alexandre Torres Porres
2016-08-29 17:43 GMT-03:00 Miller Puckette :
>
> It should be automatically found by Pd as long as "use standard
> extensions" is checked in the "path" preferences dialog (which it normally
> should be by default).
>

oh, didnt know about this box, unchecked it and yep, no dice... :)
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Package and sources for complex-mod~ and hilbert~ ?

2016-08-29 Thread Alexandre Torres Porres
>  If I am not wrong they should come with vanillla...

they do, they are in the 'extra' folder, I get them with no issues in the
latest vanilla

cheers

2016-08-29 17:32 GMT-03:00 Angelo Arcadi <
angelo.arcadi.mailingl...@gmail.com>:

> Hello,
> when I was using pd-extended I used to use the objects complex-mod~ and
> hilbert~.
>
> Now on Vanilla I don't find them, nor I am able to find them with Deken.
> Which package they belong to? If I am not wrong they should come with
> vanillla however, pd says "couldn't create" for both of them.
> I am on a mac osx 10.11.5, using pd 64 bit version 0.47.1.
>
> Does anyone know where the sources of these can be found?
>
> Thanks in advance
>
> Best
>
> Angelo
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Package and sources for complex-mod~ and hilbert~ ?

2016-08-29 Thread Angelo Arcadi
Hi Miller,
thanks.  I had to create the object "declare -stdpath
/Applications/Pd-0.47-1-64bit.app/Contents/Resources/extra"
in order to load them.

Best

Angelo

On Mon, Aug 29, 2016 at 4:43 PM, Miller Puckette  wrote:

> It should be included in vanilla, in "Pd.app/Contenrs/Resources/extra".
> It should be automatically found by Pd as long as "use standard
> extensions" is
> checked in the "path" preferences dialog (which it normally should be by
> default).
>
> cheers
> Miller
>
> On Mon, Aug 29, 2016 at 04:32:03PM -0400, Angelo Arcadi wrote:
> > Hello,
> > when I was using pd-extended I used to use the objects complex-mod~ and
> > hilbert~.
> >
> > Now on Vanilla I don't find them, nor I am able to find them with Deken.
> > Which package they belong to? If I am not wrong they should come with
> > vanillla however, pd says "couldn't create" for both of them.
> > I am on a mac osx 10.11.5, using pd 64 bit version 0.47.1.
> >
> > Does anyone know where the sources of these can be found?
> >
> > Thanks in advance
> >
> > Best
> >
> > Angelo
>
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Package and sources for complex-mod~ and hilbert~ ?

2016-08-29 Thread Miller Puckette
It should be included in vanilla, in "Pd.app/Contenrs/Resources/extra".
It should be automatically found by Pd as long as "use standard extensions" is
checked in the "path" preferences dialog (which it normally should be by
default).

cheers
Miller

On Mon, Aug 29, 2016 at 04:32:03PM -0400, Angelo Arcadi wrote:
> Hello,
> when I was using pd-extended I used to use the objects complex-mod~ and
> hilbert~.
> 
> Now on Vanilla I don't find them, nor I am able to find them with Deken.
> Which package they belong to? If I am not wrong they should come with
> vanillla however, pd says "couldn't create" for both of them.
> I am on a mac osx 10.11.5, using pd 64 bit version 0.47.1.
> 
> Does anyone know where the sources of these can be found?
> 
> Thanks in advance
> 
> Best
> 
> Angelo

> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Package and sources for complex-mod~ and hilbert~ ?

2016-08-29 Thread Angelo Arcadi
Hello,
when I was using pd-extended I used to use the objects complex-mod~ and
hilbert~.

Now on Vanilla I don't find them, nor I am able to find them with Deken.
Which package they belong to? If I am not wrong they should come with
vanillla however, pd says "couldn't create" for both of them.
I am on a mac osx 10.11.5, using pd 64 bit version 0.47.1.

Does anyone know where the sources of these can be found?

Thanks in advance

Best

Angelo
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] raspberry after boot 2 instances of Pd

2016-08-29 Thread Roman Haefeli
On Mon, 2016-08-29 at 19:37 +0200, patrice colet wrote:
> good to know, I was wondering if the problem mainly come from
> systemd.

I believe when you start tightvncserver, you're actually starting a
second desktop session (on a different DISPLAY). That means, when you
use the auto start infrastructure from your DE (desktop environment)for
auto-starting Pd, it is started twice, because you're running two
desktop sessions, one on DISPLAY=:0 (Raspbian is pre-configured to
auto-login at start) and the one started from tightvncserver. 

x11vnc doesn't start another session, but captures the already running
session on DISPLAY=:0. That's why you don't see two instances of Pd,
when running x11vnc.

Alternatively, you could disable auto-login, so that in the session on
DISPLAY=:0 nothing gets auto-started (unless user 'pi' logs in). But
that also means, you need to login into your tightvncserver session.

Alternatively, you could also start your Pd by cron (which is not
attached to any desktop session and thus starts things only once). If
you don't need a Pd GUI, that is probably the easiest solution. If you
need a Pd GUI, you need to tell Pd in which DISPLAY to show the GUI,
since cron doesn't have any notion of desktop sessions. This is what I
sometimes do to auto-start Pd with GUI in it's own session:

Run 'crontab -e' to edit current user's crontab file. Then add a line
like:
 
@reboot         /usr/bin/vncserver :4 -name pure-data -geometry 1000x800 -dpi 
80; sleep 5; DISPLAY=:4 /usr/bin/pd -open mypatch.pd

save it and reboot. At next boot, this will launch a vncserver on
DISPLAY :4 and then start Pd with its GUI in said vnc session. 

Roman

> Le 28/08/2016 à 12:01, ro...@dds.nl a écrit :
> > 
> > 
> >  patrice colet wrote:
> > 
> > > 
> > >  From what I understand about what triggers this bug it's
> > > tightvnc that
> > > is running twice puredata, some has resolved this by using
> > > x11vnc 
> > > instead
> > > 
> > > src:
> > > 
> > > https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59285
> > > 
> > thanks patrice for the helpfull link.
> > it had nothing to do with puredata.
> > 
> > FYI:
> > using x11vnc did indeed work.
> > another method which seems to solve it is to start the headless Pi
> > in 
> > CLI mode;
> > then with tightvncserver there's also just 1 instance of puredata 
> > running.
> > 
> > rolf
> > 
> > > 
> > > 
> > > Le 25/08/2016 à 13:39, ro...@dds.nl a écrit :
> > > > 
> > > > hello,
> > > > 
> > > > (for me) strange problem of double instances of Pd.
> > > > 
> > > > raspbian jessie Pi-3, headless, VNC on laptop.
> > > > 
> > > > in /.config/LXEsession/autostart:
> > > > @lxpanel --profile LXDE-pi
> > > > @pcmanfm --desktop --profile LXDE-pi
> > > > @puredata
> > > > 
> > > > after boot in Terminal command 'top':
> > > > 
> > > >   PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+
> > > > COMMAND
> > > >  1105 pi-7   0   12632   5992   5292 S   1.7  0.6
> > > > 0:00.57
> > > > puredata
> > > >  1106 pi-7   0   12632   6104   5404 S   1.7  0.6
> > > > 0:00.57
> > > > puredata
> > > >   938 pi20   0   12544   8224   3428 S   1.0  0.9
> > > > 0:00.63
> > > > Xtightvnc
> > > >  1399 pi20   05112   2544   2140 R   0.7  0.3
> > > > 0:00.10 top
> > > >   903 root  20   0   98104  25936  18128 S   0.3  2.7
> > > > 0:00.47 Xorg
> > > >  1100 pi20   0   94364  24608  20920 S   0.3  2.6
> > > > 0:00.59 
> > > > lxpanel
> > > >  1101 pi20   0   94188  24776  20972 S   0.3  2.6
> > > > 0:00.68 
> > > > lxpanel
> > > > ..
> > > > 
> > > > 
> > > > there are 2 instances of puredata (and also 2 lxpanels)!
> > > > and only one GUI visible on screen.
> > > > 
> > > > when i close the GUI, 1 Pd instance disappears, 1 remains (and
> > > > a WISH).
> > > > 
> > > > without puredata in autostart there's only 1 lxpanel.
> > > > 
> > > > anybody experience with this?
> > > > 
> > > > is there better way to get Pd automatically started at boot?
> > > > 
> > > > rolf
> > > > 
> > > > ___
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management -> 
> > https://lists.puredata.info/listinfo/pd-list

signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] raspberry after boot 2 instances of Pd

2016-08-29 Thread patrice colet

good to know, I was wondering if the problem mainly come from systemd.


Le 28/08/2016 à 12:01, ro...@dds.nl a écrit :


 patrice colet wrote:


 From what I understand about what triggers this bug it's tightvnc that
is running twice puredata, some has resolved this by using x11vnc 
instead


src:

https://www.raspberrypi.org/forums/viewtopic.php?f=66&t=59285


thanks patrice for the helpfull link.
it had nothing to do with puredata.

FYI:
using x11vnc did indeed work.
another method which seems to solve it is to start the headless Pi in 
CLI mode;
then with tightvncserver there's also just 1 instance of puredata 
running.


rolf



Le 25/08/2016 à 13:39, ro...@dds.nl a écrit :

hello,

(for me) strange problem of double instances of Pd.

raspbian jessie Pi-3, headless, VNC on laptop.

in /.config/LXEsession/autostart:
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@puredata

after boot in Terminal command 'top':

  PID USER  PR  NIVIRTRESSHR S  %CPU %MEM TIME+ COMMAND
 1105 pi-7   0   12632   5992   5292 S   1.7  0.6 0:00.57
puredata
 1106 pi-7   0   12632   6104   5404 S   1.7  0.6 0:00.57
puredata
  938 pi20   0   12544   8224   3428 S   1.0  0.9 0:00.63
Xtightvnc
 1399 pi20   05112   2544   2140 R   0.7  0.3 0:00.10 top
  903 root  20   0   98104  25936  18128 S   0.3  2.7 0:00.47 Xorg
 1100 pi20   0   94364  24608  20920 S   0.3  2.6 0:00.59 
lxpanel
 1101 pi20   0   94188  24776  20972 S   0.3  2.6 0:00.68 
lxpanel

..


there are 2 instances of puredata (and also 2 lxpanels)!
and only one GUI visible on screen.

when i close the GUI, 1 Pd instance disappears, 1 remains (and a WISH).

without puredata in autostart there's only 1 lxpanel.

anybody experience with this?

is there better way to get Pd automatically started at boot?

rolf

___


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


--
Patrice Colet
fr: 0632660357


___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] VST plugin host

2016-08-29 Thread IOhannes m zmoelnig
On 2016-08-29 09:45, Vincent Vanbesien (DIEHCO) wrote:
> My question concerns the noise~ in input, can I replace it by a midi
> notein object ?

no.
[noise~] produces an audio-signal (a bunch of numbers representing audio
samples), wheras [notein] produces a message (a high-level structured
event representing arbitrary data).

not all vst-plugins take midi-notes, but [vst~] might have a way to get
the available messages you can send to a given plugin (but i don't know
as i never use it).

> The element named "pd midi" in the patch seems to generate midi and
> not to receive, is that right ?

no, actually it documents how to send midi events (e.g. notes) to a plugin.
the [s $0-vst] forwards all messages it receives to [r $0-vst], which
sends them to the [vst~] object.

so to answer your question, use something like

[notein 1]
||
[pack 0 0]
|
[note $1 $2(
|
[vst~]

this will take the note-in data (key and velocity) and create a new
message with selector "note" and the data and send that to [vst~].

fgmasd
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] VST plugin host

2016-08-29 Thread Vincent Vanbesien (DIEHCO)

Hello,

I would like to use pd to host a VST instrument. Then I expect that the 
midi keyboard can trigger notes. After that I will also need to send DMX 
command for lights from the same midi notes. I hope that puredata is the 
correct tool.


I found the thomas's vst~ description : 
http://puredata.info/Members/thomas/vst I try first to use the vst~ 
object from binary (windows) to avoid installing any SDK. To work around 
an error message concerning loading loadbang, I installed the vanilla 
0.43 instead of the newest 0.47. (I believe I need to compile vst / 
flext / pd to use the latest).


I would like to check the aim of the patch vst~-help.pd
I can load my vst instrument with the patch, the display edit window 
checkbox shows the vst instrument GUI.
My question concerns the noise~ in input, can I replace it by a midi 
notein object ?
The element named "pd midi" in the patch seems to generate midi and not 
to receive, is that right ?


With best regards,

Vincent Vanbesien

PS : This is the plain text version of my previous e-mail

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list