[PD] RE : Preferences Dialog

2013-04-06 Thread colet.patrice
Seems cool in windows, also it would be nice in audio settings to have a 
checkbox stating if pd let other audio applications use the audio drivers or 
not, like in cubase.




Patrice Colet 

 Message d'origine 
De : Jonathan Wilkes jancs...@yahoo.com 
Date : 05/04/2013  17:19  (GMT+00:00) 
A : PD-list pd-list@iem.at 
Objet : [PD] Preferences Dialog 
 
Hi List,
 I'm going to start coding up a single preferences dialog to replace the
disparate settings dialogs that live in non-standard menus of Pd.

It will be Firefox Style, meaning a Preferences option in the Edit
menu.  The dialog will have a row of buttons at the top that are icons
above text.  When a button is clicked it will bring up the tab in the dialog
window for those particular settings.  (This turns out to be surprisingly
easy to do in Tk.)


So far I think there should be an Audio button, MIDI button, and maybe
a GUI button that could be be split out later if needed.

I'd like to have changes take effect immediately-- otherwise it might get
confusing if one changes settings in one tab, then makes changes to another
and clicks Apply.  How would this effect UX on Windows and OSX?

-Jonathan


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


[PD] Changing array curves with mouse interaction

2013-04-06 Thread Björn Eriksson
Hello list, I´ve been searching around a little about hints on how to make
a mouse interaction easier in an array, but didn´t find much.
Sometimes it is a bit too precise to get a grip on the curve. So my
question is, can there be some ways to make this gripping a bit easier?

All the best,
Björn Eriksson
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] RE : Preferences Dialog

2013-04-06 Thread Jonathan Wilkes
From: colet.patrice colet.patr...@free.fr
To: pd-list@iem.at 
Cc: Jonathan Wilkes jancs...@yahoo.com 
Sent: Saturday, April 6, 2013 8:10 AM
Subject: RE : [PD] Preferences Dialog


Seems cool in windows, also it would be nice in audio settings to have a 
checkbox stating if pd let other audio applications use the audio drivers or 
not, like in cubase.

Is this with ASIO?

I'm on Debian.  With JACK its something you'd set through the JACK command line 
interface or a GUI like qjackctl.  With ALSA
I don't think you can do that without having the dmix plugin.  Not sure with 
OSS.

-Jonathan

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


Re: [PD] RE : Preferences Dialog

2013-04-06 Thread Miller Puckette
At the moment, Pd is hardwired so that, if one stops DSP, the audio device
is closed for ASIO, MMIO, ALSA, CoreAudio, and OSS (not sure if I'm forgetting
one :) but is kept open if the current API is jack.  THis is done so that
one doesn't lose jack connections when stopping and restarting DSP.  I don't
know of any other case when it's appropriate to keep the audio driver open
(and, by implication, keep inputting and outputing samples) when DSP isn't
running.  

Anyway, it can't be brought out into the GUI without changes to Pd itself.
In general, I resist adding complexity whenever I can :)

Miller

On Sat, Apr 06, 2013 at 10:12:58AM -0700, Jonathan Wilkes wrote:
 From: colet.patrice colet.patr...@free.fr
 To: pd-list@iem.at 
 Cc: Jonathan Wilkes jancs...@yahoo.com 
 Sent: Saturday, April 6, 2013 8:10 AM
 Subject: RE : [PD] Preferences Dialog
 
 
 Seems cool in windows, also it would be nice in audio settings to have a 
 checkbox stating if pd let other audio applications use the audio drivers or 
 not, like in cubase.
 
 Is this with ASIO?
 
 I'm on Debian.  With JACK its something you'd set through the JACK command 
 line interface or a GUI like qjackctl.  With ALSA
 I don't think you can do that without having the dmix plugin.  Not sure with 
 OSS.
 
 -Jonathan
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list

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


Re: [PD] Drawing a sine function dynamically in Gem

