Re: [PD] sending image from of / libpd
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Jonathan Wilkes jancs...@yahoo.com Cc: Dan Wilcox danomat...@gmail.com; PD List pd-list@iem.at Sent: Monday, August 29, 2011 1:19 AM Subject: Re: [PD] sending image from of / libpd On Sun, 28 Aug 2011, Jonathan Wilkes wrote: With z_libpd.h, you have an artificial limit of 32 atoms per message I must be misunderstanding what you've written, because it would break trivial patches: [osc~ 440] | | [bang( |/ [print~] Where's the 32 atoms in a message in your example ? Bad example. And then, they have to be sent using libpd_add_ functions, because with typedmess or outlet_anything, you have no limit other than the OS' maximum stack size. Ah, never mind then. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] gem 0.93 and frei0r (was Re: [PD-announce] gem 0.93.0)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-08-26 18:30, Pagano, Patrick wrote: FreiOr SUPPORT!!! Massive WIN I assume that this is for linux/OSX? Or do you have frei0r working on WIN? there is nothing linux/osx specific in the code on Gem's side, and the dylib code is abstracted away. in theory(!), you should be able to use frei0r plugins from within Gem on w32, as soon as you can get hold of a frei0r plugin compiled for w32. fmasr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5bTMsACgkQkX2Xpv6ydvTtaACfdhXL44HGDUrBvw5KDiz/ZthU /0gAnROuHFsQR0IZvq5hlEQjJ2wSr4Ww =Xkis -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-dev] tkwidgets
Haha, I'll pretend I understand this Andy :) On 28 August 2011 18:29, Andy Farnell padawa...@obiwannabe.co.uk wrote: I think reasonable suggestions might be welcome. Some say the sulphur fumes, screams and maniacal laughter emanating from Martin and Joe's subterranean laboratory beneath the opera house catacombs is too intimidating. But I've heard that mortals making offerings have been spared. Occasionally. On Sun, 28 Aug 2011 13:04:44 -0400 (EDT) Mathieu Bouchard ma...@artengine.ca wrote: On Sun, 28 Aug 2011, Andy Farnell wrote: If the developer exhibits a capacity for purposefulness, couldn't that same a sense of purpose be used to undo a mistake? Well, the developer would have to think of those things as mistakes first, and also, to think of vanilla's ways as being the solutions. When the idea of «cleaner design than vanilla's» is to use a big if else if else if else if else if else if instead of the constructor table and instead of every method table, does it make it look like you or I has any business trying to change the mind of the author, and does that look easier than (!!!) submitting patches to Miller ? ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC -- Andy Farnell padawa...@obiwannabe.co.uk ___ 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] receiving messages in [expr] ?
Am 27.08.2011 um 21:59 schrieb Mathieu Bouchard: Ears don't know what a wave function collapse is, and wouldn't differentiate quantum noise from a linear-congruential scrambler such as pd's [noise~]. i don't think that quantum noise is necessarily white in the audible domain. gr~~~ -- Thomas Grill http://g.org ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] gem 0.93.1
- Mathieu Bouchard ma...@artengine.ca a écrit : Otherwise, it would mean that GEM users who want to try GF have to reinstall a different GEM than default just to have something that runs with MinGW. If Gem can be compiled with mingw, it can be done by pd-extended build system on win32, as well as gridflow, so they should work together and be included in nightly builds. -- Patrice Colet ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Dynamic patching with audio - review
Hi all, My last mail was broken by the mailing list engine. The prose in a file if you please ;-): http://abel.jerome.free.fr/pd/dynamic-patching/reviews/DynamicPatching_review-3.txt Jérôme (with accents) - Mail original - De: abel jerome abel.jer...@free.fr À: pd-list@iem.at Envoyé: Mercredi 24 Août 2011 12:49:10 Objet: Re: Dynamic patching with audio - review Hi, A new report of my researchs about audio dynamic patching techniques. The continuation of my previous reviews : http://abel.jerome.free.fr/pd/dynamic-patching/reviews/DynamicPatching_review-1.txt http://abel.jerome.free.fr/pd/dynamic-patching/reviews/DynamicPatching_review-2.txt === Pd-list archives === The issue has been discussed several times (IOhannes m zmoelnig) That's right. I've just seen that the pd dsp O/1 method was described in 2005 ! It's quite difficult to find those threads without the terms dsp tree or dsp graph or dsp chain. Indeed, I don't know anything about it. A list of the best search terms could help us (see below) and avoid those noise requests. We are trying here to make a review of all dynamic patching techniques to make it easier to understand and find the best solution for any project. It could be a page on the community website instead of the disheartening do not use dynamic patching (http://puredata.info/docs/tutorials/TipsAndTricks#how-to-avoid-audio-drop-outs). - Search engine usage When I search in the pd-list, the score show some posts where the search term are in the next or previous message links, not in the message body. How limit the search term to the body and not the links ? Futhermore, if I'm interested in one thread, it seems that if I choose to sort by thread, it's only the threads of a month. How group one thread on all months ? - Search terms audio drop-outs with pd dsp O; pd dsp 1 activate audio abstraction dynamic audio abstraction dynamic patching dynamic patching techniques update dsp-tree update dsp-graphofxPd - Threads about audio dynamic abstraction in pd-list - [PD] strange behavior upon loading dsp abstraction http://lists.puredata.info/pipermail/pd-list/2004-12/thread.html#24337 - [PD] no dsp-chain update after dynamic abstraction-creation http://lists.puredata.info/pipermail/pd-list/2005-06/028923.html - [PD] slowly load a pd-patches/abs without dropouts http://lists.puredata.info/pipermail/pd-list/2007-01/046243.html - [PD] this is crazy http://lists.puredata.info/pipermail/pd-list/2008-01/059244.html - [PD] API for manipulating a patch in real time http://lists.puredata.info/pipermail/pd-list/2008-12/066723.html - [PD] Dynamically created signal object bug http://lists.puredata.info/pipermail/pd-list/2009-02/068246.html - [PD] abstraction creation audio engine start http://lists.puredata.info/pipermail/pd-list/2009-04/069849.html === Dynamic creation of audio abstractions === - Methods 1 - DSP 0/1 2 - Add/clear an audio object (subpatch) 3 - Add/cut any object (subpatch) See : http://abel.jerome.free.fr/pd/dynamicPatching/patchs/dyn-audio-abstraction/ This methods work with any abstraction. - DSP 0/1 method - explanations From IOhannes m zmoelnig : You shouldn't dynamically create abstractions while dsp is running, as it slows down significantly. If dsp is on, and you dynamically create 10 objects in one go (in zero logical time), then the dsp graph will be re-calculated 10 times. If you turn dsp off, then dynamically create 10 objects as before, then no dsp graph will be evaluated until you turn dsp on again, summing up to exactly 1 time. Furthermore, it guarantees that the entire DSP graph is calculated and not only parts of it (because of buggy implementations) Thanks a lot for those explanations. It's clear enough to see why choose these method even if internal processes in the DSP graph are still incomprehensibles. - DSP 0/1 method - Some questions --- With one audio abstraction. If we create just one audio abstraction at one time. Is it still the best solution or is it the same than other methods ? --- Audio clics. From me: But audio clics may occur for all sounds, not just for the new one, right ? From IOhannes: no, this is wrong. (at least not, if you computer is fast enough to calculate the DSP-graph within the buffertime). I don't understand how you can not heard clics with it. With my system, audio clics occur... Wrong settings ? Do I need a recent computer ? In fact, a clic is heard the first time with Jack/Alsa and always with Alsa and Asio4all. But in a dynamic patching case, what's
Re: [PD] Mac OSX 10.7 resume states crash Pd-extended
Oops, right, what are the errors you are getting? Please post the error log. If its about not loading objects, try removing your preferences. .hc On Aug 28, 2011, at 5:30 AM, Dan Wilcox wrote: I tested this with Pd-Vanilla 0.43-0 and there are no problems. The patch windows come up nicely. I tried to test it with a Pd-Extended-0.43.1autobuild but I keep getting load errors and can't open any patch windows :P Is there a more stable version somewhere? As for Pd-Extended 0.42.5, there are some options: http://reviews.cnet.com/8301-13727_7-20083707-263/managing-mac-os-x-lions-application-resume-feature/ You can hold Option when quitting (aka Cmd+Opt+Q ) to bypass the save state mechanism and delete any current states. You can also disable the state saving by locking the state folder for Pd-Extended itself in ~/Library/Saved\ Application\ State/ org.puredata.pd.wish.savedState/ through the Get Info dialog (CMD +I) ... On Aug 28, 2011, at 5:16 AM, Dan Wilcox wrote: Since I've upgraded to Mac OSX 10.7 Lion, I've noticed Pd-extended 0.42.5 seemed to crash on startup sometimes, while other times it was fine. It finally dawned on me that OSX is trying to load the previous saved state since I had CMD-Q'd Pd with windows open. It automatically opens those windows at start. I assume pd is not yet ready for these and crashes due to some init order issue ... If anyone else has noticed this, a quick fix is to delete the save state so you can open Pd again. Then make sure to close all windows before quitting the next time ... thanks for the help apple. http://osxdaily.com/2011/07/17/delete-specific-application-saved-states-from-mac-os-x-10-7-lion-resume/ Commandline: rm -rf ~/Library/Saved\ Application\ State/org.puredata.* Dan Wilcox danomatika.com robotcowboy.com Dan Wilcox danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list There is no way to peace, peace is the way. -A.J. Muste ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-gui bug (was Re: search plugin update)
Interesting test results. It would be quite nice if Tcl/Tk handled the window placement for non-PatchWindows. Part of the problem there is that the .pd fileformat stores the location of the windows, and therefore Pd explicitly places the windows using those coordinates. That might be related here, but maybe not. As for Test 3 4, that's not Apple that properly places the patch window beneath the menubar, that's code in 'pd-gui'. Check out pdtk_canvas_new in pdtk_canvas.tcl. .hc On Aug 29, 2011, at 1:03 AM, Jonathan Wilkes wrote: Test1: Gnome 3 (Fedora 15) -- no problems Gnome 2.32.0 (Ubuntu Maverick) -- no problems OSX 10.7 -- problem: window decoration behind Apple's menubar. Test2: Tried a little stand-alone version of my plugin. Still specifying 0 0 screen coordinates, and Apple automatically puts the .search window below the menu bar, as it does for everything else I've ever seen in OSX except this issue. Test3: Tried any number of my PDDP help patches, which all have 0 0 specified as the coordinates for the patch window. Again, Apple does the right thing and shifts it down an appropriate amount. Test4: Tried to fool wish on OSX into putting a toplevel underneath the menubar. Can't do it. Hypothesis: Something isn't set correctly in pd-gui, but all I can see (at a glance) are options that have nothing to do with window position, and some variables: menubarsize and windowframey. -Jonathan - Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Jonathan Wilkes jancs...@yahoo.com Cc: Mathieu Bouchard ma...@artengine.ca; pd-list List pd-list@iem.at Sent: Sunday, August 28, 2011 10:13 PM Subject: Re: [PD] search plugin update 0 0 is problematic on couple platforms. On Mac OS X, the menubar is always there, so it puts the window header behind on menubar. A similar problem happens on GNOME. .hc On Aug 25, 2011, at 5:33 PM, Jonathan Wilkes wrote: Ok, fixed the weird resizing issue when the text in the status area is larger than the window. Fixed search window to appear at 0 0 on when it's first created. Fixed font sizing bindings. Fixed minimum font size. -Jonathan - Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Mathieu Bouchard ma...@artengine.ca Cc: Jonathan Wilkes jancs...@yahoo.com; pd-list List pd-list@iem.at Sent: Sunday, August 7, 2011 5:38 PM Subject: Re: [PD] search plugin update On Aug 7, 2011, at 2:51 PM, Mathieu Bouchard wrote: On Sat, 6 Aug 2011, Hans-Christoph Steiner wrote: - on Mac OS X Cmd-Shift-= (i.e. Cmd-+) is the standard key for increasing the size of the text. Currently, its Cmd-=. It will break on keyboard layouts that are not QWERTY or that are heavily modified QWERTY. When I designed some things in the default DD keyboard bindings, I only had US keyboard and CF-family keyboards in mind (french QWERTY used in Québec) and then someone notified me that I couldn't distinguish Alt+Shift+1 from Alt+1 because 1 is already shifted in AZERTY (it's Shift-, whereas is not shifted). German QWERTZ has = on Shift+0 and * on Shift++, meaning + is unshifted ; however, Swiss QWERTZ has + shifted as Shift+1, and then there are other QWERTZ than that... It'd be something to test, Cmd-+ might work as a keybinding, and would then work on other keyboards. Or perhaps you can just bind to both Cmd-Shift-+ and Cmd-+. For other platforms, its not a big deal since the keybindings are not very consistent. On Mac OS X, they are quite consistent across OS and apps, so people notice wrong bindings a lot more. .hc “We must become the change we want to see. - Mahatma Gandhi search-plugin.tcl All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so translated -John Donne search-plugin.tcl 'You people have such restrictive dress for women,’ she said, hobbling away in three inch heels and panty hose to finish out another pink- collar temp pool day. - “Hijab Scene #2, by Mohja Kahf ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Mac OSX 10.7 resume states crash Pd-extended
How about Pd-extended 0.43? Hey Dan, this would make a great FAQ entry: http://puredata.info/docs/faq .hc On Aug 29, 2011, at 12:04 AM, Dan Wilcox wrote: Nah, you're fine. It's a problem with Pd-extended 0.42.5 ... Pd-0.43.0 Vanilla handles resume fine. :D On Aug 28, 2011, at 10:58 PM, Miller Puckette wrote: Hmm.. maybe that should be the first line of the Tcl main. cheers Miller On Sun, Aug 28, 2011 at 05:16:15AM -0400, Dan Wilcox wrote: Since I've upgraded to Mac OSX 10.7 Lion, I've noticed Pd-extended 0.42.5 seemed to crash on startup sometimes, while other times it was fine. It finally dawned on me that OSX is trying to load the previous saved state since I had CMD-Q'd Pd with windows open. It automatically opens those windows at start. I assume pd is not yet ready for these and crashes due to some init order issue ... If anyone else has noticed this, a quick fix is to delete the save state so you can open Pd again. Then make sure to close all windows before quitting the next time ... thanks for the help apple. http://osxdaily.com/2011/07/17/delete-specific-application-saved-states-from-mac-os-x-10-7-lion-resume/ Commandline: rm -rf ~/Library/Saved\ Application\ State/org.puredata.* Dan Wilcox danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Dan Wilcox danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Access to computers should be unlimited and total. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Building GEM with MinGW gcc WAS: [PD-announce] gem 0.93.1
On Aug 29, 2011, at 7:22 AM, Patrice Colet wrote: - Mathieu Bouchard ma...@artengine.ca a écrit : Otherwise, it would mean that GEM users who want to try GF have to reinstall a different GEM than default just to have something that runs with MinGW. If Gem can be compiled with mingw, it can be done by pd-extended build system on win32, as well as gridflow, so they should work together and be included in nightly builds. Yes, that is true. Its not trivial to get Gem building on MinGW, but I think its definitely doable and without horrible pain, just some pain ;). The Windows build server is ready to do it, its got the QuickTime SDK installed. I think the best plan of attack is to do it incrementally. So first just the most basic, stripped down version of Gem building, then try adding more features as things get working. Patrice, if you can take the lead on this, I'll help where I can. .hc Free software means you control what your computer does. Non-free software means someone else controls that, and to some extent controls you. - Richard M. Stallman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] gem 0.93.0
hello, this works for me (but lot's of object did not load on my computer). but the auto 1 message to pix film crash 0.93.0, but should work on 0.93.1 Cyrille Le 29/08/2011 17:05, bra...@subnet.at a écrit : thank you so much but :-((...attached patch _maincamera3 worked with ver: 0.91-cvs on win7/64 quiet as well as with xp, the new one is crashing pd. may you can find out whats going on with kind regards der.brandt Zitat von IOhannes zmölnig zmoel...@iem.at: after long years of waiting (foir you) and hard labour (for me), Gem 0.93 has been released today. large parts of the underlying engine have been re-written to give you a better experience! binaries are available for w32 (installer zip), for the brave and adventurous there is the source code. binaries for OSX and not available yet, but we hope to get them online soonish. grab it while it's hot: http://gem.iem.at/releases/0.93.0 alternatively you can get the files from https://sourceforge.net/projects/pd-gem highlights == Objects --- frei0r video plugins support - [mesh], [surface3d],... - [separator] now takes arguments to define which stacks to push/pop documentation - - numerous bigfixes and improvements extra - - [pix_fiducialtrack] is no more part of Gem (but comes bundled with Gem) - [pix_artoolkit] fiducial tracking using ARToolKit - [pix_drum], [pix_mano]: Jaime Olivier's analysis objects! plugins --- image acquisition is now factored out into plugins this means that you can e.g. easily add new image acquisition methods to the existing [pix_video], [pix_film] and [pix_image] objects - still image loading/saving now uses plugins on all platforms on w32 you can now use ImageMagick and/or QuickTime for loading/saving images, which greatly increases the number of supported formats. you now get programmatic feedback on image loading success... - video acquisition now uses plugins on all platforms uniform way to get or set properties/attributes/controls, like hue, saturation, shutter-speed, pan,... working DV support (on linux) V4L also works with newer kernels (that dropped v4l) support for IIDC support for industrial grade GigE cameras using 3rd party libraries such as PYLON, Halcon or AVT's PvAPI experimental UNICAP support - film acquisition now uses plugins on all platforms (you could use gmerlin on w32 or osx...) - recording (film output) now uses plugins on all platforms support for V4L2 (and V4L) loopback devices, in order to generate a fake live video from your Gem window - use itfor recording, streaming,... settings global local settings files to modify the overall behaviour of Gem you don't like Gem's default framerate, windowsize, font, texture mode,...? change it once and for all internals - - API: this is the first Gem with a public API: a selection of headers that you can use to write your own Gem-plugins build-system - build system: completely switched to a proper autotools - openGL: updated bundled GLEW - source organization: re-organized the entire source tree for hopefully better maintainability lowlights = i need an OSX developer willing to spend some time in getting image acquisition and windowing to work on OSX=10.6 (x86_64) mfga,dsra IOhannes ___ Pd-announce mailing list pd-annou...@iem.at http://lists.puredata.info/listinfo/pd-announce ___ 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] Pd on Android
Hi all, I plan on buying my very first smartphone in the next few days. I want a phone running Android since it appears to be the best platform to run Pd. I m just not quite sure about the way Pd can be used with a smartphone. Can we run Pd-extended, or just use the patches, or is it just some sort of an API that can be used when developping an app? I m totally new to this, so please excuse the (possibly abyssal) silliness of my questions. Cheers! Pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Building GEM with MinGW gcc WAS: [PD-announce] gem 0.93.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-08-29 17:10, Hans-Christoph Steiner wrote: incrementally. So first just the most basic, stripped down version of Gem building, then try adding more features as things get working. luckily, all the complicated dependency stuff is no longer required to build Gem anyhow. cool that we now have plugins :-) fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5brxoACgkQkX2Xpv6ydvS7LwCgxurQKP6rlli/lgJnflV7N5n9 HPwAoMEjBiPgTzrDjg9UA2UcYtNA3h98 =b64i -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [PD-announce] gem 0.93.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-08-29 17:00, bra...@subnet.at wrote: hi...thank you...great job but :-(( : attached patch named _maincamera3 did work with ver: 0.91-cvs win7/64. with the new one it crashes pd. even with noloadbang maybe you can find out what happend maybe you can help us a bit. e.g. by: - - telling us which OS you are using - - which Pd? - - creating a _minimal_ patch that triggers the problem - - what get's printed to the pd-console before the crash? what get's printed to the console? - - what if you raise verbosity to level 2? fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5br/oACgkQkX2Xpv6ydvQJHQCfYKJTxfi7VmFN+IdSNdvDGshz 6X4AnjKOrP9MFaurKSAmuyPXz6Hmnhdn =EAQq -END PGP SIGNATURE- smime.p7s Description: S/MIME Cryptographic Signature ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Building GEM with MinGW gcc WAS: [PD-announce] gem 0.93.1
On Aug 29, 2011, at 11:24 AM, IOhannes m zmoelnig wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-08-29 17:10, Hans-Christoph Steiner wrote: incrementally. So first just the most basic, stripped down version of Gem building, then try adding more features as things get working. luckily, all the complicated dependency stuff is no longer required to build Gem anyhow. cool that we now have plugins :-) Yes, it is, thanks for that :) .hc It is convenient to imagine a power beyond us because that means we don't have to examine our own lives., from The Idols of Environmentalism, by Curtis White ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd on Android
Chris McCormick is working on an app for testing latency on Android phones. You could go to your local mobile store, install it on phones, and test them directly. As for Pd-extended, there isn't a Pd-extended package, but most of the libs included in Pd-extended can easily be built for Android. http://puredata.info/docs/developer/BuildingPdForAndroid .hc On Aug 29, 2011, at 11:21 AM, Pierre Massat wrote: Hi all, I plan on buying my very first smartphone in the next few days. I want a phone running Android since it appears to be the best platform to run Pd. I m just not quite sure about the way Pd can be used with a smartphone. Can we run Pd-extended, or just use the patches, or is it just some sort of an API that can be used when developping an app? I m totally new to this, so please excuse the (possibly abyssal) silliness of my questions. Cheers! Pierre ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I have always wished for my computer to be as easy to use as my telephone; my wish has come true because I can no longer figure out how to use my telephone. --Bjarne Stroustrup (creator of C++) ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
On Aug 23, 2011, at 3:43 PM, Martin wrote: On 23/08/11 03:29 PM, Stephen Lavelle wrote: I've managed to hurt my ears twice over the past two days when using PD w/ headphones. Even at lowest system volumes, it seems that Terrible Things can happen. Are there any precautions that I can take to make it feel less like I'm taking my life into my hands when I have to use headphones? Try making a [noise~] connected directly to a [dac~] and set the headphone volume so you can live with that. Nothing will ever be louder than that. Hmm, I don't think that's actually true in all cases. On a MacBook Pro running Mac OS X, I've had the volume set to one above mute, but had massive feedback from LPC patches that were very very loud. [noise~] would be very comfortable at that volume setting. I think some platforms do the output mixing in the digital domain, so my min volume would be [*~ 0.01], so that this would still make a very loud sound: [noise~] | [*~ 99] | [*~ 0.01] (i.e. the Apple output mixing) | In this particular case, the sound output actually gets shutdown entirely, so you have to reboot to get sound output again. .hc I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers. - General Smedley Butler ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
Two good rules: - if there is any doubt, use speakers set on low volume - keep your figure on the mute button when messing around with unknowns I've perfected the rip the headphones out reflex, I can get the headphones out of my ears in well under a second without even thinking about it :-D .hc On Aug 23, 2011, at 3:29 PM, Stephen Lavelle wrote: I've managed to hurt my ears twice over the past two days when using PD w/ headphones. Even at lowest system volumes, it seems that Terrible Things can happen. Are there any precautions that I can take to make it feel less like I'm taking my life into my hands when I have to use headphones? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] arrowheads on cords plugin
Cool plugin. Although I am experiencing a weird bug: - it only draws the arrows ONCE by any event the pd window is redrawn - events that I tried and worked (thus the arrows magically appear): save patch, move patch window. change desktop. - events that do not do nothing: moving stuff inside the patch (moving an object, drawing new coords). Could be an X/ubuntu issue, maybe its just here. I have to try on other machines (anyway: Ubuntu 10.10, gnome, pd 0.43 extended latest nigthly build, your plugin was downloaded from the list, second mail you sent with the bugfix) best regards, pedro On Sat, Aug 27, 2011 at 12:23 AM, ALAN BROOKER alan.brooker2...@gmail.comwrote: cool... like this ...thanks Hans! On Tue, Aug 16, 2011 at 7:39 PM, Hans-Christoph Steiner h...@at.or.at wrote: Thanks for the bug report. This version should fix that: .hc On Aug 16, 2011, at 2:29 PM, Daniel Roviriego wrote: forgot to mention the arrowheads are working, besides the error message: Using Ubuntu 10.10. Tcl version 8.5.8-2build1 and tk version 8.5.8-1 cheers 2011/8/16 Daniel Roviriego daniferna...@gmail.com Hi Hans.. Iḿ getting this error trying to use the plugin invalid command name .gfxstub8566bd8.c invalid command name .gfxstub8566bd8.c while executing $tkcanvas itemconfigure cord -arrow none (procedure add_arrows_to_cords line 8) invoked from within add_arrows_to_cords .gfxstub8566bd8 (command bound to event) cheers 2011/8/16 Hans-Christoph Steiner h...@at.or.at I whipped up a quick plugin to add arrowheads to cord when in editmode. The arrowheads clearly show the direction that the messages are flowing. .hc Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Daniel Roviriego (21) 35920701 (21) 99561654 M2D multi_meios -- Daniel Roviriego (21) 35920701 (21) 99561654 M2D multi_meios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers. - General Smedley Butler ___ 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 -- Pedro Lopes (HCI Researcher / MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
On 2011-08-29 11:52, Hans-Christoph Steiner wrote: On Aug 23, 2011, at 3:43 PM, Martin wrote: On 23/08/11 03:29 PM, Stephen Lavelle wrote: I've managed to hurt my ears twice over the past two days when using PD w/ headphones. Even at lowest system volumes, it seems that Terrible Things can happen. Are there any precautions that I can take to make it feel less like I'm taking my life into my hands when I have to use headphones? Try making a [noise~] connected directly to a [dac~] and set the headphone volume so you can live with that. Nothing will ever be louder than that. Hmm, I don't think that's actually true in all cases. On a MacBook Pro running Mac OS X, I've had the volume set to one above mute, but had massive feedback from LPC patches that were very very loud. [noise~] would be very comfortable at that volume setting. I think some platforms do the output mixing in the digital domain, so my min volume would be [*~ 0.01], so that this would still make a very loud sound: [noise~] | [*~ 99] | [*~ 0.01] (i.e. the Apple output mixing) | In this particular case, the sound output actually gets shutdown entirely, so you have to reboot to get sound output again. That make no sense. How can you have two sounds at the same level going into a mixer that come out at different levels? Or do you mean that a squealing sound is perceived to be louder than white noise? Maybe you could demonstrate with a patch? Martin If it seems like magic your assumptions are wrong. Martin Peach ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
On Aug 29, 2011, at 12:19 PM, Martin Peach wrote: On 2011-08-29 11:52, Hans-Christoph Steiner wrote: On Aug 23, 2011, at 3:43 PM, Martin wrote: On 23/08/11 03:29 PM, Stephen Lavelle wrote: I've managed to hurt my ears twice over the past two days when using PD w/ headphones. Even at lowest system volumes, it seems that Terrible Things can happen. Are there any precautions that I can take to make it feel less like I'm taking my life into my hands when I have to use headphones? Try making a [noise~] connected directly to a [dac~] and set the headphone volume so you can live with that. Nothing will ever be louder than that. Hmm, I don't think that's actually true in all cases. On a MacBook Pro running Mac OS X, I've had the volume set to one above mute, but had massive feedback from LPC patches that were very very loud. [noise~] would be very comfortable at that volume setting. I think some platforms do the output mixing in the digital domain, so my min volume would be [*~ 0.01], so that this would still make a very loud sound: [noise~] | [*~ 99] | [*~ 0.01] (i.e. the Apple output mixing) | In this particular case, the sound output actually gets shutdown entirely, so you have to reboot to get sound output again. That make no sense. How can you have two sounds at the same level going into a mixer that come out at different levels? Or do you mean that a squealing sound is perceived to be louder than white noise? Maybe you could demonstrate with a patch? Martin If it seems like magic your assumptions are wrong. Martin Peach I am taking a biologist's approach here: I've observed this happening multiple times in the wild, now I have to figure out why. Its very reproducible, I've taken the field mice into the lab and seen them reproduce ;) Take Ed Kelly's fun LPC cross-synth example, in ekext/ examples/lpc-cross-synthesis.pd. Put some loud samples into it and go crazy with the parameters and... MELTDOWN! I've never heard my computer make a louder sound... I knew that this patch has some feedback aspect to it, so I was doing my standard practice, having the volume very low. .hc Mistrust authority - promote decentralization. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
- Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Martin martin.pe...@sympatico.ca Cc: pd-list@iem.at Sent: Monday, August 29, 2011 11:52 AM Subject: Re: [PD] making puredata headphone-safe On Aug 23, 2011, at 3:43 PM, Martin wrote: On 23/08/11 03:29 PM, Stephen Lavelle wrote: I've managed to hurt my ears twice over the past two days when using PD w/ headphones. Even at lowest system volumes, it seems that Terrible Things can happen. Are there any precautions that I can take to make it feel less like I'm taking my life into my hands when I have to use headphones? Try making a [noise~] connected directly to a [dac~] and set the headphone volume so you can live with that. Nothing will ever be louder than that. Hmm, I don't think that's actually true in all cases. On a MacBook Pro running Mac OS X, I've had the volume set to one above mute, but had massive feedback from LPC patches that were very very loud. [noise~] would be very comfortable at that volume setting. I think some platforms do the output mixing in the digital domain, so my min volume would be [*~ 0.01], so that this would still make a very loud sound: [noise~] | [*~ 99] | [*~ 0.01] (i.e. the Apple output mixing) | In this particular case, the sound output actually gets shutdown entirely, so you have to reboot to get sound output again. Please try the following and see if you get different results: [noise~] | [*~ 99] | [clip~ -1 1] | [*~ 0.01] (i.e. the Apple output mixing) | -Jonathan .hc I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers. - General Smedley Butler ___ 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-gui bug (was Re: search plugin update)
- Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Jonathan Wilkes jancs...@yahoo.com Cc: Mathieu Bouchard ma...@artengine.ca; pd-list List pd-list@iem.at Sent: Monday, August 29, 2011 11:05 AM Subject: Re: Pd-gui bug (was Re: [PD] search plugin update) Interesting test results. It would be quite nice if Tcl/Tk handled the window placement for non-PatchWindows. Part of the problem there is that the .pd fileformat stores the location of the windows, and therefore Pd explicitly places the windows using those coordinates. That might be related here, but maybe not. As for Test 3 4, that's not Apple that properly places the patch window beneath the menubar, that's code in 'pd-gui'. Test 2 and test 4 don't use pd-gui, and they get the correct result. The only time I can produce the bug is when pd-gui is in play-- that's why I think it's a bug there. Later I'll try commenting out various init values and see what happens... -Jonathan Check out pdtk_canvas_new in pdtk_canvas.tcl. .hc On Aug 29, 2011, at 1:03 AM, Jonathan Wilkes wrote: Test1: Gnome 3 (Fedora 15) -- no problems Gnome 2.32.0 (Ubuntu Maverick) -- no problems OSX 10.7 -- problem: window decoration behind Apple's menubar. Test2: Tried a little stand-alone version of my plugin. Still specifying 0 0 screen coordinates, and Apple automatically puts the .search window below the menu bar, as it does for everything else I've ever seen in OSX except this issue. Test3: Tried any number of my PDDP help patches, which all have 0 0 specified as the coordinates for the patch window. Again, Apple does the right thing and shifts it down an appropriate amount. Test4: Tried to fool wish on OSX into putting a toplevel underneath the menubar. Can't do it. Hypothesis: Something isn't set correctly in pd-gui, but all I can see (at a glance) are options that have nothing to do with window position, and some variables: menubarsize and windowframey. -Jonathan - Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Jonathan Wilkes jancs...@yahoo.com Cc: Mathieu Bouchard ma...@artengine.ca; pd-list List pd-list@iem.at Sent: Sunday, August 28, 2011 10:13 PM Subject: Re: [PD] search plugin update 0 0 is problematic on couple platforms. On Mac OS X, the menubar is always there, so it puts the window header behind on menubar. A similar problem happens on GNOME. .hc On Aug 25, 2011, at 5:33 PM, Jonathan Wilkes wrote: Ok, fixed the weird resizing issue when the text in the status area is larger than the window. Fixed search window to appear at 0 0 on when it's first created. Fixed font sizing bindings. Fixed minimum font size. -Jonathan - Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Mathieu Bouchard ma...@artengine.ca Cc: Jonathan Wilkes jancs...@yahoo.com; pd-list List pd-list@iem.at Sent: Sunday, August 7, 2011 5:38 PM Subject: Re: [PD] search plugin update On Aug 7, 2011, at 2:51 PM, Mathieu Bouchard wrote: On Sat, 6 Aug 2011, Hans-Christoph Steiner wrote: - on Mac OS X Cmd-Shift-= (i.e. Cmd-+) is the standard key for increasing the size of the text. Currently, its Cmd-=. It will break on keyboard layouts that are not QWERTY or that are heavily modified QWERTY. When I designed some things in the default DD keyboard bindings, I only had US keyboard and CF-family keyboards in mind (french QWERTY used in Québec) and then someone notified me that I couldn't distinguish Alt+Shift+1 from Alt+1 because 1 is already shifted in AZERTY (it's Shift-, whereas is not shifted). German QWERTZ has = on Shift+0 and * on Shift++, meaning + is unshifted ; however, Swiss QWERTZ has + shifted as Shift+1, and then there are other QWERTZ than that... It'd be something to test, Cmd-+ might work as a keybinding, and would then work on other keyboards. Or perhaps you can just bind to both Cmd-Shift-+ and Cmd-+. For other platforms, its not a big deal since the keybindings are not very consistent. On Mac OS X, they are quite consistent across OS and apps, so people notice wrong bindings a lot more. .hc “We must become the change we want to see. - Mahatma Gandhi search-plugin.tcl All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so translated -John Donne search-plugin.tcl
Re: [PD] [PD-announce] gem 0.93.1
Zitat von IOhannes m zmoelnig zmoel...@iem.at: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2011-08-29 17:00, bra...@subnet.at wrote: hi...thank you...great job but :-(( : attached patch named _maincamera3 did work with ver: 0.91-cvs win7/64. with the new one it crashes pd. even with noloadbang maybe you can find out what happend maybe you can help us a bit. e.g. by: - - telling us which OS you are using win7/64. - - which Pd? 0-42.5-extended - - creating a _minimal_ patch that triggers the problem this may take some time... - - what get's printed to the pd-console before the crash? what get's printed to the console? nothingpd just disapear - - what if you raise verbosity to level 2? i have to find out how, because i am still not familiar with the new .bat in win7 Thank you in advance der.brandt fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5br/oACgkQkX2Xpv6ydvQJHQCfYKJTxfi7VmFN+IdSNdvDGshz 6X4AnjKOrP9MFaurKSAmuyPXz6Hmnhdn =EAQq -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd-gui bug (was Re: search plugin update)
On Aug 29, 2011, at 12:47 PM, Jonathan Wilkes wrote: - Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Jonathan Wilkes jancs...@yahoo.com Cc: Mathieu Bouchard ma...@artengine.ca; pd-list List pd-list@iem.at Sent: Monday, August 29, 2011 11:05 AM Subject: Re: Pd-gui bug (was Re: [PD] search plugin update) Interesting test results. It would be quite nice if Tcl/Tk handled the window placement for non-PatchWindows. Part of the problem there is that the .pd fileformat stores the location of the windows, and therefore Pd explicitly places the windows using those coordinates. That might be related here, but maybe not. As for Test 3 4, that's not Apple that properly places the patch window beneath the menubar, that's code in 'pd-gui'. Test 2 and test 4 don't use pd-gui, and they get the correct result. The only time I can produce the bug is when pd-gui is in play-- that's why I think it's a bug there. Later I'll try commenting out various init values and see what happens... Ah, ok, my guess is that its because of the placement logic that I described. But maybe not, since that placement logic should only apply to things created with pdtk_canvas_new, IIRC. .hc -Jonathan Check out pdtk_canvas_new in pdtk_canvas.tcl. .hc On Aug 29, 2011, at 1:03 AM, Jonathan Wilkes wrote: Test1: Gnome 3 (Fedora 15) -- no problems Gnome 2.32.0 (Ubuntu Maverick) -- no problems OSX 10.7 -- problem: window decoration behind Apple's menubar. Test2: Tried a little stand-alone version of my plugin. Still specifying 0 0 screen coordinates, and Apple automatically puts the .search window below the menu bar, as it does for everything else I've ever seen in OSX except this issue. Test3: Tried any number of my PDDP help patches, which all have 0 0 specified as the coordinates for the patch window. Again, Apple does the right thing and shifts it down an appropriate amount. Test4: Tried to fool wish on OSX into putting a toplevel underneath the menubar. Can't do it. Hypothesis: Something isn't set correctly in pd-gui, but all I can see (at a glance) are options that have nothing to do with window position, and some variables: menubarsize and windowframey. -Jonathan - Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Jonathan Wilkes jancs...@yahoo.com Cc: Mathieu Bouchard ma...@artengine.ca; pd-list List pd-list@iem.at Sent: Sunday, August 28, 2011 10:13 PM Subject: Re: [PD] search plugin update 0 0 is problematic on couple platforms. On Mac OS X, the menubar is always there, so it puts the window header behind on menubar. A similar problem happens on GNOME. .hc On Aug 25, 2011, at 5:33 PM, Jonathan Wilkes wrote: Ok, fixed the weird resizing issue when the text in the status area is larger than the window. Fixed search window to appear at 0 0 on when it's first created. Fixed font sizing bindings. Fixed minimum font size. -Jonathan - Original Message - From: Hans-Christoph Steiner h...@at.or.at To: Mathieu Bouchard ma...@artengine.ca Cc: Jonathan Wilkes jancs...@yahoo.com; pd-list List pd-list@iem.at Sent: Sunday, August 7, 2011 5:38 PM Subject: Re: [PD] search plugin update On Aug 7, 2011, at 2:51 PM, Mathieu Bouchard wrote: On Sat, 6 Aug 2011, Hans-Christoph Steiner wrote: - on Mac OS X Cmd-Shift-= (i.e. Cmd-+) is the standard key for increasing the size of the text. Currently, its Cmd-=. It will break on keyboard layouts that are not QWERTY or that are heavily modified QWERTY. When I designed some things in the default DD keyboard bindings, I only had US keyboard and CF-family keyboards in mind (french QWERTY used in Québec) and then someone notified me that I couldn't distinguish Alt+Shift+1 from Alt+1 because 1 is already shifted in AZERTY (it's Shift-, whereas is not shifted). German QWERTZ has = on Shift+0 and * on Shift++, meaning + is unshifted ; however, Swiss QWERTZ has + shifted as Shift+1, and then there are other QWERTZ than that... It'd be something to test, Cmd-+ might work as a keybinding, and would then work on other keyboards. Or perhaps you can just bind to both Cmd-Shift-+ and Cmd-+. For other platforms, its not a big deal since the keybindings are not very consistent. On Mac OS X, they are quite consistent across OS and apps, so people notice wrong bindings a lot more. .hc “We must become the change we want to see. - Mahatma Gandhi search-plugin.tcl All mankind is of one author, and is one volume; when one man dies, one chapter is not torn out of the book, but translated into a better language; and every chapter must be so
Re: [PD] making puredata headphone-safe
Ah, guilty as charged. Those LPC plugins don't work very well due to discuntinuities in the filter kernel across DSP block boundaries. It has been on my to-do list for a very long time to recode those objects using a different method. One way to guarantee that things will screw up is to change the number of poles rapidly. The problem is that some objects can generate unstable errors that are orders of magnitude greater than normal audio signals. Then there is a signal that maybe goes between +/- 10 rather than +/- 1, and the volume control makes little difference. Please don't ask me for specific instances - I can't remember any at the moment, but it's happened to me before. I personally do not use PD with headphones unless it is a patch I know well, with reliable outputs. Conversely, a lot of noise music created using PD is played permanently clipped to oblivion. One thing you can do is to use a limiter before the dac~. If the problem persists then avoid this plugin. The metastudio has lots of these. A limited volume control for stereo is enclosed (check the limit box, or send a [limit 1( message into the right inlet). Best wishes, Ed Kelly On 2011-08-29 11:52, Hans-Christoph Steiner wrote: On Aug 23, 2011, at 3:43 PM, Martin wrote: On 23/08/11 03:29 PM, Stephen Lavelle wrote: I've managed to hurt my ears twice over the past two days when using PD w/ headphones. Even at lowest system volumes, it seems that Terrible Things can happen. Are there any precautions that I can take to make it feel less like I'm taking my life into my hands when I have to use headphones? Try making a [noise~] connected directly to a [dac~] and set the headphone volume so you can live with that. Nothing will ever be louder than that. Hmm, I don't think that's actually true in all cases. On a MacBook Pro running Mac OS X, I've had the volume set to one above mute, but had massive feedback from LPC patches that were very very loud. [noise~] would be very comfortable at that volume setting. I think some platforms do the output mixing in the digital domain, so my min volume would be [*~ 0.01], so that this would still make a very loud sound: [noise~] | [*~ 99] | [*~ 0.01] (i.e. the Apple output mixing) | In this particular case, the sound output actually gets shutdown entirely, so you have to reboot to get sound output again. That make no sense. How can you have two sounds at the same level going into a mixer that come out at different levels? Or do you mean that a squealing sound is perceived to be louder than white noise? Maybe you could demonstrate with a patch? Martin If it seems like magic your assumptions are wrong. Martin Peach I am taking a biologist's approach here: I've observed this happening multiple times in the wild, now I have to figure out why. Its very reproducible, I've taken the field mice into the lab and seen them reproduce ;) Take Ed Kelly's fun LPC cross-synth example, in ekext/examples/lpc-cross-synthesis.pd. Put some loud samples into it and go crazy with the parameters and... MELTDOWN! I've never heard my computer make a louder sound... I knew that this patch has some feedback aspect to it, so I was doing my standard practice, having the volume very low. .hc Mistrust authority - promote decentralization. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list stmix~.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Update: Extended View Toolkit v0.31
Hello all! we just finished an update for the Extended View Toolkit, that, apart from some bugfixes, features a couple of example-files to get you startet. Those examples cover a couple of scenarios of what the toolkit is capable of. If you have projects, where you use the toolkit, we would love to hear about them :) download the toolkit at http://puredata.info/Members/Weitsicht/ Enjoy, Peter Marian p.s.: webpage can be found at http://extendedview.mur.at Release Notes v0.31 changed ev_pro_flat and ev_pro_curved abstractions: - no gemhead included anymore for consistency with easymap abstractions; gemhead now has to be connected externally, see corresponded helpfiles for details - second creation argument of ev_pro_flat/curved deprecated changed ev_buf: - no gemhead built in anymore, has to be connected externally for more clear structure of patch and more obvious dataflow, see helpfile for example changed ev_mouseover: - removed creation arguments; render order and gemwin dimen must from now on be set via messages. added new example patches: - ev_module-list (quick overview of the modules) - ev_example_masking (masking capabilities for video mapping) - ev_example_3d (3d renderings) - ev_example_framebuffers (using multiple framebuffers) - ev_ecample_vfx (pix_… video effects) - ev_ecample_grids (using the two different grids) - ev_example_storageosc (using the data storage solution transmit/receive osc-streams minor changes inside the data storage logic (v0.1) minor changes in gil, not affecting the toolkit (v0.11) fixed some bugs inside ev_grid added flip functions to ev_pro_grid fixed bug in ev_buf: framebuffer content was translated 0/0/-5. Now 0/0/-4 to compensate the viewpoint mismatch of framebuffer and gemwin. Also all helpfiles examples using ev_buf have been corrected. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd on Android
2011/8/29 Pierre Massat pimas...@gmail.com I plan on buying my very first smartphone in the next few days. I want a phone running Android since it appears to be the best platform to run Pd. I m just not quite sure about the way Pd can be used with a smartphone There's Rjdj, which basically runs pd patches without gui (calling them scenes) giving you the possibility to use the smartphone's touchscreen and accelerometer as controllers for the patches. So, you still need your pc to edit patches, but you can use them on the phone. Rjdj is for iphone, but you can download an rjdj scene player for android devices here: http://puredata.info/community/projects/software/sceneplayer or here: http://autobuild.puredata.info/pdlab/libpd/ At the second link you will also find an archive with some rjdj scenes and Pd Test, it should be something similar to scene player but honestly I couldn't understand how to use it, i can just test sound (maybe it's intended just for that?). Here are some resources on how to build pd-patches for rjdj/scene-player. From the rjdj blog: http://blog.rjdj.me/pages/pd-utilities A tutorial by mike dixon: http://blog.makezine.com/archive/2008/11/howto-hacking-rjdj-with-p.html Both are iphone-oriented, but they contain very useful informations on how to start. Other resources: Some example scenes (very good base to learn): http://download.rjdj.me/pdutils/examplescenes.zip Rjlib, a collection of useful abstractions to build your scenes, and the abstractions you need to run a scene in pure data on a pc: https://github.com/rjdj/rjlib Pd everywhere, on noisegroups. Here are some interesting discussions about this topic, like the following one: http://noisepages.com/groups/pd-everywhere/forum/topic/sceneplayer-for-android-vs-rjdjs-scene-player/ I just started to deal with this stuff, and i have still many doubts and difficulties. For example, i still couldn't understand how to download scenes from the rjdj website on my android phone, it seems you just can do this with an iphone. I hope anyone reading this thread has some useful hints :) athos ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] 24 bit if files distorted
Well, I just loked at the thread ans it was 3-byte wav files - I wasn't able to find anything wrong. I just tried writing 3-byte aiff files (using soundfiler) of tones at 3 amplitudes and looked/listened from Audacity... couldn't find anything wrong. What machine and OS are you getting the misbehavior on? Also, could you make a short output file (maybe 1000 or 1 points) and e-mail it to me so I can see what got written? thanks Miller On Sat, Aug 20, 2011 at 10:35:48PM +0100, peiman khosravi wrote: Thanks Marco, That makes sense. Next let's see if there is a fix for it. :-) Best, Peiman On 20 August 2011 15:44, Marco Donnarumma de...@thesaddj.com wrote: Hi Peiman, good to see you here. I reckon what IOhannes mentioned was this very recent thread here on the list: http://lists.puredata.info/pipermail/pd-list/2005-08/030115.html not a solution there, but Miller took a look at the issue. cheers, Marco Thanks, OK I found this: http://puredata.hurleur.com/sujet-3749-bit-audio-array From your explanation it sounds like the problem is in soundfiler right? BTW the subject of this email should read 24 bit aif files distorted Best, -- Marco Donnarumma Independent New Media and Sonic Arts Practitioner, Performer, Teacher ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ 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] sending image from of / libpd
On Mon, Aug 29, 2011 at 1:23 AM, Dan Wilcox danomat...@gmail.com wrote: No, I'm talking about sending a list or typed message with libpd as in: [list 1 2 3 4 ... 32 | [s toC++] The print messaging isn't limited as far as I know. That's right. The only part that imposes a limit on the message size is the simple message assembly mechanism for sending lists to Pd. Lists that are created elsewhere have no such limitation. I think it's reasonable to limit the message size, but 32 may be too small for some. It would make sense for libpd to have a call that would allow users to set the max message size, akin to how you can set the max packet size on sockets etc Hmm. I'm reluctant to add a call for changing the array size because this entire message assembly API is really just there for the purpose of simplifying the creation of language bindings. Any additional complexity would make it even harder to justify. So far I've felt that it was justified because it seemed good enough and I believe its simplicity has helped the adoption of libpd. If it turns out to be too limiting (and this thread suggests that that may be the case), then I'll have to bite the bullet, deprecate this approach, and write the manual type conversions for Java and other languages that I'd been trying to avoid. The good news is that the latest version of libpd already comes with a new pair of message passing functions that are not limited in this way. The current limit was chosen in the following highly scientific fashion: I tried to think of the longest list I might want to send as a message, and the biggest thing I could realistically think of was an OpenGL transformation, i.e. 4x4 = 16 numbers. Then I doubled that count and hoped that that would be enough for everybody. Maybe we can have a poll and come up with a better estimate. Here are a few questions: 1. What sort of use case for long list messages to you have in mind? 2. Exactly how long would you need the list to be? 3. Is this really a use case for list messages or would it make more sense to write to an array instead? If we converge to a reasonable number, that'll be the new limit. Otherwise, the entire approach may have to go. Also, I imagine you don't have this limitation using the new *t_atom sending func. Is this true Peter? That's right, there's no intrinsic limitation in the functions. With the new approach, you're responsible for creating the t_atom arrays that you're sending; if you can create it, then the new functions can send it. Cheers, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] 24 bit if files distorted
Hello, Thanks for looking into this. I should clarify that my problem is not writing into the table but reading an external aif file into it. Here is a link to an example file I am using and the patch. I may be doing something wrong in the patch though. http://idisk.mac.com/peimankh/Public/Archive.zip I am on OS 10.6.8. Please be very careful with your ears. The output clips badly. Best, Peiman On 29 August 2011 19:32, Miller Puckette m...@ucsd.edu wrote: Well, I just loked at the thread ans it was 3-byte wav files - I wasn't able to find anything wrong. I just tried writing 3-byte aiff files (using soundfiler) of tones at 3 amplitudes and looked/listened from Audacity... couldn't find anything wrong. What machine and OS are you getting the misbehavior on? Also, could you make a short output file (maybe 1000 or 1 points) and e-mail it to me so I can see what got written? thanks Miller On Sat, Aug 20, 2011 at 10:35:48PM +0100, peiman khosravi wrote: Thanks Marco, That makes sense. Next let's see if there is a fix for it. :-) Best, Peiman On 20 August 2011 15:44, Marco Donnarumma de...@thesaddj.com wrote: Hi Peiman, good to see you here. I reckon what IOhannes mentioned was this very recent thread here on the list: http://lists.puredata.info/pipermail/pd-list/2005-08/030115.html not a solution there, but Miller took a look at the issue. cheers, Marco Thanks, OK I found this: http://puredata.hurleur.com/sujet-3749-bit-audio-array From your explanation it sounds like the problem is in soundfiler right? BTW the subject of this email should read 24 bit aif files distorted Best, -- Marco Donnarumma Independent New Media and Sonic Arts Practitioner, Performer, Teacher ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ 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] arrowheads on cords plugin
Yeah, it currently adds the arrowheads only when changing to EditMode. This inspired me to make it possible to more. I just made a patch to make custom cord drawing easy to do in a plugin, its here: https://sourceforge.net/tracker/?func=detailaid=3400300group_id=55736atid=478072 I'll include it in Pd-extended too. .hc On Aug 29, 2011, at 11:56 AM, Pedro Lopes wrote: Cool plugin. Although I am experiencing a weird bug: - it only draws the arrows ONCE by any event the pd window is redrawn - events that I tried and worked (thus the arrows magically appear): save patch, move patch window. change desktop. - events that do not do nothing: moving stuff inside the patch (moving an object, drawing new coords). Could be an X/ubuntu issue, maybe its just here. I have to try on other machines (anyway: Ubuntu 10.10, gnome, pd 0.43 extended latest nigthly build, your plugin was downloaded from the list, second mail you sent with the bugfix) best regards, pedro On Sat, Aug 27, 2011 at 12:23 AM, ALAN BROOKER alan.brooker2...@gmail.com wrote: cool... like this ...thanks Hans! On Tue, Aug 16, 2011 at 7:39 PM, Hans-Christoph Steiner h...@at.or.at wrote: Thanks for the bug report. This version should fix that: .hc On Aug 16, 2011, at 2:29 PM, Daniel Roviriego wrote: forgot to mention the arrowheads are working, besides the error message: Using Ubuntu 10.10. Tcl version 8.5.8-2build1 and tk version 8.5.8-1 cheers 2011/8/16 Daniel Roviriego daniferna...@gmail.com Hi Hans.. Iḿ getting this error trying to use the plugin invalid command name .gfxstub8566bd8.c invalid command name .gfxstub8566bd8.c while executing $tkcanvas itemconfigure cord -arrow none (procedure add_arrows_to_cords line 8) invoked from within add_arrows_to_cords .gfxstub8566bd8 (command bound to event) cheers 2011/8/16 Hans-Christoph Steiner h...@at.or.at I whipped up a quick plugin to add arrowheads to cord when in editmode. The arrowheads clearly show the direction that the messages are flowing. .hc Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Daniel Roviriego (21) 35920701 (21) 99561654 M2D multi_meios -- Daniel Roviriego (21) 35920701 (21) 99561654 M2D multi_meios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers. - General Smedley Butler ___ 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 -- Pedro Lopes (HCI Researcher / MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sending image from of / libpd
Whoah whoah hold on. I'm not suggesting to dump the message sending API. I'm only asking for the ability to set the max message size. In most cases 32 is plenty. The *t_atom send func is sufficient for more advanced users. I like the message API and will use it as the default anyway. enohp ym morf tnes -- Dan Wilcox danomatika.com robotcowboy.com On Aug 29, 2011, at 2:51 PM, Peter Brinkmann peter.brinkm...@googlemail.com wrote: On Mon, Aug 29, 2011 at 1:23 AM, Dan Wilcox danomat...@gmail.com wrote: No, I'm talking about sending a list or typed message with libpd as in: [list 1 2 3 4 ... 32 | [s toC++] The print messaging isn't limited as far as I know. That's right. The only part that imposes a limit on the message size is the simple message assembly mechanism for sending lists to Pd. Lists that are created elsewhere have no such limitation. I think it's reasonable to limit the message size, but 32 may be too small for some. It would make sense for libpd to have a call that would allow users to set the max message size, akin to how you can set the max packet size on sockets etc Hmm. I'm reluctant to add a call for changing the array size because this entire message assembly API is really just there for the purpose of simplifying the creation of language bindings. Any additional complexity would make it even harder to justify. So far I've felt that it was justified because it seemed good enough and I believe its simplicity has helped the adoption of libpd. If it turns out to be too limiting (and this thread suggests that that may be the case), then I'll have to bite the bullet, deprecate this approach, and write the manual type conversions for Java and other languages that I'd been trying to avoid. The good news is that the latest version of libpd already comes with a new pair of message passing functions that are not limited in this way. The current limit was chosen in the following highly scientific fashion: I tried to think of the longest list I might want to send as a message, and the biggest thing I could realistically think of was an OpenGL transformation, i.e. 4x4 = 16 numbers. Then I doubled that count and hoped that that would be enough for everybody. Maybe we can have a poll and come up with a better estimate. Here are a few questions: 1. What sort of use case for long list messages to you have in mind? 2. Exactly how long would you need the list to be? 3. Is this really a use case for list messages or would it make more sense to write to an array instead? If we converge to a reasonable number, that'll be the new limit. Otherwise, the entire approach may have to go. Also, I imagine you don't have this limitation using the new *t_atom sending func. Is this true Peter? That's right, there's no intrinsic limitation in the functions. With the new approach, you're responsible for creating the t_atom arrays that you're sending; if you can create it, then the new functions can send it. Cheers, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] arrowheads on cords plugin
really cool, I feel that this can be a real usability addition to pd. Thanks! On Mon, Aug 29, 2011 at 8:10 PM, Hans-Christoph Steiner h...@at.or.atwrote: Yeah, it currently adds the arrowheads only when changing to EditMode. This inspired me to make it possible to more. I just made a patch to make custom cord drawing easy to do in a plugin, its here: https://sourceforge.net/tracker/?func=detailaid=3400300group_id=55736atid=478072 I'll include it in Pd-extended too. .hc On Aug 29, 2011, at 11:56 AM, Pedro Lopes wrote: Cool plugin. Although I am experiencing a weird bug: - it only draws the arrows ONCE by any event the pd window is redrawn - events that I tried and worked (thus the arrows magically appear): save patch, move patch window. change desktop. - events that do not do nothing: moving stuff inside the patch (moving an object, drawing new coords). Could be an X/ubuntu issue, maybe its just here. I have to try on other machines (anyway: Ubuntu 10.10, gnome, pd 0.43 extended latest nigthly build, your plugin was downloaded from the list, second mail you sent with the bugfix) best regards, pedro On Sat, Aug 27, 2011 at 12:23 AM, ALAN BROOKER alan.brooker2...@gmail.com wrote: cool... like this ...thanks Hans! On Tue, Aug 16, 2011 at 7:39 PM, Hans-Christoph Steiner h...@at.or.at wrote: Thanks for the bug report. This version should fix that: .hc On Aug 16, 2011, at 2:29 PM, Daniel Roviriego wrote: forgot to mention the arrowheads are working, besides the error message: Using Ubuntu 10.10. Tcl version 8.5.8-2build1 and tk version 8.5.8-1 cheers 2011/8/16 Daniel Roviriego daniferna...@gmail.com Hi Hans.. Iḿ getting this error trying to use the plugin invalid command name .gfxstub8566bd8.c invalid command name .gfxstub8566bd8.c while executing $tkcanvas itemconfigure cord -arrow none (procedure add_arrows_to_cords line 8) invoked from within add_arrows_to_cords .gfxstub8566bd8 (command bound to event) cheers 2011/8/16 Hans-Christoph Steiner h...@at.or.at I whipped up a quick plugin to add arrowheads to cord when in editmode. The arrowheads clearly show the direction that the messages are flowing. .hc Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- Daniel Roviriego (21) 35920701 (21) 99561654 M2D multi_meios -- Daniel Roviriego (21) 35920701 (21) 99561654 M2D multi_meios ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers. - General Smedley Butler ___ 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 -- Pedro Lopes (HCI Researcher / MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra -- Pedro Lopes (HCI Researcher / MSc) contact: pedro.lo...@ist.utl.pt website: http://web.ist.utl.pt/Pedro.Lopes / http://pedrolopesresearch.wordpress.com/ | http://twitter.com/plopesresearch ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] 24 bit if files distorted
Zowee. Total mess! Thanks, now I can probably figure this one out :) cheers Miller On Mon, Aug 29, 2011 at 08:05:31PM +0100, peiman khosravi wrote: Hello, Thanks for looking into this. I should clarify that my problem is not writing into the table but reading an external aif file into it. Here is a link to an example file I am using and the patch. I may be doing something wrong in the patch though. http://idisk.mac.com/peimankh/Public/Archive.zip I am on OS 10.6.8. Please be very careful with your ears. The output clips badly. Best, Peiman On 29 August 2011 19:32, Miller Puckette m...@ucsd.edu wrote: Well, I just loked at the thread ans it was 3-byte wav files - I wasn't able to find anything wrong. I just tried writing 3-byte aiff files (using soundfiler) of tones at 3 amplitudes and looked/listened from Audacity... couldn't find anything wrong. What machine and OS are you getting the misbehavior on? Also, could you make a short output file (maybe 1000 or 1 points) and e-mail it to me so I can see what got written? thanks Miller On Sat, Aug 20, 2011 at 10:35:48PM +0100, peiman khosravi wrote: Thanks Marco, That makes sense. Next let's see if there is a fix for it. :-) Best, Peiman On 20 August 2011 15:44, Marco Donnarumma de...@thesaddj.com wrote: Hi Peiman, good to see you here. I reckon what IOhannes mentioned was this very recent thread here on the list: http://lists.puredata.info/pipermail/pd-list/2005-08/030115.html not a solution there, but Miller took a look at the issue. cheers, Marco Thanks, OK I found this: http://puredata.hurleur.com/sujet-3749-bit-audio-array From your explanation it sounds like the problem is in soundfiler right? BTW the subject of this email should read 24 bit aif files distorted Best, -- Marco Donnarumma Independent New Media and Sonic Arts Practitioner, Performer, Teacher ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ 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] Pd on Android
On Mon, Aug 29, 2011 at 2:09 PM, athos bacchiocchi athos.bacchioc...@gmail.com wrote: 2011/8/29 Pierre Massat pimas...@gmail.com I plan on buying my very first smartphone in the next few days. I want a phone running Android since it appears to be the best platform to run Pd. I m just not quite sure about the way Pd can be used with a smartphone There's Rjdj, which basically runs pd patches without gui (calling them scenes) giving you the possibility to use the smartphone's touchscreen and accelerometer as controllers for the patches. So, you still need your pc to edit patches, but you can use them on the phone. Rjdj is for iphone, but you can download an rjdj scene player for android devices here: http://puredata.info/community/projects/software/sceneplayer or here: http://autobuild.puredata.info/pdlab/libpd/ At the second link you will also find an archive with some rjdj scenes and Pd Test, it should be something similar to scene player but honestly I couldn't understand how to use it, i can just test sound (maybe it's intended just for that?). Here are some resources on how to build pd-patches for rjdj/scene-player. The PdTest app is really just there to check whether Pd will work on your Android phone, and to let you play with a few parameters like sample rate and number of channels. For the time being, we aren't posting binaries on a regular basis. Instead of following the links above, you probably want to get the source and build the Android apps yourself in order to make sure that you have the latest version. The code is available here: https://gitorious.org/pdlib I just started to deal with this stuff, and i have still many doubts and difficulties. For example, i still couldn't understand how to download scenes from the rjdj website on my android phone, it seems you just can do this with an iphone. I hope anyone reading this thread has some useful hints :) Scene download from the RjDj website isn't implemented yet. I'm hoping to change that soon, at least for those scenes that are available free of charge. For the time being, the easiest way to install scenes is to just copy the .rj folder to your sd-card, or you can fire up the rjzserver and on your computer and then download scenes from there. (Make sure to build a recent version of the ScenePlayer; communication with rjzserver is a fairly recent addition.) Good luck, Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Announcing CouchPdb development
Sounds interesting, do you have an application in mind? This kind of library is best explained via an interesting example, IMHO. I'll give some feedback inline below: On Aug 26, 2011, at 7:00 PM, Thomas Mayer wrote: Hello, inspired by the great effort of Louis-Philippe with Puredis, I have started developping a library for another of the NoSQL databases out there, CouchDB. CouchDB is a database with a RESTful interface, i.e. you connect to the database with HTTP requests and depending on the HTTP method you perform the operations. The data you send to CouchDB for storage and the data you receive back from CouchDB are JSON objects, so (more or less) as a lemma, the library also contains objects for encoding and decoding JSON data. The current version is online at https://github.com/residuum/CouchPdb A reason for developping the library is Ubuntu One, as it offers a free 5GB space and includes a CouchDB database. All is in an early stage of development, so do not expect anything to work, it is still very experimental. I mainly uploaded it to Github to discuss a few points, where I do not know how to deal with in a manner fitting Pd, especially when it comes to encoding and decoding JSON data: - How should JSON data be dealt with in general? I am currently just outputting one long symbol separated by spaces, so an object of {id:1, name: my-name} becomes id 1 name my-name but {id:1, name: my name, year:2011} becomes id 1 name my name year 2011 and thus breaks the pattern of key value key value key value. I could output this as list, which would make spaces in values not break the pattern of key value key value key value (really?). But is this really a way to represent data in the correct Pd way, i.e. does this data format fit the principle of least surprise? How about a message per key/value pair? Then you just need to ensure that the key does not have spaces in it, then the value can be a symbol, float, list, etc. It is possible to generate symbols with spaces in them in C, and you can work with them too. The problem really is you can't save symbols with spaces to a .pd file (unless you use DesireData) - How should nested objects and arrays be handled? Should they be handled at all? That's pretty tricky... I can't think of any examples in Pd. To start with, I say get something working with the most simple useful set of features, then build from there. So ignore it for now, and give guidelines as to how to format the json for Pd. - How to implement attachments (binary files) for data? Or should I forget about this stuff and e.g. store images as base64 encoded strings? I am asking this one in particular, because one application of the object that came into my mind would be a website to upload pictures that are downloaded by a Pd patch in an installation in some gallery, or multiple gallery installations worldwide uploading snapshop images and interacting somehow. You should look at Martin Peach's (net,osc, mrpeach lib) and Bryan Jurish's (moocow, bytes2any, etc) work with strings. You can send arbitrary data as lists of floats, where each float is a byte. Using [binfile] you can write bytes to a file, using bytes2any you can convert them to strings, and any2bytes for vice versa. .hc Please do not read the code ;) I have not programmed C for ~10 years, and I have never coded anything but simple stuff for university. So actually: Read the code and give me pointers (no pun intended) to problematic code. Best regards, Thomas -- Prisons are needed only to provide the illusion that courts and police are effective. They're a kind of job insurance. (Leto II. in: Frank Herbert, God Emperor of Dune) http://www.residuum.org/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I have the audacity to believe that peoples everywhere can have three meals a day for their bodies, education and culture for their minds, and dignity, equality and freedom for their spirits. - Martin Luther King, Jr. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd on Android
I just started to deal with this stuff, and i have still many doubts and difficulties. For example, i still couldn't understand how to download scenes from the rjdj website on my android phone, it seems you just can do this with an iphone. I hope anyone reading this thread has some useful hints :) Well I didn't manage it either. But I have an iphone too so I downloaded it on my iphone, and then fetched the scene on it and copied it on my hard drive. Then transfered it back to the android phone. I think I'm not supposed to do as such as RJDJ is an app for iphone, it's not directly related to the Sceneplayer on android (I mean rjdj didn't developp it). So the content you find on rjdj website is not supposed to be used on an android phone I guess (except for the examples scenes it seems), if they someday release a rjdj app then they may add this possibility. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sending image from of / libpd
Here's the problem that it is supposed to solve: You want to translate a heterogeneous list of objects in Java into an array of type t_atom in C. That's all. Btw, did you look at Pascal Gauthier's library ? Yes, but I think it solves a different problem. In particular, I don't want to mirror t_atom on the Java side. and also, I just read your libpd_read_array and libpd_write_array functions. They don't work in 64-bit mode, in which sizeof(t_word) != sizeof(t_float). Yikes, good point. I'll look into it. Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] 24 bit if files distorted
OK, and a big 'duh'... I found and fixed a major piece of stpidity in the code -- it's now up in git: git clone git://pure-data.git.sourceforge.net/gitroot/pure-data/pure-data or will apear compiled when I've got a couple of other bugs fixed too. cheers Miller On Mon, Aug 29, 2011 at 08:05:31PM +0100, peiman khosravi wrote: Hello, Thanks for looking into this. I should clarify that my problem is not writing into the table but reading an external aif file into it. Here is a link to an example file I am using and the patch. I may be doing something wrong in the patch though. http://idisk.mac.com/peimankh/Public/Archive.zip I am on OS 10.6.8. Please be very careful with your ears. The output clips badly. Best, Peiman On 29 August 2011 19:32, Miller Puckette m...@ucsd.edu wrote: Well, I just loked at the thread ans it was 3-byte wav files - I wasn't able to find anything wrong. I just tried writing 3-byte aiff files (using soundfiler) of tones at 3 amplitudes and looked/listened from Audacity... couldn't find anything wrong. What machine and OS are you getting the misbehavior on? Also, could you make a short output file (maybe 1000 or 1 points) and e-mail it to me so I can see what got written? thanks Miller On Sat, Aug 20, 2011 at 10:35:48PM +0100, peiman khosravi wrote: Thanks Marco, That makes sense. Next let's see if there is a fix for it. :-) Best, Peiman On 20 August 2011 15:44, Marco Donnarumma de...@thesaddj.com wrote: Hi Peiman, good to see you here. I reckon what IOhannes mentioned was this very recent thread here on the list: http://lists.puredata.info/pipermail/pd-list/2005-08/030115.html not a solution there, but Miller took a look at the issue. cheers, Marco Thanks, OK I found this: http://puredata.hurleur.com/sujet-3749-bit-audio-array From your explanation it sounds like the problem is in soundfiler right? BTW the subject of this email should read 24 bit aif files distorted Best, -- Marco Donnarumma Independent New Media and Sonic Arts Practitioner, Performer, Teacher ACE, Sound Design MSc by Research (ongoing) The University of Edinburgh, UK ~ Portfolio: http://marcodonnarumma.com Research: http://res.marcodonnarumma.com | http://www.thesaddj.com | http://www.flxer.net Director: http://www.liveperformersmeeting.net ___ 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] Pd on Android
I have to disagree with you. iOS is a better mobile os for running applications using libpd (aka RjDJ, Nodebeat, etc) since it has a low latency audio api. Android can't give you anything better then 20ms or so. If you want to build a realtime, I'm afraid you have to stick to iOS for now ... This is why I'm targeting iOS for the upcoming robotcowboy app ... although I'd rather use a much freer platform. On Aug 29, 2011, at 11:21 AM, Pierre Massat wrote: Hi all, I plan on buying my very first smartphone in the next few days. I want a phone running Android since it appears to be the best platform to run Pd. I m just not quite sure about the way Pd can be used with a smartphone. Can we run Pd-extended, or just use the patches, or is it just some sort of an API that can be used when developping an app? I m totally new to this, so please excuse the (possibly abyssal) silliness of my questions. Cheers! Pierre Dan Wilcox danomatika.com robotcowboy.com ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd on Android
Hey Dan, I agree, Android's downfall is the poor audio implementation on the devices. How many have you tested? Can you post that data anywhere? It would be good to start collecting this. I think there are starting to be some Android devices with solid audio performance, so it would be good to have a source of data on this. .hc On Mon, 29 Aug 2011 16:30 -0400, Dan Wilcox danomat...@gmail.com wrote: I have to disagree with you. iOS is a better mobile os for running applications using libpd (aka RjDJ, Nodebeat, etc) since it has a low latency audio api. Android can't give you anything better then 20ms or so. If you want to build a realtime, I'm afraid you have to stick to iOS for now ... This is why I'm targeting iOS for the upcoming robotcowboy app ... although I'd rather use a much freer platform. On Aug 29, 2011, at 11:21 AM, Pierre Massat wrote: Hi all, I plan on buying my very first smartphone in the next few days. I want a phone running Android since it appears to be the best platform to run Pd. I m just not quite sure about the way Pd can be used with a smartphone. Can we run Pd-extended, or just use the patches, or is it just some sort of an API that can be used when developping an app? I m totally new to this, so please excuse the (possibly abyssal) silliness of my questions. Cheers! Pierre Dan Wilcox 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] Pd on Android
No one seems to have brought it up, but by far the most accessible way to run pd on android seems to be pddroidparty, also by Chris. It really is an install and run solution, although some slight modification of your pd patches will be necessary. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
On Mon, 29 Aug 2011, Ed Kelly wrote: The problem is that some objects can generate unstable errors that are orders of magnitude greater than normal audio signals. Then there is a signal that maybe goes between +/- 10 rather than +/- 1, and the volume control makes little difference. It's much, much worse than that. If you have anything that multiplies the amplitude of the signal by 1.0001 at every sample, the amplitude gets 82 times louder every 44100 samples, and it will go beyond 8e+37 and rounded to infinity, where no multiplication by a fraction can possibly fix it. that's quite a few billion billion billion. It's easy to get there. Put the wrong number in [*~] in a delay-loop, or put the wrong number in [rpole~], ... ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
On 2011-08-29 20:04, Mathieu Bouchard wrote: On Mon, 29 Aug 2011, Ed Kelly wrote: The problem is that some objects can generate unstable errors that are orders of magnitude greater than normal audio signals. Then there is a signal that maybe goes between +/- 10 rather than +/- 1, and the volume control makes little difference. It's much, much worse than that. If you have anything that multiplies the amplitude of the signal by 1.0001 at every sample, the amplitude gets 82 times louder every 44100 samples, and it will go beyond 8e+37 and rounded to infinity, where no multiplication by a fraction can possibly fix it. that's quite a few billion billion billion. It's easy to get there. Put the wrong number in [*~] in a delay-loop, or put the wrong number in [rpole~], ... Yeah, you can actually blow the whole planet to pieces by accidentally multiplying your output by a trillion. Martin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Ed Kelly morph_2...@yahoo.co.uk Cc: PD List pd-list@iem.at Sent: Monday, August 29, 2011 8:04 PM Subject: Re: [PD] making puredata headphone-safe On Mon, 29 Aug 2011, Ed Kelly wrote: The problem is that some objects can generate unstable errors that are orders of magnitude greater than normal audio signals. Then there is a signal that maybe goes between +/- 10 rather than +/- 1, and the volume control makes little difference. It's much, much worse than that. If you have anything that multiplies the amplitude of the signal by 1.0001 at every sample, the amplitude gets 82 times louder every 44100 samples, and it will go beyond 8e+37 and rounded to infinity, where no multiplication by a fraction can possibly fix it. So why not always have [clip~ -1 1] before and/or after your pd master volume control? Could the distortion resulting from clipping out of range values possibly result in a signal anywhere near as loud as what you're describing? Or would adjusting the master volume to an acceptable level for the loudest possible clipped sound result in too small a dynamic range? -Jonathan that's quite a few billion billion billion. It's easy to get there. Put the wrong number in [*~] in a delay-loop, or put the wrong number in [rpole~], ... ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ 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] making puredata headphone-safe
On Mon, 29 Aug 2011, Jonathan Wilkes wrote: So why not always have [clip~ -1 1] before and/or after your pd master volume control? Dunno, I only ever use OSS and ALSA, which already clip. I have no use for the extra clip. Could the distortion resulting from clipping out of range values possibly result in a signal anywhere near as loud as what you're describing? After a [clip~ -1 1] it can't get worse than what we discussed before. I'm talking about how terrible it can get before getting into the clipper. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
On Mon, 29 Aug 2011, Martin Peach wrote: Yeah, you can actually blow the whole planet to pieces by accidentally multiplying your output by a trillion. Why not... after all, the first blackholes appeared after a division by zero. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
- Original Message - From: Mathieu Bouchard ma...@artengine.ca To: Jonathan Wilkes jancs...@yahoo.com Cc: Ed Kelly morph_2...@yahoo.co.uk; PD List pd-list@iem.at Sent: Monday, August 29, 2011 9:41 PM Subject: Re: [PD] making puredata headphone-safe On Mon, 29 Aug 2011, Jonathan Wilkes wrote: So why not always have [clip~ -1 1] before and/or after your pd master volume control? Dunno, I only ever use OSS and ALSA, which already clip. I have no use for the extra clip. It would guarantee clipping for anyone who uses your patch. Could the distortion resulting from clipping out of range values possibly result in a signal anywhere near as loud as what you're describing? After a [clip~ -1 1] it can't get worse than what we discussed before. I'm talking about how terrible it can get before getting into the clipper. ___ | Mathieu Bouchard tél: +1.514.383.3801 Villeray, Montréal, QC ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] making puredata headphone-safe
On 30/08/11 00:31, Hans-Christoph Steiner wrote: On Aug 29, 2011, at 12:19 PM, Martin Peach wrote: On 2011-08-29 11:52, Hans-Christoph Steiner wrote: On Aug 23, 2011, at 3:43 PM, Martin wrote: On 23/08/11 03:29 PM, Stephen Lavelle wrote: I've managed to hurt my ears twice over the past two days when using PD w/ headphones. Even at lowest system volumes, it seems that Terrible Things can happen. Are there any precautions that I can take to make it feel less like I'm taking my life into my hands when I have to use headphones? Try making a [noise~] connected directly to a [dac~] and set the headphone volume so you can live with that. Nothing will ever be louder than that. Hmm, I don't think that's actually true in all cases. On a MacBook Pro running Mac OS X, I've had the volume set to one above mute, but had massive feedback from LPC patches that were very very loud. [noise~] would be very comfortable at that volume setting. I think some platforms do the output mixing in the digital domain, so my min volume would be [*~ 0.01], so that this would still make a very loud sound: [noise~] | [*~ 99] | [*~ 0.01] (i.e. the Apple output mixing) | In this particular case, the sound output actually gets shutdown entirely, so you have to reboot to get sound output again. That make no sense. How can you have two sounds at the same level going into a mixer that come out at different levels? Or do you mean that a squealing sound is perceived to be louder than white noise? Maybe you could demonstrate with a patch? Martin If it seems like magic your assumptions are wrong. Martin Peach I am taking a biologist's approach here: I've observed this happening multiple times in the wild, now I have to figure out why. Its very reproducible, I've taken the field mice into the lab and seen them reproduce ;) Take Ed Kelly's fun LPC cross-synth example, in ekext/examples/lpc-cross-synthesis.pd. Put some loud samples into it and go crazy with the parameters and... MELTDOWN! I've never heard my computer make a louder sound... I knew that this patch has some feedback aspect to it, so I was doing my standard practice, having the volume very low. Hmm - of course there is NO volume control on those headphones at all. The volume is permanently set to full. When you turn down the level for headphones on the laptop you are only dividing the digital level (which must still be a float at this stage, given your observations) by some figure so that the DAC gets lower numbers. Then if pd is putting out much higher levels than 1 they is never clipped until after! the headphone level control. The only way to keep the volume down is a limiter, compressor or clipper in your patch before [dac~], or feed pd into a limiter via jack before the headphones get it. Simon ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd on Android
Seconding the dissatisfaction with real-time audio support on Android in general. I've only recently jumped on the android train (Samsung Droid Charge) and I've noticed that the only audio apps that are usable are of the sequencing / drum machine variety, because they don't depend so much on low-latency. Any apps where tapping on the screen is supposed to generate a sound exposes serious latency issues. I've heard that gingerbread made some changes to the available audio API, but supposedly they didn't substantially improve things. According to the people who know many of the latency issues are low-level (drivers and actual hardware limitations) that have as much to do with the device manufacturers as Android itself. One of the downsides of an open platform that runs on a wide variety of devices. I haven't had a chance to survey the situation with common audio CODECS being used on these devices and whether the drivers are available open-source, and/or could be hacked for better latency. I haven't been able to test much with libpd yet. So far any time any libpd-based app tries to access my microphone I get this crazy noise (actually sounds kind of cool, but definitely not the intended sound). I haven't tried building the latest from the repo, I didn't realize the binaries were substantially out-of-date (I didn't bother to check any timestamps). If that doesn't fix the issue I'll be sure to get in touch with the devs and see where the issue may lie. -s On Mon, Aug 29, 2011 at 4:54 PM, Hans-Christoph Steiner h...@at.or.atwrote: Hey Dan, I agree, Android's downfall is the poor audio implementation on the devices. How many have you tested? Can you post that data anywhere? It would be good to start collecting this. I think there are starting to be some Android devices with solid audio performance, so it would be good to have a source of data on this. .hc On Mon, 29 Aug 2011 16:30 -0400, Dan Wilcox danomat...@gmail.com wrote: I have to disagree with you. iOS is a better mobile os for running applications using libpd (aka RjDJ, Nodebeat, etc) since it has a low latency audio api. Android can't give you anything better then 20ms or so. If you want to build a realtime, I'm afraid you have to stick to iOS for now ... This is why I'm targeting iOS for the upcoming robotcowboy app ... although I'd rather use a much freer platform. On Aug 29, 2011, at 11:21 AM, Pierre Massat wrote: Hi all, I plan on buying my very first smartphone in the next few days. I want a phone running Android since it appears to be the best platform to run Pd. I m just not quite sure about the way Pd can be used with a smartphone. Can we run Pd-extended, or just use the patches, or is it just some sort of an API that can be used when developping an app? I m totally new to this, so please excuse the (possibly abyssal) silliness of my questions. Cheers! Pierre Dan Wilcox 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] sending image from of / libpd
On Mon, Aug 29, 2011 at 1:15 AM, Mathieu Bouchard ma...@artengine.cawrote: [...] and also, I just read your libpd_read_array and libpd_write_array functions. They don't work in 64-bit mode, in which sizeof(t_word) != sizeof(t_float). Okay, should be fixed now. I just pushed the latest revision to Gitorious. Peter ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list