Re: [PD] compiling pd vanilla on a mac
>From: Dan Wilcox >To: Jonathan Wilkes >Cc: "pd-list@iem.at list" >Sent: Wednesday, June 26, 2013 10:24 PM >Subject: Re: [PD] compiling pd vanilla on a mac >Did you install Xcode? Nope! I thought the compiler itself and standard libs would surely already be on the machine. I went ahead and starting dl'ing it when Google didn't turn up anything (should be done in 45 minutes). So thanks-- sounds like this should clear things up for me. -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling pd vanilla on a mac
Did you install Xcode? You need more than the commandline tools, that's just git and a bunch of other things like it. The compiler and frameworks come with the Xcode app itself. You didn't find any info on Google because it's Mac and *everyone* installs the GUI app first (aka Xcode), so they'd already have it. nstall that, then go to the Downloads tab in the preferences, and make sure the Commandline Tools is installed there. If not, install it. Then configure & make will work. I was actually working with portaudio for another project and it compiles fine for me. For reference: SDKs are installed to: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs You can also see in Xcode in the project build settings: click on project in project tree, select Build Settings tab, there should be an entry for the SDK with a dropdown box On Jun 26, 2013, at 5:59 PM, pd-list-requ...@iem.at wrote: > From: Jonathan Wilkes > Subject: [PD] compiling pd vanilla on a mac > Date: June 26, 2013 5:47:58 PM EDT > To: pd-list > Reply-To: Jonathan Wilkes > > > Hi, >Any clues about this ./configure error: > configure: error: Couldn't find 10.5, 10.6, or 10.7 SDK > configure: error: ./configure failed for portaudio > > I have no clue how to check what SDK version I have installed (Google returns > nothing useful) > > For reference: > After agreeing to some stupid license agreement that I didn't read I > downloaded the > stupid "Command Line Tools (OSX Lion) for Xcode - 2013" which claims > to include the the "Mac OSX SDK Frameworks and headers" (which I had to type > out because their stupid webpage doesn't allow you to copy/paste the stupid > text). > > Thanks, > Jonathan Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] compiling pd vanilla on a mac
I find configure scripts too complicated for human understanding, and so I just use the hand-edited makefile: "make -f makefile.mac", invoked from the /src directory. cheers Miller On Wed, Jun 26, 2013 at 02:47:58PM -0700, Jonathan Wilkes wrote: > Hi, > Any clues about this ./configure error: > configure: error: Couldn't find 10.5, 10.6, or 10.7 SDK > configure: error: ./configure failed for portaudio > > I have no clue how to check what SDK version I have installed (Google returns > nothing useful) > > For reference: > > After agreeing to some stupid license agreement that I didn't read I > downloaded the > stupid "Command Line Tools (OSX Lion) for Xcode - 2013" which claims > to include the the "Mac OSX SDK Frameworks and headers" (which I had to type > out because their stupid webpage doesn't allow you to copy/paste the stupid > text). > > Thanks, > 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] compiling pd vanilla on a mac
Hi, Any clues about this ./configure error: configure: error: Couldn't find 10.5, 10.6, or 10.7 SDK configure: error: ./configure failed for portaudio I have no clue how to check what SDK version I have installed (Google returns nothing useful) For reference: After agreeing to some stupid license agreement that I didn't read I downloaded the stupid "Command Line Tools (OSX Lion) for Xcode - 2013" which claims to include the the "Mac OSX SDK Frameworks and headers" (which I had to type out because their stupid webpage doesn't allow you to copy/paste the stupid text). Thanks, Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue
Dunno if it helps, but I messed around with multiplexing and arduino some time ago and finally got it to work. You can check the arduino sketch and pd patch here http://puredata.hurleur.com/sujet-8867-arduino-multiplexers-solved This is only for reading multiplexed pins though, not for writing, but I could use it to light LEDs one at a time sending a number from 0 to 15 to [comport]. On Wed, Jun 26, 2013 at 9:00 PM, batinste wrote: > That is one of the many cases where my advice would be : don't use > firmata/pduino. Program the arduino for real. Use a basic custom protocol > over the serial link, and talk to the arduino with [comport]. You'd spend > much more time trying to get it to work with firmata/pduino than > programming the 'duino and let it do the real work instead of clogging your > serial port. > > > On 26/06/2013 16:56, Epic Jefferson wrote: > > Charles Z Henry & batinste: > I need the project to be pd controlled, i could try multiplexing but i > haven't found info yet on how to control multiplexed pins via pd. > > Peter Venus: > i've been in contact with Winfried, and was about to purchase one of his > older systems but haven't heard from him in a while. Working on plan B. > > Olivier: > that was good work but again, pd is a must and servos are extremely loud. > > Charles Goyard: > i've been able to control solenoid velocity with pwm via pd, this is also > how Winfried does it. Also, motors are way too loud, as I told Olivier. > That's why i'm investigating daisy chaining the arduinos, i'm basically > emulating Winfried's system, but replacing his Escher micro-controller with > arduino Mega's. > > > > > > ___pd-l...@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] pd-0.45 + jack == weirdness
OK.. I made an attempt to fix the problem a diffferent (perhaps smarter) way... I made a change that migth make pd-watchdog quit more reliably when Pd exits. I believe Pd itself wil still go into zombie state waiting for its 'child' jackd to exit - and I think this is a problem in jack - but perhaps at least the watchdog will shut up :) It's up on the git repo - the mindless way to get it would be to make a new directory and clone it... git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data M On Wed, Jun 26, 2013 at 10:24:15AM -0400, Dan Wilcox wrote: > A checkbox in the audio settings? > > [X] Autostart jack server on pd startup > > On Jun 26, 2013, at 8:11 AM, pd-list-requ...@iem.at wrote: > > > From: yvan volochine > > Subject: Re: [PD] pd-0.45 + jack == weirdness > > Date: June 26, 2013 6:28:57 AM EDT > > To: pd-list > > > > > > On 26/06/13 11:31, IOhannes m zmoelnig wrote: > >> yes, i would like to have an "-audio auto" switch, that will try to > >> get*any* audio backend (e.g. jack, alsa, oss, dummy; in that order) > >> i even think that this should be the default (e.g. when you start Pd > >> with no arguments and uninitialized settings). > > > > but please provide a way to disable this autostart-audio feature. > > (I don't know any audio app which starts jack for me > > > Dan Wilcox > @danomatika > danomatika.com > robotcowboy.com > > > > > > ___ > 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] electro-mechanical piano (player piano) - Arduino, Solenoid Issue
That is one of the many cases where my advice would be : don't use firmata/pduino. Program the arduino for real. Use a basic custom protocol over the serial link, and talk to the arduino with [comport]. You'd spend much more time trying to get it to work with firmata/pduino than programming the 'duino and let it do the real work instead of clogging your serial port. On 26/06/2013 16:56, Epic Jefferson wrote: Charles Z Henry & batinste: I need the project to be pd controlled, i could try multiplexing but i haven't found info yet on how to control multiplexed pins via pd. Peter Venus: i've been in contact with Winfried, and was about to purchase one of his older systems but haven't heard from him in a while. Working on plan B. Olivier: that was good work but again, pd is a must and servos are extremely loud. Charles Goyard: i've been able to control solenoid velocity with pwm via pd, this is also how Winfried does it. Also, motors are way too loud, as I told Olivier. That's why i'm investigating daisy chaining the arduinos, i'm basically emulating Winfried's system, but replacing his Escher micro-controller with arduino Mega's. ___ 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] Get path of patch ?
FWIW pd-l2ork also has patch_name that provides both the patch path and the patch name. On Jun 26, 2013 7:54 AM, "Max" wrote: > the next one who will search the archive might find this first, so let's > just write it down again: [ggee/getdir] might be what you need. > > the amazing search plugin helps tremendously to find such things. > > max > > Am 26.06.2013 um 13:05 schrieb Jan Baumgart : > > > Sorry for the noise. > > Should have looked in the archives first %-p > > > > On 26.6.13 13:03 , Jan Baumgart wrote: > >> Is there any way to retrieve the path, a patch is stored in? > >> Like "path" -> [thispatcher] in max? > >> > >> thx & cheers, > >> Jan > > > ___ > 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] electro-mechanical piano (player piano) - Arduino, Solenoid Issue
Charles Z Henry & batinste: I need the project to be pd controlled, i could try multiplexing but i haven't found info yet on how to control multiplexed pins via pd. Peter Venus: i've been in contact with Winfried, and was about to purchase one of his older systems but haven't heard from him in a while. Working on plan B. Olivier: that was good work but again, pd is a must and servos are extremely loud. Charles Goyard: i've been able to control solenoid velocity with pwm via pd, this is also how Winfried does it. Also, motors are way too loud, as I told Olivier. That's why i'm investigating daisy chaining the arduinos, i'm basically emulating Winfried's system, but replacing his Escher micro-controller with arduino Mega's. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue
On 2013-06-26 03:51, Charles Goyard wrote: Hi, this is largely off-topic, but there you go :) Epic Jefferson wrote: I've had progress building an Arduino-powered solenoid system for a controlling a piano's hammer mechanism (removing the keys) via pd. So far I've found the solenoid I want to use. With solenoids you will not get velocity (or at least, not reliably). You can vary the on-time of the solenoid to get velocity. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
A checkbox in the audio settings? [X] Autostart jack server on pd startup On Jun 26, 2013, at 8:11 AM, pd-list-requ...@iem.at wrote: > From: yvan volochine > Subject: Re: [PD] pd-0.45 + jack == weirdness > Date: June 26, 2013 6:28:57 AM EDT > To: pd-list > > > On 26/06/13 11:31, IOhannes m zmoelnig wrote: >> yes, i would like to have an "-audio auto" switch, that will try to >> get*any* audio backend (e.g. jack, alsa, oss, dummy; in that order) >> i even think that this should be the default (e.g. when you start Pd >> with no arguments and uninitialized settings). > > but please provide a way to disable this autostart-audio feature. > (I don't know any audio app which starts jack for me Dan Wilcox @danomatika danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-26 14:11, Nick Lanham wrote: > >> >> I would expect a call to `jack_client_open()` when I turn DSP on, >> not when I launch an app with which I might not make audio at >> all.. > > Agreed. If I don't turn on DSP, PD probably shouldn't start jack, > but if you haven't started jack and you've configured PD to use > jack, and you turn on DSP, it should probably start it. > note, that this is the behaviour we had (0.43) and it broke quite a lot of things. especially, starting and shutting down the jack *client* takes some time, and attaching that to [; pd dsp 1/0( is a bad idea (e.g. when doing dynamic patching, you would usually turn off the dsp before creating a few signal-objects, and then turn it on again...so Pd only has to recompute the DSP-graph once; if this would also mean power-cycling the jack connection, yo get loads of dropouts) gfamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlHK598ACgkQkX2Xpv6ydvThmACfe9twzRA9iAzAySeeA4wp2RIc +b0AnRDyXHdbZEr26PgPGsUpyDB3hBtM =uW4A -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
On 26/06/13 14:11, Nick Lanham wrote: * ardour3 does not - Yes it does. It will pop up a dialog asking you to configure jack first, but it does start it. of course you're right, my mistake.. I would expect a call to `jack_client_open()` when I turn DSP on, not when I launch an app with which I might not make audio at all.. Agreed. If I don't turn on DSP, PD probably shouldn't start jack, but if you haven't started jack and you've configured PD to use jack, and you turn on DSP, it should probably start it. agreed too. so I guess pd should behave like the following: - don't start jack when pd is launched - start jack when DSP is turned on (unless another audio backend was selected) - stop jack when quitting pd if pd is the only jack client (like Ardour3 does) cheers, y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://vimeo.com/yv ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
On Wed, 26 Jun 2013, yvan volochine wrote: On 26/06/13 12:57, Nick Lanham wrote: In my experience, most people using jack these days are aware that most clients will autostart the server if they haven't started it, and it does not confuse them. yeah well in my experience you don't need to open a terminal and kill jackd because an app has been too smart and started it for you. Yeah, that's bad, but that's a bug in the app, not a jack bug. Jack usually shuts down cleanly if you kill your app. I don't know if the following apps use the old jack API but about "starting jack for me when I didn't ask them to": * ardour3 does not - Yes it does. It will pop up a dialog asking you to configure jack first, but it does start it. * audacity does not - Yep, audacity falls back to alsa if it doesn't see jack * any media players that I tried don't.. - You might not have them configured to use jack. Again, if they call jack_client_open, they will start jack. Or they detect no jack and fall back. Also, all the following apps will auto-start jack, and are more similar IMO to PD than audacity or a media player: * QTractor * jalv * calfjackhost * rosegarden So, I think it's more common to start it than not to. I would expect a call to `jack_client_open()` when I turn DSP on, not when I launch an app with which I might not make audio at all.. Agreed. If I don't turn on DSP, PD probably shouldn't start jack, but if you haven't started jack and you've configured PD to use jack, and you turn on DSP, it should probably start it. -Nick ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-26 12:29, batinste wrote: > On 26/06/2013 11:31, IOhannes m zmoelnig wrote: On 2013-06-26 > 11:16, batinste wrote: I guess that asking Ardour's main dev (Paul Davis, also one of jackd's devs) about the expected behaviour of a jack app would be a good idea. > i'd rather ask the entire jack-dev crew. >> Eventually, but Paul's take on a professionnal jack app is >> interesting. > > while paul has written the original jack server, he is no longer > the main authore of jackd2. >> I was mentioning his name as someone who develops a jack app as >> well as someone who knows what's under jackd's hood. sure. the best bet is porbably to just ask on linux-audio-dev, where paul is a frequent poster and loads of other people who use jack on a semi to fully professional level. >> ~$ cat .pdextended | grep flags flags: ~$ cat >> /etc/pd-extended/default.pdextended | grep flags flags: because the audio API is not selected via flags. $ grep audioapi ~/.pdextended /etc/pd-extended/default.pdextended > > > what i did forget in my post is: yes, i would like to have an > "-audio auto" switch, that will try to get *any* audio backend > (e.g. jack, alsa, oss, dummy; in that order) >> agree > i even think that this should be the default (e.g. when you start > Pd with no arguments and uninitialized settings). >> not agree. What if i don't want to make sound with Pd ? currently you do this by running "pd -noaudio". (i would prefer something like "-audio dummy" or "-audio none") while it makes perfect sense for Pd to run without audio, i still think that it is a *very* sane default to enable audio by default, and only disable it on demand. > And, worst, what >> if i want to ? Especially on linux, where the >> flash/alsa/pulseaudio is a mess... I just tried : launch >> pd-extended -alsa, open a youtube vid : the vid plays for 4 sec, >> then stops. Open a youtube vid, then launch pd-extended -alsa : >> the vid plays, pd-ext is unusable and unresponsive when i try to >> create and patch. i never experienced something like this. it works fine here (pd-vanilla): of course i don't get sound if some other process blocks it, but everything else works great. >> I want the choice. ("use an other OS/distro" is not a valid >> criticism ;) ) definitely. gfmasd IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlHK12wACgkQkX2Xpv6ydvSRDQCgy/MR5ndLmRj6q4akb6Q+7baN N6sAn2/2hp1gfkrTw8XwEDCI3JdCbql/ =d7Ae -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Get path of patch ?
the next one who will search the archive might find this first, so let's just write it down again: [ggee/getdir] might be what you need. the amazing search plugin helps tremendously to find such things. max Am 26.06.2013 um 13:05 schrieb Jan Baumgart : > Sorry for the noise. > Should have looked in the archives first %-p > > On 26.6.13 13:03 , Jan Baumgart wrote: >> Is there any way to retrieve the path, a patch is stored in? >> Like "path" -> [thispatcher] in max? >> >> thx & cheers, >> Jan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
On 26/06/13 12:57, Nick Lanham wrote: In my experience, most people using jack these days are aware that most clients will autostart the server if they haven't started it, and it does not confuse them. yeah well in my expericence you don't need to open a terminal and kill jackd because an app has been too smart and started it for you. since my first days with linux I learned to: * start jack * use my favorite audio app(s) * stop jack when I'm done I don't know if the following apps use the old jack API but about "starting jack for me when I didn't ask them to": * supercollider does not * ardour3 does not * audacity does not * any media players that I tried don't.. I would expect a call to `jack_client_open()` when I turn DSP on, not when I launch an app with which I might not make audio at all.. my 0.02£ anyway y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://vimeo.com/yv ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Get path of patch ?
Sorry for the noise. Should have looked in the archives first %-p On 26.6.13 13:03 , Jan Baumgart wrote: Is there any way to retrieve the path, a patch is stored in? Like "path" -> [thispatcher] in max? thx & cheers, Jan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
On Wed, 26 Jun 2013, yvan volochine wrote: but please provide a way to disable this autostart-audio feature. (I don't know any audio app which starts jack for me Any jack application that calls jack_client_open and does not pass JackNoStartServer will have this behavior. You probably just haven't noticed this, or are using only old clients that are using the (now deprecated) jack_client_new. (See http://jackaudio.org/files/docs/html/group__ClientFunctions.html#gabbd2041bca191943b6ef29a991a131c5 for the api docs on jack_client_open). In my experience, most people using jack these days are aware that most clients will autostart the server if they haven't started it, and it does not confuse them. -Nick ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[PD] Get path of patch ?
Is there any way to retrieve the path, a patch is stored in? Like "path" -> [thispatcher] in max? thx & cheers, Jan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
On 26/06/13 11:31, IOhannes m zmoelnig wrote: yes, i would like to have an "-audio auto" switch, that will try to get*any* audio backend (e.g. jack, alsa, oss, dummy; in that order) i even think that this should be the default (e.g. when you start Pd with no arguments and uninitialized settings). but please provide a way to disable this autostart-audio feature. (I don't know any audio app which starts jack for me consider as well this use case: - a user starts pd (jack is not running) - pd starts a jackd process - user closes pd (admitting that the bug I reported is fixed) - user launches firefox and gets no audio from it unless (s)he kills the jackd process very annoying for those who are not familiar with how to use your browser with jack etc.. cheers, y -- http://yvanvolochine.com http://soundcloud.com/yvanvolochine http://soundcloud.com/elgusanorojo http://vimeo.com/yv ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
On 26/06/2013 11:31, IOhannes m zmoelnig wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-26 11:16, batinste wrote: I guess that asking Ardour's main dev (Paul Davis, also one of jackd's devs) about the expected behaviour of a jack app would be a good idea. i'd rather ask the entire jack-dev crew. Eventually, but Paul's take on a professionnal jack app is interesting. while paul has written the original jack server, he is no longer the main authore of jackd2. I was mentioning his name as someone who develops a jack app as well as someone who knows what's under jackd's hood. ~$ pd-extended 4 seconds trying to get that there's no jackd running... Did i specified -jack ? No ! So why is Pd-ext trying to start it ? most likely because you *did* specify to start "-jack" in your preferences. -jack flag is nowhere to be found on any config file in my system. ~$ cat .pdextended | grep flags flags: ~$ cat /etc/pd-extended/default.pdextended | grep flags flags: but seriously: i don't think this is a very good example (most likely you were trying to prove that my claim that "pd should not try to be too clever" was incorrect in many cases). Nope, i think your point is good ! Pd should only do what you told it to do ! what i did forget in my post is: yes, i would like to have an "-audio auto" switch, that will try to get *any* audio backend (e.g. jack, alsa, oss, dummy; in that order) agree i even think that this should be the default (e.g. when you start Pd with no arguments and uninitialized settings). not agree. What if i don't want to make sound with Pd ? And, worst, what if i want to ? Especially on linux, where the flash/alsa/pulseaudio is a mess... I just tried : launch pd-extended -alsa, open a youtube vid : the vid plays for 4 sec, then stops. Open a youtube vid, then launch pd-extended -alsa : the vid plays, pd-ext is unusable and unresponsive when i try to create and patch. I want the choice. ("use an other OS/distro" is not a valid criticism ;) ) That is why the "audio configuration" menu and the config files are there for. Unless the "automagical audio backend selection" box is ticked, i don't want pd to do anything. but if the user specifies a given audio backend (e.g. "-audio jack", or "-jack" as we currently call it), then Pd should not do something else. agree those who don't like the default "any" config, could specify multiple backends, e.g. "-audio alsa,oss" Why not fgvjmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlHKtPkACgkQkX2Xpv6ydvRN3QCg4pfezb+PkFOqbq/iIpT7Q/lg N4QAoN9FtfaPg24pgpocCWjErv1UFwkb =QpoS -END PGP SIGNATURE- ___ 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] pd-0.45 + jack == weirdness
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-26 11:16, batinste wrote: > I guess that asking Ardour's main dev (Paul Davis, also one of > jackd's devs) about the expected behaviour of a jack app would be a > good idea. i'd rather ask the entire jack-dev crew. while paul has written the original jack server, he is no longer the main authore of jackd2. > ~$ pd-extended > > 4 seconds trying to get that there's no jackd running... Did i > specified -jack ? No ! So why is Pd-ext trying to start it ? most likely because you *did* specify to start "-jack" in your preferences. but seriously: i don't think this is a very good example (most likely you were trying to prove that my claim that "pd should not try to be too clever" was incorrect in many cases). what i did forget in my post is: yes, i would like to have an "-audio auto" switch, that will try to get *any* audio backend (e.g. jack, alsa, oss, dummy; in that order) i even think that this should be the default (e.g. when you start Pd with no arguments and uninitialized settings). but if the user specifies a given audio backend (e.g. "-audio jack", or "-jack" as we currently call it), then Pd should not do something else. those who don't like the default "any" config, could specify multiple backends, e.g. "-audio alsa,oss" fgvjmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlHKtPkACgkQkX2Xpv6ydvRN3QCg4pfezb+PkFOqbq/iIpT7Q/lg N4QAoN9FtfaPg24pgpocCWjErv1UFwkb =QpoS -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd-0.45 + jack == weirdness
I guess that asking Ardour's main dev (Paul Davis, also one of jackd's devs) about the expected behaviour of a jack app would be a good idea. While Ardour without audio is pretty useless (not so true anymore since it does midi now, but well), Pd is not, so my take on this is "don't do anything i didn't told you to" : I didn't specified -jack : don't start it, don't connect to it. Let me handle this. I didn't specified any audio options : don't do anything, i'll start the whole mess. Here is what i get when starting Pd-extended 0.43.4 and jackd 1.9.10 on ubuntu 13.04 : ~$ pd-extended priority 6 scheduling enabled. priority 8 scheduling enabled. Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jackdbus should be auto-executed by D-Bus message bus daemon. If you want to run it manually anyway, specify "auto" as only parameter Cannot connect to server socket err = No such file or directory Cannot connect to server request channel Cannot connect to server socket err = No such file or directory Cannot connect to server request channel Cannot connect to server socket err = No such file or directory Cannot connect to server request channel Cannot connect to server socket err = No such file or directory Cannot connect to server request channel watchdog: signaling pd... Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started 4 seconds trying to get that there's no jackd running... Did i specified -jack ? No ! So why is Pd-ext trying to start it ? On 26/06/2013 08:07, IOhannes zmölnig wrote: On 06/25/2013 01:24 PM, Lorenzo Sutton wrote: On 24/06/2013 18:58, Miller Puckette wrote: Thanks... I'm toying with a middle solution, which would be simply to open jack with the JackNoStartServer option (one of JackOpenOptions). I think this is a good idea anyway as the user might want to specify jack options and it seems wrong to have Pd get involved in that. hmm, i'm not entirely convinced about that: the autostarted jack server should use sane defaults as configured by the user. if these defaults are not what the user wants, they can always start the jack server beforehand, and Pd will connect to that server. in any case, i'd like to check with the jack-devs what's the *expected* behaviour of a jack application...i'd really like Pd to behave as "standard" as possible. and of course the fact that Pd hangs on quit when it has an autostarted jackd, is a bug. if the only way to fix this, is to prevent Pd from starting jackd, then we might go that route. if we can make Pd quit successfully even with an autostarted jackd, i'd like to keep the autostarting. what i'd like to have is, that Pd and jack are totally independent processes: Pd should keep working (including quitting!), whether jack is (auto)started or not, and it should gracefully survive a shutdown/restart of the jack server. and the other way round. I liked it when (v 0.42?) Pd would use jack if it found a jack server running and just alsa otherwise... honestly, i think this is too much intelligence on the Pd layer. if the user chose "jack" as backend, then they should get "jack", and not "alsa" or "asio". if there is no "jack" (and we cannot autostart), then Pd should NOT try to grab the first available alsa device, preventing any jack server from being started afterwards, and potentially crashing the "700 gigawatt PA"* where Pd was never meant to be routed to. fgmasdr IOhannes * courtesy erik de castro lopo ___ 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] Where is vanilla's makefile and other stuff located?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-06-26 09:56, Alexandros Drymonitis wrote: > I realised what happened. I've downloaded Pd from Ubuntu software > center and it installed everything where it's supposed to go. What > now confuses me a bit is that in the software center you can find > the following: puredata, puredata-core and puredata-gui. If you go > for puredata-core it advices you to also download puredata-gui. If > you go for gui, it advices you to download puredata-core, or even > puredata... yes. the debian packages are split into multiple packages, so you only have to install what you need) - - "puredata-core" is the DSP-engine only (no gui) - - "puredata-gui" is the GUI only (not DSP,messages,...) - - "puredata" is a meta-package that depends on both (and more, like puredata-utils (providing the "pdsend" utility) and "puredata-dev" needed, if you want to compile your externals) most users will simply want to install "puredata" and get everything. those that do not want *everything* but most everything, will go and install "puredata-core" and "puredata-gui". those that do not need no gui, might be happy with just puredata-core. > Well, I've downloaded puredata and it's working (although it > crashes if I try to open the 'Test audio and midi' patch), it should never "crash" (as in: "close the application") > and it's located at /usr/bin/ yes, since "puredata" is managed by the package manager, it should go into /usr > and the rest are located at /usr/lib/puredata (btw, it's version > 0..43.0-4, yep. this is in order to allow pd-vanilla, pd-extended and pd-l2ork coexist on the same installation. > not the current...), but still no icon, still this warning at the > Pd i guess it is time to ask what you mean by this. i get a nice icon when selecting "Applications->Multimedia->Pure Data" > window: WARNING: Font family 'Courier' not found, using default > (DejaVu Sans Mono) yes. is his a problem? > and still no makefile (I guess the software center took care of > it). not really (but kind of). debian (and derivatives like ubuntu) provide packages in binary (precompiled on some vast build farms) form. these binary packages (usually) do not come with source code and build system. the distro guarantees, that you can get the source code is needed (but that you need not bother with it if you don't). other distributions like gentoo or arch will ship packages directly as sourcecode and the packagemanger will compile/install them locally. and your "software center" is simply an eye candy front-end to the systems package manager. > Well, I'm sticking to the makefile cause I'm going through Lyon's > 'Designing audio objects for max and pd' and he's making use of > Pd's makefile when compiling an object...so I guess I'll need it, > right? well, yes, but mostly no. first of all: you will need *some* makefile (or other build system) to build your external. you do **not** need the makefile needed to build Pd - after all, you want to build an external and not Pd itself, no? Pd comes with a wee bit of documentation on how to build externals (including a...Makefile, named 'makefile'). on debian, this doc is included in the puredata-doc package (aptly named, as it holds the documentation for Pd) and you can find it in /usr/share/puredata/doc/6.externs/ (copy the entire directory into your home, in order to work on it) but then, the Makefile you will find there is not very nice. there is a *very* nice Makefile for building externals available at [1]. it is in daily use for building many external libraries out there (unlike the documentation makefile that comes with pd, which basically hasn't been touched for 10 years or more) > IOhannes, at puredata.info I can only find vanilla 0.44.0 (for > Linux, there's a version for RPi, is it good for a laptop as > well?). if your laptop has an ARM processor, it probably is. since the former is unlikely, you will have to get "Pure Data for All platforms", which contains the source. > Where can I find the 0.44.3 package? > apart from that: miller is putting his releases on his personal webpage [2], and puredata.info is synched whenever someone finds the time to do it. fgmasdr IOhannes [1] https://svn.code.sf.net/p/pure-data/svn/trunk/externals/template/ [2] http://crca.ucsd.edu/~msp/software.html -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Icedove - http://www.enigmail.net/ iEYEARECAAYFAlHKpUEACgkQkX2Xpv6ydvS8YgCgtHDndyMwgavLg8LmwTV7Suma g/sAoNTtlMU+tRD1pcpPjfORX4t0Uh1M =UT+b -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] electro-mechanical piano (player piano) - Arduino, Solenoid Issue
Hi, this is largely off-topic, but there you go :) Epic Jefferson wrote: > I've had progress building an Arduino-powered solenoid system for a > controlling a piano's hammer mechanism (removing the keys) via pd. > So far I've found the solenoid I want to use. With solenoids you will not get velocity (or at least, not reliably). You're better off with motors (servos come to mind, see Olivier Baudu's message). Maybe you don't care about velocity :). You can just use some serial-in/parallel out devices (also called demultiplexers and shift registers) like the 74HC595. They are made to be daisy-chained by wagons. For the power stage you can use small relays or piggyback some ULN2803A (5V ttl compatible, saves a resistor per channel) to get the rated amp power. See http://www.arduino.cc/en/Tutorial/ShiftOut as a starting point. You can ask off-list if you wish, or hire me :) Enjoy, Charles ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Re: [PD] Where is vanilla's makefile and other stuff located?
I realised what happened. I've downloaded Pd from Ubuntu software center and it installed everything where it's supposed to go. What now confuses me a bit is that in the software center you can find the following: puredata, puredata-core and puredata-gui. If you go for puredata-core it advices you to also download puredata-gui. If you go for gui, it advices you to download puredata-core, or even puredata... Well, I've downloaded puredata and it's working (although it crashes if I try to open the 'Test audio and midi' patch), and it's located at /usr/bin/ and the rest are located at /usr/lib/puredata (btw, it's version 0..43.0-4, not the current...), but still no icon, still this warning at the Pd window: WARNING: Font family 'Courier' not found, using default (DejaVu Sans Mono) and still no makefile (I guess the software center took care of it). Well, I'm sticking to the makefile cause I'm going through Lyon's 'Designing audio objects for max and pd' and he's making use of Pd's makefile when compiling an object...so I guess I'll need it, right? IOhannes, at puredata.info I can only find vanilla 0.44.0 (for Linux, there's a version for RPi, is it good for a laptop as well?). Where can I find the 0.44.3 package? On Wed, Jun 26, 2013 at 8:46 AM, IOhannes zmölnig wrote: > On 06/26/2013 12:34 AM, Funs Seelen wrote: > > Hello Alexandros, > > The standard installation path for Pd in Ubuntu is /usr/local/lib/ > (except > > for the binary file /usr/bin). > > definitely not. > the default bath is either: /usr/local/bin (for the binaries) and > /usr/local/lib/pd (for the rest) OR /usr/bin + /usr/lib/pd > > /usr/local is usually used for installing things manually (e.g. if you > build Pd yourself and run "make install") and is therefore the default, > whereas /usr is normally reserved for your package management system. > > > Afaik the makefile doesn't install itself > > somewhere. If you don't know navigate to your pd-source. If you don't > seem > > to have them already type ./autogen.sh and a configure script and a > > makefile will be created. To be sure no vanilla is installed type sudo > make > > uninstall, then make && make install to (re-)install pd. That should be > it. > > alternatively, you could just install the "puredata" package. > (at least in Debian there is a package for pd-vanilla 0.44.3) > > gfamdrs > IOhannes > > > ___ > 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