2013-04-06 Thread Ivica Ico Bukvic
You may want to investigate latest version of pd-l2ork that also includes
ability to assign different font sizes to drawnumber and drawsymbol
(optional last argument, can be assigned to a variable but currently only
supports pd-defined font sizes). It also separates the two into two distinct
externals so that when you do the help on drawsymbol you don't end-up with
drawnumber help file. I don't have a help file amended yet. It would be
great if this ended up in the core documentation project.

 -Original Message-
 From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of
 Jonathan Wilkes
 Sent: Thursday, April 04, 2013 5:36 PM
 To: Orm Finnendahl; pd-list@iem.at
 Subject: Re: [PD] Drawing a sine function dynamically in Gem
 
 Btw-- I just uploaded a patch that adds [drawoval], [filledoval],
 [drawrectangle], and [filledrectangle] to data structure
 drawing instructions.  This way you can just specify a pair
 of bounding box coords and let tk draw the circle, rather than
 simulating one with a polygon with lots of sides. :)
 
 -Jonathan
 
 
 
 - Original Message -
  From: Orm Finnendahl o.finnend...@inm.mh-freiburg.de
  To: pd-list@iem.at
  Cc:
  Sent: Wednesday, April 3, 2013 12:01 PM
  Subject: Re: [PD] Drawing a sine function dynamically in Gem
 
  Hi Alexandros,
 
  attached is an example to do this with vanilla pd using datastructs
  instead of GEM.
 
  You'll have to save both files (sine-wave-sub.pd and sine-wave.pd)
  under these names in the same folder and open up sine-wave.pd. The
  animation should start right away...
 
  Is that what you were looking for?
 
  --
  Orm
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list


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


Re: [PD] Drawing a sine function dynamically in Gem

2013-04-06 Thread Jonathan Wilkes
- Original Message -

 From: Ivica Ico Bukvic i...@vt.edu
 To: 'Jonathan Wilkes' jancs...@yahoo.com
 Cc: pd-list@iem.at
 Sent: Saturday, April 6, 2013 9:56 PM
 Subject: RE: [PD] Drawing a sine function dynamically in Gem
 
 You may want to investigate latest version of pd-l2ork that also includes
 ability to assign different font sizes to drawnumber and drawsymbol
 (optional last argument, can be assigned to a variable but currently only
 supports pd-defined font sizes). It also separates the two into two distinct
 externals so that when you do the help on drawsymbol you don't end-up with
 drawnumber help file. I don't have a help file amended yet. It would be
 great if this ended up in the core documentation project.

Sounds good.

Another one I'm working on:
1) Did the user click a graph?
2) If so, is there either a) a single garray or b) a single data structure 
array with
a single float y field in its template that is contained within the graph's 
gl_list?
3) If so, does the horizontal position of the mouse-click lie within the 
horizontal
bounds of an element of the garray or ds array we found in the gl_list?
4) If so, set the y value of the array element to the y position of the 
mouse
click.

This should allow jump on click for Put menu arrays-- something mentioned in
another thread recently, as well as easy jump on click data structure 
multisliders.

Also-- I don't think it'd be too hard to add [drawimage ./foo.gif].  It's a 
little trickier
because you have to remember to remove the tk photo when the object is destroyed
to prevent memory leaks.

Also, it'd be nice to have an -s flag so you can load a sequence of images with
something like [drawimage -s blah ./foo%d.gif].  The idea is that this object 
would
tell the gui to load foo01.gif foo02.gif etc. into memory and display whichever 
image
for which %d matches the value of foo.  Then you could easily animate sprites 
on
a canvas!  The nice thing is that pd would just be passing an itemconfigure 
message
with an image name to the gui, so it should be way more efficient than sending
array data or deleting/creating polygon coords.

-Jonathan

 
  -Original Message-
  From: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] On Behalf Of
  Jonathan Wilkes
  Sent: Thursday, April 04, 2013 5:36 PM
  To: Orm Finnendahl; pd-list@iem.at
  Subject: Re: [PD] Drawing a sine function dynamically in Gem
 
  Btw-- I just uploaded a patch that adds [drawoval], [filledoval],
  [drawrectangle], and [filledrectangle] to data structure
  drawing instructions.  This way you can just specify a pair
  of bounding box coords and let tk draw the circle, rather than
  simulating one with a polygon with lots of sides. :)
 
  -Jonathan
 
 
 
  - Original Message -
   From: Orm Finnendahl o.finnend...@inm.mh-freiburg.de
   To: pd-list@iem.at
   Cc:
   Sent: Wednesday, April 3, 2013 12:01 PM
   Subject: Re: [PD] Drawing a sine function dynamically in Gem
  
   Hi Alexandros,
  
   attached is an example to do this with vanilla pd using datastructs
   instead of GEM.
  
   You'll have to save both files (sine-wave-sub.pd and sine-wave.pd)
   under these names in the same folder and open up sine-wave.pd. The
   animation should start right away...
  
   Is that what you were looking for?
  
   --
   Orm
  
   ___
   Pd-list@iem.at mailing list
   UNSUBSCRIBE and account-management -
   http://lists.puredata.info/listinfo/pd-list
  
 
  ___
  Pd-list@iem.at mailing list
  UNSUBSCRIBE and account-management -
  http://lists.puredata.info/listinfo/pd-list
 

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


[PD] State of dssi/plugin support on Linux (Ubuntu 12.04)

2013-04-06 Thread Ivica Ico Bukvic

All,

I did some digging around existing plugin solutions for fluidsynth and 
other synths on Linux and so far had no luck. pluginhost~ segfaults as 
soon as it is loaded (help patch does). Removing :hexter from the 
[pluginhost~ hexter.so:hexter 2] fixes this but one cannot open any of 
the guis (they all either do not do anything or eventually crash pd. The 
old fluid~ is gone, nowhere to be found, so is dssi~. It is possible 
that this problem stems from some weird configuration on my system but 
before I try digging in that direction, just wanted to see what everyone 
else's thoughts were on this one. The problem btw manifests both on 
local build of pd-extended and pd-l2ork. Not sure about vanilla...


--
Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound  Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Head, ICAT IMPACT Studio
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net


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


Re: [PD] State of dssi/plugin support on Linux (Ubuntu 12.04)

2013-04-06 Thread Ivica Ico Bukvic

On 04/07/2013 12:08 AM, Ivica Ico Bukvic wrote:

All,

I did some digging around existing plugin solutions for fluidsynth and 
other synths on Linux and so far had no luck. pluginhost~ segfaults as 
soon as it is loaded (help patch does). Removing :hexter from the 
[pluginhost~ hexter.so:hexter 2] fixes this but one cannot open any of 
the guis (they all either do not do anything or eventually crash pd. 
The old fluid~ is gone, nowhere to be found, so is dssi~. It is 
possible that this problem stems from some weird configuration on my 
system but before I try digging in that direction, just wanted to see 
what everyone else's thoughts were on this one. The problem btw 
manifests both on local build of pd-extended and pd-l2ork. Not sure 
about vanilla...


To add to this, jack-dssi-host fluidsynth-dssi.so works perfectly fine. 
In pd/pd-l2ork when creating [pluginhost~ fluidsynth-dssi.so] works 
(creates 3 outlets and reports no errors) but trying to open the gui 
does nothing. I do get a warning about DSSI path not set, but its 
defaults are correct (and the external finds the .so file fine). Trying 
something like [pluginhost~ calf.so:Reverb] (or reverb) or any other 
legitimate combo that uses :plugin crashes pd immediately. Has 
anyone else had any luck with it or has any alternatives?


--
Ivica Ico Bukvic, D.M.A
Composition, Music Technology
Director, DISIS Interactive Sound  Intermedia Studio
Director, L2Ork Linux Laptop Orchestra
Head, ICAT IMPACT Studio
Virginia Tech
Department of Music
Blacksburg, VA 24061-0240
(540) 231-6139
(540) 231-5034 (fax)
disis.music.vt.edu
l2ork.music.vt.edu
ico.bukvic.net


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