From fjkraan at xs4all.nl Sat Aug 1 20:18:26 2015 From: fjkraan at xs4all.nl (Fred Jan Kraan) Date: Sat, 01 Aug 2015 20:18:26 +0200 Subject: [PD] Pure Data Buffir~ object In-Reply-To: <55BCDBD6.3060104@gmx.de> References: <55BCDBD6.3060104@gmx.de> Message-ID: <55BD0D72.6070008@xs4all.nl> Hi Julian, Thank you for your report. I am not the expert, just one of the current maintainers if the cyclone set of objects. I think the object works, but maybe not as the Max object. If this is the case I will try to fix it. > Hello, > > I am sorry to bother you but I have an important question about the > buffir~ object. > I hope you can help me with this. I am not too experiencd with PD but I > try to make > an Binaural-Renderer. I want to use the buffir~ object to convolve an IR > to a signal. > This works right now. But I want to change the IR used for convolving > with the signal > when the head orientation changes. I had a look at the MAX/MSP 5 > documentation > as I understand this object was taken from MAX where the buffir~ object > can be told > to change the buffer~ object by using the set message. I tried this in > PD but nothing > happens. Obviously the IR is not loaded as there is no signal passing > through the > buffir~ object when using $1 as the name of the table and send a message > [set tablename] > to input 1 (the signal input where the clear message can be applied). Is > this function > not implemented in the PD buffir~ object? Or is there something I do wrong? Note '$1' is not literary part of the name, just a placeholder of the first element on the message (=list) you send to the object. If something is wrong here, the console should contain an error message. Also see the help on $-variables. > > I would be verry happy if could help me with this question! If this is > not implemented > and can't be worked around do you have any ideas how to solve my problem? > Thank you very much in advance! The attached patch is an adaptation of the help-patch, including a second buffer to switch to. Yo need to open it and draw non-zero values to get a signal through. It looks like you also have to provide the offset and length arguments, as leaving them out results in zero - meaning no useful convolution takes place. When I have time, I'll check the behaviour of the Max5 object. It might work better or more user friendly. But first on the planning are some weeks vacation :-). > > Regards Julian Jochheim > Greetings, Fred Jan P.S. I added the pd-list in the reply, the main forum for issues like this one (http://lists.puredata.info/listinfo/pd-list). -------------- next part -------------- A non-text attachment was scrubbed... Name: buffir~-test.pd Type: text/x-puredata Size: 7448 bytes Desc: not available URL: From pat at digitalworlds.ufl.edu Sat Aug 1 21:48:56 2015 From: pat at digitalworlds.ufl.edu (Pagano, Patrick) Date: Sat, 1 Aug 2015 19:48:56 +0000 Subject: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids Message-ID: <1438458755085.79567@digitalworlds.ufl.edu> Hey List I want to be able to create some euclidean patterns for a mutable instruments hardware eurorack module i need to know how to generate a list that looks like this const prog_uint8_t node_0[] PROGMEM = { 255, 0, 0, 0, 0, 0, 145, 0, 0, 0, 0, 0, 218, 0, 0, 0, 72, 0, 36, 0, 182, 0, 0, 0, 109, 0, 0, 0, 72, 0, 0, 0, 36, 0, 109, 0, 0, 0, 8, 0, 255, 0, 0, 0, 0, 0, 72, 0, 0, 0, 182, 0, 0, 0, 36, 0, 218, 0, 0, 0, 145, 0, 0, 0, 170, 0, 113, 0, 255, 0, 56, 0, 170, 0, 141, 0, 198, 0, 56, 0, 170, 0, 113, 0, 226, 0, 28, 0, 170, 0, 113, 0, 198, 0, 85, 0, }; ? so it's an 8X12 matrix of values between 0 and 255 is there a simple way in pure data that i can create such an animal? Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jack at rybn.org Sun Aug 2 00:20:17 2015 From: jack at rybn.org (Jack) Date: Sun, 02 Aug 2015 00:20:17 +0200 Subject: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids In-Reply-To: <1438458755085.79567@digitalworlds.ufl.edu> References: <1438458755085.79567@digitalworlds.ufl.edu> Message-ID: <55BD4621.3090003@rybn.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello Patrick, If you just need to create a random list with 96 values between 0 and 255, there is a [list-random] abstraction in 'list-abs' that can help yo u. ++ Jack Le 01/08/2015 21:48, Pagano, Patrick a écrit : > Hey List > > > I want to be able to create some euclidean patterns for a mutable > instruments hardware eurorack module > > i need to know how to generate a list that looks like this > > > const prog_uint8_t node_0[] PROGMEM = { 255, 0, 0, 0, 0, 0, 145, > 0, 0, 0, 0, 0, 218, 0, 0, 0, 72, 0, 36, 0, 182, 0, 0, 0, 109, 0, 0, > 0, 72, 0, 0, 0, 36, 0, 109, 0, 0, 0, 8, 0, 255, 0, 0, 0, 0, 0, 72, > 0, 0, 0, 182, 0, 0, 0, 36, 0, 218, 0, 0, 0, 145, 0, 0, 0, 170, 0, > 113, 0, 255, 0, 56, 0, 170, 0, 141, 0, 198, 0, 56, 0, 170, 0, 113, > 0, 226, 0, 28, 0, 170, 0, 113, 0, 198, 0, 85, 0, }; ​ > > so it's an 8X12 matrix of values between 0 and 255 > > > is there a simple way in pure data that i can create such an > animal? > > > > > /Patrick Pagano B.S, M.F.A/ Audio and Projection Design Faculty > Digital Worlds Institute University of Florida, USA (352)294-2020 > > > _______________________________________________ > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and > account-management -> http://lists.puredata.info/listinfo/pd-list > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVvUYcAAoJEOuluecjw8GUHI8IAJHmuwPQX0vNQs/g6sM6R6lN Z4DNSlpGh8ud72reiSdygK18tBmma3rnRBfDk8q/7paelhohP6Rh/6DcSHaoXjMS IfRCJt1LkAEMpLtAmuJiGzVFLnbk46xLyY6N69TcTGRKQdW5nseI18Ofoc8IuGvn 9gg7RfWU11DUjLFISu8ocGIDQ+kY+ZF19m0SZuI6Mxnk1Y3fsIIppLCfyZB/eSRT c9mcUXvSZRAnJRJiwF2XZ6QNlpyq18u2bW+2OWipZvhtBYKSuS0PiByKra0oJ59W tFJIQ8KqUmvDf6GKQV77SCXtq6O2A0oH+qB4BdiWITi+3WZK1mhlVIdCeBiS3lA= =I5Fm -----END PGP SIGNATURE----- From belangeo at gmail.com Sun Aug 2 01:15:58 2015 From: belangeo at gmail.com (=?UTF-8?Q?Olivier_B=C3=A9langer?=) Date: Sat, 1 Aug 2015 19:15:58 -0400 Subject: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids In-Reply-To: <1438458755085.79567@digitalworlds.ufl.edu> References: <1438458755085.79567@digitalworlds.ufl.edu> Message-ID: Hi Patrick, I"ve made an Euclidean abstraction some time ago... Maybe you can modify it to suit your needs. It's in my todo list to put my pd objects on a server...! Olivier On Sat, Aug 1, 2015 at 3:48 PM, Pagano, Patrick wrote: > Hey List > > > I want to be able to create some euclidean patterns for a mutable > instruments hardware eurorack module > > i need to know how to generate a list that looks like this > > > const prog_uint8_t node_0[] PROGMEM = { 255, 0, 0, 0, 0, 0, 145, 0, 0, 0, > 0, 0, 218, 0, 0, 0, 72, 0, 36, 0, 182, 0, 0, 0, 109, 0, 0, 0, 72, 0, 0, 0, > 36, 0, 109, 0, 0, 0, 8, 0, 255, 0, 0, 0, 0, 0, 72, 0, 0, 0, 182, 0, 0, 0, > 36, 0, 218, 0, 0, 0, 145, 0, 0, 0, 170, 0, 113, 0, 255, 0, 56, 0, 170, 0, > 141, 0, 198, 0, 56, 0, 170, 0, 113, 0, 226, 0, 28, 0, 170, 0, 113, 0, 198, > 0, 85, 0, }; ​ > > so it's an 8X12 matrix of values between 0 and 255 > > > is there a simple way in pure data that i can create such an animal? > > > > > *Patrick Pagano B.S, M.F.A* > Audio and Projection Design Faculty > Digital Worlds Institute > University of Florida, USA > (352)294-2020 > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: euclidean.pd Type: text/x-puredata Size: 6800 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: euclidean-help.pd Type: text/x-puredata Size: 2040 bytes Desc: not available URL: From jack at rybn.org Sun Aug 2 13:33:55 2015 From: jack at rybn.org (Jack) Date: Sun, 02 Aug 2015 13:33:55 +0200 Subject: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids In-Reply-To: <55BD4621.3090003@rybn.org> References: <1438458755085.79567@digitalworlds.ufl.edu> <55BD4621.3090003@rybn.org> Message-ID: <55BE0023.40302@rybn.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Totally missed the topic, sorry for the noise. ++ Jack Le 02/08/2015 00:20, Jack a écrit : > Hello Patrick, > > If you just need to create a random list with 96 values between 0 > and 255, there is a [list-random] abstraction in 'list-abs' that > can help yo u. ++ > > Jack > > > > Le 01/08/2015 21:48, Pagano, Patrick a écrit : >> Hey List > > >> I want to be able to create some euclidean patterns for a mutable >> instruments hardware eurorack module > >> i need to know how to generate a list that looks like this > > >> const prog_uint8_t node_0[] PROGMEM = { 255, 0, 0, 0, 0, 0, 145, >> 0, 0, 0, 0, 0, 218, 0, 0, 0, 72, 0, 36, 0, 182, 0, 0, 0, 109, 0, >> 0, 0, 72, 0, 0, 0, 36, 0, 109, 0, 0, 0, 8, 0, 255, 0, 0, 0, 0, 0, >> 72, 0, 0, 0, 182, 0, 0, 0, 36, 0, 218, 0, 0, 0, 145, 0, 0, 0, >> 170, 0, 113, 0, 255, 0, 56, 0, 170, 0, 141, 0, 198, 0, 56, 0, >> 170, 0, 113, 0, 226, 0, 28, 0, 170, 0, 113, 0, 198, 0, 85, 0, }; >> ​ > >> so it's an 8X12 matrix of values between 0 and 255 > > >> is there a simple way in pure data that i can create such an >> animal? > > > > >> /Patrick Pagano B.S, M.F.A/ Audio and Projection Design Faculty >> Digital Worlds Institute University of Florida, USA >> (352)294-2020 > > >> _______________________________________________ >> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and >> account-management -> >> http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and > account-management -> http://lists.puredata.info/listinfo/pd-list > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVvgAjAAoJEOuluecjw8GU87EH/Av7RbRwspariiyBxLOKtq9h P0Cb/sivaLM4Ah7DN9T0JJWucXb8yFHrYe1apTP9yu+bPm9zPanw/+2bgh7x/vA5 jU52EUYzV1BTcIcaIiR9jSdVrKkgF/WxA54RFgp523E5Li+ySvcgwGwwf67XmPze iIyt8720n+c3Let8Z2GNz6sDhpzI3uI1gTFmtmww0HJncpcvkZUYBHSVv+zzmy3B 1ONJrTRECEwDKkLeUyG8UiYVeMPRiA4PFtPol3oE9tRaSBLAW179YffvY+lmnsVE DDBZFeaEqevQgx2+SHEGA9P093lfkwFC9GDGBsyrCchAvhPaD8ukd4L5T12KPQk= =uPAo -----END PGP SIGNATURE----- From chris at mccormick.cx Mon Aug 3 06:09:28 2015 From: chris at mccormick.cx (Chris McCormick) Date: Mon, 03 Aug 2015 12:09:28 +0800 Subject: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids In-Reply-To: <1438458755085.79567@digitalworlds.ufl.edu> References: <1438458755085.79567@digitalworlds.ufl.edu> Message-ID: <55BEE978.6070903@mccormick.cx> Hi, On 02/08/15 03:48, Pagano, Patrick wrote: > i need to know how to generate a list that looks like this > so it's an 8X12 matrix of values between 0 and 255 > is there a simple way in pure data that i can create such an animal? The following lol-script* will do this: lol loadbng; range 12; range 8; bng; random 255; gathern 8; This will output 12 lists of 8 random integers between 0 and 255. If you want a single list with all of the values add the following object to the bottom of the script: gathern 12; * lolPd = https://github.com/chr15m/lolPd Cheers, Chris. -- http://mccormick.cx/ From pat at digitalworlds.ufl.edu Mon Aug 3 22:07:18 2015 From: pat at digitalworlds.ufl.edu (Pagano, Patrick) Date: Mon, 3 Aug 2015 20:07:18 +0000 Subject: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids In-Reply-To: <55BEE978.6070903@mccormick.cx> References: <1438458755085.79567@digitalworlds.ufl.edu>, <55BEE978.6070903@mccormick.cx> Message-ID: <1438632652261.4694@digitalworlds.ufl.edu> How do i get them into a text file? i want them so i can use them later w/o having to grab them from the screen Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ________________________________________ From: Chris McCormick Sent: Monday, August 3, 2015 12:09 AM To: Pagano, Patrick; pd-list at iem.at Subject: Re: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids Hi, On 02/08/15 03:48, Pagano, Patrick wrote: > i need to know how to generate a list that looks like this > so it's an 8X12 matrix of values between 0 and 255 > is there a simple way in pure data that i can create such an animal? The following lol-script* will do this: lol loadbng; range 12; range 8; bng; random 255; gathern 8; This will output 12 lists of 8 random integers between 0 and 255. If you want a single list with all of the values add the following object to the bottom of the script: gathern 12; * lolPd = https://github.com/chr15m/lolPd Cheers, Chris. -- http://mccormick.cx/ From chris at mccormick.cx Tue Aug 4 15:21:30 2015 From: chris at mccormick.cx (Chris McCormick) Date: Tue, 4 Aug 2015 21:21:30 +0800 Subject: [PD] Creating Eucliadean note patterns with pd for Mutable Instruments Grids In-Reply-To: <1438632652261.4694@digitalworlds.ufl.edu> References: <1438458755085.79567@digitalworlds.ufl.edu> <55BEE978.6070903@mccormick.cx> <1438632652261.4694@digitalworlds.ufl.edu> Message-ID: <20150804132130.GA29968@mccormick.cx> Hello, On Mon, Aug 03, 2015 at 08:07:18PM +0000, Pagano, Patrick wrote: > How do i get them into a text file? > i want them so i can use them later w/o having to grab them from the screen lol loadbng; range 12; range 8; bang; random 255; gathern 8; list prepend add; list trim; Pipe that into a [textfile] and then send a [write 12x8.txt( message into the text file. Pd probably isn't the best tool for this job. Cheers, Chris. > * lolPd = https://github.com/chr15m/lolPd ------------------- http://mccormick.cx From goudarzi at iem.at Tue Aug 4 16:56:10 2015 From: goudarzi at iem.at (Visda Goudarzi) Date: Tue, 4 Aug 2015 16:56:10 +0200 Subject: [PD] [PD-announce] CFP: TSDS 2015 - Tsukuba, Japan Message-ID: <5021B186-9735-43DB-8969-37FCE8C46787@iem.at> International Workshop on Time Series Data Sonification in conjunction with Tsukuba Global Science Week 29-30 September, 2015 - Tsukuba Website: http://slis.tsukuba.ac.jp/lspc/events/TSDS2015.html Call for Participation We are delighted to announce that the International Workshop on Time Series Data Sonification (TSDS2015) will be held on 29-30 September 2015, in Tsukuba, Japan, as a part of Tsukuba Global Science Week (TGSW2015). Global phenomena that unfold in sequence are generally represented in the form of time series data. In this interdisciplinary workshop, we aim to establish a collaborative relationship among international researchers from various fields, to address the issues and problems that are commonly found in interfacing people and time-series data with sound, and to discover the exciting directions for future research in the field. In addition to the invited talks, we are now looking for your contribution for either short (5-10 minutes) or long (15-20 minutes) presentations. Topics include but are not limited to: - Time series data sonification - Real-time sonification and interaction - Introduction of time series data for potential sonification projects - Perception and cognition This workshop is free and open to public. Registration is not required, but highly recommended due to limited space. Key Dates Registration open: July 9, 2015 Abstract submission due: August 20, 2015 Notification of acceptance: August 25, 2015 Invited Talks - David Worrall (Fraunhofer-Institute for Integrated Circuits IIS, Germany) “Using Polymedia Sonification for Digital Network Monitoring: The Netson project" - Masaki Matsubara (University of Tsukuba, Japan) and Takahiko Uchide (AIST, Japan) "Interactive Multiple Seismic Waves Sonification for Data Exploration" - Visda Goudarzi (University of Music and Performing Arts Graz, Austria) “Data Listening is Hear!" - Naofumi Aoki (Hokkaido University, Japan) "Sound Programming Using MATLAB" - Grace Leslie (Singapore University of Technology and Design, Singapore, and Massachusetts Institute of Technology, USA) "Sonification of EEG and Expressive Movement for Affective Neurofeedback” - Makio Kashino (NTT Communication Science Laboratories, Japan) "Sonification of a Player’s Physical / Mental States for Sport Training" - Hiroko Terasawa (University of Tsukuba, Japan) "Auditory Gestalt, Interaction, and Emotion: Perceptual and Cognitive Issues in Data Sonification of Biological Data" - Thomas Hermann (University of Bielefeld, Germany) "Levels of Time and Space in Data Exploration and Interactive Sonification" - Yota Morimoto (Royal Conservatory of the Hague, The Netherlands) “Sound Design in Sonification" Invited Installations and Performances - Brain dreams Music by .pf (Kiyoshi Furukawa and collaborators) - EEG sonification by Grace Leslie - NetSon project by David Worrall Schedule and venue This workshop will be held as a part of Tsukuba Global Science Week (TGSW2015), 9/28-30 2015, at Tsukuba International Congress Center. More details are available at the main TGSW website. Organizers General Chair: Hiroko Terasawa (University of Tsukuba) Contact: tsds.committee [at] gmail.com Program committee: Hiroko Terasawa (University of Tsukuba) Masaki Matsubara (University of Tsukuba) Makio Kashino (NTT communication science laboratories) Atsushi Marui (Tokyo University of the Arts) Supported by: Research Center for Knowledge Communities, University of Tsukuba Faculty of Library, Information and Media Science, University of Tsukuba Japanese Society for Sonic Arts IPSJ special interest group on Music and Computer (IPSJ-SIGMUS) (under coordination) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Pd-announce mailing list Pd-announce at lists.iem.at http://lists.puredata.info/listinfo/pd-announce From pimassat at gmail.com Wed Aug 5 09:35:45 2015 From: pimassat at gmail.com (Pierre Massat) Date: Wed, 5 Aug 2015 09:35:45 +0200 Subject: [PD] Midi syncing ? Message-ID: Dear list, Is there a way to sync Pd with another application's midi clock ? I've been using a sequencer made with Pd to record drum tracks in Ardour, but I always have to tweak Ardour's tempo afterward. What I would need is for Pd to be able to receive Ardour's ticks and use them as I would use a [timer]'s bangs for instance. Cheers, Pierre. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mktsteiner at gmail.com Wed Aug 5 10:00:00 2015 From: mktsteiner at gmail.com (Malte Steiner) Date: Wed, 5 Aug 2015 10:00:00 +0200 Subject: [PD] Midi syncing ? In-Reply-To: References: Message-ID: a while ago I patched a midi clock receiver in pd, you can get it from here: http://pdberlin.hotglue.me/MalteSteiner Cheers, Malte ---- http://www.block4.com On Wed, Aug 5, 2015 at 9:35 AM, Pierre Massat wrote: > Dear list, > > Is there a way to sync Pd with another application's midi clock ? > I've been using a sequencer made with Pd to record drum tracks in Ardour, > but I always have to tweak Ardour's tempo afterward. > What I would need is for Pd to be able to receive Ardour's ticks and use > them as I would use a [timer]'s bangs for instance. > > Cheers, > > Pierre. > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ol at ogeem.be Wed Aug 5 10:35:48 2015 From: ol at ogeem.be (olm-e) Date: Wed, 05 Aug 2015 10:35:48 +0200 Subject: [PD] table array and datastructure graph together Message-ID: <55C1CAE4.1000500@ogeem.be> hello dear list, I am struggling now trying to show a table with a soundwave together with graphs from a datastructure architecture, to build scores... the idea is to superpose the table with the datastructure graph so we can synchronise the sound and the graph . It "works" when I build the patch, like i can add the table array in the datastructure graph sub-patch, stuff a sound in it and work on the graph, but it disapear when I close and reopen the patch saved with the table (the table is not in the file anymore on reload... ) Is it normal ? or is it some bug ? do I need to use dynamic patching to resolve that (not my taste, too unstable...) I work actually with some old version of pd (0.43), to ensure compatibility (I collaborate with people working on windows and pd-extended ... ) so I don't know if it's a feature, a bug or a resolved bug in more recent build (need to check, but need to reinstall some system for that too... ) Also, is there any recent available readanysf~ build for windows anywhere ? thanks a lot for any hint, (I will post the file if necessary, and publish it when ready as it can be usefull for others... ) Olm-e From oscarsantisg at gmail.com Wed Aug 5 14:05:18 2015 From: oscarsantisg at gmail.com (oscar santis) Date: Wed, 5 Aug 2015 09:05:18 -0300 Subject: [PD] Texture mapping Message-ID: Antonio: Ask Malte Steiner for information about Blender structures and Pure Data best 2015-07-27 13:20 GMT-03:00 : > Send Pd-list mailing list submissions to > pd-list at lists.iem.at > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.puredata.info/listinfo/pd-list > or, via email, send a message with subject or body 'help' to > pd-list-request at lists.iem.at > > You can reach the person managing the list at > pd-list-owner at lists.iem.at > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Pd-list digest..." > > > Today's Topics: > > 1. [PD-announce] SIMULTAN 2015 - call for video submissions / > deadline: 5 Aug (Simultan Festival) > 2. Texture mapping (Antonio Roberts) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 21 Jul 2015 17:30:15 +0300 > From: Simultan Festival > To: pd-announce at iem.at > Subject: [PD] [PD-announce] SIMULTAN 2015 - call for video submissions > / deadline: 5 Aug > Message-ID: > si-GvW2TCoKYNQKg5TYLdg at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > SIMULTAN newsletterView this email in your browser > < > http://us8.campaign-archive1.com/?u=6407e151feac29d4009f9efa8&id=d4126bcf41&e=41446bdbff > > > *SIMULTAN FESTIVAL 2015 - Call for video submissions* > DEADLINE: 05 August 2015 > > > SIMULTAN is an annual festival held in Timisoara, Romania - dedicated to > media art, experimental music & sound. > The 11th edition of the Simultan Festival will take place between 7-10 > October 2015, > under the theme '*TALKING TO STRANGERS > < > http://simultan.us8.list-manage1.com/track/click?u=6407e151feac29d4009f9efa8&id=ec0da76d71&e=41446bdbff > >*'. > *What would Voyager 3 contain if it would be re-launched today, after 38 > years? > In 1977, an information package was launched into space, a symbolical > selection for the human civilization, > launched with the intention to be intercepted or discovered by an > alien civilization. A sort of “hello” > from the humans, a way of saying “we are here”. .... > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=864d4fe2e7&e=41446bdbff > >* > > *Video Submission Guidelines* > Simultan is open for submissions of innovative video works, which are > related to the festival theme. > - number of works: max 2 / author > - duration: 10 minutes (each) > *More info & online application > form:**http://11.simultan.org/#open-call > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=323b586e70&e=41446bdbff > >* > > Selected artists will be asked to send the screening version of the work/s. > The list of the participating artists will be published on the website > at the beginning of September. > > - no entry fee! > For additional information please contact: *application [at] > simultan.org * > *http://11.simultan.org/* > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=3f208e8086&e=41446bdbff > > > > > < > http://simultan.us8.list-manage1.com/track/click?u=6407e151feac29d4009f9efa8&id=3fdf684dc5&e=41446bdbff > > > Facebook > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=7e2749aa8a&e=41446bdbff > > > < > http://simultan.us8.list-manage1.com/track/click?u=6407e151feac29d4009f9efa8&id=4df38d24f4&e=41446bdbff > > > Twitter > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=8e91a891ea&e=41446bdbff > > > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=8ca3c3a93f&e=41446bdbff > > > YouTube > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=e75387f99a&e=41446bdbff > > > < > http://simultan.us8.list-manage2.com/track/click?u=6407e151feac29d4009f9efa8&id=76eb7158a3&e=41446bdbff > > > SoundCloud > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=3e4f0d77e7&e=41446bdbff > > > < > http://simultan.us8.list-manage.com/track/click?u=6407e151feac29d4009f9efa8&id=2fd1eb2438&e=41446bdbff > > > Instagram > < > http://simultan.us8.list-manage1.com/track/click?u=6407e151feac29d4009f9efa8&id=b7ae54b92f&e=41446bdbff > >*Copyright > © 2015 simultan association, All rights reserved.* > you are receiving this email because you are subscribed to our news or we > have your email in our database. > > *Our mailing address is:* > Simultan Association > str. Dimitrie Cantemir 1/B/4 > Timisoara 300001 > Romania > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.puredata.info/pipermail/pd-list/attachments/20150721/c605c30b/attachment-0001.html > > > -------------- next part -------------- > _______________________________________________ > Pd-announce mailing list > Pd-announce at lists.iem.at > http://lists.puredata.info/listinfo/pd-announce > > ------------------------------ > > Message: 2 > Date: Mon, 27 Jul 2015 17:20:24 +0100 > From: Antonio Roberts > To: pd-list at lists.iem.at > Subject: [PD] Texture mapping > Message-ID: > < > CAOkiBYi89z_73AWuZaAMRJ4yBNcfPfafDcjfaPCYvMFx_LRVrg at mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi, > > I have made a textured 3D model in Blender that I'm trying to import > into Pure Data and have it display as it did in Blender. > > I made a simple blocky tree model (attached). It uses this image as a > UV mapped texture: http://i.imgur.com/ACncRZI.png It should/I want it > to display like this http://i.imgur.com/QWJOIpS.png But when I open it > in Pure Data it displays like this: http://i.imgur.com/Ya4diiS.png > > Is there anything that I can do either in Pure Data or Blender to make > the texture display as it did in Blender? If there's a solution that > could work in all situations and with all UV mapped models then that > would be preferable. > > Thanks > > Antonio > > -- > ============================ > antonio at hellocatfood.com > http://www.hellocatfood.com > ============================ > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: tree.obj > Type: application/unknown > Size: 29314 bytes > Desc: not available > URL: < > http://lists.puredata.info/pipermail/pd-list/attachments/20150727/dab4dee5/attachment.bin > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Pd-list mailing list > Pd-list at lists.iem.at > to manage your subscription (including un-subscription) see > http://lists.puredata.info/listinfo/pd-list > > > ------------------------------ > > End of Pd-list Digest, Vol 124, Issue 67 > **************************************** > -- Óscar Santis escultor, pintor, ruidista http://www.oscarsantis.com http://www.flickr.com/oscarsantis http://www.soundcloud.com/oscarsantis tel: + 56 9 75802965 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jwmatthys at gmail.com Wed Aug 5 20:29:18 2015 From: jwmatthys at gmail.com (Joel Matthys) Date: Wed, 05 Aug 2015 13:29:18 -0500 Subject: [PD] segfault on external with libpd & JUCE Message-ID: <55C255FE.50809@gmail.com> Hello all. I'm working on a project with libpd & JUCE. I'm trying to include a couple of externals. Following directions from here: https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd I included the source files in my JUCE project, #included them in my audio renderer code, initialize portaudio and libpd: libpd_init_audio(2, 2, this->getSampleRate()); //two channel in, two channel out bob_tilde_setup(); This compiles fine, and if the external is non-audio, everything works. But for externals with DSP, I get a segfault: Program received signal SIGSEGV, Segmentation fault. 0x000000000041b2d7 in bob_dsp (x=0xf40660, sp=0xf3f610) at ../../Source/bob~.c:237 237 sp[2]->s_vec, sp[3]->s_vec, sp[0]->s_n); (gdb) bt #0 0x000000000041b2d7 in bob_dsp (x=0xf40660, sp=0xf3f610) at ../../Source/bob~.c:237 #1 0x00007ffff649dae1 in ugen_doit () from /usr/local/lib/libpdcpp.so #2 0x00007ffff649dc3e in ugen_doit () from /usr/local/lib/libpdcpp.so #3 0x00007ffff649e4a1 in ugen_done_graph () from /usr/local/lib/libpdcpp.so #4 0x00007ffff64a6427 in canvas_dodsp () from /usr/local/lib/libpdcpp.so #5 0x00007ffff64a7aef in canvas_resume_dsp () from /usr/local/lib/libpdcpp.so #6 0x00007ffff64dfb39 in glob_evalfile () from /usr/local/lib/libpdcpp.so offending line is: dsp_add(bob_perform, 6, x, sp[0]->s_vec, sp[1]->s_vec,sp[2]->s_vec, sp[3]->s_vec, sp[0]->s_n); Any help is appreciated! Joel From rtepub at gmail.com Thu Aug 6 04:36:00 2015 From: rtepub at gmail.com (Rich Eakin) Date: Wed, 5 Aug 2015 22:36:00 -0400 Subject: [PD] segfault on external with libpd & JUCE In-Reply-To: <55C255FE.50809@gmail.com> References: <55C255FE.50809@gmail.com> Message-ID: Do you have a lock to protect the patch load? If not then pd audio might try to run the dsp loop before the graph is completely constructed (unless you're also loading the patch from the audio thread, which you probably don't want to do). cheers, Rich On Wed, Aug 5, 2015 at 2:29 PM, Joel Matthys wrote: > Hello all. I'm working on a project with libpd & JUCE. I'm trying to > include a couple of externals. > > Following directions from here: > https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd > > I included the source files in my JUCE project, #included them in my audio > renderer code, initialize portaudio and libpd: > > libpd_init_audio(2, 2, this->getSampleRate()); //two channel in, two > channel out > bob_tilde_setup(); > > This compiles fine, and if the external is non-audio, everything works. > But for externals with DSP, I get a segfault: > > Program received signal SIGSEGV, Segmentation fault. > 0x000000000041b2d7 in bob_dsp (x=0xf40660, sp=0xf3f610) at > ../../Source/bob~.c:237 > 237 sp[2]->s_vec, sp[3]->s_vec, sp[0]->s_n); > (gdb) bt > #0 0x000000000041b2d7 in bob_dsp (x=0xf40660, sp=0xf3f610) at > ../../Source/bob~.c:237 > #1 0x00007ffff649dae1 in ugen_doit () from /usr/local/lib/libpdcpp.so > #2 0x00007ffff649dc3e in ugen_doit () from /usr/local/lib/libpdcpp.so > #3 0x00007ffff649e4a1 in ugen_done_graph () from > /usr/local/lib/libpdcpp.so > #4 0x00007ffff64a6427 in canvas_dodsp () from /usr/local/lib/libpdcpp.so > #5 0x00007ffff64a7aef in canvas_resume_dsp () from > /usr/local/lib/libpdcpp.so > #6 0x00007ffff64dfb39 in glob_evalfile () from /usr/local/lib/libpdcpp.so > > offending line is: > dsp_add(bob_perform, 6, x, sp[0]->s_vec, sp[1]->s_vec,sp[2]->s_vec, > sp[3]->s_vec, sp[0]->s_n); > > Any help is appreciated! > Joel > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Thu Aug 6 16:01:54 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Thu, 6 Aug 2015 10:01:54 -0400 Subject: [PD] Is there something like "adddollar" for messages? In-Reply-To: References: <55B6A790.3010705@yahoo.com> <1438035222.2365.3.camel@yoyo5> <20150727222553.GA1160@fuzz.localdomain> Message-ID: <55C368D2.7000207@yahoo.com> On 07/28/2015 03:07 AM, Alexandros Drymonitis wrote: > > For some reason I didn't even think to check the help patch of the > message... quite embarrassing. Sorry list, should have thought twice.. All kidding aside, it's a very informative thread. You didn't consult the docs but were able to surmise the method "adddollar" from scratch. That tells me the message-building interface is consistent. And if "adddollar" had a default float argument, it's likely you would have figured out how it works without ever having to consult the list or help patches. (I.e., you would have noticed that it creates "$0" by default, then probably tried using different integers as args.) Even more informative are the threads where a large number of users are unable to surmise how to do something due to an inconsistent interface. That's essentially free usability feedback. Unfortunately the free software ethos has traditionally been to wholesale ignore that data, even going so far as to deride it with the acronym "RTFM". Projects that cherish (and mine) this free data-- like SDL-- flourish, while others do not. -Jonathan From dmedine at ucsd.edu Thu Aug 6 23:08:19 2015 From: dmedine at ucsd.edu (David Medine) Date: Thu, 06 Aug 2015 14:08:19 -0700 Subject: [PD] debugging externs with gdb in Linux Message-ID: <55C3CCC3.8060009@ucsd.edu> Does anybody out there know how to use gdb to debug an extern in Linux? I have used this method: https://puredata.info/docs/developer/DebuggingPdExternals on Mac and it seems to work fine, but on my Fedora 20 system, when I run (gdb) add-symbol-file /path/to/my_extern.pd_linux I get the message The address where /path/to/my_extern.pd_linux has been loaded is missing and when I tab to complete on (gdb) attach pd. it hits me with 60000 completions -- apparently all the symbols in Pd. In any case, it doesn't work and when my extern crashes, pd's watchdog starts barking at me and I can't use the debugger. I know Miller has suggested actually building the extern into Pd and doing a standard debugging session, but there has got to be a better way. Suggestions? From msp at ucsd.edu Thu Aug 6 23:33:39 2015 From: msp at ucsd.edu (Miller Puckette) Date: Thu, 6 Aug 2015 14:33:39 -0700 Subject: [PD] debugging externs with gdb in Linux In-Reply-To: <55C3CCC3.8060009@ucsd.edu> References: <55C3CCC3.8060009@ucsd.edu> Message-ID: <20150806213339.GA6363@fuzz.localdomain> I've never succeeded at this but never tried really hard. My technique: run -nrt shuts up teh watchdog; and to get GDB to see the extern I just compile the extern into Pd itself. (Add a source file to the makefile and two lines to m_conf.c). If soneone else knows the magic to get GDB to see symbols in a Pd extern I'd like to hear it too. cheers Miller On Thu, Aug 06, 2015 at 02:08:19PM -0700, David Medine wrote: > Does anybody out there know how to use gdb to debug an extern in Linux? I > have used this method: > https://puredata.info/docs/developer/DebuggingPdExternals > on Mac and it seems to work fine, but on my Fedora 20 system, when I run > > (gdb) add-symbol-file /path/to/my_extern.pd_linux > > I get the message > The address where /path/to/my_extern.pd_linux has been loaded is missing > > and when I tab to complete on > > (gdb) attach pd. > > it hits me with 60000 completions -- apparently all the symbols in Pd. > > In any case, it doesn't work and when my extern crashes, pd's watchdog > starts barking at me and I can't use the debugger. > > I know Miller has suggested actually building the extern into Pd and doing a > standard debugging session, but there has got to be a better way. > Suggestions? > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list From dmedine at ucsd.edu Sat Aug 8 00:21:56 2015 From: dmedine at ucsd.edu (David Medine) Date: Fri, 07 Aug 2015 15:21:56 -0700 Subject: [PD] debugging externs with gdb in Linux In-Reply-To: <20150806213339.GA6363@fuzz.localdomain> References: <55C3CCC3.8060009@ucsd.edu> <20150806213339.GA6363@fuzz.localdomain> Message-ID: <55C52F84.5070109@ucsd.edu> As it turns out, in this case (gdb) run -nrt did the trick, without having to compile the extern into Pd. However, the symbols that I am concerned with and looking at are not actually in my extern but rather are in a dynamic library that the extern loads. This may be why it 'just works'. In anycase, the debugger can show me what I want to see. Thanks! On 8/6/2015 2:33 PM, Miller Puckette wrote: > I've never succeeded at this but never tried really hard. My technique: > > run -nrt > > shuts up teh watchdog; and to get GDB to see the extern I just compile the > extern into Pd itself. (Add a source file to the makefile and two lines to > m_conf.c). > > If soneone else knows the magic to get GDB to see symbols in a Pd extern I'd > like to hear it too. > > cheers > Miller > > On Thu, Aug 06, 2015 at 02:08:19PM -0700, David Medine wrote: >> Does anybody out there know how to use gdb to debug an extern in Linux? I >> have used this method: >> https://puredata.info/docs/developer/DebuggingPdExternals >> on Mac and it seems to work fine, but on my Fedora 20 system, when I run >> >> (gdb) add-symbol-file /path/to/my_extern.pd_linux >> >> I get the message >> The address where /path/to/my_extern.pd_linux has been loaded is missing >> >> and when I tab to complete on >> >> (gdb) attach pd. >> >> it hits me with 60000 completions -- apparently all the symbols in Pd. >> >> In any case, it doesn't work and when my extern crashes, pd's watchdog >> starts barking at me and I can't use the debugger. >> >> I know Miller has suggested actually building the extern into Pd and doing a >> standard debugging session, but there has got to be a better way. >> Suggestions? >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list From pierre.desprats2 at gmail.com Sat Aug 8 02:16:30 2015 From: pierre.desprats2 at gmail.com (Pierre Desprats) Date: Sat, 8 Aug 2015 02:16:30 +0200 Subject: [PD] Raspberry - Arduino - Serial trouble Message-ID: <55C54A5E.5000502@gmail.com> Hi, I'm having some trouble with the serial connection between Raspberry Pi 2 and PD. I use [comport] on Pd vanilla 0.46.6. The [devices( message show my raspberry, but when i open the connection, PD freeze. For the moment, it works only if, before trying to open something on comport, I upload a program on the arduino using the IDE. After the upload, everything works great. I told myself it was an initialization issue. I tried those two fixes : http://www.hobbytronics.co.uk/raspberry-pi-serial-port http://elinux.org/RPi_Serial_Connection#Connection_to_a_microcontroller_or_other_peripheral But still, PD Freeze. Anyone has an idea, Pierre DOUX. From f.piesik at gmail.com Sat Aug 8 15:09:36 2015 From: f.piesik at gmail.com (frank) Date: Sat, 8 Aug 2015 13:09:36 +0000 (UTC) Subject: [PD] Wiimote external not working any more ... References: <54C02631.3030203@parkellipsen.de> Message-ID: Niklas Reppel parkellipsen.de> writes: > > Hi everybody, > > it has been a long time since i've been toying around with my wiimote, > but i remember that it was'n hard to make it run. > > Now, i tried to make it functional again (on an Arch Linux system). > Wmgui, hcitool sca, everything works fine! > > BUT, the wiimote external doesn't (i downloaded version 0.3.2 from > puredata.info). It compiles fine, but discovery > doesn't work (again, no problem with wmgui!). Ok, i can connect with > explicit address. But still, only button data is > processed, i can't see any acceleration data or IR data ... (i can see > it in wmgui). > > A year ago or so, everything worked quite well ... > > Any hints ? > > Regards, > Nik > > _______________________________________________ > Pd-list lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > Hi Nik, I've had the same issues with the wiimote-object. I wasn't able to fix the broken discover-mode yet, but the other stuff works again by changing the onoff argument type in the function name below from int to float: static void wiimote_report(t_wiimote*x, t_symbol*s, float onoff) I've uploaded the source here: https://www.dropbox.com/sh/gt5cydrkr1ja3a4/AAAOXqHRny1_3wcn9fnCDCn1a?dl=0 best, Frank From ico at vt.edu Sat Aug 8 15:54:16 2015 From: ico at vt.edu (Ivica Bukvic) Date: Sat, 8 Aug 2015 09:54:16 -0400 Subject: [PD] Wiimote external not working any more ... In-Reply-To: References: <54C02631.3030203@parkellipsen.de> Message-ID: Try disis_wiimote (included in pd-l2ork; source also available separately and compatible with vanilla), unless you have one of the newer wiimote plus controllers that may not be yet fully supported. HTH On Aug 8, 2015 9:17 AM, "frank" wrote: > Niklas Reppel parkellipsen.de> writes: > > > > > Hi everybody, > > > > it has been a long time since i've been toying around with my wiimote, > > but i remember that it was'n hard to make it run. > > > > Now, i tried to make it functional again (on an Arch Linux system). > > Wmgui, hcitool sca, everything works fine! > > > > BUT, the wiimote external doesn't (i downloaded version 0.3.2 from > > puredata.info). It compiles fine, but discovery > > doesn't work (again, no problem with wmgui!). Ok, i can connect with > > explicit address. But still, only button data is > > processed, i can't see any acceleration data or IR data ... (i can see > > it in wmgui). > > > > A year ago or so, everything worked quite well ... > > > > Any hints ? > > > > Regards, > > Nik > > > > _______________________________________________ > > Pd-list lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > Hi Nik, > I've had the same issues with the wiimote-object. I wasn't able to fix the > broken discover-mode yet, but the other stuff works again by changing the > onoff argument type in the function name below from int to float: > static void wiimote_report(t_wiimote*x, t_symbol*s, float onoff) > > I've uploaded the source here: > https://www.dropbox.com/sh/gt5cydrkr1ja3a4/AAAOXqHRny1_3wcn9fnCDCn1a?dl=0 > > best, > Frank > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Sat Aug 8 21:40:58 2015 From: zmoelnig at iem.at (=?UTF-8?B?SU9oYW5uZXMgbSB6bcO2bG5pZw==?=) Date: Sat, 08 Aug 2015 21:40:58 +0200 Subject: [PD] debugging externs with gdb in Linux In-Reply-To: <20150806213339.GA6363@fuzz.localdomain> References: <55C3CCC3.8060009@ucsd.edu> <20150806213339.GA6363@fuzz.localdomain> Message-ID: <55C65B4A.4060106@iem.at> On 08/06/2015 11:33 PM, Miller Puckette wrote: > I've never succeeded at this but never tried really hard. My technique: > > run -nrt > > shuts up teh watchdog; and to get GDB to see the extern I just compile the > extern into Pd itself. (Add a source file to the makefile and two lines to > m_conf.c). > > If soneone else knows the magic to get GDB to see symbols in a Pd extern I'd > like to hear it too. usually i just do a dummy run of pd+external, so that gdb loads all the symbols and be done with it. $ gdb --args pd -nrt -stderr -lib zexy [...] (gdb) run [... quit Pd immediately ...] (gdb) bp list2symbol_setup (gdb) run gfmdsr IOhannes PS a related question: is it only me or has `ddd` (graphical frontend for gdb) stopped working? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From zmoelnig at iem.at Sat Aug 8 21:44:29 2015 From: zmoelnig at iem.at (=?UTF-8?B?SU9oYW5uZXMgbSB6bcO2bG5pZw==?=) Date: Sat, 08 Aug 2015 21:44:29 +0200 Subject: [PD] Wiimote external not working any more ... In-Reply-To: References: <54C02631.3030203@parkellipsen.de> Message-ID: <55C65C1D.7070806@iem.at> hi, On 08/08/2015 03:09 PM, frank wrote: > I've uploaded the source here: > https://www.dropbox.com/sh/gt5cydrkr1ja3a4/AAAOXqHRny1_3wcn9fnCDCn1a?dl=0 > would you mind sharing the sources as a unified diff in a ticket on sourceforge? gfadsr IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jsubiavaldez at gmail.com Sun Aug 9 11:14:30 2015 From: jsubiavaldez at gmail.com (=?UTF-8?Q?Jos=C3=A9_Rafael_Sub=C3=ADa_Valdez?=) Date: Sun, 9 Aug 2015 10:14:30 +0100 Subject: [PD] GEM problem Message-ID: Hello list, first of all I am sorry if this matter has been addressed, I did a quick search and didn't find a solution and I am in a bit of a hurry. I have a patch that works fine in my OS (10.6.8 and 10.8) but the computer that the performer uses is 10.9 or 10.10 (not really sure) anyway, GEM can't initialize the webcam and just dumps out this message could not make new SG channel error -9405 when I try to open the web cam. does anyone know what is going on? any solutions? I am running pd-vanilla 0.46.6 thanks -- José Rafael Subía Valdez www.jrsv.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From antoine.villeret at gmail.com Sun Aug 9 12:01:10 2015 From: antoine.villeret at gmail.com (Antoine Villeret) Date: Sun, 9 Aug 2015 12:01:10 +0200 Subject: [PD] GEM problem In-Reply-To: References: Message-ID: video capture support on Mac 10.9+ have been discussed several time in this list. as a workaround you can use a virtual webcam software that will grab frames and send them back to GEM please search the mailing list for a detailed setup description. best antoine -- do it yourself http://antoine.villeret.free.fr 2015-08-09 11:14 GMT+02:00 José Rafael Subía Valdez : > Hello list, > > first of all I am sorry if this matter has been addressed, I did a quick > search and didn't find a solution and I am in a bit of a hurry. > > I have a patch that works fine in my OS (10.6.8 and 10.8) > > but the computer that the performer uses is 10.9 or 10.10 (not really > sure) anyway, GEM can't initialize the webcam and just dumps out this > message > > > could not make new SG channel error -9405 > > when I try to open the web cam. > does anyone know what is going on? any solutions? > > I am running pd-vanilla 0.46.6 > > thanks > > -- > José Rafael Subía Valdez > www.jrsv.net > > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From carolina.bergonzoni at gmail.com Mon Aug 3 21:13:07 2015 From: carolina.bergonzoni at gmail.com (Carolina Bergonzoni) Date: Mon, 3 Aug 2015 12:13:07 -0700 Subject: [PD] [PD-announce] CMA Journal - Call for Submission - Issue Two Message-ID: <448A973D-AC2D-4A56-974E-362F261789D8@me.com> Hello, On behalf of the Editorial Committee of the Journal of Comparative Media Arts, please find inline below (and attached) our call for papers for the second publication of the CMA Journal. Please feel free to disseminate to your communities, students, faculty and recent grads/alumni. We look forward to your submissions and a successful first issue of our Journal! Cheers, Carolina Bergonzoni Editorial Committee, Journal of Comparative Media Arts www.cmajournal.ca About: The Journal of Comparative Media Arts (CMA Journal) is an open-access, student-run peer-reviewed journal, taking up discussions and investigations within the creative, critical and cultural communities. Our goal is to publish the best of graduate, postgraduate and recent graduate essays and dissertations, presenting the pluralism of research within arts and culture and a forum for scholarly discourse. Engaging a transdisciplinary perspective, the CMA Journal encompasses contemporary concerns with a focus on visual arts and art history, cinema and moving-image studies, performance studies, and studies of computer-based arts. We welcome experimental and creative writing, works-in-progress, collaborations and lively debates that are critically engaged in the ever-shifting range and scope of the fields of critical and cultural studies. ISSUE TWO: TERRITORY Territory can convey belonging, ownership and familiarity; land, zones, expanses and boundaries that delineate, encompass and separate space and place. Territory can be inclusive or exclusive, public or private. How do we move through a territory - easily and self-assured? Timidly? Dangerously? The notion of territory is at once individual and collective, representing both visible and invisible boundaries weaving throughout our lives. It exists in myriad forms, constructed through connections; minute and macroscopic. Through the primacy of our bodies Territory is created, shattered, redrawn and recreated as we grow, develop, move, embody and interact with others and with our surrounding environment. The commons, a space of inclusivity where the people can converge, is public territory. Spaces in which to gather, rally, riot. Whose territory is this? Territory includes the interstitial spaces, alleyways and right-of-ways; no-person’s-land. Entering new territory can evoke a sense of adventure, exploration, self-awareness, personal development. Territory is uncharted, encroached upon, contested and occupied. They overlap and collide, extending into realms of culture, sexuality, and religion. Territory are lines drawn on a map, the path of a river, a habitat, a title; a jurisdiction, a political subdivision; a nation, a state, a province. The City of Vancouver takes up and takes over the unceded traditional territory of the Musqueam, Squamish and Tsleil-Waututh First Nations. What does territory mean living on Canada’s West Coast, and elsewhere? In our contemporary moment might it determine Canadian and provincial histories and futures? In what ways can we discuss reconciliation, a home on Native land? What is territory? CALL FOR SUBMISSIONS This is the Journal of Comparative Media Arts CFP for artworks, long papers, short papers and photo essays. The second publication of the CMA Journal invites submissions that consider the theme of TERRITORY. Every submission relevant to the study of contemporary, forward-thinking investigations in visual culture and the arts will be reviewed and considered. Submissions will be accepted until October 1 2015, 23:59 PST. SUBMISSION FORMAT All submissions need to be the full length version of the paper. Please submit Word documents (.doc or .docx) or PDFs to the attention of the Peer Review Committee via email: submissions at cmajournal.ca Submissions will be accepted until October 1 2015, 23:59 PST. Accepted submission will be published online December 2015. Contact the Editorial Committee via email: info at cmajournal.ca or through our online contact form. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: CFP_CMAJournal.pdf Type: application/pdf Size: 92724 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Pd-announce mailing list Pd-announce at lists.iem.at http://lists.puredata.info/listinfo/pd-announce From athos.bacchiocchi at gmail.com Mon Aug 10 19:48:14 2015 From: athos.bacchiocchi at gmail.com (Athos Bacchiocchi) Date: Mon, 10 Aug 2015 19:48:14 +0200 Subject: [PD] dmx interfaces + Pd In-Reply-To: <55B4CBF8.4070000@chnry.net> References: <5593CD4D.7040904@iem.at> <1435758337.31319.25.camel@localhost> <20150701185618.GB6219@janice> <1435837053.20019.6.camel@localhost> <55B4CBF8.4070000@chnry.net> Message-ID: I found someone using a cheap USB to Ethernet adapter as a dmx controller: http://stevenbreuls.com/2014/03/diy-usb-dmx-controller-for-under-10_2_ethernet_cable/ I don't know for sure if it works or if it's lacking any important feature, but since DMX uses the same protocol (RS485) it seems a plausible solution. Coming to pd, I have no clear idea... a similar solution as Martin Peach's one, based on comport? Can comport be used with an "ethernet" output? Or is there any way to communicate through that ethernet output at a lower level? Athos On 26 July 2015 at 14:00, Cyrille Henry wrote: > i used OLA to control openDMX interface from osc (using laptop or > raspberry pi). > > https://www.openlighting.org/ola/ > > cheers > c > > Le 22/07/2015 12:25, Francisco Medeiros a écrit : > >> I got an open usb dmx and I haven't been able to get it working on linux. >> I think I will try with the raspberry pi but can it be controlled via pd? >> >> Also the patch Martin Peach shared can be used with the open dmx usb on >> linux? do I need driver? >> >> Thanks for the help, I am really confused here. >> >> >> >> On 2 July 2015 at 12:37, Iain Mott > mott at reverberant.com>> wrote: >> >> Thanks a lot for the responses. >> Iain >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chakekatzil at gmail.com Mon Aug 10 20:24:57 2015 From: chakekatzil at gmail.com (Martin Peach) Date: Mon, 10 Aug 2015 14:24:57 -0400 Subject: [PD] dmx interfaces + Pd In-Reply-To: References: <5593CD4D.7040904@iem.at> <1435758337.31319.25.camel@localhost> <20150701185618.GB6219@janice> <1435837053.20019.6.camel@localhost> <55B4CBF8.4070000@chnry.net> Message-ID: On Mon, Aug 10, 2015 at 1:48 PM, Athos Bacchiocchi < athos.bacchiocchi at gmail.com> wrote: > I found someone using a cheap USB to Ethernet adapter as a dmx controller: > > http://stevenbreuls.com/2014/03/diy-usb-dmx-controller-for-under-10_2_ethernet_cable/ > > I don't know for sure if it works or if it's lacking any important > feature, but since DMX uses the same protocol (RS485) it seems a plausible > solution. > > Coming to pd, I have no clear idea... a similar solution as Martin Peach's > one, based on comport? Can comport be used with an "ethernet" output? Or is > there any way to communicate through that ethernet output at a lower level? > > It's a USB to RS485 adapter with an ethernet (RJ45) connector. The driver chip is something by FTDI which works as a serial port. Using the latest [comport] from svn it should be possible to set its baud rate to 250000 and issue break commands at the start of each packet. so it should work. Martin -------------- next part -------------- An HTML attachment was scrubbed... URL: From athos.bacchiocchi at gmail.com Tue Aug 11 12:44:37 2015 From: athos.bacchiocchi at gmail.com (Athos Bacchiocchi) Date: Tue, 11 Aug 2015 12:44:37 +0200 Subject: [PD] dmx interfaces + Pd In-Reply-To: References: <5593CD4D.7040904@iem.at> <1435758337.31319.25.camel@localhost> <20150701185618.GB6219@janice> <1435837053.20019.6.camel@localhost> <55B4CBF8.4070000@chnry.net> Message-ID: Thanks Martin, but now I was thinking... what about using the built-in ethernet port directly? Athos On 10 August 2015 at 20:24, Martin Peach wrote: > On Mon, Aug 10, 2015 at 1:48 PM, Athos Bacchiocchi < > athos.bacchiocchi at gmail.com> wrote: > >> I found someone using a cheap USB to Ethernet adapter as a dmx controller: >> >> http://stevenbreuls.com/2014/03/diy-usb-dmx-controller-for-under-10_2_ethernet_cable/ >> >> I don't know for sure if it works or if it's lacking any important >> feature, but since DMX uses the same protocol (RS485) it seems a plausible >> solution. >> >> Coming to pd, I have no clear idea... a similar solution as Martin >> Peach's one, based on comport? Can comport be used with an "ethernet" >> output? Or is there any way to communicate through that ethernet output at >> a lower level? >> >> > It's a USB to RS485 adapter with an ethernet (RJ45) connector. The driver > chip is something by FTDI which works as a serial port. Using the latest > [comport] from svn it should be possible to set its baud rate to 250000 and > issue break commands at the start of each packet. so it should work. > > Martin > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Tue Aug 11 12:57:50 2015 From: zmoelnig at iem.at (IOhannes m zmoelnig) Date: Tue, 11 Aug 2015 12:57:50 +0200 Subject: [PD] dmx interfaces + Pd In-Reply-To: References: <5593CD4D.7040904@iem.at> <1435758337.31319.25.camel@localhost> <20150701185618.GB6219@janice> <1435837053.20019.6.camel@localhost> <55B4CBF8.4070000@chnry.net> Message-ID: <55C9D52E.2040102@iem.at> On 2015-08-11 12:44, Athos Bacchiocchi wrote: > Thanks Martin, but now I was thinking... what about using the built-in > ethernet port directly? your DMX-device simply has a connector that is also used for networking. it is driven by a different hardware driver than a network card, so you cannot just use them interchangable. gfmsdr IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From noc at iem.at Tue Aug 11 15:22:13 2015 From: noc at iem.at (IEM - network operating center (IOhannes m zmoelnig)) Date: Tue, 11 Aug 2015 15:22:13 +0200 Subject: [PD] [PD-announce] mailinglists/website: scheduled downtime 2015/08/12 13:00-17:00CEST Message-ID: <55C9F705.3040005@iem.at> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 dear all, the iem is planning a maintenance downtime for tomorrow afternoon (CEST), that's about 22 hours from now!. affected services related to Pd are: - - the mailinglists - - the puredata.info portal (including deken search functionality!) gfsmdr IOhannes - -- IEM - network operation center mailto:noc at iem.at -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJVyfcFAAoJELZQGcR/ejb4sQsP/3nksTHfM8Jz83/FVFbO4IPb +nmvMwlzH3kDzwvfrJDm2q/JmVW3cFlKoqr/FHJ61IcvB8SebWB/8qhB2R3pKOtB EWWK/rNdwlpzuj6InL9rS6BZKgCWV0hdeeA4iHDUFqIFHZqqGD21lLwXKH361akx XPHA8NMTsNVUheTxM3cNn9xG2yJxA3FZuI9854EcFf/F8uRlCt7tQgBCg648+zyl HrGvF4on6/fD4H7U6r2a7P9VAofBmoNwuclDoczQdedr3hXF7d/Vmz5aO4xyTw1J pGWTnlKHjxjKqLu+6s74aGov4FjCjbKmhGeMpsAlFc5Cs1iOKIrdboMEyaNrUgif iJyg7oBy6FVuiaYN3WgrWH8KSgBhg5AwoIYKNLD3kHM7p1M78yBCteh8Ais6hFd/ 3vZb3e55C/OR5xV9KidarPOGdZjX76y4gbYqkIUBVM3TgRH5wAWkJD3Yw6zRIbVd TuHNiJh+1ATl47bx9qySQU9U8diVeBDKLXHL9y4rFUvd1PGOhJJPhVoel8G6sk8l ZWko3tOqwwZFpm5G6AWy39mtC5dhQp1to2WQq+QcOMy6rAx8olJg/KG5OIxJWo0A /MAYKGWTkxu7zIJN1fcKIAVlXu9/argipx1tuCY4hC4HEIJ3PIk0vqLOmrXw8q57 1739v2Hh551hnkeSLEZN =91Yp -----END PGP SIGNATURE----- _______________________________________________ Pd-announce mailing list Pd-announce at lists.iem.at http://lists.puredata.info/listinfo/pd-announce From tazberrydocs at gmail.com Tue Aug 11 17:43:21 2015 From: tazberrydocs at gmail.com (Eldad Tsabary) Date: Tue, 11 Aug 2015 11:43:21 -0400 Subject: [PD] A list of laptop and electroacoustic ensembles worldwide Message-ID: A reminder: A list of laptop and electroacoustic ensembles worldwide. If you have any to add, please do so in the "additions" tab.  https://docs.google.com/spreadsheets/d/1axhFUiTcIKeuqmfGZmd09mosYRKCoGoJDe_6MpuqGA8/edit#gid=0 Please share and spread the word Thank you!!! --  Eldad Tsabary Sent with Airmail -------------- next part -------------- An HTML attachment was scrubbed... URL: From 01ivier at labomedia.net Tue Aug 11 23:48:48 2015 From: 01ivier at labomedia.net (Olivier Baudu) Date: Tue, 11 Aug 2015 23:48:48 +0200 Subject: [PD] A patch to create a patch to create a patch to create a patch to close puredata... In-Reply-To: References: <558ACDFA.8030904@labomedia.net> <5592C084.2050209@labomedia.net> <559ACD03.20803@labomedia.net> <559AD2A5.5010709@rybn.org> <55A59BA8.7030703@labomedia.net> <55A8E5AB.5050309@free.fr> Message-ID: <55CA6DC0.3070103@labomedia.net> Hi list, Did you think I'd forgotten you ? :-p It follows : https://vimeo.com/136014798 Cheers... °1 Le 17/07/2015 13:41, i go bananas a écrit : > these are awesome. > > On Fri, Jul 17, 2015 at 8:23 PM, Benjamin ~ b01 > wrote: > > nice piece of digital art ;) > > btw, does someone on the list have an old patch that was producing a > nice gui animation inside Pd ? > I saw it a long ago @ Pd Conv Montreal ... > > thanks > ++ > benjamin > > Le 15/07/2015 01:30, Olivier Baudu a écrit : > > Sorry list... > > > > I can't refrain myself... :-p > > > > The Bangarland : > > https://vimeo.com/133499700 > > > > Cheers... > > > > 01 > > > > Le 06/07/2015 22:04, Jaime E Oliver a écrit : > >> nice indeed! > >> J > >> On Jul 6, 2015, at 2:10 PM, Jack > wrote: > >> > >> Hello Olivier, > >> > >> Very nice ;) > >> ++ > >> > >> Jack > >> > >> > >> > >> > >> Le 06/07/2015 20:46, Olivier Baudu a écrit : > >>>>> Thank you Julian... > >>>>> > >>>>> Well, I don't know if this one is funny but, for sure, it's still > >>>>> useless... :-) > >>>>> > >>>>> The Carouslide: https://vimeo.com/132739686 > >>>>> > >>>>> :-p > >>>>> > >>>>> 01 > >>>>> > >>>>> Le 01/07/2015 15:02, Julian Brooks a écrit : > >>>>>> definitely raised a smile :) > >>>>>> > >>>>>> 2015-06-30 17:15 GMT+01:00 Olivier Baudu <01ivier at labomedia.net > >>>>>> >>: > >>>>>> > >>>>>> Hi list... > >>>>>> > >>>>>> I got bored again... so... > >>>>>> > >>>>>> https://vimeo.com/132195870 > >>>>>> > >>>>>> :-p > >>>>>> > >>>>>> Cheers... > >>>>>> > >>>>>> °1 > >>>>>> > >>>>>> Le 24/06/2015 17:34, Olivier Baudu a écrit : > >>>>>>> Hi list... > >>>>>>> > >>>>>>> I had time to waste so here you are : > >>>>>>> > >>>>>>> https://vimeo.com/131648084 > >>>>>>> > >>>>>>> :-p > >>>>>>> > >>>>>>> Cheers... > >>>>>>> > >>>>>>> °1ivier > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> _______________________________________________ > >>>>>>> Pd-list at lists.iem.at > > mailing > >>>>>>> list UNSUBSCRIBE and account-management -> > >>>>>>> http://lists.puredata.info/listinfo/pd-list > >>>>>>> > >>>>>> -- "On ne peut pas vivre dans un monde où l'on croit que > >>>>>> l'élégance exquise du plumage de la pintade est inutile. Ceci est > >>>>>> tout à fait à part. J'ai eu envie de le dire, je l'ai dit." Jean > >>>>>> Giono, Un roi sans divertissement. > >>>>>> > >>>>>> _______________________________________________ > >>>>>> Pd-list at lists.iem.at > > mailing list > >>>>>> UNSUBSCRIBE and account-management -> > >>>>>> http://lists.puredata.info/listinfo/pd-list > >>>>>> > >>>>>> > >>> _______________________________________________ > >>> Pd-list at lists.iem.at mailing list > >>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > >> > >> _______________________________________________ > >> Pd-list at lists.iem.at mailing list > >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > >> > > > > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > -- "On ne peut pas vivre dans un monde où l'on croit que l'élégance exquise du plumage de la pintade est inutile. Ceci est tout à fait à part. J'ai eu envie de le dire, je l'ai dit." Jean Giono, Un roi sans divertissement. From joson.android at googlemail.com Wed Aug 12 15:13:29 2015 From: joson.android at googlemail.com (hi) Date: Wed, 12 Aug 2015 15:13:29 +0200 Subject: [PD] gem advanced video keying Message-ID: Dear Pd folk, I am investigating options to improve chroma keying within pd and gem to use within a theater installation. I need more advanced keying features than seemingly possible with [pix_choma_key], like border corrections and smoother edge transparencies. The best thing i found so far is this: http://forum.pdpatchrepo.info/topic/2953/neat-chroma-keying/3 very nice, but i would need more a quality like in readymade video mixers Did any of you program anything like that? Also i'm trying to find out, whether a potential setup with a computer with 4 HD-SDI inputs would be capable of keying 2 HD-live-signals at the same time and overlay that over one HD-live-background. Are there any experiences (hardware and software) from your side, you could share? I would so much love to make this happen with pd and not with an expensive video mixer i would have to buy. Any help or ideas are appreciated. Love to pd, jonny From itensimon at gmail.com Fri Aug 14 13:28:36 2015 From: itensimon at gmail.com (Simon Iten) Date: Fri, 14 Aug 2015 13:28:36 +0200 Subject: [PD] BUG ? Message-ID: <7CCE9E78-9138-4F88-A993-2C4BAF781BAF@gmail.com> hi list, if i try to copy and paste via shortcuts on osx, it does not work with CAPSLOCK on :-) maybe that is a bug? simon From itensimon at gmail.com Fri Aug 14 13:34:45 2015 From: itensimon at gmail.com (Simon Iten) Date: Fri, 14 Aug 2015 13:34:45 +0200 Subject: [PD] control a value with number box and slider at the same time Message-ID: hi list, i remember there was a discussion a while ago about sliders and numberboxes controlling the same value. (and the loop that caused problems) here is my take on it with vanilla objects. it does need some work for every control, but it does the job! -------------- next part -------------- A non-text attachment was scrubbed... Name: fistart.pd Type: application/octet-stream Size: 927 bytes Desc: not available URL: From jack at rybn.org Fri Aug 14 14:56:54 2015 From: jack at rybn.org (Jack) Date: Fri, 14 Aug 2015 14:56:54 +0200 Subject: [PD] control a value with number box and slider at the same time In-Reply-To: References: Message-ID: <55CDE596.4070207@rybn.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Or use the 'set' message to change the value show in a number box or slider. |0\ | [set $1( | | | | ++ Jack Le 14/08/2015 13:34, Simon Iten a écrit : > hi list, > > i remember there was a discussion a while ago about sliders and > numberboxes controlling the same value. (and the loop that caused > problems) here is my take on it with vanilla objects. it does need > some work for every control, but it does the job! > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and > account-management -> http://lists.puredata.info/listinfo/pd-list > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVzeWQAAoJEOuluecjw8GUtRQIAJ9QZMolgvrnjcNqyRYAsEDO BwQGFHSr+lfLJMwQTUf/Th+aJtzkaRufmF7KTEWJK94i4ApA4iX08gJStFDCuHe0 JyWWmE9cprQc83HKB3TFtJxGzqU+LM+hCM1ckPuwEzVZLgZlM+dHzfPfvaozYsI4 HBCm5Sboa3rwnxKvn3CBnpNhsdr5efzG5XOae9QNpDamzvObEcEkUztRf/LAiQLC GoxKDRuu5Dm2cRgHvEcLXhLBSE0USJ06WtLXJVCJrhWQr93yjl/3brZm5XXJ0x+a S33jqZaQIe67Xxv3u/fIkHhZSFIA3nf92IgBZ/7kdnm4ssePleQpHNt2OQhQsw4= =W8+N -----END PGP SIGNATURE----- From antoine.villeret at gmail.com Fri Aug 14 15:10:15 2015 From: antoine.villeret at gmail.com (Antoine Villeret) Date: Fri, 14 Aug 2015 15:10:15 +0200 Subject: [PD] BUG ? In-Reply-To: <7CCE9E78-9138-4F88-A993-2C4BAF781BAF@gmail.com> References: <7CCE9E78-9138-4F88-A993-2C4BAF781BAF@gmail.com> Message-ID: I don't think this is a bug, it's just that 'c' is not egal to 'C' for Pd. -- do it yourself http://antoine.villeret.free.fr 2015-08-14 13:28 GMT+02:00 Simon Iten : > hi list, > > if i try to copy and paste via shortcuts on osx, it does not work with > CAPSLOCK on :-) > > maybe that is a bug? > > simon > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Fri Aug 14 15:40:19 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Fri, 14 Aug 2015 13:40:19 +0000 (UTC) Subject: [PD] BUG ? In-Reply-To: References: <7CCE9E78-9138-4F88-A993-2C4BAF781BAF@gmail.com> Message-ID: <951987788.4641459.1439559619413.JavaMail.yahoo@mail.yahoo.com> I can copy/paste with or without CapsLock in the nw.js port of the GUI.  So it's probably just a matter of someone creating bindings for 'C' and 'V' in Pd-Vanilla.  (Can't remember if that happens in tcl/tk or in C, but either way it shouldn't be difficult to fix.) -Jonathan On Friday, August 14, 2015 9:11 AM, Antoine Villeret wrote: I don't think this is a bug,it's just that 'c' is not egal to 'C' for Pd. -- do it yourself                       http://antoine.villeret.free.fr 2015-08-14 13:28 GMT+02:00 Simon Iten : hi list, if i try to copy and paste via shortcuts on osx, it does not work with CAPSLOCK on :-) maybe that is a bug? simon _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From itensimon at gmail.com Fri Aug 14 17:31:30 2015 From: itensimon at gmail.com (Simon Iten) Date: Fri, 14 Aug 2015 17:31:30 +0200 Subject: [PD] BUG ? In-Reply-To: References: <7CCE9E78-9138-4F88-A993-2C4BAF781BAF@gmail.com> Message-ID: <64E5C8DE-D771-471A-AF3F-170CCF17EAC1@gmail.com> > On 14 Aug 2015, at 15:10, Antoine Villeret wrote: > > it's just that 'c' is not egal to 'C' for Pd. but i think in this case it should be egal… because actually i don’t think about the letter c when i want to copy (well not anymore) it’s more an automatism, which should work even when i’m using caps lock... -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Fri Aug 14 19:22:08 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Fri, 14 Aug 2015 19:22:08 +0200 Subject: [PD] control a value with number box and slider at the same time In-Reply-To: References: Message-ID: <55CE23C0.5070601@iem.at> On 08/14/2015 01:34 PM, Simon Iten wrote: > hi list, > > i remember there was a discussion a while ago about sliders and numberboxes controlling the same value. (and the loop that caused problems) > here is my take on it with vanilla objects. it does need some work for every control, but it does the job! > when using nbx2 (aka iemgui-numberbox; aka Shift-Ctrl-N), you can simply assign both slider and numberbox the same send *and* receive label. and mix in radio buttons, and whatnot. see attached example gfmards IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: multicontrol.pd Type: text/x-puredata Size: 492 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From itensimon at gmail.com Fri Aug 14 19:47:10 2015 From: itensimon at gmail.com (Simon Iten) Date: Fri, 14 Aug 2015 19:47:10 +0200 Subject: [PD] control a value with number box and slider at the same time In-Reply-To: <55CE23C0.5070601@iem.at> References: <55CE23C0.5070601@iem.at> Message-ID: <947B0C98-FFA7-4349-B96D-4890D06310E7@gmail.com> ah cool, thanks! is there a way to make a slider with only int values? (other than using int after the slider) > On 14 Aug 2015, at 19:22, IOhannes m zmölnig wrote: > > On 08/14/2015 01:34 PM, Simon Iten wrote: >> hi list, >> >> i remember there was a discussion a while ago about sliders and numberboxes controlling the same value. (and the loop that caused problems) >> here is my take on it with vanilla objects. it does need some work for every control, but it does the job! >> > > when using nbx2 (aka iemgui-numberbox; aka Shift-Ctrl-N), you can simply > assign both slider and numberbox the same send *and* receive label. > and mix in radio buttons, and whatnot. > > see attached example > > gfmards > IOhannes > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list From liamg_uw at hotmail.com Fri Aug 14 19:52:50 2015 From: liamg_uw at hotmail.com (Liam Goodacre) Date: Fri, 14 Aug 2015 18:52:50 +0100 Subject: [PD] [PD-announce] announcing Context, a modular sequencer for PD Message-ID: The Context Modular Sequencer is a new sequencer for PD. You can use it as a building block to create patterns and compositions, incorporating randomness and generation at any level of the music. It is easy to use but packed with features, great for novices and experienced composers alike. The patch has taken over a year to develop and has many innovations, including automatic state-saving and various types of spacial interaction. Visit the website https://contextsequencer.wordpress.com/ to see an example video and to download the patch and full documentation (PD-extended required). I would welcome feedback and suggestions either on the PD list or on the wordpress site itself. Hope you enjoy the program! Please share anything you make with it. Liam Goodacre -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Pd-announce mailing list Pd-announce at lists.iem.at http://lists.puredata.info/listinfo/pd-announce From zmoelnig at iem.at Fri Aug 14 19:54:34 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Fri, 14 Aug 2015 19:54:34 +0200 Subject: [PD] control a value with number box and slider at the same time In-Reply-To: <947B0C98-FFA7-4349-B96D-4890D06310E7@gmail.com> References: <55CE23C0.5070601@iem.at> <947B0C98-FFA7-4349-B96D-4890D06310E7@gmail.com> Message-ID: <55CE2B5A.8000603@iem.at> On 08/14/2015 07:47 PM, Simon Iten wrote: > ah cool, thanks! > > is there a way to make a slider with only int values? (other than using int after the slider) tweak the size of the slider so that each pixel corresponds to an integer value :-( but then: - you can shift-drag he slider (just as with numberboxes), to get finer resolution (1%) - if you also have numberboxes in the game, the user could manually enter a fractal number (apart from shift-dragging) so i think the only sane way to ensure integer numbers is by casting them to [int] at the receiving side. personally i even prefer the [int] because it is made explicit in the patch (whereas all magic you do within the gui-properties of the slider are non-obvious). vmsdr IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From treegestalt at gmail.com Fri Aug 14 20:39:01 2015 From: treegestalt at gmail.com (Forrest Curo) Date: Fri, 14 Aug 2015 11:39:01 -0700 Subject: [PD] [PD-announce] announcing Context, a modular sequencer for PD In-Reply-To: References: Message-ID: Um, that directs me to a site that says pd-extended is a package available via synaptic or ubuntu software center, but 'tis not so. Have enough extended features been incorporated into the current pd package to make pd-extended redundant? -- for this application, for example? On Fri, Aug 14, 2015 at 10:52 AM, Liam Goodacre wrote: > The Context Modular Sequencer is a new sequencer for PD. You can use it as > a building block to create patterns and compositions, incorporating > randomness and generation at any level of the music. It is easy to use but > packed with features, great for novices and experienced composers alike. > The patch has taken over a year to develop and has many innovations, > including automatic state-saving and various types of spacial interaction. > > Visit the website https://contextsequencer.wordpress.com/ to see an > example video and to download the patch and full documentation (PD-extended > required). > > I would welcome feedback and suggestions either on the PD list or on the > wordpress site itself. > > Hope you enjoy the program! Please share anything you make with it. > > Liam Goodacre > > _______________________________________________ > Pd-announce mailing list > Pd-announce at lists.iem.at > http://lists.puredata.info/listinfo/pd-announce > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Fri Aug 14 21:15:14 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Fri, 14 Aug 2015 21:15:14 +0200 Subject: [PD] [PD-announce] announcing Context, a modular sequencer for PD In-Reply-To: References: Message-ID: <55CE3E42.40800@iem.at> On 08/14/2015 08:39 PM, Forrest Curo wrote: > Have enough extended features been incorporated into the current pd package never! the "puredata" package in Debian will stay Pd-vanilla. however,... > to make pd-extended redundant? -- for this application, for example? ...there are many many additional pd-* packages available which might provide enough stuff for *this application*. so the question stands fgsadrm IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From treegestalt at gmail.com Fri Aug 14 23:28:17 2015 From: treegestalt at gmail.com (Forrest Curo) Date: Fri, 14 Aug 2015 14:28:17 -0700 Subject: [PD] [PD-announce] announcing Context, a modular sequencer for PD In-Reply-To: <55CE3E42.40800@iem.at> References: <55CE3E42.40800@iem.at> Message-ID: Ooops! Okay, so it seems to want iemguts and demux, so far as I've looked into it... And those aren't loading, even though I've got the help files. So I'd need zexy, would that be? On Fri, Aug 14, 2015 at 12:15 PM, IOhannes m zmölnig wrote: > On 08/14/2015 08:39 PM, Forrest Curo wrote: > > Have enough extended features been incorporated into the current pd > package > > never! > the "puredata" package in Debian will stay Pd-vanilla. > however,... > > > to make pd-extended redundant? -- for this application, for example? > > ...there are many many additional pd-* packages available which might > provide enough stuff for *this application*. > > so the question stands > > fgsadrm > IOhannes > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From liamg_uw at hotmail.com Sat Aug 15 09:29:29 2015 From: liamg_uw at hotmail.com (Liam Goodacre) Date: Sat, 15 Aug 2015 08:29:29 +0100 Subject: [PD] [PD-announce] announcing Context, a modular > sequencer for PD In-Reply-To: References: Message-ID: Are you asking if Context can be made compatible with PD-Vanilla? As IOhannes says, this should be possible by installing some extra packages. I've only ever had Extended installed, so I don't know exactly which packages I've used that aren't available in Vanilla. Maybe someone with Vanilla could run the program and tell me what pops up in the error console? BTW, Extended is still easy to install on Ubuntu by adding the right ppa, as detailed on the official page. From: liamg_uw at hotmail.com To: pd-list at lists.iem.at Subject: [PD] [PD-announce] announcing Context, a modular > sequencer for PD Date: Sat, 15 Aug 2015 07:47:29 +0100 Are you asking if Context can be made compatible with PD-Vanilla? If > Message: 6 > Date: Fri, 14 Aug 2015 21:15:14 +0200 > From: IOhannes m zmölnig > To: pd-list at lists.iem.at > Subject: Re: [PD] [PD-announce] announcing Context, a modular > sequencer for PD > Message-ID: <55CE3E42.40800 at iem.at> > Content-Type: text/plain; charset="utf-8" > > On 08/14/2015 08:39 PM, Forrest Curo wrote: > > Have enough extended features been incorporated into the current pd package > > never! > the "puredata" package in Debian will stay Pd-vanilla. > however,... > > > to make pd-extended redundant? -- for this application, for example? > > ...there are many many additional pd-* packages available which might > provide enough stuff for *this application*. > > so the question stands > > fgsadrm > IOhannes > > -------------- next part -------------- > A non-text attachment was scrubbed... > Name: signature.asc > Type: application/pgp-signature > Size: 819 bytes > Desc: OpenPGP digital signature > URL: > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Pd-list mailing list > Pd-list at lists.iem.at > to manage your subscription (including un-subscription) see > http://lists.puredata.info/listinfo/pd-list > > > ------------------------------ > > End of Pd-list Digest, Vol 125, Issue 15 > **************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Sat Aug 15 09:54:24 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Sat, 15 Aug 2015 09:54:24 +0200 Subject: [PD] [PD-announce] announcing Context, a modular > sequencer for PD In-Reply-To: References: Message-ID: <55CEF030.5040508@iem.at> On 08/15/2015 09:29 AM, Liam Goodacre wrote: > Are you asking if Context can be made compatible with PD-Vanilla? As IOhannes says, this should be possible by installing some extra packages. I've only ever had Extended installed, so I don't know exactly which packages I've used that aren't available in Vanilla. Maybe someone with Vanilla could run the program and tell me what pops up in the error console? > > BTW, Extended is still easy to install on Ubuntu by adding the right ppa, as detailed on the official page. > maybe, but Pd-extended is dead since about 2 years. fgmrdsa IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From zmoelnig at iem.at Sat Aug 15 09:55:14 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Sat, 15 Aug 2015 09:55:14 +0200 Subject: [PD] [PD-announce] announcing Context, a modular sequencer for PD In-Reply-To: References: <55CE3E42.40800@iem.at> Message-ID: <55CEF062.8010109@iem.at> On 08/14/2015 11:28 PM, Forrest Curo wrote: > Ooops! > Okay, so it seems to want iemguts and demux, so far as I've looked into > it... And those aren't loading, even though I've got the help files. So I'd > need zexy, would that be? pd-zexy is available (and includes [demux]). but pd-iemguts has been uploaded to Debian only this week (and is not available yet in Debian/sid, not to speak of any ubuntu) gfmrdsa IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From colet.patrice at free.fr Sat Aug 15 16:27:57 2015 From: colet.patrice at free.fr (patrice colet) Date: Sat, 15 Aug 2015 16:27:57 +0200 Subject: [PD] [PD-announce] announcing Context, a modular > sequencer for PD In-Reply-To: <55CEF030.5040508@iem.at> References: <55CEF030.5040508@iem.at> Message-ID: <55CF4C6D.5040302@free.fr> Hi, Isn't Deken a good alternative to replace pd-extended? I didn't try it yet but it exactly look like what I've expected from pdx... Le 15/08/2015 09:54, IOhannes m zmölnig a écrit : > On 08/15/2015 09:29 AM, Liam Goodacre wrote: >> Are you asking if Context can be made compatible with PD-Vanilla? As IOhannes says, this should be possible by installing some extra packages. I've only ever had Extended installed, so I don't know exactly which packages I've used that aren't available in Vanilla. Maybe someone with Vanilla could run the program and tell me what pops up in the error console? >> >> BTW, Extended is still easy to install on Ubuntu by adding the right ppa, as detailed on the official page. >> > maybe, but Pd-extended is dead since about 2 years. > > fgmrdsa > IOhannes > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From jaime.oliver2 at gmail.com Sat Aug 15 16:36:54 2015 From: jaime.oliver2 at gmail.com (Jaime E Oliver) Date: Sat, 15 Aug 2015 09:36:54 -0500 Subject: [PD] [PD-announce] announcing Context, a modular > sequencer for PD In-Reply-To: <55CF4C6D.5040302@free.fr> References: <55CEF030.5040508@iem.at> <55CF4C6D.5040302@free.fr> Message-ID: Is deken officially working? J On Aug 15, 2015, at 9:27 AM, patrice colet wrote: > Hi, > > Isn't Deken a good alternative to replace pd-extended? I didn't try it yet but it exactly look like what I've expected from pdx... > > Le 15/08/2015 09:54, IOhannes m zmölnig a écrit : >> On 08/15/2015 09:29 AM, Liam Goodacre wrote: >>> Are you asking if Context can be made compatible with PD-Vanilla? As IOhannes says, this should be possible by installing some extra packages. I've only ever had Extended installed, so I don't know exactly which packages I've used that aren't available in Vanilla. Maybe someone with Vanilla could run the program and tell me what pops up in the error console? >>> >>> BTW, Extended is still easy to install on Ubuntu by adding the right ppa, as detailed on the official page. >>> >> maybe, but Pd-extended is dead since about 2 years. >> >> fgmrdsa >> IOhannes >> >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From treegestalt at gmail.com Sat Aug 15 18:59:53 2015 From: treegestalt at gmail.com (Forrest Curo) Date: Sat, 15 Aug 2015 09:59:53 -0700 Subject: [PD] [PD-announce] announcing Context, a modular > sequencer for PD In-Reply-To: References: <55CEF030.5040508@iem.at> <55CF4C6D.5040302@free.fr> Message-ID: These instructions no longer work: https://puredata.info/docs/faq/debian That is, they work up to sudo apt-get install pd-extended, which then produces: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package pd-extended ----------------- In any case, I've found pd-extended a problem to use with csound, since it insists on clobbering the audio channels On Sat, Aug 15, 2015 at 7:36 AM, Jaime E Oliver wrote: > Is deken officially working? > J > > On Aug 15, 2015, at 9:27 AM, patrice colet wrote: > > Hi, > > Isn't Deken a good alternative to replace pd-extended? I didn't try it > yet but it exactly look like what I've expected from pdx... > > Le 15/08/2015 09:54, IOhannes m zmölnig a écrit : > > On 08/15/2015 09:29 AM, Liam Goodacre wrote: > > Are you asking if Context can be made compatible with PD-Vanilla? As IOhannes says, this should be possible by installing some extra packages. I've only ever had Extended installed, so I don't know exactly which packages I've used that aren't available in Vanilla. Maybe someone with Vanilla could run the program and tell me what pops up in the error console? > > BTW, Extended is still easy to install on Ubuntu by adding the right ppa, as detailed on the official page. > > > maybe, but Pd-extended is dead since about 2 years. > > fgmrdsa > IOhannes > > > > > _______________________________________________Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrcki at gmail.com Sat Aug 15 20:09:11 2015 From: adrcki at gmail.com (Alexandros Drymonitis) Date: Sat, 15 Aug 2015 21:09:11 +0300 Subject: [PD] [PD-announce] announcing Context, a modular > sequencer for PD In-Reply-To: References: <55CEF030.5040508@iem.at> <55CF4C6D.5040302@free.fr> Message-ID: On Sat, Aug 15, 2015 at 7:59 PM, Forrest Curo wrote: > These instructions no longer work: > https://puredata.info/docs/faq/debian > I've recently installed Pd-exetnded on Debian using these instructions. Only for the first step, adding the repository, I had to first do this: sudo apt-get install software-properties-common Then it all worked fine.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From treegestalt at gmail.com Sat Aug 15 23:10:40 2015 From: treegestalt at gmail.com (Forrest Curo) Date: Sat, 15 Aug 2015 14:10:40 -0700 Subject: [PD] [PD-announce] announcing Context, a modular > sequencer for PD In-Reply-To: References: <55CEF030.5040508@iem.at> <55CF4C6D.5040302@free.fr> Message-ID: for me (on ubuntu 15.04) fails at update: Fetched 1,157 kB in 1min 14s (15.5 kB/s) W: Failed to fetch http://apt.puredata.info/releases/dists/vivid/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://apt.puredata.info/releases/dists/vivid/main/binary-i386/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/eighthave/pd-extended/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found W: Failed to fetch http://ppa.launchpad.net/eighthave/pd-extended/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found E: Some index files failed to download. They have been ignored, or old ones used instead. ----------------- and so, still 'failed to locate package.' Zexy is no doubt here somewhere, but to get iemguts? On Sat, Aug 15, 2015 at 11:09 AM, Alexandros Drymonitis wrote: > > > On Sat, Aug 15, 2015 at 7:59 PM, Forrest Curo > wrote: > >> These instructions no longer work: >> https://puredata.info/docs/faq/debian >> > I've recently installed Pd-exetnded on Debian using these instructions. > Only for the first step, adding the repository, I had to first do this: > > sudo apt-get install software-properties-common > > Then it all worked fine.. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From liamg_uw at hotmail.com Sat Aug 15 23:37:49 2015 From: liamg_uw at hotmail.com (Liam Goodacre) Date: Sat, 15 Aug 2015 22:37:49 +0100 Subject: [PD] Pd-list Digest, Vol 125, Issue 17 In-Reply-To: References: Message-ID: I think that this is how I got Extended running on 15.04: 1. sudo gedit /etc/apt/sources.list 2. find the line "deb http://apt.puredata.info/releases vivid main" 3. replace with "deb http://apt.puredata.info/releases raring main" 4. sudo apt-get update 5. sudo apt-get install pd-extended -y This is not guaranteed though. > Message: 5 > Date: Sat, 15 Aug 2015 14:10:40 -0700 > From: Forrest Curo > To: pd-list > Subject: Re: [PD] [PD-announce] announcing Context, a modular > > sequencer for PD > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > for me (on ubuntu 15.04) fails at update: > Fetched 1,157 kB in 1min 14s (15.5 > kB/s) > > W: Failed to fetch > http://apt.puredata.info/releases/dists/vivid/main/binary-amd64/Packages > 404 Not Found > > W: Failed to fetch > http://apt.puredata.info/releases/dists/vivid/main/binary-i386/Packages > 404 Not Found > > W: Failed to fetch > http://ppa.launchpad.net/eighthave/pd-extended/ubuntu/dists/vivid/main/binary-amd64/Packages > 404 Not Found > > W: Failed to fetch > http://ppa.launchpad.net/eighthave/pd-extended/ubuntu/dists/vivid/main/binary-i386/Packages > 404 Not Found > > E: Some index files failed to download. They have been ignored, or old ones > used instead. > ----------------- > and so, still 'failed to locate package.' > > Zexy is no doubt here somewhere, but to get iemguts? -------------- next part -------------- An HTML attachment was scrubbed... URL: From treegestalt at gmail.com Sun Aug 16 00:35:59 2015 From: treegestalt at gmail.com (Forrest Curo) Date: Sat, 15 Aug 2015 15:35:59 -0700 Subject: [PD] Pd-list Digest, Vol 125, Issue 17 In-Reply-To: References: Message-ID: Yes, I now have both pd and pd-extended on my menu, thanks! Is it straightforward to copy libraries between them -- I'm asking, because I find pd-vanilla a lot more tractible in terms of keeping within the audio and midi settings I assign it to -- so as to use csound for sound generation, with pd generating notes for it. On Sat, Aug 15, 2015 at 2:37 PM, Liam Goodacre wrote: > I think that this is how I got Extended running on 15.04: > > 1. sudo gedit /etc/apt/sources.list > 2. find the line "deb http://apt.puredata.info/releases vivid main" > 3. replace with "deb http://apt.puredata.info/releases raring main" > 4. sudo apt-get update > 5. sudo apt-get install pd-extended -y > > This is not guaranteed though. > > > > Message: 5 > > Date: Sat, 15 Aug 2015 14:10:40 -0700 > > From: Forrest Curo > > To: pd-list > > Subject: Re: [PD] [PD-announce] announcing Context, a modular > > > sequencer for PD > > Message-ID: > > > > Content-Type: text/plain; charset="utf-8" > > > > for me (on ubuntu 15.04) fails at update: > > Fetched 1,157 kB in 1min 14s (15.5 > > kB/s) > > > > W: Failed to fetch > > http://apt.puredata.info/releases/dists/vivid/main/binary-amd64/Packages > > 404 Not Found > > > > W: Failed to fetch > > http://apt.puredata.info/releases/dists/vivid/main/binary-i386/Packages > > 404 Not Found > > > > W: Failed to fetch > > > http://ppa.launchpad.net/eighthave/pd-extended/ubuntu/dists/vivid/main/binary-amd64/Packages > > 404 Not Found > > > > W: Failed to fetch > > > http://ppa.launchpad.net/eighthave/pd-extended/ubuntu/dists/vivid/main/binary-i386/Packages > > 404 Not Found > > > > E: Some index files failed to download. They have been ignored, or old > ones > > used instead. > > ----------------- > > and so, still 'failed to locate package.' > > > > Zexy is no doubt here somewhere, but to get iemguts? > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jwmatthys at gmail.com Sun Aug 16 01:19:17 2015 From: jwmatthys at gmail.com (Joel Matthys) Date: Sat, 15 Aug 2015 18:19:17 -0500 Subject: [PD] [PD-announce] announcing Context, a modular sequencer for PD In-Reply-To: <55CEF062.8010109@iem.at> References: <55CE3E42.40800@iem.at> <55CEF062.8010109@iem.at> Message-ID: <55CFC8F5.1020609@gmail.com> FWIW, when I make a project I want to share with others, I copy the externals to the project folder and include them in the download. That way people can just use Vanilla without needing to download or apt-get other things. Joel On 08/15/2015 02:55 AM, IOhannes m zmölnig wrote: > On 08/14/2015 11:28 PM, Forrest Curo wrote: >> Ooops! >> Okay, so it seems to want iemguts and demux, so far as I've looked into >> it... And those aren't loading, even though I've got the help files. So I'd >> need zexy, would that be? > pd-zexy is available (and includes [demux]). > but pd-iemguts has been uploaded to Debian only this week (and is not > available yet in Debian/sid, not to speak of any ubuntu) > > gfmrdsa > IOhannes > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From megrimm at gmail.com Sun Aug 16 01:55:58 2015 From: megrimm at gmail.com (me.grimm) Date: Sat, 15 Aug 2015 19:55:58 -0400 Subject: [PD] [PD-announce] announcing Context, a modular sequencer for PD In-Reply-To: <55CFC8F5.1020609@gmail.com> References: <55CE3E42.40800@iem.at> <55CEF062.8010109@iem.at> <55CFC8F5.1020609@gmail.com> Message-ID: i assume it might be possible for deken to auto-download externals when opening a patch that require said externals... ?? btw i know its a work in progress but deken is awesome... thanks for all the work! On Sat, Aug 15, 2015 at 7:19 PM, Joel Matthys wrote: > FWIW, when I make a project I want to share with others, I copy the > externals to the project folder and include them in the download. That way > people can just use Vanilla without needing to download or apt-get other > things. > > Joel > > > On 08/15/2015 02:55 AM, IOhannes m zmölnig wrote: > > On 08/14/2015 11:28 PM, Forrest Curo wrote: > > Ooops! > Okay, so it seems to want iemguts and demux, so far as I've looked into > it... And those aren't loading, even though I've got the help files. So I'd > need zexy, would that be? > > pd-zexy is available (and includes [demux]). > but pd-iemguts has been uploaded to Debian only this week (and is not > available yet in Debian/sid, not to speak of any ubuntu) > > gfmrdsa > IOhannes > > > > > _______________________________________________Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- ____________________ m.e.grimm, m.f.a, ed.m. syracuse u., tc3 megrimm.net ____________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From gilbertohasnofb at googlemail.com Sun Aug 16 15:11:58 2015 From: gilbertohasnofb at googlemail.com (Gilberto Agostinho) Date: Sun, 16 Aug 2015 15:11:58 +0200 Subject: [PD] cannot create moonlib/absolutepath on Windows Message-ID: <55D08C1E.8010207@gmail.com> Hello all, I had previously released a small abstraction of a visual keyboard for Pd (see: http://forum.pdpatchrepo.info/topic/8584/keyboards-gui-for-midi/1 ), but I had tested it only on Linux. Now, I got some reports from Windows users that they can't create [moonlib/absolutepath] on their system, which I used in that abstraction. They get the following error message: ...couln't create {new line} load_object: Symbol "absolutepath_setup" not found. We did some troubleshooting, and here is what we found: - [import moonlib] does not make any difference - nor does using [moonlib/absolutepath] instead of [absolutepath] - they are able to create other moonlib externals, such as [image], [mknob], etc. - the last line of the source code for absolutepath says /* NOT _WIN32 */ but the problem is present on Windows 64-bit Has anyone else encountered this problem? And does anyone know a solution to it? Cheers, Gilberto Agostinho From claude at mathr.co.uk Sun Aug 16 15:32:36 2015 From: claude at mathr.co.uk (Claude Heiland-Allen) Date: Sun, 16 Aug 2015 14:32:36 +0100 Subject: [PD] cannot create moonlib/absolutepath on Windows In-Reply-To: <55D08C1E.8010207@gmail.com> References: <55D08C1E.8010207@gmail.com> Message-ID: <55D090F4.1000104@mathr.co.uk> Windows has a different notion of paths to unix-like systems, including drive specifiers. The first line of moonlib/absolutepath.c[1] is #ifndef _WIN32 so the file is empty when compiling for Windows. (Perhaps it could contain an alternative implementation that prints a more useful error message.) The non-Windows implementation uses dirname() from libgen.h, which isn't available on Windows as far as I can tell. A suggested alternative is _splitpath_s[2]. [1] http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/moonlib/absolutepath.c#l1 [2] https://msdn.microsoft.com/en-us/library/8e46eyt7.aspx On 16/08/15 14:11, Gilberto Agostinho via Pd-list wrote: > Hello all, > > I had previously released a small abstraction of a visual keyboard for > Pd (see: > http://forum.pdpatchrepo.info/topic/8584/keyboards-gui-for-midi/1 ), but > I had tested it only on Linux. Now, I got some reports from Windows > users that they can't create [moonlib/absolutepath] on their system, > which I used in that abstraction. They get the following error message: > > ...couln't create {new line} load_object: Symbol "absolutepath_setup" > not found. > > We did some troubleshooting, and here is what we found: > > - [import moonlib] does not make any difference > - nor does using [moonlib/absolutepath] instead of [absolutepath] > - they are able to create other moonlib externals, such as [image], > [mknob], etc. > - the last line of the source code for absolutepath says /* NOT _WIN32 > */ but the problem is present on Windows 64-bit > > Has anyone else encountered this problem? And does anyone know a > solution to it? > > Cheers, > Gilberto Agostinho > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list From gilbertohasnofb at googlemail.com Sun Aug 16 15:39:13 2015 From: gilbertohasnofb at googlemail.com (Gilberto Agostinho) Date: Sun, 16 Aug 2015 15:39:13 +0200 Subject: [PD] cannot create moonlib/absolutepath on Windows In-Reply-To: <55D090F4.1000104@mathr.co.uk> References: <55D08C1E.8010207@gmail.com> <55D090F4.1000104@mathr.co.uk> Message-ID: <55D09281.1080805@gmail.com> Hi Claude, On 16/08/15 15:32, Claude Heiland-Allen wrote: > Windows has a different notion of paths to unix-like systems, > including drive specifiers. > > The first line of moonlib/absolutepath.c[1] is > > #ifndef _WIN32 > > so the file is empty when compiling for Windows. Thanks for the information. In that case, I will add a small note to my objects that rely on [absolutepath] that they are only Linux/OS X compatible. Cheers, Gilberto From emviveros at gmail.com Mon Aug 17 01:49:56 2015 From: emviveros at gmail.com (Esteban Viveros) Date: Sun, 16 Aug 2015 23:49:56 +0000 Subject: [PD] Problem loading Gem in Pd-0.46-6 - Osx Message-ID: Hi, I'm try load Gem precompiled in pd-extended (0.42.5 and 0.43.4) in pd 0.46-6 without success in Yosemite. I have this message in console: /Applications/Pd-extended 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin: dlopen(/Applications/Pd-extended 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin, 10): Library not loaded: @executable_path/../../lib/libfreetype.6.dylib Referenced from: /Applications/Pd-extended 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin Reason: image not found Gem: can't load library What I'm doing wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: From looplog at gmail.com Mon Aug 17 08:26:52 2015 From: looplog at gmail.com (michael noble) Date: Mon, 17 Aug 2015 15:26:52 +0900 Subject: [PD] Odroid C1, RPI2 and Puredata Message-ID: Hi Folks Would anyone running PD on the Odroid C1 or the RPI2 care to comment on what is working or what isn't in terms of PD Vanilla or externals? Also, what versions of PD are available? So far as I can tell, the RPI2 has at least least two or three binary builds available (wheezy/jessie/Miller's). There are also some extended builds floating around and the pd-l2ork rpi build. What about the Odroid? What kind of latency is possible with these boards? Finally, are there any other boards people would recommend in the same price bracket? The Orange Pi Plus looks to be a very well-specced board, for example, but also seems to potentially have a lot of software support issues. thanks Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Mon Aug 17 09:22:24 2015 From: zmoelnig at iem.at (IOhannes m zmoelnig) Date: Mon, 17 Aug 2015 09:22:24 +0200 Subject: [PD] Problem loading Gem in Pd-0.46-6 - Osx In-Reply-To: References: Message-ID: <55D18BB0.3010207@iem.at> On 2015-08-17 01:49, Esteban Viveros wrote: > Hi, > > I'm try load Gem precompiled in pd-extended (0.42.5 and 0.43.4) in pd > 0.46-6 without success in Yosemite. I have this message in console: > > /Applications/Pd-extended > 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin: > dlopen(/Applications/Pd-extended > 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin, 10): Library not > loaded: @executable_path/../../lib/libfreetype.6.dylib > Referenced from: /Applications/Pd-extended > 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin > Reason: image not found > Gem: can't load library > > What I'm doing wrong? Gem requires a number of 3rd party libraries to be present on the system. (luckily, most of these dependencies are optional: not having them will just disable parts of Gem's functionality - leaving the rest functional; unfortunately font-support is mandatory, so you need libfreetype/libftgl/... in order to use Gem at all). pd-extended ships these libraries in the app's "lib" folder, and has modified Gem to use these libraries (as found on a specific path relative to the Pd binary) since you just copied Gem around (without the requried libs), the dependencies can no longer be found and thus Gem fails to load. you should use a Gem that comes with the bundled libs. one of these is the package found at http://gem.iem.at iirc, the deken packages i uploaded also have the libraries included (and the search path fixed to use them). fgmadf IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From zmoelnig at iem.at Mon Aug 17 09:29:49 2015 From: zmoelnig at iem.at (IOhannes m zmoelnig) Date: Mon, 17 Aug 2015 09:29:49 +0200 Subject: [PD] Odroid C1, RPI2 and Puredata In-Reply-To: References: Message-ID: <55D18D6D.1020402@iem.at> On 2015-08-17 08:26, michael noble wrote: > Also, what versions of PD are available? what exactly qualifies as "available"? do you require binaries? can you use the source? there should be instructions in the mailinglist archives on how to build the latest puredata package from Debian/sid (currently 0.46.6-2; which is the same as miller's latest release, plus some fixes that will appear in miler's *next* release) on an older Debian-based system. afmsdr IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From looplog at gmail.com Mon Aug 17 10:27:02 2015 From: looplog at gmail.com (michael noble) Date: Mon, 17 Aug 2015 17:27:02 +0900 Subject: [PD] Odroid C1, RPI2 and Puredata In-Reply-To: <55D18D6D.1020402@iem.at> References: <55D18D6D.1020402@iem.at> Message-ID: On Mon, Aug 17, 2015 at 4:29 PM, IOhannes m zmoelnig wrote: > what exactly qualifies as "available"? > > do you require binaries? > can you use the source? > A fair question. In retrospect my question was definitely vague or overly general, and something I could answer myself with more searching. To be honest, the info out there is spread far and wide, so I was hoping there would be some folks on list that have had experience more more than one of the boards. To answer your question, I'm fine with building from source when necessary.That being said, I am interested in where efforts in packaging are taking place, as it gives an indication of where the majority of testing is going on. thanks M -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Mon Aug 17 16:36:51 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 17 Aug 2015 14:36:51 +0000 (UTC) Subject: [PD] free C lesson Message-ID: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> Hi list,Wondering if someone will give me a free lesson in C programming. In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: *(t_float *)(((char *)vec) + onset)); Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) Thanks,Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: From danomatika at gmail.com Mon Aug 17 16:42:38 2015 From: danomatika at gmail.com (Dan Wilcox) Date: Mon, 17 Aug 2015 10:42:38 -0400 Subject: [PD] Problem loading Gem in Pd-0.46-6 - Osx In-Reply-To: References: Message-ID: <9E8B60AA-F786-423E-94A0-8A27DB2102D1@gmail.com> You forgot to copy the “lib” folder inside the Pd-extended app bundle into the Pd 0.46 bundle. I’ve done this and Gem works fine for me. -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com > On Aug 17, 2015, at 3:30 AM, pd-list-request at lists.iem.at wrote: > > From: Esteban Viveros > > Subject: [PD] Problem loading Gem in Pd-0.46-6 - Osx > Date: August 16, 2015 at 7:49:56 PM EDT > To: Pd-list at lists.iem.at > > > Hi, > > I'm try load Gem precompiled in pd-extended (0.42.5 and 0.43.4) in pd 0.46-6 without success in Yosemite. I have this message in console: > > /Applications/Pd-extended 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin: dlopen(/Applications/Pd-extended 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin, 10): Library not loaded: @executable_path/../../lib/libfreetype.6.dylib > Referenced from: /Applications/Pd-extended 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin > Reason: image not found > Gem: can't load library > > What I'm doing wrong? -------------- next part -------------- An HTML attachment was scrubbed... URL: From claude at mathr.co.uk Mon Aug 17 16:55:00 2015 From: claude at mathr.co.uk (Claude Heiland-Allen) Date: Mon, 17 Aug 2015 15:55:00 +0100 Subject: [PD] free C lesson In-Reply-To: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> Message-ID: <55D1F5C4.6070101@mathr.co.uk> On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > Hi list,Wondering if someone will give me a free lesson in C programming. > In g_traversal.c, there's some code to retrieve a float from a t_word* vec. It looks like this: > *(t_float *)(((char *)vec) + onset)); > Why does vec need to be cast to char*? t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right? (Otherwise we'd have big problems...) aiui pointer arithmetic is in increments of sizeof(pointee) if onset is measured in bytes (I don't know if it is in this case, but it looks likely), then you need to have a pointer to bytes for the addition to be meaningful. vec is already a pointer, but adding onset to a t_word* would offset the address by onset*sizeof(t_word) bytes From jancsika at yahoo.com Mon Aug 17 17:10:35 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 17 Aug 2015 15:10:35 +0000 (UTC) Subject: [PD] free C lesson In-Reply-To: <55D1F5C4.6070101@mathr.co.uk> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> Message-ID: <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? -Jonathan On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > Hi list,Wondering if someone will give me a free lesson in C programming. > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > *(t_float *)(((char *)vec) + onset)); > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) aiui pointer arithmetic is in increments of sizeof(pointee) if onset is measured in bytes (I don't know if it is in this case, but it looks likely), then you need to have a pointer to bytes for the addition to be meaningful.  vec is already a pointer, but adding onset to a t_word* would offset the address by onset*sizeof(t_word) bytes _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From msp at ucsd.edu Mon Aug 17 17:31:10 2015 From: msp at ucsd.edu (Miller Puckette) Date: Mon, 17 Aug 2015 08:31:10 -0700 Subject: [PD] free C lesson In-Reply-To: <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20150817153110.GB4558@fuzz.localdomain> Here's an example... #include float foo[2]; main() { printf("foo = %p\n", foo); printf("incremented as float: %p\n", foo+1); printf("incremented as (char *): %p\n", ((char *)foo)+1); } ---> foo = 0x601038 incremented as float: 0x60103c incremented as (char *): 0x601039 Adding an integer to a pointer "increments" it - the effect depends on the type of pointer. Another way to think of it is that foo[1], say, is semantically identical to *(foo+1). cheers Miller On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list wrote: > But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? > -Jonathan > > > On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: > > > On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > Hi list,Wondering if someone will give me a free lesson in C programming. > > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > > *(t_float *)(((char *)vec) + onset)); > > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) > > aiui pointer arithmetic is in increments of sizeof(pointee) > if onset is measured in bytes (I don't know if it is in this case, but > it looks likely), then you need to have a pointer to bytes for the > addition to be meaningful.  vec is already a pointer, but adding onset > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list From emviveros at gmail.com Mon Aug 17 17:34:23 2015 From: emviveros at gmail.com (Esteban Viveros) Date: Mon, 17 Aug 2015 15:34:23 +0000 Subject: [PD] Problem loading Gem in Pd-0.46-6 - Osx In-Reply-To: <9E8B60AA-F786-423E-94A0-8A27DB2102D1@gmail.com> References: <9E8B60AA-F786-423E-94A0-8A27DB2102D1@gmail.com> Message-ID: Dan, I copied the lib folder from pd-extended 0.43.4 and gem works. IOhannes, thanks a lot for explanation! I'm using Gem 0.93.3 now! :) Solved. Cheers! Em seg, 17 de ago de 2015 às 11:42, Dan Wilcox escreveu: > You forgot to copy the “lib” folder inside the Pd-extended app bundle into > the Pd 0.46 bundle. I’ve done this and Gem works fine for me. > > -------- > Dan Wilcox > @danomatika > danomatika.com > robotcowboy.com > > On Aug 17, 2015, at 3:30 AM, pd-list-request at lists.iem.at wrote: > > *From: *Esteban Viveros > *Subject: **[PD] Problem loading Gem in Pd-0.46-6 - Osx* > *Date: *August 16, 2015 at 7:49:56 PM EDT > *To: *Pd-list at lists.iem.at > > > > Hi, > > I'm try load Gem precompiled in pd-extended (0.42.5 and 0.43.4) in pd > 0.46-6 without success in Yosemite. I have this message in console: > > /Applications/Pd-extended > 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin: > dlopen(/Applications/Pd-extended > 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin, 10): Library not > loaded: @executable_path/../../lib/libfreetype.6.dylib > Referenced from: /Applications/Pd-extended > 0.42.5.app/Contents/Resources/extra/Gem/Gem.pd_darwin > Reason: image not found > Gem: can't load library > > What I'm doing wrong? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Mon Aug 17 17:52:27 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 17 Aug 2015 15:52:27 +0000 (UTC) Subject: [PD] free C lesson In-Reply-To: <20150817153110.GB4558@fuzz.localdomain> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> Message-ID: <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> Thanks, I think I'm getting it. So is char* guaranteed to be the same width as sizeof(t_word)?  If so, are you just using it as a shorthand? Thanks, Jonathan On Monday, August 17, 2015 11:31 AM, Miller Puckette wrote: Here's an example... #include float foo[2]; main() {     printf("foo = %p\n", foo);     printf("incremented as float: %p\n", foo+1);     printf("incremented as (char *): %p\n", ((char *)foo)+1); } ---> foo = 0x601038 incremented as float: 0x60103c incremented as (char *): 0x601039 Adding an integer to a pointer "increments" it - the effect depends on the type of pointer.  Another way to think of it is that foo[1], say, is semantically identical to *(foo+1). cheers Miller On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list wrote: > But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? > -Jonathan > > >      On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: >    > >  On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > Hi list,Wondering if someone will give me a free lesson in C programming. > > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > > *(t_float *)(((char *)vec) + onset)); > > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) > > aiui pointer arithmetic is in increments of sizeof(pointee) > if onset is measured in bytes (I don't know if it is in this case, but > it looks likely), then you need to have a pointer to bytes for the > addition to be meaningful.  vec is already a pointer, but adding onset > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > >  > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From msp at ucsd.edu Mon Aug 17 18:24:55 2015 From: msp at ucsd.edu (Miller Puckette) Date: Mon, 17 Aug 2015 09:24:55 -0700 Subject: [PD] free C lesson In-Reply-To: <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20150817162455.GC4558@fuzz.localdomain> I don't thing the width of (char *) enters into it (it's a pointer, 8 chars in 64 bit addr space) - the direct contrast to be made is (char) vs (t_word). Not sure if that answers the question though... cheers M On Mon, Aug 17, 2015 at 03:52:27PM +0000, Jonathan Wilkes via Pd-list wrote: > Thanks, I think I'm getting it. > So is char* guaranteed to be the same width as sizeof(t_word)?  If so, are you just using it as a shorthand? > > Thanks, > Jonathan > > > > > > On Monday, August 17, 2015 11:31 AM, Miller Puckette wrote: > > > Here's an example... > > #include > > float foo[2]; > > main() > { >     printf("foo = %p\n", foo); >     printf("incremented as float: %p\n", foo+1); >     printf("incremented as (char *): %p\n", ((char *)foo)+1); > } > > ---> > > foo = 0x601038 > incremented as float: 0x60103c > incremented as (char *): 0x601039 > > Adding an integer to a pointer "increments" it - the effect depends on the type > of pointer.  Another way to think of it is that foo[1], say, is semantically > identical to *(foo+1). > > cheers > Miller > > On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list wrote: > > But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? > > -Jonathan > > > > > >      On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: > >    > > > >  On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > > Hi list,Wondering if someone will give me a free lesson in C programming. > > > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > > > *(t_float *)(((char *)vec) + onset)); > > > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) > > > > aiui pointer arithmetic is in increments of sizeof(pointee) > > if onset is measured in bytes (I don't know if it is in this case, but > > it looks likely), then you need to have a pointer to bytes for the > > addition to be meaningful.  vec is already a pointer, but adding onset > > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > >  > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list From jancsika at yahoo.com Mon Aug 17 18:53:19 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 17 Aug 2015 16:53:19 +0000 (UTC) Subject: [PD] free C lesson In-Reply-To: <20150817162455.GC4558@fuzz.localdomain> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> <20150817162455.GC4558@fuzz.localdomain> Message-ID: <1129760449.1534844.1439830399320.JavaMail.yahoo@mail.yahoo.com> Ah, ok-- I forgot my pointer arithmetic rules. Once I remembered how it works, I still wasn't understanding how you could be doing pointer arithmetic with byte granularity when t_word is wider than 1 byte.  But then I see from template_find_field you are multiplying the onset by sizeof(t_word). So now, further down the rabbit hole of knowledge, I'm wondering why you multiply by sizeof(t_word) at all.  If you didn't, couldn't the (char *) cast go away? -Jonathan On Monday, August 17, 2015 12:24 PM, Miller Puckette wrote: I don't thing the width of (char *) enters into it (it's a pointer, 8 chars in 64 bit addr space)  - the direct contrast to be made is (char) vs (t_word). Not sure if that answers the question though... cheers M On Mon, Aug 17, 2015 at 03:52:27PM +0000, Jonathan Wilkes via Pd-list wrote: > Thanks, I think I'm getting it. > So is char* guaranteed to be the same width as sizeof(t_word)?  If so, are you just using it as a shorthand? > > Thanks, > Jonathan > > >  > > >      On Monday, August 17, 2015 11:31 AM, Miller Puckette wrote: >    > >  Here's an example... > > #include > > float foo[2]; > > main() > { >     printf("foo = %p\n", foo); >     printf("incremented as float: %p\n", foo+1); >     printf("incremented as (char *): %p\n", ((char *)foo)+1); > } > > ---> > > foo = 0x601038 > incremented as float: 0x60103c > incremented as (char *): 0x601039 > > Adding an integer to a pointer "increments" it - the effect depends on the type > of pointer.  Another way to think of it is that foo[1], say, is semantically > identical to *(foo+1). > > cheers > Miller > > On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list wrote: > > But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? > > -Jonathan > > > > > >      On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: > >    > > > >  On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > > Hi list,Wondering if someone will give me a free lesson in C programming. > > > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > > > *(t_float *)(((char *)vec) + onset)); > > > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) > > > > aiui pointer arithmetic is in increments of sizeof(pointee) > > if onset is measured in bytes (I don't know if it is in this case, but > > it looks likely), then you need to have a pointer to bytes for the > > addition to be meaningful.  vec is already a pointer, but adding onset > > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > >  > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > >  > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From treegestalt at gmail.com Mon Aug 17 19:54:19 2015 From: treegestalt at gmail.com (Forrest Curo) Date: Mon, 17 Aug 2015 10:54:19 -0700 Subject: [PD] free C lesson In-Reply-To: <1129760449.1534844.1439830399320.JavaMail.yahoo@mail.yahoo.com> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> <20150817162455.GC4558@fuzz.localdomain> <1129760449.1534844.1439830399320.JavaMail.yahoo@mail.yahoo.com> Message-ID: *char is guaranteed to be the same size as a 'char', 8 bits -- but if you're treating t_word as an array of char's, you can get into t_word and process it in 8 bit chunks. On Mon, Aug 17, 2015 at 9:53 AM, Jonathan Wilkes via Pd-list < pd-list at lists.iem.at> wrote: > Ah, ok-- I forgot my pointer arithmetic rules. > Once I remembered how it works, I still wasn't understanding how you could > be doing pointer arithmetic with byte granularity when t_word is wider than > 1 byte. But then I see from template_find_field you are multiplying the > onset by sizeof(t_word). > > So now, further down the rabbit hole of knowledge, I'm wondering why you > multiply by sizeof(t_word) at all. If you didn't, couldn't the (char *) > cast go away? > > -Jonathan > > > > On Monday, August 17, 2015 12:24 PM, Miller Puckette wrote: > > > I don't thing the width of (char *) enters into it (it's a pointer, 8 > chars in > 64 bit addr space) - the direct contrast to be made is (char) vs (t_word). > > Not sure if that answers the question though... > > cheers > M > > On Mon, Aug 17, 2015 at 03:52:27PM +0000, Jonathan Wilkes via Pd-list > wrote: > > Thanks, I think I'm getting it. > > So is char* guaranteed to be the same width as sizeof(t_word)? If so, > are you just using it as a shorthand? > > > > Thanks, > > Jonathan > > > > > > > > > > > > On Monday, August 17, 2015 11:31 AM, Miller Puckette > wrote: > > > > > > Here's an example... > > > > #include > > > > float foo[2]; > > > > main() > > { > > printf("foo = %p\n", foo); > > printf("incremented as float: %p\n", foo+1); > > printf("incremented as (char *): %p\n", ((char *)foo)+1); > > } > > > > ---> > > > > foo = 0x601038 > > incremented as float: 0x60103c > > incremented as (char *): 0x601039 > > > > Adding an integer to a pointer "increments" it - the effect depends on > the type > > of pointer. Another way to think of it is that foo[1], say, is > semantically > > identical to *(foo+1). > > > > cheers > > Miller > > > > On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list > wrote: > > > But we're dealing with an array of t_words, so onset*sizeof(t_word) is > what we want anyway, no? > > > -Jonathan > > > > > > > > > On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen < > claude at mathr.co.uk> wrote: > > > > > > > > > On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > > > Hi list,Wondering if someone will give me a free lesson in C > programming. > > > > In g_traversal.c, there's some code to retrieve a float from a > t_word* vec. It looks like this: > > > > *(t_float *)(((char *)vec) + onset)); > > > > Why does vec need to be cast to char*? t_word has to be as big as > the largest member of the union, and the largest member has to be the same > size as char*, right? (Otherwise we'd have big problems...) > > > > > > aiui pointer arithmetic is in increments of sizeof(pointee) > > > if onset is measured in bytes (I don't know if it is in this case, but > > > it looks likely), then you need to have a pointer to bytes for the > > > addition to be meaningful. vec is already a pointer, but adding onset > > > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > > > > > > > _______________________________________________ > > > Pd-list at lists.iem.at mailing list > > > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > > > > > > > > > > _______________________________________________ > > > Pd-list at lists.iem.at mailing list > > > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > > > > > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From williamahuston at gmail.com Mon Aug 17 20:05:43 2015 From: williamahuston at gmail.com (William Huston) Date: Mon, 17 Aug 2015 14:05:43 -0400 Subject: [PD] Can an abstraction tell of something is connected to an [inlet~] Message-ID: *I have this common situation:* I have an abstraction which has a parameter control visible to the parent via graph-on-parent. Let's call the parameter $0-FOO I want the user to be able to adjust the control via the GUI. I also want to be able to drive $0-FOO via an inlet or a message. And when that happens, I want the knob in the GUI to update and show the current value. When I set up [inlet] -> [hsl] Now the [hsl] cannot be moved via the GUI. I am trying to find a way to solve this. One possible solution is gate the inlet with a [spigot] which would work if I could detect if something was connected to the inlet or not. *Q1: Is there a way for me to tell, inside an abstraction,* *whether something is connected to a particular* *[inlet] or [inlet~]?* *Q2: *Or else *how can I read the output of a control *(e.g., hsl) *and drive it also*? (this sounds like an application for a syncho/servo) Thanks! BH -- -- May you, and all beings be happy and free from suffering :) -- ancient Buddhist Prayer (Metta) -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Mon Aug 17 20:13:32 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Mon, 17 Aug 2015 20:13:32 +0200 Subject: [PD] Can an abstraction tell of something is connected to an [inlet~] In-Reply-To: References: Message-ID: <55D2244C.1050408@iem.at> On 08/17/2015 08:05 PM, William Huston wrote: > When I set up > > [inlet] -> [hsl] > > Now the [hsl] cannot be moved via the GUI. why? fgmards IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From sfr at media.mit.edu Mon Aug 17 20:27:47 2015 From: sfr at media.mit.edu (Spencer Russell) Date: Mon, 17 Aug 2015 14:27:47 -0400 Subject: [PD] free C lesson In-Reply-To: References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> <20150817162455.GC4558@fuzz.localdomain> <1129760449.1534844.1439830399320.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1439836067.1123708.358474001.3A7F1A3D@webmail.messagingengine.com> A pointer to a char (*char) is not the same size as a char. A pointer to a char is the size of a pointer on your machine (8 on a 64-bit machine). But when you increment a char pointer it gets incremented by the size of a char (1) and when you increment a float pointer it gets incremented by the size of a float (4). Remember here that we're incrementing the *value* of the pointer, so we're incrementing the location of memory that the pointer points at. This is so that if you have a bunch of data packed into an array, and you have a pointer to an element in that array, when you increment the pointer it is pointing at the next element in the array. The reason that the (char*) cast happens is that the onset variable is defined to be measured in bytes, so if we want to increment the pointer by a number of bytes we have to make sure the compiler treats it as a char pointer. That doesn't seem to jive with your later email though, which says the onset is getting multiplied by sizeof(t_word). In that context it sounds like the onset is measured in words. Are you sure those are the same onset? (sorry I haven't dug into the code itself, I'm going off of your emails). -s On Mon, Aug 17, 2015, at 01:54 PM, Forrest Curo wrote: > *char is guaranteed to be the same size as a 'char', 8 bits -- but if > you're treating t_word as an array of char's, you can get into t_word > and process it in 8 bit chunks. > > On Mon, Aug 17, 2015 at 9:53 AM, Jonathan Wilkes via Pd-list list at lists.iem.at> wrote: >> Ah, ok-- I forgot my pointer arithmetic rules. Once I remembered how >> it works, I still wasn't understanding how you could be doing pointer >> arithmetic with byte granularity when t_word is wider than 1 byte. >> But then I see from template_find_field you are multiplying the onset >> by sizeof(t_word). >> >> So now, further down the rabbit hole of knowledge, I'm wondering why >> you multiply by sizeof(t_word) at all.  If you didn't, couldn't the >> (char *) cast go away? >> >> >> -Jonathan >> >> >> >> >> On Monday, August 17, 2015 12:24 PM, Miller Puckette >> wrote: >> >> >> I don't thing the width of (char *) enters into it (it's a pointer, 8 >> chars in 64 bit addr space)  - the direct contrast to be made is >> (char) vs (t_word). >> >> Not sure if that answers the question though... >> >> cheers M >> >> On Mon, Aug 17, 2015 at 03:52:27PM +0000, Jonathan Wilkes via Pd- >> list wrote: >> > Thanks, I think I'm getting it. So is char* guaranteed to be the >> > same width as sizeof(t_word)?  If so, are you just using it as a >> > shorthand? >> > >> > Thanks, Jonathan >> > >> > >> > >> > >> > >> >On Monday, August 17, 2015 11:31 AM, Miller Puckette >> >wrote: >> > >> > >> >Here's an example... >> > >> > #include >> > >> > float foo[2]; >> > >> > main() {     printf("foo = %p\n", foo);    printf("incremented as >> > float: %p\n", foo+1);    printf("incremented as (char *): %p\n", >> > ((char *)foo)+1); } >> > >> > ---> >> > >> > foo = 0x601038 incremented as float: 0x60103c incremented as (char >> > *): 0x601039 >> > >> > Adding an integer to a pointer "increments" it - the effect depends >> > on the type of pointer.  Another way to think of it is that foo[1], >> > say, is semantically identical to *(foo+1). >> > >> > cheers Miller >> > >> > On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd- >> > list wrote: >> > > But we're dealing with an array of t_words, so >> > > onset*sizeof(t_word) is what we want anyway, no? -Jonathan >> > > >> > > >> > >On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen >> > > wrote: >> > > >> > > >> > >On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: >> > > > Hi list,Wondering if someone will give me a free lesson in C >> > > > programming. In g_traversal.c, there's some code to retrieve a >> > > > float from a t_word* vec.  It looks like this: *(t_float >> > > > *)(((char *)vec) + onset)); Why does vec need to be cast to >> > > > char*?  t_word has to be as big as the largest member of the >> > > > union, and the largest member has to be the same size as char*, >> > > > right?  (Otherwise we'd have big problems...) >> > > >> > > aiui pointer arithmetic is in increments of sizeof(pointee) if >> > > onset is measured in bytes (I don't know if it is in this case, >> > > but it looks likely), then you need to have a pointer to bytes >> > > for the addition to be meaningful.  vec is already a pointer, but >> > > adding onset to a t_word* would offset the address by >> > > onset*sizeof(t_word) bytes >> > > >> > > >> > > _______________________________________________ >> > > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account- >> > > management -> http://lists.puredata.info/listinfo/pd-list >> > > >> > > >> > > >> > >> > > _______________________________________________ >> > > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account- >> > > management -> http://lists.puredata.info/listinfo/pd-list >> > >> > >> > >> > >> >> > _______________________________________________ >> > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account- >> > management -> http://lists.puredata.info/listinfo/pd-list >> >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management >> -> http://lists.puredata.info/listinfo/pd-list >> > _________________________________________________ > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management > -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Mon Aug 17 20:29:27 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 17 Aug 2015 18:29:27 +0000 (UTC) Subject: [PD] free C lesson In-Reply-To: References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> <20150817162455.GC4558@fuzz.localdomain> <1129760449.1534844.1439830399320.JavaMail.yahoo@mail.yahoo.com> Message-ID: <148312840.5883247.1439836168002.JavaMail.yahoo@mail.yahoo.com> I guess what I'm saying is that sc_vec is a loaf of bread, and the slices are t_word wide.  So why are we doing the bookeeping (i.e., jumping to a particular location) in units smaller than one slice? -Jonathan On Monday, August 17, 2015 1:54 PM, Forrest Curo wrote: *char is guaranteed to be the same size as a 'char', 8 bits -- but if you're treating t_word as an array of char's, you can get into t_word and process it in 8 bit chunks. On Mon, Aug 17, 2015 at 9:53 AM, Jonathan Wilkes via Pd-list wrote: Ah, ok-- I forgot my pointer arithmetic rules. Once I remembered how it works, I still wasn't understanding how you could be doing pointer arithmetic with byte granularity when t_word is wider than 1 byte.  But then I see from template_find_field you are multiplying the onset by sizeof(t_word). So now, further down the rabbit hole of knowledge, I'm wondering why you multiply by sizeof(t_word) at all.  If you didn't, couldn't the (char *) cast go away? -Jonathan On Monday, August 17, 2015 12:24 PM, Miller Puckette wrote: I don't thing the width of (char *) enters into it (it's a pointer, 8 chars in 64 bit addr space)  - the direct contrast to be made is (char) vs (t_word). Not sure if that answers the question though... cheers M On Mon, Aug 17, 2015 at 03:52:27PM +0000, Jonathan Wilkes via Pd-list wrote: > Thanks, I think I'm getting it. > So is char* guaranteed to be the same width as sizeof(t_word)?  If so, are you just using it as a shorthand? > > Thanks, > Jonathan > > >  > > >      On Monday, August 17, 2015 11:31 AM, Miller Puckette wrote: >    > >  Here's an example... > > #include > > float foo[2]; > > main() > { >     printf("foo = %p\n", foo); >     printf("incremented as float: %p\n", foo+1); >     printf("incremented as (char *): %p\n", ((char *)foo)+1); > } > > ---> > > foo = 0x601038 > incremented as float: 0x60103c > incremented as (char *): 0x601039 > > Adding an integer to a pointer "increments" it - the effect depends on the type > of pointer.  Another way to think of it is that foo[1], say, is semantically > identical to *(foo+1). > > cheers > Miller > > On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list wrote: > > But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? > > -Jonathan > > > > > >      On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: > >    > > > >  On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > > Hi list,Wondering if someone will give me a free lesson in C programming. > > > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > > > *(t_float *)(((char *)vec) + onset)); > > > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) > > > > aiui pointer arithmetic is in increments of sizeof(pointee) > > if onset is measured in bytes (I don't know if it is in this case, but > > it looks likely), then you need to have a pointer to bytes for the > > addition to be meaningful.  vec is already a pointer, but adding onset > > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > >  > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > >  > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From williamahuston at gmail.com Mon Aug 17 20:29:43 2015 From: williamahuston at gmail.com (William Huston) Date: Mon, 17 Aug 2015 14:29:43 -0400 Subject: [PD] Can an abstraction tell of something is connected to an [inlet~] In-Reply-To: <55D2244C.1050408@iem.at> References: <55D2244C.1050408@iem.at> Message-ID: I guess I left out an important detail. The control inlet is for PWM (duty cycle). I want high resolution so I use an [inlet~] and drive it at signal rate. So I actually must drive the [hsl] input with a [snapshot~]. If I could tell if something was connected at the [inlet~], then I could gate the [snapshot~]. Or maybe I only update the hsl if I see that the snapshot value is changing? OK... I have some ideas now, thanks :) Would still like a way to tell if an inlet has an external connection. On Mon, Aug 17, 2015 at 2:13 PM, IOhannes m zmölnig wrote: > On 08/17/2015 08:05 PM, William Huston wrote: > > When I set up > > > > [inlet] -> [hsl] > > > > Now the [hsl] cannot be moved via the GUI. > > why? > > fgmards > IOhannes > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- -- May you, and all beings be happy and free from suffering :) -- ancient Buddhist Prayer (Metta) -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Mon Aug 17 20:31:26 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 17 Aug 2015 18:31:26 +0000 (UTC) Subject: [PD] free C lesson In-Reply-To: <148312840.5883247.1439836168002.JavaMail.yahoo@mail.yahoo.com> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> <20150817162455.GC4558@fuzz.localdomain> <1129760449.1534844.1439830399320.JavaMail.yahoo@mail.yahoo.com> <148312840.5883247.1439836168002.JavaMail.yahoo@mail.yahoo.com> Message-ID: <80324549.3678902.1439836286280.JavaMail.yahoo@mail.yahoo.com> Hi Spencer,The onset is in bytes, hence the cast to (char *).  I'm just wondering why we're measuring things in bytes since an onset must always lie on a t_word boundary. Thanks,Jonathan On Monday, August 17, 2015 2:29 PM, Jonathan Wilkes wrote: I guess what I'm saying is that sc_vec is a loaf of bread, and the slices are t_word wide.  So why are we doing the bookeeping (i.e., jumping to a particular location) in units smaller than one slice? -Jonathan On Monday, August 17, 2015 1:54 PM, Forrest Curo wrote: *char is guaranteed to be the same size as a 'char', 8 bits -- but if you're treating t_word as an array of char's, you can get into t_word and process it in 8 bit chunks. On Mon, Aug 17, 2015 at 9:53 AM, Jonathan Wilkes via Pd-list wrote: Ah, ok-- I forgot my pointer arithmetic rules. Once I remembered how it works, I still wasn't understanding how you could be doing pointer arithmetic with byte granularity when t_word is wider than 1 byte.  But then I see from template_find_field you are multiplying the onset by sizeof(t_word). So now, further down the rabbit hole of knowledge, I'm wondering why you multiply by sizeof(t_word) at all.  If you didn't, couldn't the (char *) cast go away? -Jonathan On Monday, August 17, 2015 12:24 PM, Miller Puckette wrote: I don't thing the width of (char *) enters into it (it's a pointer, 8 chars in 64 bit addr space)  - the direct contrast to be made is (char) vs (t_word). Not sure if that answers the question though... cheers M On Mon, Aug 17, 2015 at 03:52:27PM +0000, Jonathan Wilkes via Pd-list wrote: > Thanks, I think I'm getting it. > So is char* guaranteed to be the same width as sizeof(t_word)?  If so, are you just using it as a shorthand? > > Thanks, > Jonathan > > >  > > >      On Monday, August 17, 2015 11:31 AM, Miller Puckette wrote: >    > >  Here's an example... > > #include > > float foo[2]; > > main() > { >     printf("foo = %p\n", foo); >     printf("incremented as float: %p\n", foo+1); >     printf("incremented as (char *): %p\n", ((char *)foo)+1); > } > > ---> > > foo = 0x601038 > incremented as float: 0x60103c > incremented as (char *): 0x601039 > > Adding an integer to a pointer "increments" it - the effect depends on the type > of pointer.  Another way to think of it is that foo[1], say, is semantically > identical to *(foo+1). > > cheers > Miller > > On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list wrote: > > But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? > > -Jonathan > > > > > >      On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: > >    > > > >  On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > > Hi list,Wondering if someone will give me a free lesson in C programming. > > > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > > > *(t_float *)(((char *)vec) + onset)); > > > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) > > > > aiui pointer arithmetic is in increments of sizeof(pointee) > > if onset is measured in bytes (I don't know if it is in this case, but > > it looks likely), then you need to have a pointer to bytes for the > > addition to be meaningful.  vec is already a pointer, but adding onset > > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > >  > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > >  > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From treegestalt at gmail.com Mon Aug 17 20:38:57 2015 From: treegestalt at gmail.com (Forrest Curo) Date: Mon, 17 Aug 2015 11:38:57 -0700 Subject: [PD] julia Message-ID: Any chances of adding Julia to the available languages for writing pd extensions? It seems to combine much of the writability of python with the specificity & machine-concreteness of C... -------------- next part -------------- An HTML attachment was scrubbed... URL: From msp at ucsd.edu Mon Aug 17 20:42:39 2015 From: msp at ucsd.edu (Miller Puckette) Date: Mon, 17 Aug 2015 11:42:39 -0700 Subject: [PD] free C lesson In-Reply-To: <80324549.3678902.1439836286280.JavaMail.yahoo@mail.yahoo.com> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> <20150817162455.GC4558@fuzz.localdomain> <1129760449.1534844.1439830399320.JavaMail.yahoo@mail.yahoo.com> <148312840.5883247.1439836168002.JavaMail.yahoo@mail.yahoo.com> <80324549.3678902.1439836286280.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20150817184239.GA5934@fuzz.localdomain> I can't remember why I thought that was the right thing to do... maybe I was trying to keep the possibility open to pack the data more efficiently (sticking two floats nto the size of one 'word'). But that seems like a lot of awkwardness for not much payoff. Maybe I had some other reason :) M On Mon, Aug 17, 2015 at 06:31:26PM +0000, Jonathan Wilkes via Pd-list wrote: > Hi Spencer,The onset is in bytes, hence the cast to (char *).  I'm just wondering why we're measuring things in bytes since an onset must always lie on a t_word boundary. > Thanks,Jonathan > > > > On Monday, August 17, 2015 2:29 PM, Jonathan Wilkes wrote: > > > I guess what I'm saying is that sc_vec is a loaf of bread, and the slices are t_word wide.  So why are we doing the bookeeping (i.e., jumping to a particular location) in units smaller than one slice? > -Jonathan > > > On Monday, August 17, 2015 1:54 PM, Forrest Curo wrote: > > > *char is guaranteed to be the same size as a 'char', 8 bits -- but if you're treating t_word as an array of char's, you can get into t_word and process it in 8 bit chunks. > > On Mon, Aug 17, 2015 at 9:53 AM, Jonathan Wilkes via Pd-list wrote: > > Ah, ok-- I forgot my pointer arithmetic rules. > Once I remembered how it works, I still wasn't understanding how you could be doing pointer arithmetic with byte granularity when t_word is wider than 1 byte.  But then I see from template_find_field you are multiplying the onset by sizeof(t_word). > So now, further down the rabbit hole of knowledge, I'm wondering why you multiply by sizeof(t_word) at all.  If you didn't, couldn't the (char *) cast go away? > > -Jonathan > > > > On Monday, August 17, 2015 12:24 PM, Miller Puckette wrote: > > > I don't thing the width of (char *) enters into it (it's a pointer, 8 chars in > 64 bit addr space)  - the direct contrast to be made is (char) vs (t_word). > > Not sure if that answers the question though... > > cheers > M > > On Mon, Aug 17, 2015 at 03:52:27PM +0000, Jonathan Wilkes via Pd-list wrote: > > Thanks, I think I'm getting it. > > So is char* guaranteed to be the same width as sizeof(t_word)?  If so, are you just using it as a shorthand? > > > > Thanks, > > Jonathan > > > > > >  > > > > > >      On Monday, August 17, 2015 11:31 AM, Miller Puckette wrote: > >    > > > >  Here's an example... > > > > #include > > > > float foo[2]; > > > > main() > > { > >     printf("foo = %p\n", foo); > >     printf("incremented as float: %p\n", foo+1); > >     printf("incremented as (char *): %p\n", ((char *)foo)+1); > > } > > > > ---> > > > > foo = 0x601038 > > incremented as float: 0x60103c > > incremented as (char *): 0x601039 > > > > Adding an integer to a pointer "increments" it - the effect depends on the type > > of pointer.  Another way to think of it is that foo[1], say, is semantically > > identical to *(foo+1). > > > > cheers > > Miller > > > > On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list wrote: > > > But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? > > > -Jonathan > > > > > > > > >      On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: > > >    > > > > > >  On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > > > Hi list,Wondering if someone will give me a free lesson in C programming. > > > > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > > > > *(t_float *)(((char *)vec) + onset)); > > > > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) > > > > > > aiui pointer arithmetic is in increments of sizeof(pointee) > > > if onset is measured in bytes (I don't know if it is in this case, but > > > it looks likely), then you need to have a pointer to bytes for the > > > addition to be meaningful.  vec is already a pointer, but adding onset > > > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > > > > > > > _______________________________________________ > > > Pd-list at lists.iem.at mailing list > > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > > > > >  > > > > > _______________________________________________ > > > Pd-list at lists.iem.at mailing list > > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > > > >  > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list From jancsika at yahoo.com Mon Aug 17 20:50:45 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 17 Aug 2015 18:50:45 +0000 (UTC) Subject: [PD] free C lesson In-Reply-To: <20150817184239.GA5934@fuzz.localdomain> References: <347135812.5714035.1439822211856.JavaMail.yahoo@mail.yahoo.com> <55D1F5C4.6070101@mathr.co.uk> <1139502085.5771152.1439824235595.JavaMail.yahoo@mail.yahoo.com> <20150817153110.GB4558@fuzz.localdomain> <1769674538.5802531.1439826747927.JavaMail.yahoo@mail.yahoo.com> <20150817162455.GC4558@fuzz.localdomain> <1129760449.1534844.1439830399320.JavaMail.yahoo@mail.yahoo.com> <148312840.5883247.1439836168002.JavaMail.yahoo@mail.yahoo.com> <80324549.3678902.1439836286280.JavaMail.yahoo@mail.yahoo.com> <20150817184239.GA5934@fuzz.localdomain> Message-ID: <1582852987.5891327.1439837445409.JavaMail.yahoo@mail.yahoo.com> Thanks, Miller.  Seems every time I have a question about C, even forming the question requires me to relearn pointer arithmetic. -Jonathan On Monday, August 17, 2015 2:42 PM, Miller Puckette wrote: I can't remember why I thought that was the right thing to do... maybe I was trying to keep the possibility open to pack the data more efficiently (sticking two floats nto the size of one 'word').  But that seems like a lot of awkwardness for not much payoff.  Maybe I had some other reason :) M On Mon, Aug 17, 2015 at 06:31:26PM +0000, Jonathan Wilkes via Pd-list wrote: > Hi Spencer,The onset is in bytes, hence the cast to (char *).  I'm just wondering why we're measuring things in bytes since an onset must always lie on a t_word boundary. > Thanks,Jonathan >  > > >      On Monday, August 17, 2015 2:29 PM, Jonathan Wilkes wrote: >    > >  I guess what I'm saying is that sc_vec is a loaf of bread, and the slices are t_word wide.  So why are we doing the bookeeping (i.e., jumping to a particular location) in units smaller than one slice? > -Jonathan > > >      On Monday, August 17, 2015 1:54 PM, Forrest Curo wrote: >    > >  *char is guaranteed to be the same size as a 'char', 8 bits -- but if you're treating t_word as an array of char's, you can get into t_word and process it in 8 bit chunks. > > On Mon, Aug 17, 2015 at 9:53 AM, Jonathan Wilkes via Pd-list wrote: > > Ah, ok-- I forgot my pointer arithmetic rules. > Once I remembered how it works, I still wasn't understanding how you could be doing pointer arithmetic with byte granularity when t_word is wider than 1 byte.  But then I see from template_find_field you are multiplying the onset by sizeof(t_word). > So now, further down the rabbit hole of knowledge, I'm wondering why you multiply by sizeof(t_word) at all.  If you didn't, couldn't the (char *) cast go away? > > -Jonathan >  > > >      On Monday, August 17, 2015 12:24 PM, Miller Puckette wrote: >    > >  I don't thing the width of (char *) enters into it (it's a pointer, 8 chars in > 64 bit addr space)  - the direct contrast to be made is (char) vs (t_word). > > Not sure if that answers the question though... > > cheers > M > > On Mon, Aug 17, 2015 at 03:52:27PM +0000, Jonathan Wilkes via Pd-list wrote: > > Thanks, I think I'm getting it. > > So is char* guaranteed to be the same width as sizeof(t_word)?  If so, are you just using it as a shorthand? > > > > Thanks, > > Jonathan > > > > > >  > > > > > >      On Monday, August 17, 2015 11:31 AM, Miller Puckette wrote: > >    > > > >  Here's an example... > > > > #include > > > > float foo[2]; > > > > main() > > { > >     printf("foo = %p\n", foo); > >     printf("incremented as float: %p\n", foo+1); > >     printf("incremented as (char *): %p\n", ((char *)foo)+1); > > } > > > > ---> > > > > foo = 0x601038 > > incremented as float: 0x60103c > > incremented as (char *): 0x601039 > > > > Adding an integer to a pointer "increments" it - the effect depends on the type > > of pointer.  Another way to think of it is that foo[1], say, is semantically > > identical to *(foo+1). > > > > cheers > > Miller > > > > On Mon, Aug 17, 2015 at 03:10:35PM +0000, Jonathan Wilkes via Pd-list wrote: > > > But we're dealing with an array of t_words, so onset*sizeof(t_word) is what we want anyway, no? > > > -Jonathan > > > > > > > > >      On Monday, August 17, 2015 10:55 AM, Claude Heiland-Allen wrote: > > >    > > > > > >  On 17/08/15 15:36, Jonathan Wilkes via Pd-list wrote: > > > > Hi list,Wondering if someone will give me a free lesson in C programming. > > > > In g_traversal.c, there's some code to retrieve a float from a t_word* vec.  It looks like this: > > > > *(t_float *)(((char *)vec) + onset)); > > > > Why does vec need to be cast to char*?  t_word has to be as big as the largest member of the union, and the largest member has to be the same size as char*, right?  (Otherwise we'd have big problems...) > > > > > > aiui pointer arithmetic is in increments of sizeof(pointee) > > > if onset is measured in bytes (I don't know if it is in this case, but > > > it looks likely), then you need to have a pointer to bytes for the > > > addition to be meaningful.  vec is already a pointer, but adding onset > > > to a t_word* would offset the address by onset*sizeof(t_word) bytes > > > > > > > > > _______________________________________________ > > > Pd-list at lists.iem.at mailing list > > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > > > > >  > > > > > _______________________________________________ > > > Pd-list at lists.iem.at mailing list > > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > > > >  > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > >    > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > >    > >  > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From sfr at media.mit.edu Mon Aug 17 21:24:45 2015 From: sfr at media.mit.edu (Spencer Russell) Date: Mon, 17 Aug 2015 15:24:45 -0400 Subject: [PD] julia In-Reply-To: References: Message-ID: <1439839485.1153534.358517465.51745176@webmail.messagingengine.com> Julia has a C-API so you can embed Julia the julia interpreter/compiler/runtime into other applications by linking against libjulia.so. It would be pretty doable to write a PD external that took a julia module as an argument and called an agreed-to method (like "process") So you could define a julia module module CoolNoise    function process{T <: Real}(out::Vector{Vector{T}}, in::Vector{Vector{T}}        for outvec in out            for i in 1:length(outvec)                outvec[i] = rand() * 2 - 1 end        end    end end and maybe the object would be called [jl~] so you could instantiate [jl~ CoolNoise] and it would use your julia code to process blocks of audio. I haven't thought much about whether this is the *best* way to do it, but it would work. You'd need some other stuff in there to report back the number and type of inlets/outlets, and probably some other stuff. There are a few gotchas to writing latency-sensitive code in Julia, particularly because it's garbage-collected so you want to be careful not to write code that ends up doing a lot of heap allocation, but there's been some work on the GC to speed it up, and in particular an incremental GC that will yield control if the GC exceeds a time limit. I've talked a bit to the guy working on it and while the current version doesn't include his incremental code I think that with a little encouragement (maybe a bottle of nice whiskey) he could be persuaded to make it a reality. Aside from GC the other issue is that that JIT compiler is a double-edged sword. Once things are compiled they're really fast, but the process of compiling happens the first time a method is called, so you need to make sure that any audio methods you define get compiled before the main audio loop starts up. Julia is also not thread-safe yet, though there are folks working on it, so calling into julia code from multiple threads is a recipe for segfaults. I wrote and maintain the AudioIO.jl[1] package which is an interactive signal processing framework for Julia so I've spent some time thinking about some of this. The project has lagged a bit while I've been finishing up my (unrelated) masters thesis but this fall I'm going to be digging much more deeply into it. I've actually considered implementing the PD C API so I can pull PD externals into Julia, basically the inverse of this. -s On Mon, Aug 17, 2015, at 02:38 PM, Forrest Curo wrote: > Any chances of adding Julia to the available languages for writing pd > extensions? It seems to combine much of the writability of python with > the specificity & machine-concreteness of C... > _________________________________________________ > Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management > -> http://lists.puredata.info/listinfo/pd-list Links: 1. https://github.com/ssfrr/audioio.jl -------------- next part -------------- An HTML attachment was scrubbed... URL: From sfr at media.mit.edu Mon Aug 17 21:29:02 2015 From: sfr at media.mit.edu (Spencer Russell) Date: Mon, 17 Aug 2015 15:29:02 -0400 Subject: [PD] julia In-Reply-To: <1439839485.1153534.358517465.51745176@webmail.messagingengine.com> References: <1439839485.1153534.358517465.51745176@webmail.messagingengine.com> Message-ID: <1439839742.1157173.358542737.5AC679EE@webmail.messagingengine.com> BTW, for non-Julia coders, the method signature process{T <: Real}(out::Vector{Vector{T}}, in::Vector{Vector{T}} means that process takes two arguments in and out, each of which is a vector of vectors of type T, where T is some subtype of Real. The call to rand would probably also cause problems if T was an Integer type, but hopefully this gives the jist. -s On Mon, Aug 17, 2015, at 03:24 PM, Spencer Russell wrote: > Julia has a C-API so you can embed Julia the julia > interpreter/compiler/runtime into other applications by linking > against libjulia.so. It would be pretty doable to write a PD external > that took a julia module as an argument and called an agreed-to method > (like "process") > > So you could define a julia module > > module CoolNoise    function process{T <: > Real}(out::Vector{Vector{T}}, in::Vector{Vector{T}}        for outvec > in out            for i in 1:length(outvec)                outvec[i] = > rand() * 2 - 1            end        end    end end > > and maybe the object would be called [jl~] so you could instantiate > [jl~ CoolNoise] and it would use your julia code to process blocks > of audio. > > I haven't thought much about whether this is the *best* way to do it, > but it would work. You'd need some other stuff in there to report back > the number and type of inlets/outlets, and probably some other stuff. > > There are a few gotchas to writing latency-sensitive code in Julia, > particularly because it's garbage-collected so you want to be careful > not to write code that ends up doing a lot of heap allocation, but > there's been some work on the GC to speed it up, and in particular an > incremental GC that will yield control if the GC exceeds a time limit. > I've talked a bit to the guy working on it and while the current > version doesn't include his incremental code I think that with a > little encouragement (maybe a bottle of nice whiskey) he could be > persuaded to make it a reality. Aside from GC the other issue is that > that JIT compiler is a double-edged sword. Once things are compiled > they're really fast, but the process of compiling happens the first > time a method is called, so you need to make sure that any audio > methods you define get compiled before the main audio loop starts up. > Julia is also not thread-safe yet, though there are folks working on > it, so calling into julia code from multiple threads is a recipe for > segfaults. > > I wrote and maintain the AudioIO.jl[1] package which is an interactive > signal processing framework for Julia so I've spent some time thinking > about some of this. The project has lagged a bit while I've been > finishing up my (unrelated) masters thesis but this fall I'm going to > be digging much more deeply into it. I've actually considered > implementing the PD C API so I can pull PD externals into Julia, > basically the inverse of this. > > -s > > > On Mon, Aug 17, 2015, at 02:38 PM, Forrest Curo wrote: >> Any chances of adding Julia to the available languages for writing pd >> extensions? It seems to combine much of the writability of python >> with the specificity & machine-concreteness of C... >> _________________________________________________ >> Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management >> -> http://lists.puredata.info/listinfo/pd-list > Links: 1. https://github.com/ssfrr/audioio.jl -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Mon Aug 17 21:47:40 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Mon, 17 Aug 2015 21:47:40 +0200 Subject: [PD] julia In-Reply-To: <1439839485.1153534.358517465.51745176@webmail.messagingengine.com> References: <1439839485.1153534.358517465.51745176@webmail.messagingengine.com> Message-ID: <55D23A5C.4030704@iem.at> On 08/17/2015 09:24 PM, Spencer Russell wrote: > and maybe the object would be called [jl~] so you could instantiate [jl~ > CoolNoise] and it would use your julia code to process blocks of audio. hopefully, there will be *no* wrapper object, and you can instantiate [CoolNoise~] directly (or at least [CoolNoise], if ~ makes problems in julia) gfmards IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From zmoelnig at iem.at Mon Aug 17 21:53:33 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Mon, 17 Aug 2015 21:53:33 +0200 Subject: [PD] Can an abstraction tell of something is connected to an [inlet~] In-Reply-To: References: <55D2244C.1050408@iem.at> Message-ID: <55D23BBD.8040104@iem.at> On 08/17/2015 08:29 PM, William Huston wrote: > I guess I left out an important detail. > > The control inlet is for PWM (duty cycle). > I want high resolution so I use an [inlet~] and drive it at signal rate. > > So I actually must drive the [hsl] input with a [snapshot~]. > > If I could tell if something was connected at the [inlet~], > then I could gate the [snapshot~]. > > Or maybe I only update the hsl if I see that the snapshot > value is changing? i *think* this is all ugly hacks. Pd messages are perfectly capable of having a very high time resolution (actually sub-sample accurate; that's better than what you get with signals), so you might re-think your assumption of having to use signals *here* (use [vline~] to convert numbers into signals sample-accurately). > > OK... I have some ideas now, thanks :) > > Would still like a way to tell if an inlet has an external connection. > answer is simple: you can't¹. fmsad IOhannes ¹however, this has been discussed before; so you might find some more pointers in the archives. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From sfr at media.mit.edu Mon Aug 17 21:59:28 2015 From: sfr at media.mit.edu (Spencer Russell) Date: Mon, 17 Aug 2015 15:59:28 -0400 Subject: [PD] julia In-Reply-To: <55D23A5C.4030704@iem.at> References: <1439839485.1153534.358517465.51745176@webmail.messagingengine.com> <55D23A5C.4030704@iem.at> Message-ID: <1439841568.1173711.358567353.35DBAAD2@webmail.messagingengine.com> My thought was that a wrapper object would be something that interested parties could put together on our/their own to get the language interface figured out, and then if it turned out that it worked well and people liked it then it could be integrated more tightly. -s On Mon, Aug 17, 2015, at 03:47 PM, IOhannes m zmölnig wrote: > On 08/17/2015 09:24 PM, Spencer Russell wrote: > > and maybe the object would be called [jl~] so you could instantiate [jl~ > > CoolNoise] and it would use your julia code to process blocks of audio. > > hopefully, there will be *no* wrapper object, and you can instantiate > [CoolNoise~] directly (or at least [CoolNoise], if ~ makes problems in > julia) > > gfmards > IOhannes > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > Email had 1 attachment: > + signature.asc > 1k (application/pgp-signature) From porres at gmail.com Mon Aug 17 23:53:15 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Mon, 17 Aug 2015 18:53:15 -0300 Subject: [PD] Can an abstraction tell of something is connected to an [inlet~] In-Reply-To: References: Message-ID: I've asked this before on the list cause it'd be useful, but the answer is: "nope" 2015-08-17 15:05 GMT-03:00 William Huston : > > *I have this common situation:* > I have an abstraction which has a parameter control visible to the parent > via graph-on-parent. Let's call the parameter $0-FOO > > I want the user to be able to adjust the control via the GUI. > I also want to be able to drive $0-FOO via an inlet or a message. > And when that happens, I want the knob in the GUI to update > and show the current value. > > When I set up > > [inlet] -> [hsl] > > Now the [hsl] cannot be moved via the GUI. > I am trying to find a way to solve this. > > One possible solution is gate the inlet with a [spigot] > which would work if I could detect if something was > connected to the inlet or not. > > > *Q1: Is there a way for me to tell, inside an abstraction,* > > *whether something is connected to a particular* > *[inlet] or [inlet~]?* > > *Q2: *Or else *how can I read the output of a control *(e.g., hsl) > *and drive it also*? (this sounds like an application > for a syncho/servo) > > Thanks! > BH > > > > > > -- > -- > May you, and all beings > be happy and free from suffering :) > -- ancient Buddhist Prayer (Metta) > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Mon Aug 17 23:55:32 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Mon, 17 Aug 2015 23:55:32 +0200 Subject: [PD] julia In-Reply-To: <1439841568.1173711.358567353.35DBAAD2@webmail.messagingengine.com> References: <1439839485.1153534.358517465.51745176@webmail.messagingengine.com> <55D23A5C.4030704@iem.at> <1439841568.1173711.358567353.35DBAAD2@webmail.messagingengine.com> Message-ID: <55D25854.5070307@iem.at> On 08/17/2015 09:59 PM, Spencer Russell wrote: > My thought was that a wrapper object would be something that interested > parties could put together on our/their own to get the language > interface figured out, and then if it turned out that it worked well and > people liked it then it could be integrated more tightly. ah i was a bit terse: Pd (since 0.40) provides a "loader" mechanism in it's public API, that allows to write well, loaders that implement e.g. language bindings. it's about the same amount of work to write a loader or an object (the hard part is the language binding; the rest is just glue) - so one should start with writing a loader right away. see the loaders in externals/loaders/ [1]; "hexloader" and "import" should be pretty simple to understand ("pdlua" resp "tclpd" are probably too full of the actual language bindings). gfmards IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From williamahuston at gmail.com Wed Aug 19 01:13:34 2015 From: williamahuston at gmail.com (William Huston) Date: Tue, 18 Aug 2015 19:13:34 -0400 Subject: [PD] Real time 3 band parametric EQ? Message-ID: Is it possible to build a real-time *3-band parametric EQ* with both boost+ / cut- and with Q and a wide f range using [biquad~] or some other method? There is something called [equalizer] in externals/ggee/filters but it is only a single band. I don't think I can just sum 3 bands like this. Yes I can sum Bandpass filters output together but not band reject. It seems to me I need to do build a complex response curve and perform the entire filter operation in a single process. I would love to just grab this from a library somewhere! Thanks :) BH -- -- May you, and all beings be happy and free from suffering :) -- ancient Buddhist Prayer (Metta) -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterparker at fastmail.com Wed Aug 19 04:19:45 2015 From: peterparker at fastmail.com (Peter P.) Date: Tue, 18 Aug 2015 22:19:45 -0400 Subject: [PD] Real time 3 band parametric EQ? In-Reply-To: References: Message-ID: <20150819021945.GA6445@fastmail.com> * William Huston [2015-08-18 19:14]: > Is it possible to build a real-time *3-band parametric EQ* > with both boost+ / cut- > and with Q and a wide f range > using [biquad~] or some other method? > > There is something called [equalizer] in externals/ggee/filters > but it is only a single band. > > I don't think I can just sum 3 bands like this. > > Yes I can sum Bandpass filters output together > but not band reject. > > It seems to me I need to do build a complex response > curve and perform the entire filter operation in a single process. > > I would love to just grab this from a library somewhere! see perhaps hml_shelf~ from iemlib, perhaps this can serve you as well. From jancsika at yahoo.com Wed Aug 19 17:32:29 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Wed, 19 Aug 2015 15:32:29 +0000 (UTC) Subject: [PD] another free c lesson: realloc Message-ID: <1621303154.7054945.1439998349934.JavaMail.yahoo@mail.yahoo.com> Hi list,So I'm looking at t_gpointer in m_pd.h, and I'm noticing that for arrays it has gp_w which is a union _word pointer.  This is the raw data that I was asking about in my previous request for a free lesson. :) However, in the code for [setsize] the data is resized dynamically using realloc. So... Suppose I have a [pointer] in a patch which is pointing to a nested array, and a [setsize] which is pointing to the container array.  If I send an enormous float to [setsize], isn't it likely that realloc will move the data and my [pointer] data will silently become stale?  After all, gp_w has no idea if realloc moves the data.  Seems like it'd be pointing to the wrong place and likely to cause a crash. I don't have access to a running Pd instance atm, otherwise I'd test... Thanks,Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterparker at fastmail.com Wed Aug 19 20:13:25 2015 From: peterparker at fastmail.com (Peter P.) Date: Wed, 19 Aug 2015 14:13:25 -0400 Subject: [PD] jack autostart? Message-ID: <20150819181325.GA9980@fastmail.com> Hi, I just discovered that pd -jack will start a jackd if there is none running already. In src/s_audio_jack.c I found a comment saying that (If no JACK server exists, jack_client_open() will start uone up by default. It's not clear whether or not this is desirable; see long Pd list thread started by yvan volochine, June 2013) I would hereby vote for not starting the jackd server automatically, as jackd would pick up any ~/.jackdrc present in the user's homedir, which might not fit the desired sound card setup as ~/.jackdrc gets rewritten by qjackctl with its most recently used settings. Once users (such as me) start using multiple sound cards, at multiple sampling rats, with multiple other parameters, it becomes very hard to have Pd autostart jack with the desired settings automatically. It would start jackd, but with possibly confusing and unwanted settings. I changed the line 340 in src/s_audio_jack.c to jack_client = jack_client_open (client_name, JackNoStartServer, &status, NULL) and recompiled and am happy with the new behavior. cheers, P From jancsika at yahoo.com Wed Aug 19 20:51:13 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Wed, 19 Aug 2015 18:51:13 +0000 (UTC) Subject: [PD] jack autostart? In-Reply-To: <20150819181325.GA9980@fastmail.com> References: <20150819181325.GA9980@fastmail.com> Message-ID: <1650010960.2831362.1440010273283.JavaMail.yahoo@mail.yahoo.com> Why not submit a patch for a new startup flag which controls this behavior?  That way the souped-up setup gurus don't clash with the the users who "just want sound" with a default jack install.  (Thus no need for voting, which is so 19th century anyway...) -Jonathan On Wednesday, August 19, 2015 2:14 PM, Peter P. wrote: Hi, I just discovered that pd -jack will start a jackd if there is none running already. In src/s_audio_jack.c I found a comment saying that     (If no JACK server exists, jack_client_open() will start uone up by     default.  It's not clear whether or not this is desirable; see long Pd     list thread started by yvan volochine, June 2013) I would hereby vote for not starting the jackd server automatically, as jackd would pick up any ~/.jackdrc present in the user's homedir, which might not fit the desired sound card setup as ~/.jackdrc gets rewritten by qjackctl with its most recently used settings. Once users (such as me) start using multiple sound cards, at multiple sampling rats, with multiple other parameters, it becomes very hard to have Pd autostart jack with the desired settings automatically. It would start jackd, but with possibly confusing and unwanted settings. I changed the line 340 in src/s_audio_jack.c to     jack_client = jack_client_open (client_name, JackNoStartServer, &status, NULL) and recompiled and am happy with the new behavior. cheers, P _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterparker at fastmail.com Wed Aug 19 22:29:12 2015 From: peterparker at fastmail.com (Peter P.) Date: Wed, 19 Aug 2015 16:29:12 -0400 Subject: [PD] jack autostart? In-Reply-To: <1650010960.2831362.1440010273283.JavaMail.yahoo@mail.yahoo.com> References: <20150819181325.GA9980@fastmail.com> <1650010960.2831362.1440010273283.JavaMail.yahoo@mail.yahoo.com> Message-ID: <20150819202912.GB9980@fastmail.com> * Jonathan Wilkes [2015-08-19 14:51]: > Why not submit a patch for a new startup flag which controls this behavior?  That way the souped-up setup gurus don't clash with the the users who "just want sound" with a default jack install.  (Thus no need for voting, which is so 19th century anyway...) Thanks for this advice. I don't think anyone, at least Miller, wants another startup flag. Should have had said 'advocate' more than 'voting', which is so 17th century perhaps. From jancsika at yahoo.com Wed Aug 19 22:56:26 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Wed, 19 Aug 2015 20:56:26 +0000 (UTC) Subject: [PD] jack autostart? In-Reply-To: <20150819202912.GB9980@fastmail.com> References: <20150819181325.GA9980@fastmail.com> <1650010960.2831362.1440010273283.JavaMail.yahoo@mail.yahoo.com> <20150819202912.GB9980@fastmail.com> Message-ID: <1989831523.7254344.1440017786492.JavaMail.yahoo@mail.yahoo.com> What's wrong with another startup flag?  Aside from the -h output, people who don't need it never see it. -Jonathan On Wednesday, August 19, 2015 4:29 PM, Peter P. wrote: * Jonathan Wilkes [2015-08-19 14:51]: > Why not submit a patch for a new startup flag which controls this behavior?  That way the souped-up setup gurus don't clash with the the users who "just want sound" with a default jack install.  (Thus no need for voting, which is so 19th century anyway...) Thanks for this advice. I don't think anyone, at least Miller, wants another startup flag. Should have had said 'advocate' more than 'voting', which is so 17th century perhaps. -------------- next part -------------- An HTML attachment was scrubbed... URL: From 01ivier at labomedia.net Thu Aug 20 01:20:41 2015 From: 01ivier at labomedia.net (Olivier Baudu) Date: Thu, 20 Aug 2015 01:20:41 +0200 Subject: [PD] A patch to create a patch to create a patch to create a patch to close puredata... In-Reply-To: <55CA6DC0.3070103@labomedia.net> References: <558ACDFA.8030904@labomedia.net> <5592C084.2050209@labomedia.net> <559ACD03.20803@labomedia.net> <559AD2A5.5010709@rybn.org> <55A59BA8.7030703@labomedia.net> <55A8E5AB.5050309@free.fr> <55CA6DC0.3070103@labomedia.net> Message-ID: <55D50F49.6070805@labomedia.net> One more useless stuff for you, list : https://vimeo.com/136762246 Cheers °1 Le 11/08/2015 23:48, Olivier Baudu a écrit : > Hi list, > > Did you think I'd forgotten you ? :-p > > It follows : > > https://vimeo.com/136014798 > > Cheers... > > °1 > > Le 17/07/2015 13:41, i go bananas a écrit : >> these are awesome. >> >> On Fri, Jul 17, 2015 at 8:23 PM, Benjamin ~ b01 > > wrote: >> >> nice piece of digital art ;) >> >> btw, does someone on the list have an old patch that was producing a >> nice gui animation inside Pd ? >> I saw it a long ago @ Pd Conv Montreal ... >> >> thanks >> ++ >> benjamin >> >> Le 15/07/2015 01:30, Olivier Baudu a écrit : >> > Sorry list... >> > >> > I can't refrain myself... :-p >> > >> > The Bangarland : >> > https://vimeo.com/133499700 >> > >> > Cheers... >> > >> > 01 >> > >> > Le 06/07/2015 22:04, Jaime E Oliver a écrit : >> >> nice indeed! >> >> J >> >> On Jul 6, 2015, at 2:10 PM, Jack > wrote: >> >> >> >> Hello Olivier, >> >> >> >> Very nice ;) >> >> ++ >> >> >> >> Jack >> >> >> >> >> >> >> >> >> >> Le 06/07/2015 20:46, Olivier Baudu a écrit : >> >>>>> Thank you Julian... >> >>>>> >> >>>>> Well, I don't know if this one is funny but, for sure, it's still >> >>>>> useless... :-) >> >>>>> >> >>>>> The Carouslide: https://vimeo.com/132739686 >> >>>>> >> >>>>> :-p >> >>>>> >> >>>>> 01 >> >>>>> >> >>>>> Le 01/07/2015 15:02, Julian Brooks a écrit : >> >>>>>> definitely raised a smile :) >> >>>>>> >> >>>>>> 2015-06-30 17:15 GMT+01:00 Olivier Baudu <01ivier at labomedia.net >> >>>>>> >>: >> >>>>>> >> >>>>>> Hi list... >> >>>>>> >> >>>>>> I got bored again... so... >> >>>>>> >> >>>>>> https://vimeo.com/132195870 >> >>>>>> >> >>>>>> :-p >> >>>>>> >> >>>>>> Cheers... >> >>>>>> >> >>>>>> °1 >> >>>>>> >> >>>>>> Le 24/06/2015 17:34, Olivier Baudu a écrit : >> >>>>>>> Hi list... >> >>>>>>> >> >>>>>>> I had time to waste so here you are : >> >>>>>>> >> >>>>>>> https://vimeo.com/131648084 >> >>>>>>> >> >>>>>>> :-p >> >>>>>>> >> >>>>>>> Cheers... >> >>>>>>> >> >>>>>>> °1ivier >> >>>>>>> >> >>>>>>> >> >>>>>>> >> >>>>>>> _______________________________________________ >> >>>>>>> Pd-list at lists.iem.at >> > mailing >> >>>>>>> list UNSUBSCRIBE and account-management -> >> >>>>>>> http://lists.puredata.info/listinfo/pd-list >> >>>>>>> >> >>>>>> -- "On ne peut pas vivre dans un monde où l'on croit que >> >>>>>> l'élégance exquise du plumage de la pintade est inutile. Ceci est >> >>>>>> tout à fait à part. J'ai eu envie de le dire, je l'ai dit." Jean >> >>>>>> Giono, Un roi sans divertissement. >> >>>>>> >> >>>>>> _______________________________________________ >> >>>>>> Pd-list at lists.iem.at >> > mailing list >> >>>>>> UNSUBSCRIBE and account-management -> >> >>>>>> http://lists.puredata.info/listinfo/pd-list >> >>>>>> >> >>>>>> >> >>> _______________________________________________ >> >>> Pd-list at lists.iem.at mailing list >> >>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list >> >> >> >> _______________________________________________ >> >> Pd-list at lists.iem.at mailing list >> >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list >> >> >> > >> > >> > _______________________________________________ >> > Pd-list at lists.iem.at mailing list >> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list >> > -- "On ne peut pas vivre dans un monde où l'on croit que l'élégance exquise du plumage de la pintade est inutile. Ceci est tout à fait à part. J'ai eu envie de le dire, je l'ai dit." Jean Giono, Un roi sans divertissement. From jancsika at yahoo.com Thu Aug 20 04:49:46 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Thu, 20 Aug 2015 02:49:46 +0000 (UTC) Subject: [PD] another free c lesson: realloc In-Reply-To: <1621303154.7054945.1439998349934.JavaMail.yahoo@mail.yahoo.com> References: <1621303154.7054945.1439998349934.JavaMail.yahoo@mail.yahoo.com> Message-ID: <2126189374.7373098.1440038986372.JavaMail.yahoo@mail.yahoo.com> Looked at this again and I can't seem to induce an error or crash.  But I also cannot understand how gp_w can be used to reliably refer to an element in a dynamically allocated byte array. Doesn't this stackoverflow discussion apply here?http://stackoverflow.com/questions/2172127/how-to-update-other-pointers-when-realloc-moves-the-memory-block Thanks,Jonathan On Wednesday, August 19, 2015 11:33 AM, Jonathan Wilkes via Pd-list wrote: Hi list,So I'm looking at t_gpointer in m_pd.h, and I'm noticing that for arrays it has gp_w which is a union _word pointer.  This is the raw data that I was asking about in my previous request for a free lesson. :) However, in the code for [setsize] the data is resized dynamically using realloc. So... Suppose I have a [pointer] in a patch which is pointing to a nested array, and a [setsize] which is pointing to the container array.  If I send an enormous float to [setsize], isn't it likely that realloc will move the data and my [pointer] data will silently become stale?  After all, gp_w has no idea if realloc moves the data.  Seems like it'd be pointing to the wrong place and likely to cause a crash. I don't have access to a running Pd instance atm, otherwise I'd test... Thanks,Jonathan _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Thu Aug 20 20:37:35 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Thu, 20 Aug 2015 15:37:35 -0300 Subject: [PD] PD Pulp Puts PureData Patches Into A VST Message-ID: this is nice http://www.synthtopia.com/content/2015/08/19/pd-pulp-puts-puredata-patches-into-a-vst/ It's a project that uses libpd in JUCE, maybe you guys know about it. I never got into libpd but I know it is awesome. I never had to make patches compatible to vanilla for it, but now I have a strong motivation. So let me excuse myself to make the following silly question; you can include Pd externals, like zexy and cyclone libraries into libpd, right? What would be the restrains for externals? cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Sat Aug 22 00:44:41 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Fri, 21 Aug 2015 22:44:41 +0000 (UTC) Subject: [PD] locality with new [field] object Message-ID: <203848611.8437248.1440197081404.JavaMail.yahoo@mail.yahoo.com> Hi list,I just coded a new class called "field" to be used in conjunction with a new data structure type called "canvas".  (I got a prototype of the "canvas" type working awhile back, but this should be a bit more refined.) You start with a struct:[struct foo float x float y canvas a b] Then create a scalar from this struct. The scalar will have an "x" value, a "y" value, and a canvas "a" which gets filled with the contents of an abstraction "b.pd" that is somewhere in Pd's search path. Now here's the neat thing-- inside the newly instantiated "b.pd" you can do this: [loadbang]|[field x]|[print x] When you instantiate that scalar above, its canvas "a" will print out the value of the "x" field for that scalar.  In other words, the "a" canvas has access to all the field data of the scalar it belongs to. The interface is exactly like [v], which means you can do this: [loadbang]|[f]x[+ 1]|[field x] This will _change_ the value of "x" for the parent scalar.  So if you drew a little rectangle, when you instantiate your scalar you'll see it moving across the screen. Notice:* no gpointers necessary* no need to type the template name (since you can only have one per scalar) The way I think of this is like a sprite of Mario, where you can click on the sprite and see the code which is controling Mario (making him move, sing, etc.). Unfortunately the implementation is subject to my same uncertainty about realloc and pointers to array data.  But I'm hoping that either a) I'm wrong about that problem or b) someone will solve that problem and I'll use the same solution here. I'll try to post some screencasts once I do some more testing. Best,Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Sat Aug 22 16:55:45 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Sat, 22 Aug 2015 15:55:45 +0100 Subject: [PD] [cos~]replacement for webPd patch Message-ID: Hello, I have a patch I'd like to run in webpd that utilises [cos~]. Could someone share the maths required to replace [cos~] as it's not currently part of webpd? Can't get my head around it... Many thanks, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From hard.off at gmail.com Sat Aug 22 17:44:16 2015 From: hard.off at gmail.com (i go bananas) Date: Sun, 23 Aug 2015 01:44:16 +1000 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: Message-ID: Cos~ is vanilla pd. How does it not work? -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Sat Aug 22 17:50:00 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Sat, 22 Aug 2015 15:50:00 +0000 (UTC) Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: Message-ID: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> Webpd doesn't include every vanilla class.  So I guess from Julian's question that [cos~] isn't there. Julian-- are you looking to replace it with other vanilla objects, or are you trying to figure out how to port it to webpd? -Jonathan On Saturday, August 22, 2015 11:44 AM, i go bananas wrote: Cos~ is vanilla pd.  How does it not work?   _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Sat Aug 22 19:44:49 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Sat, 22 Aug 2015 18:44:49 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> Message-ID: Replacement with Vanilla please. Will work my up to porting... Cheers Jonathan On 22 August 2015 at 16:50, Jonathan Wilkes wrote: > Webpd doesn't include every vanilla class. So I guess from Julian's > question that [cos~] isn't there. > > Julian-- are you looking to replace it with other vanilla objects, or are > you trying to figure out how to port it to webpd? > > -Jonathan > > > > On Saturday, August 22, 2015 11:44 AM, i go bananas > wrote: > > > Cos~ is vanilla pd. How does it not work? > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Sat Aug 22 20:31:08 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Sat, 22 Aug 2015 18:31:08 +0000 (UTC) Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Does webpd have [table] and the cosinesum method for garrays? -Jonathan On Saturday, August 22, 2015 1:44 PM, Julian Brooks wrote: Replacement with Vanilla please. Will work my up to porting... Cheers Jonathan On 22 August 2015 at 16:50, Jonathan Wilkes wrote: Webpd doesn't include every vanilla class.  So I guess from Julian's question that [cos~] isn't there. Julian-- are you looking to replace it with other vanilla objects, or are you trying to figure out how to port it to webpd? -Jonathan On Saturday, August 22, 2015 11:44 AM, i go bananas wrote: Cos~ is vanilla pd.  How does it not work?   _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From danomatika at gmail.com Sun Aug 23 01:31:22 2015 From: danomatika at gmail.com (Dan Wilcox) Date: Sat, 22 Aug 2015 19:31:22 -0400 Subject: [PD] PD Pulp Puts PureData Patches Into A VST In-Reply-To: References: Message-ID: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com> Related: https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com > On Aug 21, 2015, at 6:00 AM, pd-list-request at lists.iem.at wrote: > > From: Alexandre Torres Porres > > Subject: [PD] PD Pulp Puts PureData Patches Into A VST > Date: August 20, 2015 at 2:37:35 PM EDT > To: "pd-list at lists.iem.at " > > > > this is nice > > http://www.synthtopia.com/content/2015/08/19/pd-pulp-puts-puredata-patches-into-a-vst/ > > It's a project that uses libpd in JUCE, maybe you guys know about it. > > I never got into libpd but I know it is awesome. I never had to make patches compatible to vanilla for it, but now I have a strong motivation. > > So let me excuse myself to make the following silly question; you can include Pd externals, like zexy and cyclone libraries into libpd, right? What would be the restrains for externals? > > cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: From danomatika at gmail.com Sun Aug 23 01:32:34 2015 From: danomatika at gmail.com (Dan Wilcox) Date: Sat, 22 Aug 2015 19:32:34 -0400 Subject: [PD] PD Pulp Puts PureData Patches Into A VST In-Reply-To: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com> References: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com> Message-ID: <43225F6A-A203-47EE-B3F3-EFC41F299F93@gmail.com> and some vanilla abstraction libs: https://github.com/rjdj/rjlib https://github.com/danomatika/rc-patches/ -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com > On Aug 22, 2015, at 7:31 PM, Dan Wilcox wrote: > > Related: https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd > -------- > Dan Wilcox > @danomatika > danomatika.com > robotcowboy.com >> On Aug 21, 2015, at 6:00 AM, pd-list-request at lists.iem.at wrote: >> >> From: Alexandre Torres Porres > >> Subject: [PD] PD Pulp Puts PureData Patches Into A VST >> Date: August 20, 2015 at 2:37:35 PM EDT >> To: "pd-list at lists.iem.at " > >> >> >> this is nice >> >> http://www.synthtopia.com/content/2015/08/19/pd-pulp-puts-puredata-patches-into-a-vst/ >> >> It's a project that uses libpd in JUCE, maybe you guys know about it. >> >> I never got into libpd but I know it is awesome. I never had to make patches compatible to vanilla for it, but now I have a strong motivation. >> >> So let me excuse myself to make the following silly question; you can include Pd externals, like zexy and cyclone libraries into libpd, right? What would be the restrains for externals? >> >> cheers > -------------- next part -------------- An HTML attachment was scrubbed... URL: From pat at digitalworlds.ufl.edu Sun Aug 23 02:16:28 2015 From: pat at digitalworlds.ufl.edu (Pagano, Patrick) Date: Sun, 23 Aug 2015 00:16:28 +0000 Subject: [PD] PD Pulp Puts PureData Patches Into A VST In-Reply-To: <43225F6A-A203-47EE-B3F3-EFC41F299F93@gmail.com> References: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com>, <43225F6A-A203-47EE-B3F3-EFC41F299F93@gmail.com> Message-ID: <1440289240821.33259@digitalworlds.ufl.edu> ?How does you use the Params inside the host, i am assuming that there must be a naming convention inside the patch? I did not get any patches to respond to the parameter movings pp Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ________________________________ From: Pd-list on behalf of Dan Wilcox Sent: Saturday, August 22, 2015 7:32 PM To: Alexandre Torres Porres Cc: pd-list at mail.iem.at Subject: Re: [PD] PD Pulp Puts PureData Patches Into A VST and some vanilla abstraction libs: https://github.com/rjdj/rjlib https://github.com/danomatika/rc-patches/ -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com On Aug 22, 2015, at 7:31 PM, Dan Wilcox > wrote: Related: https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com On Aug 21, 2015, at 6:00 AM, pd-list-request at lists.iem.at wrote: From: Alexandre Torres Porres > Subject: [PD] PD Pulp Puts PureData Patches Into A VST Date: August 20, 2015 at 2:37:35 PM EDT To: "pd-list at lists.iem.at" > this is nice http://www.synthtopia.com/content/2015/08/19/pd-pulp-puts-puredata-patches-into-a-vst/ It's a project that uses libpd in JUCE, maybe you guys know about it. I never got into libpd but I know it is awesome. I never had to make patches compatible to vanilla for it, but now I have a strong motivation. So let me excuse myself to make the following silly question; you can include Pd externals, like zexy and cyclone libraries into libpd, right? What would be the restrains for externals? cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Sun Aug 23 07:21:46 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Sun, 23 Aug 2015 02:21:46 -0300 Subject: [PD] PD Pulp Puts PureData Patches Into A VST In-Reply-To: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com> References: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com> Message-ID: as I understand it then, it seems easy and if you're interested you can include a couple of libraries. Good. thanks 2015-08-22 20:31 GMT-03:00 Dan Wilcox : > Related: > https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd > -------- > Dan Wilcox > @danomatika > danomatika.com > robotcowboy.com > > On Aug 21, 2015, at 6:00 AM, pd-list-request at lists.iem.at wrote: > > *From: *Alexandre Torres Porres > *Subject: **[PD] PD Pulp Puts PureData Patches Into A VST* > *Date: *August 20, 2015 at 2:37:35 PM EDT > *To: *"pd-list at lists.iem.at" > > > this is nice > > > http://www.synthtopia.com/content/2015/08/19/pd-pulp-puts-puredata-patches-into-a-vst/ > > It's a project that uses libpd in JUCE, maybe you guys know about it. > > I never got into libpd but I know it is awesome. I never had to make > patches compatible to vanilla for it, but now I have a strong motivation. > > So let me excuse myself to make the following silly question; you can > include Pd externals, like zexy and cyclone libraries into libpd, right? > What would be the restrains for externals? > > cheers > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Sun Aug 23 11:14:06 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Sun, 23 Aug 2015 10:14:06 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: [table] yes (object list here: https://github.com/sebpiq/WebPd/blob/master/OBJECTLIST.md ) not sure about cosinesum message (nice call hadn't thought of that) - will check later when back at it. I'm presuming that there's solid reasoning on Seb's part why certain objects haven't yet been ported yet (ie they're tricky). On 22 August 2015 at 19:31, Jonathan Wilkes wrote: > Does webpd have [table] and the cosinesum method for garrays? > > -Jonathan > > > > On Saturday, August 22, 2015 1:44 PM, Julian Brooks > wrote: > > > Replacement with Vanilla please. > > Will work my up to porting... > > Cheers Jonathan > > On 22 August 2015 at 16:50, Jonathan Wilkes wrote: > > Webpd doesn't include every vanilla class. So I guess from Julian's > question that [cos~] isn't there. > > Julian-- are you looking to replace it with other vanilla objects, or are > you trying to figure out how to port it to webpd? > > -Jonathan > > > > On Saturday, August 22, 2015 11:44 AM, i go bananas > wrote: > > > Cos~ is vanilla pd. How does it not work? > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Sun Aug 23 11:15:58 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Sun, 23 Aug 2015 10:15:58 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: ... [env~] being another On 23 August 2015 at 10:14, Julian Brooks wrote: > [table] yes > (object list here: > https://github.com/sebpiq/WebPd/blob/master/OBJECTLIST.md ) > > not sure about cosinesum message (nice call hadn't thought of that) - will > check later when back at it. > > I'm presuming that there's solid reasoning on Seb's part why certain > objects haven't yet been ported yet (ie they're tricky). > > > On 22 August 2015 at 19:31, Jonathan Wilkes wrote: > >> Does webpd have [table] and the cosinesum method for garrays? >> >> -Jonathan >> >> >> >> On Saturday, August 22, 2015 1:44 PM, Julian Brooks >> wrote: >> >> >> Replacement with Vanilla please. >> >> Will work my up to porting... >> >> Cheers Jonathan >> >> On 22 August 2015 at 16:50, Jonathan Wilkes wrote: >> >> Webpd doesn't include every vanilla class. So I guess from Julian's >> question that [cos~] isn't there. >> >> Julian-- are you looking to replace it with other vanilla objects, or are >> you trying to figure out how to port it to webpd? >> >> -Jonathan >> >> >> >> On Saturday, August 22, 2015 11:44 AM, i go bananas >> wrote: >> >> >> Cos~ is vanilla pd. How does it not work? >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> >> >> >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Sun Aug 23 19:04:41 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Sun, 23 Aug 2015 14:04:41 -0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: you can treat [osc~] as [cos~] just give it a frequency of "0" and use the phase inlet as the angle input (from 0 to 1). 2015-08-23 6:14 GMT-03:00 Julian Brooks : > [table] yes > (object list here: > https://github.com/sebpiq/WebPd/blob/master/OBJECTLIST.md ) > > not sure about cosinesum message (nice call hadn't thought of that) - will > check later when back at it. > > I'm presuming that there's solid reasoning on Seb's part why certain > objects haven't yet been ported yet (ie they're tricky). > > > On 22 August 2015 at 19:31, Jonathan Wilkes wrote: > >> Does webpd have [table] and the cosinesum method for garrays? >> >> -Jonathan >> >> >> >> On Saturday, August 22, 2015 1:44 PM, Julian Brooks >> wrote: >> >> >> Replacement with Vanilla please. >> >> Will work my up to porting... >> >> Cheers Jonathan >> >> On 22 August 2015 at 16:50, Jonathan Wilkes wrote: >> >> Webpd doesn't include every vanilla class. So I guess from Julian's >> question that [cos~] isn't there. >> >> Julian-- are you looking to replace it with other vanilla objects, or are >> you trying to figure out how to port it to webpd? >> >> -Jonathan >> >> >> >> On Saturday, August 22, 2015 11:44 AM, i go bananas >> wrote: >> >> >> Cos~ is vanilla pd. How does it not work? >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> >> >> >> >> > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Sun Aug 23 20:31:35 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Sun, 23 Aug 2015 20:31:35 +0200 Subject: [PD] jack autostart? In-Reply-To: <20150819181325.GA9980@fastmail.com> References: <20150819181325.GA9980@fastmail.com> Message-ID: <55DA1187.7090100@iem.at> On 08/19/2015 08:13 PM, Peter P. wrote: > Hi, in Debian (and derivatives, like Ubuntu), starting with puredata_0.46.6-1, jack autostart has been disabled (see the "fix_dont_autostart_jack.patch" at [1]). > I would hereby vote for not starting the jackd server automatically, as > jackd would pick up any ~/.jackdrc present in the user's homedir, which > might not fit the desired sound card setup as ~/.jackdrc gets rewritten > by qjackctl with its most recently used settings. but this was not the reason, as i think it's rather simple to work around (just don't automatically pick jack as Pd's audio backend; and make sure that jack is running with the correct setting before you switch audio to "jack") the reason why i *was* changed is, that once jack has been autostarted, it is impossible to quit Pd properly (most likely due to the fork-off of pd-gui; but i haven't been able to properly track it down). but anyhow, i agree: i would also vote for disabling jack-autostart, as it makes more trouble than it solves. fgmrdsa IOhannes [1] http://anonscm.debian.org/cgit/collab-maint/puredata.git/tree/debian/patches > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From peterparker at fastmail.com Sun Aug 23 21:11:46 2015 From: peterparker at fastmail.com (Peter P.) Date: Sun, 23 Aug 2015 15:11:46 -0400 Subject: [PD] jack autostart? In-Reply-To: <55DA1187.7090100@iem.at> References: <20150819181325.GA9980@fastmail.com> <55DA1187.7090100@iem.at> Message-ID: <20150823191146.GB3876@fastmail.com> IOhannes, * IOhannes m zmölnig [2015-08-23 14:32]: > On 08/19/2015 08:13 PM, Peter P. wrote: > > Hi, > > in Debian (and derivatives, like Ubuntu), starting with > puredata_0.46.6-1, jack autostart has been disabled (see the > "fix_dont_autostart_jack.patch" at [1]). I am on Debian with Miller's git and pd -version gives me Pd-0.46.6 ("") compiled 14:05:53 Aug 19 2015 > > I would hereby vote for not starting the jackd server automatically, as > > jackd would pick up any ~/.jackdrc present in the user's homedir, which > > might not fit the desired sound card setup as ~/.jackdrc gets rewritten > > by qjackctl with its most recently used settings. > the reason why i *was* changed is, that once jack has been autostarted, > it is impossible to quit Pd properly (most likely due to the fork-off of > pd-gui; but i haven't been able to properly track it down). Ah, interesting behavior. Well, it seems this one gets ruled out once autostart is disabled. > but anyhow, i agree: i would also vote for disabling jack-autostart, as > it makes more trouble than it solves. Thanks, best, P From adrcki at gmail.com Sun Aug 23 21:37:38 2015 From: adrcki at gmail.com (Alexandros Drymonitis) Date: Sun, 23 Aug 2015 22:37:38 +0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres wrote: > you can treat [osc~] as [cos~] > > just give it a frequency of "0" and use the phase inlet as the angle input > (from 0 to 1). > But the phase inlet of [osc~] is a control inlet, and [cos~] takes signals.. -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Sun Aug 23 21:53:05 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Sun, 23 Aug 2015 16:53:05 -0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: i do realize that, but who knows what he needs this for, it may work... :) 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : > > > On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres > wrote: > >> you can treat [osc~] as [cos~] >> >> just give it a frequency of "0" and use the phase inlet as the angle >> input (from 0 to 1). >> > But the phase inlet of [osc~] is a control inlet, and [cos~] takes > signals.. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Sun Aug 23 22:35:39 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Sun, 23 Aug 2015 21:35:39 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: Alexandre & Alexandros, Cheers for pitching in. It's for a random bleepy patch. Unfortunately [osc~] doesn't have the tonal quality I'm after - good idea though. On 23 August 2015 at 20:53, Alexandre Torres Porres wrote: > i do realize that, but who knows what he needs this for, it may work... :) > > 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : > >> >> >> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >> porres at gmail.com> wrote: >> >>> you can treat [osc~] as [cos~] >>> >>> just give it a frequency of "0" and use the phase inlet as the angle >>> input (from 0 to 1). >>> >> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >> signals.. >> >> > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From msp at ucsd.edu Sun Aug 23 23:12:27 2015 From: msp at ucsd.edu (Miller Puckette) Date: Sun, 23 Aug 2015 14:12:27 -0700 Subject: [PD] jack autostart? In-Reply-To: <20150823191146.GB3876@fastmail.com> References: <20150819181325.GA9980@fastmail.com> <55DA1187.7090100@iem.at> <20150823191146.GB3876@fastmail.com> Message-ID: <20150823211227.GP4558@fuzz.localdomain> OK.. I've applied the no-autostart patch (and another I found, about .config files) from the debian patches. Another of them (fix_vararg-on-arm64.patch got applied earlier. Hoping to get a 0.47 out in Sept. cheers Miller On Sun, Aug 23, 2015 at 03:11:46PM -0400, Peter P. wrote: > IOhannes, > > * IOhannes m zmölnig [2015-08-23 14:32]: > > On 08/19/2015 08:13 PM, Peter P. wrote: > > > Hi, > > > > in Debian (and derivatives, like Ubuntu), starting with > > puredata_0.46.6-1, jack autostart has been disabled (see the > > "fix_dont_autostart_jack.patch" at [1]). > I am on Debian with Miller's git and > pd -version gives me > Pd-0.46.6 ("") compiled 14:05:53 Aug 19 2015 > > > > I would hereby vote for not starting the jackd server automatically, as > > > jackd would pick up any ~/.jackdrc present in the user's homedir, which > > > might not fit the desired sound card setup as ~/.jackdrc gets rewritten > > > by qjackctl with its most recently used settings. > > > the reason why i *was* changed is, that once jack has been autostarted, > > it is impossible to quit Pd properly (most likely due to the fork-off of > > pd-gui; but i haven't been able to properly track it down). > Ah, interesting behavior. Well, it seems this one gets ruled out once > autostart is disabled. > > > but anyhow, i agree: i would also vote for disabling jack-autostart, as > > it makes more trouble than it solves. > Thanks, > > best, P > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list From jbeezez at gmail.com Sun Aug 23 23:38:41 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Sun, 23 Aug 2015 22:38:41 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: Can't seem to get 'cosinesum message' working with webpd On 23 August 2015 at 21:35, Julian Brooks wrote: > Alexandre & Alexandros, > > Cheers for pitching in. > > It's for a random bleepy patch. > Unfortunately [osc~] doesn't have the tonal quality I'm after - good idea > though. > > On 23 August 2015 at 20:53, Alexandre Torres Porres > wrote: > >> i do realize that, but who knows what he needs this for, it may work... :) >> >> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : >> >>> >>> >>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>> porres at gmail.com> wrote: >>> >>>> you can treat [osc~] as [cos~] >>>> >>>> just give it a frequency of "0" and use the phase inlet as the angle >>>> input (from 0 to 1). >>>> >>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>> signals.. >>> >>> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterparker at fastmail.com Sun Aug 23 23:55:52 2015 From: peterparker at fastmail.com (Peter P.) Date: Sun, 23 Aug 2015 17:55:52 -0400 Subject: [PD] jack autostart? In-Reply-To: <20150823211227.GP4558@fuzz.localdomain> References: <20150819181325.GA9980@fastmail.com> <55DA1187.7090100@iem.at> <20150823191146.GB3876@fastmail.com> <20150823211227.GP4558@fuzz.localdomain> Message-ID: <20150823215552.GC3876@fastmail.com> * Miller Puckette [2015-08-23 17:12]: > OK.. I've applied the no-autostart patch (and another I found, about > .config files) from the debian patches. Another of them > (fix_vararg-on-arm64.patch got applied earlier. > > Hoping to get a 0.47 out in Sept. Thanks Miller, thanks IOhannes! This is great! From zmoelnig at iem.at Mon Aug 24 00:00:34 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Mon, 24 Aug 2015 00:00:34 +0200 Subject: [PD] jack autostart? In-Reply-To: <20150823191146.GB3876@fastmail.com> References: <20150819181325.GA9980@fastmail.com> <55DA1187.7090100@iem.at> <20150823191146.GB3876@fastmail.com> Message-ID: <55DA4282.6070205@iem.at> On 08/23/2015 09:11 PM, Peter P. wrote: >> in Debian (and derivatives, like Ubuntu), starting with >> puredata_0.46.6-1, jack autostart has been disabled (see the >> "fix_dont_autostart_jack.patch" at [1]). > I am on Debian with Miller's git and sorry, if i was unclear. i was talking about the puredata Debian package, which is *almost* pd-vanilla. luckily, there are no Debian specific patches in the puredata codebase. > pd -version gives me > Pd-0.46.6 ("") compiled 14:05:53 Aug 19 2015 > btw, if you are using the Debian packages, you should get something like: $ pd -version Pd-0.46.6 ("Debian-0.46.6-2") $ adsmr IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From peterparker at fastmail.com Mon Aug 24 00:06:35 2015 From: peterparker at fastmail.com (Peter P.) Date: Sun, 23 Aug 2015 18:06:35 -0400 Subject: [PD] jack autostart? In-Reply-To: <55DA4282.6070205@iem.at> References: <20150819181325.GA9980@fastmail.com> <55DA1187.7090100@iem.at> <20150823191146.GB3876@fastmail.com> <55DA4282.6070205@iem.at> Message-ID: <20150823220635.GD3876@fastmail.com> * IOhannes m zmölnig [2015-08-23 18:01]: > On 08/23/2015 09:11 PM, Peter P. wrote: > >> in Debian (and derivatives, like Ubuntu), starting with > >> puredata_0.46.6-1, jack autostart has been disabled (see the > >> "fix_dont_autostart_jack.patch" at [1]). > > > I am on Debian with Miller's git and > > sorry, if i was unclear. > i was talking about the puredata Debian package, which is *almost* > pd-vanilla. Ah, and it has a numbering scheme that adds an -N to the version number I understand. > luckily, there are no Debian specific patches in the puredata codebase. Yes, I guess this is good. > > pd -version gives me > > Pd-0.46.6 ("") compiled 14:05:53 Aug 19 2015 > > > > btw, if you are using the Debian packages, you should get something like: > $ pd -version > Pd-0.46.6 ("Debian-0.46.6-2") Nice! I stick to my own compiled ones, but it sure is great that Debian packages exist! xyz, PP From porres at gmail.com Mon Aug 24 08:26:08 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Mon, 24 Aug 2015 03:26:08 -0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: > Unfortunately [osc~] doesn't have the tonal quality I'm after how is that? 2015-08-23 17:35 GMT-03:00 Julian Brooks : > Alexandre & Alexandros, > > Cheers for pitching in. > > It's for a random bleepy patch. > Unfortunately [osc~] doesn't have the tonal quality I'm after - good idea > though. > > On 23 August 2015 at 20:53, Alexandre Torres Porres > wrote: > >> i do realize that, but who knows what he needs this for, it may work... :) >> >> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : >> >>> >>> >>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>> porres at gmail.com> wrote: >>> >>>> you can treat [osc~] as [cos~] >>>> >>>> just give it a frequency of "0" and use the phase inlet as the angle >>>> input (from 0 to 1). >>>> >>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>> signals.. >>> >>> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Mon Aug 24 08:29:15 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Mon, 24 Aug 2015 03:29:15 -0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: cause I made some tests, [osc~] will give the same result as [cos~]... 2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : > > Unfortunately [osc~] doesn't have the tonal quality I'm after > > how is that? > > 2015-08-23 17:35 GMT-03:00 Julian Brooks : > >> Alexandre & Alexandros, >> >> Cheers for pitching in. >> >> It's for a random bleepy patch. >> Unfortunately [osc~] doesn't have the tonal quality I'm after - good idea >> though. >> >> On 23 August 2015 at 20:53, Alexandre Torres Porres >> wrote: >> >>> i do realize that, but who knows what he needs this for, it may work... >>> :) >>> >>> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : >>> >>>> >>>> >>>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>>> porres at gmail.com> wrote: >>>> >>>>> you can treat [osc~] as [cos~] >>>>> >>>>> just give it a frequency of "0" and use the phase inlet as the angle >>>>> input (from 0 to 1). >>>>> >>>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>>> signals.. >>>> >>>> >>> >>> _______________________________________________ >>> Pd-list at lists.iem.at mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrcki at gmail.com Mon Aug 24 10:18:43 2015 From: adrcki at gmail.com (Alexandros Drymonitis) Date: Mon, 24 Aug 2015 11:18:43 +0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: what about this? [table_size( | [until] | [f]x[+ 1] | [t f f]__________ | | [/ table_size] | | | [* twoPi] | | | [cos] | | | [tabwrite table name] well, ASCII patches don't look so good, but I hope you get the picture. On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres wrote: > cause I made some tests, [osc~] will give the same result as [cos~]... > > 2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : > >> > Unfortunately [osc~] doesn't have the tonal quality I'm after >> >> how is that? >> >> 2015-08-23 17:35 GMT-03:00 Julian Brooks : >> >>> Alexandre & Alexandros, >>> >>> Cheers for pitching in. >>> >>> It's for a random bleepy patch. >>> Unfortunately [osc~] doesn't have the tonal quality I'm after - good >>> idea though. >>> >>> On 23 August 2015 at 20:53, Alexandre Torres Porres >>> wrote: >>> >>>> i do realize that, but who knows what he needs this for, it may work... >>>> :) >>>> >>>> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : >>>> >>>>> >>>>> >>>>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>>>> porres at gmail.com> wrote: >>>>> >>>>>> you can treat [osc~] as [cos~] >>>>>> >>>>>> just give it a frequency of "0" and use the phase inlet as the angle >>>>>> input (from 0 to 1). >>>>>> >>>>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>>>> signals.. >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Pd-list at lists.iem.at mailing list >>>> UNSUBSCRIBE and account-management -> >>>> http://lists.puredata.info/listinfo/pd-list >>>> >>>> >>> >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: From white.joe4 at gmail.com Mon Aug 24 11:30:10 2015 From: white.joe4 at gmail.com (Joe White) Date: Mon, 24 Aug 2015 10:30:10 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Julian, I've attached an optimised implementation for [cos~] that we've been using for Heavy. It's an approximate taylor series expansion but it should be much faster than just using cosf(). Hopefully webpd supports [abs~] and [wrap~]. Cheers, Joe On 24 August 2015 at 09:18, Alexandros Drymonitis wrote: > what about this? > > [table_size( > | > [until] > | > [f]x[+ 1] > | > [t f f]__________ > | | > [/ table_size] | > | | > [* twoPi] | > | | > [cos] | > | | > [tabwrite table name] > > > well, ASCII patches don't look so good, but I hope you get the picture. > > On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres > wrote: > >> cause I made some tests, [osc~] will give the same result as [cos~]... >> >> 2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : >> >>> > Unfortunately [osc~] doesn't have the tonal quality I'm after >>> >>> how is that? >>> >>> 2015-08-23 17:35 GMT-03:00 Julian Brooks : >>> >>>> Alexandre & Alexandros, >>>> >>>> Cheers for pitching in. >>>> >>>> It's for a random bleepy patch. >>>> Unfortunately [osc~] doesn't have the tonal quality I'm after - good >>>> idea though. >>>> >>>> On 23 August 2015 at 20:53, Alexandre Torres Porres >>>> wrote: >>>> >>>>> i do realize that, but who knows what he needs this for, it may >>>>> work... :) >>>>> >>>>> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : >>>>> >>>>>> >>>>>> >>>>>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>>>>> porres at gmail.com> wrote: >>>>>> >>>>>>> you can treat [osc~] as [cos~] >>>>>>> >>>>>>> just give it a frequency of "0" and use the phase inlet as the angle >>>>>>> input (from 0 to 1). >>>>>>> >>>>>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>>>>> signals.. >>>>>> >>>>>> >>>>> >>>>> _______________________________________________ >>>>> Pd-list at lists.iem.at mailing list >>>>> UNSUBSCRIBE and account-management -> >>>>> http://lists.puredata.info/listinfo/pd-list >>>>> >>>>> >>>> >>> >> > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cos~.pd Type: application/octet-stream Size: 817 bytes Desc: not available URL: From jbeezez at gmail.com Mon Aug 24 16:03:06 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Mon, 24 Aug 2015 15:03:06 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: Some good stuff here, thanks people. [osc~] doesn't appear to take arguments so that's out. I don't doubt Alexandre's ears or thoroughness but in this instance,when replacing [cos~] with [osc~] there's a big difference in the sound. Alexandros - thanks for the sketch, yes it does make sense, webpd has no [until] or [cos]. Joe- nice implementation, again unfortunately there's no [abs~] or [wrap~]. What I do think from the hints and suggestions given is that I've got enough to be getting on with to make something approximately close and hopefully interesting. Thanks all for suggestions so far, Julian On 24 August 2015 at 10:30, Joe White wrote: > Hi Julian, > > I've attached an optimised implementation for [cos~] that we've been using > for Heavy. It's an approximate taylor series expansion but it should be > much faster than just using cosf(). Hopefully webpd supports [abs~] and > [wrap~]. > > Cheers, > Joe > > On 24 August 2015 at 09:18, Alexandros Drymonitis > wrote: > >> what about this? >> >> [table_size( >> | >> [until] >> | >> [f]x[+ 1] >> | >> [t f f]__________ >> | | >> [/ table_size] | >> | | >> [* twoPi] | >> | | >> [cos] | >> | | >> [tabwrite table name] >> >> >> well, ASCII patches don't look so good, but I hope you get the picture. >> >> On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres < >> porres at gmail.com> wrote: >> >>> cause I made some tests, [osc~] will give the same result as [cos~]... >>> >>> 2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : >>> >>>> > Unfortunately [osc~] doesn't have the tonal quality I'm after >>>> >>>> how is that? >>>> >>>> 2015-08-23 17:35 GMT-03:00 Julian Brooks : >>>> >>>>> Alexandre & Alexandros, >>>>> >>>>> Cheers for pitching in. >>>>> >>>>> It's for a random bleepy patch. >>>>> Unfortunately [osc~] doesn't have the tonal quality I'm after - good >>>>> idea though. >>>>> >>>>> On 23 August 2015 at 20:53, Alexandre Torres Porres >>>>> wrote: >>>>> >>>>>> i do realize that, but who knows what he needs this for, it may >>>>>> work... :) >>>>>> >>>>>> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : >>>>>> >>>>>>> >>>>>>> >>>>>>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>>>>>> porres at gmail.com> wrote: >>>>>>> >>>>>>>> you can treat [osc~] as [cos~] >>>>>>>> >>>>>>>> just give it a frequency of "0" and use the phase inlet as the >>>>>>>> angle input (from 0 to 1). >>>>>>>> >>>>>>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>>>>>> signals.. >>>>>>> >>>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> Pd-list at lists.iem.at mailing list >>>>>> UNSUBSCRIBE and account-management -> >>>>>> http://lists.puredata.info/listinfo/pd-list >>>>>> >>>>>> >>>>> >>>> >>> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebpiq at gmail.com Mon Aug 24 16:10:49 2015 From: sebpiq at gmail.com (s p) Date: Mon, 24 Aug 2015 17:10:49 +0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hi Julian, I've never used [cos~], can you explain to me why an [osc~] with the correct phase cannot do the trick? Cheers On Mon, Aug 24, 2015 at 5:03 PM, Julian Brooks wrote: > Some good stuff here, thanks people. > > [osc~] doesn't appear to take arguments so that's out. > I don't doubt Alexandre's ears or thoroughness but in this instance,when > replacing [cos~] with [osc~] there's a big difference in the sound. > Alexandros - thanks for the sketch, yes it does make sense, webpd has no > [until] or [cos]. > Joe- nice implementation, again unfortunately there's no [abs~] or [wrap~]. > > What I do think from the hints and suggestions given is that I've got > enough to be getting on with to make something approximately close and > hopefully interesting. > > Thanks all for suggestions so far, > > Julian > > On 24 August 2015 at 10:30, Joe White wrote: > >> Hi Julian, >> >> I've attached an optimised implementation for [cos~] that we've been >> using for Heavy. It's an approximate taylor series expansion but it should >> be much faster than just using cosf(). Hopefully webpd supports [abs~] and >> [wrap~]. >> >> Cheers, >> Joe >> >> On 24 August 2015 at 09:18, Alexandros Drymonitis >> wrote: >> >>> what about this? >>> >>> [table_size( >>> | >>> [until] >>> | >>> [f]x[+ 1] >>> | >>> [t f f]__________ >>> | | >>> [/ table_size] | >>> | | >>> [* twoPi] | >>> | | >>> [cos] | >>> | | >>> [tabwrite table name] >>> >>> >>> well, ASCII patches don't look so good, but I hope you get the picture. >>> >>> On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres < >>> porres at gmail.com> wrote: >>> >>>> cause I made some tests, [osc~] will give the same result as [cos~]... >>>> >>>> 2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : >>>> >>>>> > Unfortunately [osc~] doesn't have the tonal quality I'm after >>>>> >>>>> how is that? >>>>> >>>>> 2015-08-23 17:35 GMT-03:00 Julian Brooks : >>>>> >>>>>> Alexandre & Alexandros, >>>>>> >>>>>> Cheers for pitching in. >>>>>> >>>>>> It's for a random bleepy patch. >>>>>> Unfortunately [osc~] doesn't have the tonal quality I'm after - good >>>>>> idea though. >>>>>> >>>>>> On 23 August 2015 at 20:53, Alexandre Torres Porres >>>>> > wrote: >>>>>> >>>>>>> i do realize that, but who knows what he needs this for, it may >>>>>>> work... :) >>>>>>> >>>>>>> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>>>>>>> porres at gmail.com> wrote: >>>>>>>> >>>>>>>>> you can treat [osc~] as [cos~] >>>>>>>>> >>>>>>>>> just give it a frequency of "0" and use the phase inlet as the >>>>>>>>> angle input (from 0 to 1). >>>>>>>>> >>>>>>>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>>>>>>> signals.. >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> _______________________________________________ >>>>>>> Pd-list at lists.iem.at mailing list >>>>>>> UNSUBSCRIBE and account-management -> >>>>>>> http://lists.puredata.info/listinfo/pd-list >>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> Pd-list at lists.iem.at mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >>> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- *Sébastien Piquemal* -----* @sebpiq* ----- http://github.com/sebpiq ----- http://funktion.fm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Mon Aug 24 16:18:14 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Mon, 24 Aug 2015 15:18:14 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: Hey Seb, Good to hear from you... Does [osc~] take arguments? In my test when I gave the patch an [osc~ 0] I got an error in the console saying '0' not understood and I presumed that was my argument being spat back. I can't really explain why it doesn't sound right to be honest, this is why I'm here asking:). I need to do some more coding and get back to you on that one. Regards, Julian On 24 August 2015 at 15:10, s p wrote: > Hi Julian, > > I've never used [cos~], can you explain to me why an [osc~] with the > correct phase cannot do the trick? > > Cheers > > On Mon, Aug 24, 2015 at 5:03 PM, Julian Brooks wrote: > >> Some good stuff here, thanks people. >> >> [osc~] doesn't appear to take arguments so that's out. >> I don't doubt Alexandre's ears or thoroughness but in this instance,when >> replacing [cos~] with [osc~] there's a big difference in the sound. >> Alexandros - thanks for the sketch, yes it does make sense, webpd has no >> [until] or [cos]. >> Joe- nice implementation, again unfortunately there's no [abs~] or >> [wrap~]. >> >> What I do think from the hints and suggestions given is that I've got >> enough to be getting on with to make something approximately close and >> hopefully interesting. >> >> Thanks all for suggestions so far, >> >> Julian >> >> On 24 August 2015 at 10:30, Joe White wrote: >> >>> Hi Julian, >>> >>> I've attached an optimised implementation for [cos~] that we've been >>> using for Heavy. It's an approximate taylor series expansion but it should >>> be much faster than just using cosf(). Hopefully webpd supports [abs~] and >>> [wrap~]. >>> >>> Cheers, >>> Joe >>> >>> On 24 August 2015 at 09:18, Alexandros Drymonitis >>> wrote: >>> >>>> what about this? >>>> >>>> [table_size( >>>> | >>>> [until] >>>> | >>>> [f]x[+ 1] >>>> | >>>> [t f f]__________ >>>> | | >>>> [/ table_size] | >>>> | | >>>> [* twoPi] | >>>> | | >>>> [cos] | >>>> | | >>>> [tabwrite table name] >>>> >>>> >>>> well, ASCII patches don't look so good, but I hope you get the picture. >>>> >>>> On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres < >>>> porres at gmail.com> wrote: >>>> >>>>> cause I made some tests, [osc~] will give the same result as [cos~]... >>>>> >>>>> 2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : >>>>> >>>>>> > Unfortunately [osc~] doesn't have the tonal quality I'm after >>>>>> >>>>>> how is that? >>>>>> >>>>>> 2015-08-23 17:35 GMT-03:00 Julian Brooks : >>>>>> >>>>>>> Alexandre & Alexandros, >>>>>>> >>>>>>> Cheers for pitching in. >>>>>>> >>>>>>> It's for a random bleepy patch. >>>>>>> Unfortunately [osc~] doesn't have the tonal quality I'm after - good >>>>>>> idea though. >>>>>>> >>>>>>> On 23 August 2015 at 20:53, Alexandre Torres Porres < >>>>>>> porres at gmail.com> wrote: >>>>>>> >>>>>>>> i do realize that, but who knows what he needs this for, it may >>>>>>>> work... :) >>>>>>>> >>>>>>>> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis >>>>>>>> : >>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>>>>>>>> porres at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> you can treat [osc~] as [cos~] >>>>>>>>>> >>>>>>>>>> just give it a frequency of "0" and use the phase inlet as the >>>>>>>>>> angle input (from 0 to 1). >>>>>>>>>> >>>>>>>>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>>>>>>>> signals.. >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Pd-list at lists.iem.at mailing list >>>>>>>> UNSUBSCRIBE and account-management -> >>>>>>>> http://lists.puredata.info/listinfo/pd-list >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Pd-list at lists.iem.at mailing list >>>> UNSUBSCRIBE and account-management -> >>>> http://lists.puredata.info/listinfo/pd-list >>>> >>>> >>> >>> _______________________________________________ >>> Pd-list at lists.iem.at mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >>> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > > -- > > *Sébastien Piquemal* > > -----* @sebpiq* > ----- http://github.com/sebpiq > ----- http://funktion.fm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Mon Aug 24 16:18:38 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Mon, 24 Aug 2015 11:18:38 -0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: can you send me the patch so I can hear the difference? there's no argument, but you can use loadbang with a message... 2015-08-24 11:10 GMT-03:00 s p : > Hi Julian, > > I've never used [cos~], can you explain to me why an [osc~] with the > correct phase cannot do the trick? > > Cheers > > On Mon, Aug 24, 2015 at 5:03 PM, Julian Brooks wrote: > >> Some good stuff here, thanks people. >> >> [osc~] doesn't appear to take arguments so that's out. >> I don't doubt Alexandre's ears or thoroughness but in this instance,when >> replacing [cos~] with [osc~] there's a big difference in the sound. >> Alexandros - thanks for the sketch, yes it does make sense, webpd has no >> [until] or [cos]. >> Joe- nice implementation, again unfortunately there's no [abs~] or >> [wrap~]. >> >> What I do think from the hints and suggestions given is that I've got >> enough to be getting on with to make something approximately close and >> hopefully interesting. >> >> Thanks all for suggestions so far, >> >> Julian >> >> On 24 August 2015 at 10:30, Joe White wrote: >> >>> Hi Julian, >>> >>> I've attached an optimised implementation for [cos~] that we've been >>> using for Heavy. It's an approximate taylor series expansion but it should >>> be much faster than just using cosf(). Hopefully webpd supports [abs~] and >>> [wrap~]. >>> >>> Cheers, >>> Joe >>> >>> On 24 August 2015 at 09:18, Alexandros Drymonitis >>> wrote: >>> >>>> what about this? >>>> >>>> [table_size( >>>> | >>>> [until] >>>> | >>>> [f]x[+ 1] >>>> | >>>> [t f f]__________ >>>> | | >>>> [/ table_size] | >>>> | | >>>> [* twoPi] | >>>> | | >>>> [cos] | >>>> | | >>>> [tabwrite table name] >>>> >>>> >>>> well, ASCII patches don't look so good, but I hope you get the picture. >>>> >>>> On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres < >>>> porres at gmail.com> wrote: >>>> >>>>> cause I made some tests, [osc~] will give the same result as [cos~]... >>>>> >>>>> 2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : >>>>> >>>>>> > Unfortunately [osc~] doesn't have the tonal quality I'm after >>>>>> >>>>>> how is that? >>>>>> >>>>>> 2015-08-23 17:35 GMT-03:00 Julian Brooks : >>>>>> >>>>>>> Alexandre & Alexandros, >>>>>>> >>>>>>> Cheers for pitching in. >>>>>>> >>>>>>> It's for a random bleepy patch. >>>>>>> Unfortunately [osc~] doesn't have the tonal quality I'm after - good >>>>>>> idea though. >>>>>>> >>>>>>> On 23 August 2015 at 20:53, Alexandre Torres Porres < >>>>>>> porres at gmail.com> wrote: >>>>>>> >>>>>>>> i do realize that, but who knows what he needs this for, it may >>>>>>>> work... :) >>>>>>>> >>>>>>>> 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis >>>>>>>> : >>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres < >>>>>>>>> porres at gmail.com> wrote: >>>>>>>>> >>>>>>>>>> you can treat [osc~] as [cos~] >>>>>>>>>> >>>>>>>>>> just give it a frequency of "0" and use the phase inlet as the >>>>>>>>>> angle input (from 0 to 1). >>>>>>>>>> >>>>>>>>> But the phase inlet of [osc~] is a control inlet, and [cos~] takes >>>>>>>>> signals.. >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>>> _______________________________________________ >>>>>>>> Pd-list at lists.iem.at mailing list >>>>>>>> UNSUBSCRIBE and account-management -> >>>>>>>> http://lists.puredata.info/listinfo/pd-list >>>>>>>> >>>>>>>> >>>>>>> >>>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Pd-list at lists.iem.at mailing list >>>> UNSUBSCRIBE and account-management -> >>>> http://lists.puredata.info/listinfo/pd-list >>>> >>>> >>> >>> _______________________________________________ >>> Pd-list at lists.iem.at mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >>> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > > -- > > *Sébastien Piquemal* > > -----* @sebpiq* > ----- http://github.com/sebpiq > ----- http://funktion.fm > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Mon Aug 24 16:29:41 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 24 Aug 2015 14:29:41 +0000 (UTC) Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: <1123711271.9327454.1440426581367.JavaMail.yahoo@mail.yahoo.com> >From what I recall [osc~] is the same as [phasor~]|[cos~] So while there may be some trivial instances where you can substitute one for the other, generally you can't.  For example-- imagine having some more tilde objects between the [phasor~] and the [cos~] above.  In that case you cannot get the same signal using [osc~].  (Or at least it's not obvious to me how one would do that.) Furthermore, the right inlet of [osc~] is a control inlet, while the inlet for [cos~] is a signal inlet. Most of this info should be in the help patches.  (At least the ones I made for Pd Extended.) -Jonathan On Monday, August 24, 2015 10:19 AM, Julian Brooks wrote: Hey Seb, Good to hear from you... Does [osc~] take arguments? In my test when I gave the patch an [osc~ 0] I got an error in the console saying '0' not understood and I presumed that was my argument being spat back. I can't really explain why it doesn't sound right to be honest, this is why I'm here asking:). I need to do some more coding and get back to you on that one. Regards, Julian On 24 August 2015 at 15:10, s p wrote: Hi Julian, I've never used [cos~], can you explain to me why an [osc~] with the correct phase cannot do the trick? Cheers On Mon, Aug 24, 2015 at 5:03 PM, Julian Brooks wrote: Some good stuff here, thanks people. [osc~] doesn't appear to take arguments so that's out.I don't doubt Alexandre's ears or thoroughness but in this instance,when replacing [cos~] with [osc~] there's a big difference in the sound.Alexandros - thanks for the sketch, yes it does make sense, webpd has no [until] or [cos].Joe- nice implementation, again unfortunately there's no [abs~] or [wrap~]. What I do think from the hints and suggestions given is that I've got enough to be getting on with to make something approximately close and hopefully interesting. Thanks all for suggestions so far, Julian On 24 August 2015 at 10:30, Joe White wrote: Hi Julian, I've attached an optimised implementation for [cos~] that we've been using for Heavy. It's an approximate taylor series expansion but it should be much faster than just using cosf(). Hopefully webpd supports [abs~] and [wrap~]. Cheers,Joe On 24 August 2015 at 09:18, Alexandros Drymonitis wrote: what about this? [table_size( | [until] | [f]x[+ 1] | [t f f]__________ |                         | [/ table_size]      | |                         | [* twoPi]             | |                         | [cos]                  | |                         | [tabwrite table name] well, ASCII patches don't look so good, but I hope you get the picture. On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres wrote: cause I made some tests, [osc~] will give the same result as [cos~]...  2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : > Unfortunately [osc~] doesn't have the tonal quality I'm after how is that? 2015-08-23 17:35 GMT-03:00 Julian Brooks : Alexandre & Alexandros, Cheers for pitching in. It's for a random bleepy patch. Unfortunately [osc~] doesn't have the tonal quality I'm after - good idea though. On 23 August 2015 at 20:53, Alexandre Torres Porres wrote: i do realize that, but who knows what he needs this for, it may work... :) 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres wrote: you can treat [osc~] as [cos~] just give it a frequency of "0" and use the phase inlet as the angle input (from 0 to 1).  But the phase inlet of [osc~] is a control inlet, and [cos~] takes signals.. _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -- Sébastien Piquemal  ----- @sebpiq  ----- http://github.com/sebpiq  ----- http://funktion.fm _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From jancsika at yahoo.com Mon Aug 24 16:32:05 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 24 Aug 2015 14:32:05 +0000 (UTC) Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: <1123711271.9327454.1440426581367.JavaMail.yahoo@mail.yahoo.com> References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> <1123711271.9327454.1440426581367.JavaMail.yahoo@mail.yahoo.com> Message-ID: <2068950129.9798154.1440426725260.JavaMail.yahoo@mail.yahoo.com> Clarification: when I say you can't substitute "one" for the other, I mean trying to substitute [osc~] for [cos~]. On Monday, August 24, 2015 10:29 AM, Jonathan Wilkes wrote: From what I recall [osc~] is the same as [phasor~]|[cos~] So while there may be some trivial instances where you can substitute one for the other, generally you can't.  For example-- imagine having some more tilde objects between the [phasor~] and the [cos~] above.  In that case you cannot get the same signal using [osc~].  (Or at least it's not obvious to me how one would do that.) Furthermore, the right inlet of [osc~] is a control inlet, while the inlet for [cos~] is a signal inlet. Most of this info should be in the help patches.  (At least the ones I made for Pd Extended.) -Jonathan On Monday, August 24, 2015 10:19 AM, Julian Brooks wrote: Hey Seb, Good to hear from you... Does [osc~] take arguments? In my test when I gave the patch an [osc~ 0] I got an error in the console saying '0' not understood and I presumed that was my argument being spat back. I can't really explain why it doesn't sound right to be honest, this is why I'm here asking:). I need to do some more coding and get back to you on that one. Regards, Julian On 24 August 2015 at 15:10, s p wrote: Hi Julian, I've never used [cos~], can you explain to me why an [osc~] with the correct phase cannot do the trick? Cheers On Mon, Aug 24, 2015 at 5:03 PM, Julian Brooks wrote: Some good stuff here, thanks people. [osc~] doesn't appear to take arguments so that's out.I don't doubt Alexandre's ears or thoroughness but in this instance,when replacing [cos~] with [osc~] there's a big difference in the sound.Alexandros - thanks for the sketch, yes it does make sense, webpd has no [until] or [cos].Joe- nice implementation, again unfortunately there's no [abs~] or [wrap~]. What I do think from the hints and suggestions given is that I've got enough to be getting on with to make something approximately close and hopefully interesting. Thanks all for suggestions so far, Julian On 24 August 2015 at 10:30, Joe White wrote: Hi Julian, I've attached an optimised implementation for [cos~] that we've been using for Heavy. It's an approximate taylor series expansion but it should be much faster than just using cosf(). Hopefully webpd supports [abs~] and [wrap~]. Cheers,Joe On 24 August 2015 at 09:18, Alexandros Drymonitis wrote: what about this? [table_size( | [until] | [f]x[+ 1] | [t f f]__________ |                         | [/ table_size]      | |                         | [* twoPi]             | |                         | [cos]                  | |                         | [tabwrite table name] well, ASCII patches don't look so good, but I hope you get the picture. On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres wrote: cause I made some tests, [osc~] will give the same result as [cos~]...  2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : > Unfortunately [osc~] doesn't have the tonal quality I'm after how is that? 2015-08-23 17:35 GMT-03:00 Julian Brooks : Alexandre & Alexandros, Cheers for pitching in. It's for a random bleepy patch. Unfortunately [osc~] doesn't have the tonal quality I'm after - good idea though. On 23 August 2015 at 20:53, Alexandre Torres Porres wrote: i do realize that, but who knows what he needs this for, it may work... :) 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres wrote: you can treat [osc~] as [cos~] just give it a frequency of "0" and use the phase inlet as the angle input (from 0 to 1).  But the phase inlet of [osc~] is a control inlet, and [cos~] takes signals.. _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -- Sébastien Piquemal  ----- @sebpiq  ----- http://github.com/sebpiq  ----- http://funktion.fm _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From sfr at media.mit.edu Mon Aug 24 16:33:01 2015 From: sfr at media.mit.edu (Spencer Russell) Date: Mon, 24 Aug 2015 10:33:01 -0400 Subject: [PD] julia In-Reply-To: <55D25854.5070307@iem.at> References: <1439839485.1153534.358517465.51745176@webmail.messagingengine.com> <55D23A5C.4030704@iem.at> <1439841568.1173711.358567353.35DBAAD2@webmail.messagingengine.com> <55D25854.5070307@iem.at> Message-ID: <9F595008-C95F-4A60-AC0E-030EB12C4B17@media.mit.edu> > On Aug 17, 2015, at 5:55 PM, IOhannes m zmölnig wrote: > > On 08/17/2015 09:59 PM, Spencer Russell wrote: >> My thought was that a wrapper object would be something that interested >> parties could put together on our/their own to get the language >> interface figured out, and then if it turned out that it worked well and >> people liked it then it could be integrated more tightly. > > ah i was a bit terse: > Pd (since 0.40) provides a "loader" mechanism in it's public API, that > allows to write well, loaders that implement e.g. language bindings. Very cool! I wasn’t aware of that feature. Do you know where I can find docs for it? -s From schoolshoes at outlook.com Mon Aug 24 17:29:18 2015 From: schoolshoes at outlook.com (school shoes) Date: Tue, 25 Aug 2015 01:59:18 +1030 Subject: [PD] perceived loudness Message-ID: hello I understand that our ears perceive midrange sounds as louder than very low or very high ones. I am wondering if there is some sort of simple method or formula or object that compensates for the perceived difference in volume, so that if i have say a patch randomly generating osc~ frequencies between 50 and 15000 hz, the volume [*~] of each frequency can be adjusted so that they all have the same overall presence? thanks in advance. S -------------- next part -------------- An HTML attachment was scrubbed... URL: From white.joe4 at gmail.com Mon Aug 24 17:30:18 2015 From: white.joe4 at gmail.com (Joe White) Date: Mon, 24 Aug 2015 16:30:18 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: <2068950129.9798154.1440426725260.JavaMail.yahoo@mail.yahoo.com> References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> <1123711271.9327454.1440426581367.JavaMail.yahoo@mail.yahoo.com> <2068950129.9798154.1440426725260.JavaMail.yahoo@mail.yahoo.com> Message-ID: Jonathan's right, In Pd (vanilla 0.46-4 at least) both [cos~] and [osc~] use the same cos lookup table. Only [osc~] is a signal generator, and [cos~] the raw 'lookup'. Therefore there shouldn't be any difference between [phasor~] -> [cos~] and [osc~] if the phase is equal. Check the attached patch, I can't hear any difference when toggling between the two. @Seb, would it be possible for you to implement [abs~] and [wrap~]? Cheers, Joe On 24 August 2015 at 15:32, Jonathan Wilkes via Pd-list < pd-list at lists.iem.at> wrote: > Clarification: when I say you can't substitute "one" for the other, I mean > trying to substitute [osc~] for [cos~]. > > > > > On Monday, August 24, 2015 10:29 AM, Jonathan Wilkes > wrote: > > > From what I recall > > [osc~] > > is the same as > > [phasor~] > | > [cos~] > > So while there may be some trivial instances where you can substitute one > for the other, generally you can't. For example-- imagine having some more > tilde objects between the [phasor~] and the [cos~] above. In that case you > cannot get the same signal using [osc~]. (Or at least it's not obvious to > me how one would do that.) > > Furthermore, the right inlet of [osc~] is a control inlet, while the inlet > for [cos~] is a signal inlet. > > Most of this info should be in the help patches. (At least the ones I > made for Pd Extended.) > > -Jonathan > > > > On Monday, August 24, 2015 10:19 AM, Julian Brooks > wrote: > > > Hey Seb, > > Good to hear from you... > > Does [osc~] take arguments? In my test when I gave the patch an [osc~ 0] I > got an error in the console saying '0' not understood and I presumed that > was my argument being spat back. > > I can't really explain why it doesn't sound right to be honest, this is > why I'm here asking:). > > I need to do some more coding and get back to you on that one. > > Regards, > > Julian > > > > On 24 August 2015 at 15:10, s p wrote: > > Hi Julian, > > I've never used [cos~], can you explain to me why an [osc~] with the > correct phase cannot do the trick? > > Cheers > > On Mon, Aug 24, 2015 at 5:03 PM, Julian Brooks wrote: > > Some good stuff here, thanks people. > > [osc~] doesn't appear to take arguments so that's out. > I don't doubt Alexandre's ears or thoroughness but in this instance,when > replacing [cos~] with [osc~] there's a big difference in the sound. > Alexandros - thanks for the sketch, yes it does make sense, webpd has no > [until] or [cos]. > Joe- nice implementation, again unfortunately there's no [abs~] or [wrap~]. > > What I do think from the hints and suggestions given is that I've got > enough to be getting on with to make something approximately close and > hopefully interesting. > > Thanks all for suggestions so far, > > Julian > > On 24 August 2015 at 10:30, Joe White wrote: > > Hi Julian, > > I've attached an optimised implementation for [cos~] that we've been using > for Heavy. It's an approximate taylor series expansion but it should be > much faster than just using cosf(). Hopefully webpd supports [abs~] and > [wrap~]. > > Cheers, > Joe > > On 24 August 2015 at 09:18, Alexandros Drymonitis > wrote: > > what about this? > > [table_size( > | > [until] > | > [f]x[+ 1] > | > [t f f]__________ > | | > [/ table_size] | > | | > [* twoPi] | > | | > [cos] | > | | > [tabwrite table name] > > > well, ASCII patches don't look so good, but I hope you get the picture. > > On Mon, Aug 24, 2015 at 9:29 AM, Alexandre Torres Porres > wrote: > > cause I made some tests, [osc~] will give the same result as [cos~]... > > 2015-08-24 3:26 GMT-03:00 Alexandre Torres Porres : > > > Unfortunately [osc~] doesn't have the tonal quality I'm after > > how is that? > > 2015-08-23 17:35 GMT-03:00 Julian Brooks : > > Alexandre & Alexandros, > > Cheers for pitching in. > > It's for a random bleepy patch. > Unfortunately [osc~] doesn't have the tonal quality I'm after - good idea > though. > > On 23 August 2015 at 20:53, Alexandre Torres Porres > wrote: > > i do realize that, but who knows what he needs this for, it may work... :) > > 2015-08-23 16:37 GMT-03:00 Alexandros Drymonitis : > > > > On Sun, Aug 23, 2015 at 8:04 PM, Alexandre Torres Porres > wrote: > > you can treat [osc~] as [cos~] > > just give it a frequency of "0" and use the phase inlet as the angle input > (from 0 to 1). > > But the phase inlet of [osc~] is a control inlet, and [cos~] takes > signals.. > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > -- > > *Sébastien Piquemal* > > -----* @sebpiq* > ----- http://github.com/sebpiq > ----- http://funktion.fm > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test_cosc.pd Type: application/octet-stream Size: 890 bytes Desc: not available URL: From zmoelnig at iem.at Mon Aug 24 19:08:16 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Mon, 24 Aug 2015 19:08:16 +0200 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1123711271.9327454.1440426581367.JavaMail.yahoo@mail.yahoo.com> <2068950129.9798154.1440426725260.JavaMail.yahoo@mail.yahoo.com> Message-ID: <55DB4F80.7070702@iem.at> On 08/24/2015 05:30 PM, Joe White wrote: > In Pd (vanilla 0.46-4 at least) both [cos~] and [osc~] use the same cos > lookup table. Only [osc~] is a signal generator, and [cos~] the raw > 'lookup'. Therefore there shouldn't be any difference between [phasor~] -> > [cos~] and [osc~] if the phase is equal. i think this is exactly what jonathan was trying to say. whatever you can do with [osc~], can be made with [phasor~]+[cos~]. but you can do things with [phasor~]+[cos~] that is impossible with plain [osc~]. fgmrdsa IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jancsika at yahoo.com Mon Aug 24 19:49:05 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 24 Aug 2015 17:49:05 +0000 (UTC) Subject: [PD] perceived loudness In-Reply-To: References: Message-ID: <1932803915.5255093.1440438545484.JavaMail.yahoo@mail.yahoo.com> There's this: https://en.wikipedia.org/wiki/Equal-loudness_contour But I tend to think of massive sinewave polyphony as a kind of "artifact".  To me it's a bit like modeling Felix the Cat in 3d. Still, I'd be interested in hearing the difference, esp. in a patch that toggles the curve on/off. -Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: From megrimm at gmail.com Mon Aug 24 19:51:14 2015 From: megrimm at gmail.com (me.grimm) Date: Mon, 24 Aug 2015 13:51:14 -0400 Subject: [PD] PD Pulp Puts PureData Patches Into A VST In-Reply-To: References: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com> Message-ID: this is cool... any chance of a compile with AudioUnits (AU) enabled? maybe one has done so already... m On Sun, Aug 23, 2015 at 1:21 AM, Alexandre Torres Porres wrote: > as I understand it then, it seems easy and if you're interested you can > include a couple of libraries. Good. thanks > > 2015-08-22 20:31 GMT-03:00 Dan Wilcox : > >> Related: >> https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd >> -------- >> Dan Wilcox >> @danomatika >> danomatika.com >> robotcowboy.com >> >> On Aug 21, 2015, at 6:00 AM, pd-list-request at lists.iem.at wrote: >> >> *From: *Alexandre Torres Porres >> *Subject: **[PD] PD Pulp Puts PureData Patches Into A VST* >> *Date: *August 20, 2015 at 2:37:35 PM EDT >> *To: *"pd-list at lists.iem.at" >> >> >> this is nice >> >> >> http://www.synthtopia.com/content/2015/08/19/pd-pulp-puts-puredata-patches-into-a-vst/ >> >> It's a project that uses libpd in JUCE, maybe you guys know about it. >> >> I never got into libpd but I know it is awesome. I never had to make >> patches compatible to vanilla for it, but now I have a strong motivation. >> >> So let me excuse myself to make the following silly question; you can >> include Pd externals, like zexy and cyclone libraries into libpd, right? >> What would be the restrains for externals? >> >> cheers >> >> >> > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- ____________________ m.e.grimm, m.f.a, ed.m. syracuse u., tc3 megrimm.net ____________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From danomatika at gmail.com Mon Aug 24 19:53:56 2015 From: danomatika at gmail.com (Dan Wilcox) Date: Mon, 24 Aug 2015 13:53:56 -0400 Subject: [PD] PD Pulp Puts PureData Patches Into A VST In-Reply-To: References: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com> Message-ID: <8D04854A-26FE-49D3-880E-FC6D7944F217@gmail.com> It’s possible once the multiple instance support is tested and is working. Then we’ll update the libpd api for it. -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com > On Aug 24, 2015, at 1:51 PM, me.grimm wrote: > > this is cool... any chance of a compile with AudioUnits (AU) enabled? maybe one has done so already... > > m > > On Sun, Aug 23, 2015 at 1:21 AM, Alexandre Torres Porres > wrote: > as I understand it then, it seems easy and if you're interested you can include a couple of libraries. Good. thanks > > 2015-08-22 20:31 GMT-03:00 Dan Wilcox >: > Related: https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd > -------- > Dan Wilcox > @danomatika > danomatika.com > robotcowboy.com >> On Aug 21, 2015, at 6:00 AM, pd-list-request at lists.iem.at wrote: >> >> From: Alexandre Torres Porres > >> Subject: [PD] PD Pulp Puts PureData Patches Into A VST >> Date: August 20, 2015 at 2:37:35 PM EDT >> To: "pd-list at lists.iem.at " > >> >> >> this is nice >> >> http://www.synthtopia.com/content/2015/08/19/pd-pulp-puts-puredata-patches-into-a-vst/ >> >> It's a project that uses libpd in JUCE, maybe you guys know about it. >> >> I never got into libpd but I know it is awesome. I never had to make patches compatible to vanilla for it, but now I have a strong motivation. >> >> So let me excuse myself to make the following silly question; you can include Pd externals, like zexy and cyclone libraries into libpd, right? What would be the restrains for externals? >> >> cheers > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > > -- > ____________________ > m.e.grimm, m.f.a, ed.m. > syracuse u., tc3 > megrimm.net > ____________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From scottrlooney at gmail.com Mon Aug 24 19:57:34 2015 From: scottrlooney at gmail.com (Scott R. Looney) Date: Mon, 24 Aug 2015 10:57:34 -0700 Subject: [PD] PD Pulp Puts PureData Patches Into A VST In-Reply-To: <8D04854A-26FE-49D3-880E-FC6D7944F217@gmail.com> References: <993B8BA0-1AAE-494B-844F-A37C003E56A1@gmail.com> <8D04854A-26FE-49D3-880E-FC6D7944F217@gmail.com> Message-ID: sounds fantastic Dan! definitely looking forward Alexander - the only one i know of is Marek Bereza's Pandemonium: http://www.mazbox.com/pandemonium/ pretty old and was alpha at that time. best, scott On Mon, Aug 24, 2015 at 10:53 AM, Dan Wilcox wrote: > It’s possible once the multiple instance support is tested and is working. > Then we’ll update the libpd api for it. > -------- > Dan Wilcox > @danomatika > danomatika.com > robotcowboy.com > > On Aug 24, 2015, at 1:51 PM, me.grimm wrote: > > this is cool... any chance of a compile with AudioUnits (AU) enabled? > maybe one has done so already... > > m > > On Sun, Aug 23, 2015 at 1:21 AM, Alexandre Torres Porres > wrote: > >> as I understand it then, it seems easy and if you're interested you can >> include a couple of libraries. Good. thanks >> >> 2015-08-22 20:31 GMT-03:00 Dan Wilcox : >> >>> Related: >>> https://github.com/danomatika/ofxPd#adding-pure-data-external-libraries-to-ofxpd >>> -------- >>> Dan Wilcox >>> @danomatika >>> danomatika.com >>> robotcowboy.com >>> >>> On Aug 21, 2015, at 6:00 AM, pd-list-request at lists.iem.at wrote: >>> >>> *From: *Alexandre Torres Porres >>> *Subject: **[PD] PD Pulp Puts PureData Patches Into A VST* >>> *Date: *August 20, 2015 at 2:37:35 PM EDT >>> *To: *"pd-list at lists.iem.at" >>> >>> >>> this is nice >>> >>> >>> http://www.synthtopia.com/content/2015/08/19/pd-pulp-puts-puredata-patches-into-a-vst/ >>> >>> It's a project that uses libpd in JUCE, maybe you guys know about it. >>> >>> I never got into libpd but I know it is awesome. I never had to make >>> patches compatible to vanilla for it, but now I have a strong motivation. >>> >>> So let me excuse myself to make the following silly question; you can >>> include Pd externals, like zexy and cyclone libraries into libpd, right? >>> What would be the restrains for externals? >>> >>> cheers >>> >>> >>> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > > -- > ____________________ > m.e.grimm, m.f.a, ed.m. > syracuse u., tc3 > megrimm.net > ____________________ > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris at mccormick.cx Tue Aug 25 04:53:33 2015 From: chris at mccormick.cx (Chris McCormick) Date: Tue, 25 Aug 2015 10:53:33 +0800 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> Message-ID: <55DBD8AD.3060107@mccormick.cx> On 24/08/15 22:03, Julian Brooks wrote: > What I do think from the hints and suggestions given is that I've got > enough to be getting on with to make something approximately close and > hopefully interesting. You could also implement cos~ in WebPd and submit a PR to seb. Here are osc~ and phasor~ for your reference: https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L90 Cheers, Chris. -- http://mccormick.cx/ From sebpiq at gmail.com Tue Aug 25 07:35:54 2015 From: sebpiq at gmail.com (s p) Date: Tue, 25 Aug 2015 08:35:54 +0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: <55DBD8AD.3060107@mccormick.cx> References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> <55DBD8AD.3060107@mccormick.cx> Message-ID: > Only [osc~] is a signal generator, and [cos~] the raw 'lookup' Oh right! Makes sense ... I believe [cos~] and [abs~] could both be implemented by using Web Audio API's WaveShaperNode. The closest example is [clip~] implementation which you can find here : https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L892 [wrap~] on the other hand can't be implemented :'( or it could, but with a ScriptProcessorNode, which means it would be slow, and I don't want to go into doing this for the moment... As Chris suggested, I'd be super happy to get a pull request (with tests) ... if you feel that you can pull it, otherwise I can do it. Cheers On Tue, Aug 25, 2015 at 5:53 AM, Chris McCormick wrote: > On 24/08/15 22:03, Julian Brooks wrote: > >> What I do think from the hints and suggestions given is that I've got >> enough to be getting on with to make something approximately close and >> hopefully interesting. >> > > You could also implement cos~ in WebPd and submit a PR to seb. Here are > osc~ and phasor~ for your reference: > > https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L90 > > Cheers, > > Chris. > > -- > http://mccormick.cx/ > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -- *Sébastien Piquemal* -----* @sebpiq* ----- http://github.com/sebpiq ----- http://funktion.fm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Tue Aug 25 08:20:32 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Tue, 25 Aug 2015 07:20:32 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> <55DBD8AD.3060107@mccormick.cx> Message-ID: Hi Seb (and Chris!), Implementation of classes is a bit beyond me atm (willing to learn though:). If there's a walkthrough I'd be happy to get involved, though I'm aware it would take more time to set up a tutorial than to just implement them. Always happy to help with testing if that's helpful. [cos~] would be super-useful, as would [env~] or is there a WebPd-Vanilla equivalent I'm not getting? Appreciate you guys getting involved, nice one. Regards, Julian On 25 August 2015 at 06:35, s p wrote: > > Only [osc~] is a signal generator, and [cos~] the raw 'lookup' > > Oh right! Makes sense ... > > I believe [cos~] and [abs~] could both be implemented by using Web Audio > API's WaveShaperNode. The closest example is [clip~] implementation which > you can find here : > https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L892 > > [wrap~] on the other hand can't be implemented :'( or it could, but with a > ScriptProcessorNode, which means it would be slow, and I don't want to go > into doing this for the moment... > > As Chris suggested, I'd be super happy to get a pull request (with tests) > ... if you feel that you can pull it, otherwise I can do it. > > Cheers > > > > On Tue, Aug 25, 2015 at 5:53 AM, Chris McCormick > wrote: > >> On 24/08/15 22:03, Julian Brooks wrote: >> >>> What I do think from the hints and suggestions given is that I've got >>> enough to be getting on with to make something approximately close and >>> hopefully interesting. >>> >> >> You could also implement cos~ in WebPd and submit a PR to seb. Here are >> osc~ and phasor~ for your reference: >> >> https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L90 >> >> Cheers, >> >> Chris. >> >> -- >> http://mccormick.cx/ >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> > > > > -- > > *Sébastien Piquemal* > > -----* @sebpiq* > ----- http://github.com/sebpiq > ----- http://funktion.fm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebpiq at gmail.com Tue Aug 25 08:43:46 2015 From: sebpiq at gmail.com (s p) Date: Tue, 25 Aug 2015 09:43:46 +0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> <55DBD8AD.3060107@mccormick.cx> Message-ID: No worries :) > I'm aware it would take more time to set up a tutorial than to just implement them. Yes ... I'll implement [osc~] and [env~] (not sure I can, but I'll try) today. On Tue, Aug 25, 2015 at 9:20 AM, Julian Brooks wrote: > Hi Seb (and Chris!), > > Implementation of classes is a bit beyond me atm (willing to learn > though:). > > If there's a walkthrough I'd be happy to get involved, though I'm aware it > would take more time to set up a tutorial than to just implement them. > Always happy to help with testing if that's helpful. > > [cos~] would be super-useful, as would [env~] or is there a WebPd-Vanilla > equivalent I'm not getting? > > Appreciate you guys getting involved, nice one. > > Regards, > > Julian > > On 25 August 2015 at 06:35, s p wrote: > >> > Only [osc~] is a signal generator, and [cos~] the raw 'lookup' >> >> Oh right! Makes sense ... >> >> I believe [cos~] and [abs~] could both be implemented by using Web Audio >> API's WaveShaperNode. The closest example is [clip~] implementation which >> you can find here : >> https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L892 >> >> [wrap~] on the other hand can't be implemented :'( or it could, but with >> a ScriptProcessorNode, which means it would be slow, and I don't want to go >> into doing this for the moment... >> >> As Chris suggested, I'd be super happy to get a pull request (with tests) >> ... if you feel that you can pull it, otherwise I can do it. >> >> Cheers >> >> >> >> On Tue, Aug 25, 2015 at 5:53 AM, Chris McCormick >> wrote: >> >>> On 24/08/15 22:03, Julian Brooks wrote: >>> >>>> What I do think from the hints and suggestions given is that I've got >>>> enough to be getting on with to make something approximately close and >>>> hopefully interesting. >>>> >>> >>> You could also implement cos~ in WebPd and submit a PR to seb. Here are >>> osc~ and phasor~ for your reference: >>> >>> https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L90 >>> >>> Cheers, >>> >>> Chris. >>> >>> -- >>> http://mccormick.cx/ >>> >>> >>> _______________________________________________ >>> Pd-list at lists.iem.at mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >> >> >> >> -- >> >> *Sébastien Piquemal* >> >> -----* @sebpiq* >> ----- http://github.com/sebpiq >> ----- http://funktion.fm >> > > -- *Sébastien Piquemal* -----* @sebpiq* ----- http://github.com/sebpiq ----- http://funktion.fm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Tue Aug 25 08:50:33 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Tue, 25 Aug 2015 07:50:33 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> <55DBD8AD.3060107@mccormick.cx> Message-ID: Yay! Mad skills[z]:) Cheers Seb On 25 August 2015 at 07:43, s p wrote: > No worries :) > > > I'm aware it would take more time to set up a tutorial than to just > implement them. > > Yes ... I'll implement [osc~] and [env~] (not sure I can, but I'll try) > today. > > On Tue, Aug 25, 2015 at 9:20 AM, Julian Brooks wrote: > >> Hi Seb (and Chris!), >> >> Implementation of classes is a bit beyond me atm (willing to learn >> though:). >> >> If there's a walkthrough I'd be happy to get involved, though I'm aware >> it would take more time to set up a tutorial than to just implement them. >> Always happy to help with testing if that's helpful. >> >> [cos~] would be super-useful, as would [env~] or is there a WebPd-Vanilla >> equivalent I'm not getting? >> >> Appreciate you guys getting involved, nice one. >> >> Regards, >> >> Julian >> >> On 25 August 2015 at 06:35, s p wrote: >> >>> > Only [osc~] is a signal generator, and [cos~] the raw 'lookup' >>> >>> Oh right! Makes sense ... >>> >>> I believe [cos~] and [abs~] could both be implemented by using Web Audio >>> API's WaveShaperNode. The closest example is [clip~] implementation which >>> you can find here : >>> https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L892 >>> >>> [wrap~] on the other hand can't be implemented :'( or it could, but with >>> a ScriptProcessorNode, which means it would be slow, and I don't want to go >>> into doing this for the moment... >>> >>> As Chris suggested, I'd be super happy to get a pull request (with >>> tests) ... if you feel that you can pull it, otherwise I can do it. >>> >>> Cheers >>> >>> >>> >>> On Tue, Aug 25, 2015 at 5:53 AM, Chris McCormick >>> wrote: >>> >>>> On 24/08/15 22:03, Julian Brooks wrote: >>>> >>>>> What I do think from the hints and suggestions given is that I've got >>>>> enough to be getting on with to make something approximately close and >>>>> hopefully interesting. >>>>> >>>> >>>> You could also implement cos~ in WebPd and submit a PR to seb. Here are >>>> osc~ and phasor~ for your reference: >>>> >>>> https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L90 >>>> >>>> Cheers, >>>> >>>> Chris. >>>> >>>> -- >>>> http://mccormick.cx/ >>>> >>>> >>>> _______________________________________________ >>>> Pd-list at lists.iem.at mailing list >>>> UNSUBSCRIBE and account-management -> >>>> http://lists.puredata.info/listinfo/pd-list >>>> >>> >>> >>> >>> -- >>> >>> *Sébastien Piquemal* >>> >>> -----* @sebpiq* >>> ----- http://github.com/sebpiq >>> ----- http://funktion.fm >>> >> >> > > > -- > > *Sébastien Piquemal* > > -----* @sebpiq* > ----- http://github.com/sebpiq > ----- http://funktion.fm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From richduckworth at yahoo.com Tue Aug 25 10:46:42 2015 From: richduckworth at yahoo.com (richard duckworth) Date: Tue, 25 Aug 2015 08:46:42 +0000 (UTC) Subject: [PD] perceived loudness Message-ID: <171022287.131748.1440492402221.JavaMail.yahoo@mail.yahoo.com> Hi S, you would need to compensate by using the Fletcher-Munson equal-loudness contours – these could be put into tables or calculated by functions? I believe a lot of this stuff was done already – I think Alex Porres has translated the Slaney Toolbox into Pd? There's also the roughness stuff done by Pressnitzer, and a bunch of externals associated with that – probably a bit of loudness stuff in there. The main thing to appreciate is that the ear is remarkably non-linear (the price we pay for having such a wide dynamic range!), and that the Fletcher-Munson equal-loudness contours change as average intensity increases–we hear a much different spectrum in a noisy environment than we do in a quiet environment. Of course, the F-M e-l contours are a bit simplistic as later research into the role of the the outer hair cells proves. Still, they're a good starting point. Sounds like a cool project, I'd like to hear a sine sweep track at equal perceptual intensity from 20 Hz to 20 kHz :)  Cheers, Rich     -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Tue Aug 25 10:57:50 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Tue, 25 Aug 2015 10:57:50 +0200 Subject: [PD] perceived loudness In-Reply-To: References: Message-ID: <55DC2E0E.6080009@iem.at> On 08/24/2015 05:29 PM, school shoes wrote: > hello > I understand that our ears perceive midrange sounds as louder than very low or very high ones. I am wondering if there is some sort of simple method or formula or object that compensates for the perceived difference in volume, so that if i have say a patch randomly generating osc~ frequencies between 50 and 15000 hz, the volume [*~] of each frequency can be adjusted so that they all have the same overall presence? > thanks in advance. there's [mtx_phon_curves] (in iemmatrix) which uses an approximation formula for the phon curves. being a matrix object¹, it takes a vector of sinusoidal components and outputs the relative gains. gfmrsa IOhannes ¹ i have no clue why this is in the iemmatrix toolbox, and not a general scalar object. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From agitato816 at gmail.com Tue Aug 25 12:02:48 2015 From: agitato816 at gmail.com (Jonghyun Kim) Date: Tue, 25 Aug 2015 19:02:48 +0900 Subject: [PD] BUG ? In-Reply-To: <64E5C8DE-D771-471A-AF3F-170CCF17EAC1@gmail.com> References: <7CCE9E78-9138-4F88-A993-2C4BAF781BAF@gmail.com> <64E5C8DE-D771-471A-AF3F-170CCF17EAC1@gmail.com> Message-ID: A little annoying. In my case, on Mac OS X, if I use Korean input method, the shortcut for Edit Mode(Cmd+E) doesn't work. Also, I can't change input method, because the changing shortcut(Cmd+Space) doesn't work in Pd. I guess it's same problems on Mac OS X. thanks, akntk On Sat, Aug 15, 2015 at 12:31 AM, Simon Iten wrote: > > On 14 Aug 2015, at 15:10, Antoine Villeret > wrote: > > it's just that 'c' is not egal to 'C' for Pd. > > > but i think in this case it should be egal… because actually i don’t think > about the letter c when i want to copy (well not anymore) it’s more an > automatism, which should work even when i’m using caps lock... > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From schoolshoes at outlook.com Tue Aug 25 16:02:34 2015 From: schoolshoes at outlook.com (school shoes) Date: Wed, 26 Aug 2015 00:32:34 +1030 Subject: [PD] perceived loudness In-Reply-To: <55DC2E0E.6080009@iem.at> References: , <55DC2E0E.6080009@iem.at> Message-ID: great thanks for the leads To: pd-list at lists.iem.at From: zmoelnig at iem.at Date: Tue, 25 Aug 2015 10:57:50 +0200 Subject: Re: [PD] perceived loudness On 08/24/2015 05:29 PM, school shoes wrote: > hello > I understand that our ears perceive midrange sounds as louder than very low or very high ones. I am wondering if there is some sort of simple method or formula or object that compensates for the perceived difference in volume, so that if i have say a patch randomly generating osc~ frequencies between 50 and 15000 hz, the volume [*~] of each frequency can be adjusted so that they all have the same overall presence? > thanks in advance. there's [mtx_phon_curves] (in iemmatrix) which uses an approximation formula for the phon curves. being a matrix object¹, it takes a vector of sinusoidal components and outputs the relative gains. gfmrsa IOhannes ¹ i have no clue why this is in the iemmatrix toolbox, and not a general scalar object. _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From pat at digitalworlds.ufl.edu Tue Aug 25 16:16:05 2015 From: pat at digitalworlds.ufl.edu (Pagano, Patrick) Date: Tue, 25 Aug 2015 14:16:05 +0000 Subject: [PD] 64 bit Gendy~ for raspberry pi/debian Message-ID: <1440512165691.89374@digitalworlds.ufl.edu> Hello I am looking for a gendy~ binary for a project i am working on. Does anyone have a working one? Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 -------------- next part -------------- An HTML attachment was scrubbed... URL: From adrcki at gmail.com Tue Aug 25 16:17:49 2015 From: adrcki at gmail.com (Alexandros Drymonitis) Date: Tue, 25 Aug 2015 17:17:49 +0300 Subject: [PD] BUG ? In-Reply-To: References: <7CCE9E78-9138-4F88-A993-2C4BAF781BAF@gmail.com> <64E5C8DE-D771-471A-AF3F-170CCF17EAC1@gmail.com> Message-ID: On my computer, OS X 10.8.5, Cmd+Space works in Pd... On Tue, Aug 25, 2015 at 1:02 PM, Jonghyun Kim wrote: > A little annoying. > > In my case, on Mac OS X, if I use Korean input method, the shortcut for > Edit Mode(Cmd+E) doesn't work. > > Also, I can't change input method, because the changing > shortcut(Cmd+Space) doesn't work in Pd. > > I guess it's same problems on Mac OS X. > > thanks, > akntk > > On Sat, Aug 15, 2015 at 12:31 AM, Simon Iten wrote: > >> >> On 14 Aug 2015, at 15:10, Antoine Villeret >> wrote: >> >> it's just that 'c' is not egal to 'C' for Pd. >> >> >> but i think in this case it should be egal… because actually i don’t >> think about the letter c when i want to copy (well not anymore) it’s more >> an automatism, which should work even when i’m using caps lock... >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From threen52 at ml1.net Tue Aug 25 17:24:16 2015 From: threen52 at ml1.net (jamal crawford) Date: Tue, 25 Aug 2015 17:24:16 +0200 Subject: [PD] locality with new [field] object (Jonathan Wilkes) Message-ID: <1440516256.2586599.365616241.07E11DF0@webmail.messagingengine.com> hey List, Jonathan. > You start with a struct:[struct foo float x float y canvas a b] Then > create a scalar from this struct. The scalar will have an "x" value, a > "y" value, and a canvas "a" which gets filled with the contents of an > abstraction "b.pd" that is somewhere in Pd's search path. Now here's > the neat thing-- inside the newly instantiated "b.pd" you can do this: > [loadbang]|[field x]|[print x] When you instantiate that scalar above, > its canvas "a" will print out the value of the "x" field for that > scalar.  In other words, the "a" canvas has access to all the field > data of the scalar it belongs to. The interface is exactly like [v], > which means you can do this: [loadbang]|[f]x[+ 1]|[field x] This will > _change_ the value of "x" for the parent scalar.  So if you drew a > little rectangle, when you instantiate your scalar you'll see it > moving across the screen. sounds really brainfunky! i'd love to see this in "action" in a screencast, cuz i just cant imagine how > the "a" canvas has access to all the field data of the scalar it > belongs to. cheers ~/.jc  -------------- next part -------------- An HTML attachment was scrubbed... URL: From pat at digitalworlds.ufl.edu Tue Aug 25 17:34:52 2015 From: pat at digitalworlds.ufl.edu (Pagano, Patrick) Date: Tue, 25 Aug 2015 15:34:52 +0000 Subject: [PD] Serialize 64 and unpack~ objects Message-ID: ?i am looking for these, where might they be? Anyone know?/ Thanks in advance Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 -------------- next part -------------- An HTML attachment was scrubbed... URL: From danomatika at gmail.com Tue Aug 25 17:35:41 2015 From: danomatika at gmail.com (Dan Wilcox) Date: Tue, 25 Aug 2015 11:35:41 -0400 Subject: [PD] BUG ? In-Reply-To: References: Message-ID: <7985A667-E0A2-4587-823F-D5DBD91032B4@gmail.com> But for most OSX users CMD+Space opens Spotlight. -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com > On Aug 25, 2015, at 11:24 AM, pd-list-request at lists.iem.at wrote: > > From: Alexandros Drymonitis > > Subject: Re: [PD] BUG ? > Date: August 25, 2015 at 10:17:49 AM EDT > To: Jonghyun Kim > > Cc: "pd-list at lists.iem.at " > > > > On my computer, OS X 10.8.5, Cmd+Space works in Pd... > > On Tue, Aug 25, 2015 at 1:02 PM, Jonghyun Kim > wrote: > A little annoying. > > In my case, on Mac OS X, if I use Korean input method, the shortcut for Edit Mode(Cmd+E) doesn't work. > > Also, I can't change input method, because the changing shortcut(Cmd+Space) doesn't work in Pd. > > I guess it's same problems on Mac OS X. > > thanks, > akntk -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Tue Aug 25 22:10:52 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Tue, 25 Aug 2015 22:10:52 +0200 Subject: [PD] Serialize 64 and unpack~ objects In-Reply-To: References: Message-ID: <55DCCBCC.4090008@iem.at> On 08/25/2015 05:34 PM, Pagano, Patrick wrote: > ?i am looking for these, where might they be? > > Anyone know?/ > [unpack~] is in zexy, but in many cases it can be replaced by the vanilly team: [bang~]+[tabsend~]+[array get] i don't know about [Serialize 64], but assuming it is just a list serializer, you can: - use Pd's [list] objects to build your own (e.g. [list-drip] from list-abs) - use zexy's [repack] finally, if you need the serializer to serialize the data from [unpack~], you might as well use [tabread] instead of [array get] to read the signalwise into messagedomain. fgmdsr IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From langcsaba at gmail.com Tue Aug 25 22:53:04 2015 From: langcsaba at gmail.com (=?UTF-8?Q?Csaba_L=C3=A1ng?=) Date: Tue, 25 Aug 2015 22:53:04 +0200 Subject: [PD] patch runs twice from script Message-ID: Dear list, is there a way to avoid that a patch which is run from a script either from crontab or just autorun from the system runs twice? I heard about --no-gui solution, but never managed to use it on Mac. Thanks for any help: Popesz -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Tue Aug 25 23:00:40 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Tue, 25 Aug 2015 23:00:40 +0200 Subject: [PD] patch runs twice from script In-Reply-To: References: Message-ID: <55DCD778.5020905@iem.at> On 08/25/2015 10:53 PM, Csaba Láng wrote: > Dear list, > is there a way to avoid that a patch which is run from a script either from > crontab or just autorun from the system runs twice? > I heard about --no-gui solution, but never managed to use it on Mac. i don't know how "--no-gui" is supposed to help you here. it only might obfuscate the fact that two instances are running... i can think of two simple ways to avoid double runs: - setup a shared-ressource (a lock-file): when the script starts it checks for the lock-file; if it is not there, it will create the lock, launch Pd; once Pd is finished it will remove the lock; if the lock *is* there, the script will exit immediately. see flock(1) on linux and shlock(1) on osx. - stop all running instances of the patch before starting it. usually you would just do something along the lines of `pkill -KILL pd`, before starting a new instance of Pd. fmasdr IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From porres at gmail.com Wed Aug 26 01:17:25 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Tue, 25 Aug 2015 20:17:25 -0300 Subject: [PD] "G05.execution.order" issue (bug? just wrong?) Message-ID: Howdy, the "G05.execution.order" example in Pd shows us how delay lines will always delay at least a block of samples, unless you tweak it by using some subpatches and stuff. Well, even though the example works as described, I was doing some tests and didn't get the same results. So it is weird that behaves like that in the example, but when I change the patch or make a new patch it just doesn't behave the same way. Meaning that it will not delay to at least a block in size, but less than that without doing the subpatches thing. See my patch attached. So what now, huh? cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: G05.execution.order-test.pd Type: application/octet-stream Size: 1175 bytes Desc: not available URL: From agitato816 at gmail.com Wed Aug 26 05:09:23 2015 From: agitato816 at gmail.com (Jonghyun Kim) Date: Wed, 26 Aug 2015 12:09:23 +0900 Subject: [PD] BUG ? In-Reply-To: <7985A667-E0A2-4587-823F-D5DBD91032B4@gmail.com> References: <7985A667-E0A2-4587-823F-D5DBD91032B4@gmail.com> Message-ID: sorry for misunderstanding. CMD+Space is my custom shortcut for changing language. I think most korean Mac users use this way as alternative. When I use Korean input method(Not English), in Pd CMD+Space doesn't work. akntk On Wed, Aug 26, 2015 at 12:35 AM, Dan Wilcox wrote: > But for most OSX users CMD+Space opens Spotlight. > -------- > Dan Wilcox > @danomatika > danomatika.com > robotcowboy.com > > On Aug 25, 2015, at 11:24 AM, pd-list-request at lists.iem.at wrote: > > *From: *Alexandros Drymonitis > *Subject: **Re: [PD] BUG ?* > *Date: *August 25, 2015 at 10:17:49 AM EDT > *To: *Jonghyun Kim > *Cc: *"pd-list at lists.iem.at" > > > On my computer, OS X 10.8.5, Cmd+Space works in Pd... > > On Tue, Aug 25, 2015 at 1:02 PM, Jonghyun Kim > wrote: > >> A little annoying. >> >> In my case, on Mac OS X, if I use Korean input method, the shortcut for >> Edit Mode(Cmd+E) doesn't work. >> >> Also, I can't change input method, because the changing >> shortcut(Cmd+Space) doesn't work in Pd. >> >> I guess it's same problems on Mac OS X. >> >> thanks, >> akntk >> > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Wed Aug 26 05:28:06 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Wed, 26 Aug 2015 00:28:06 -0300 Subject: [PD] "G05.execution.order" issue (bug? just wrong?) In-Reply-To: References: Message-ID: so, this is really fishy... here's another patch. Don't know what I did, in which order I connected them, but now the delay won't work for less than an audio block (64 samples) Nevertheless... if I go into edit mode e reinstantiate the [sig~] object, for example, it'll work! Then if I save the file, it'll work fine when I reopen the patch. So something about the order where the objects are connected make a difference. I tried it in Extended 0.42 and vanilla 0.46 by the way waiting for the pd guru masters to shine their wisdom one way or another, the "G05.execution.order" example needs to be rewritten I guess. cheers 2015-08-25 20:17 GMT-03:00 Alexandre Torres Porres : > Howdy, the "G05.execution.order" example in Pd shows us how delay lines > will always delay at least a block of samples, unless you tweak it by using > some subpatches and stuff. > > Well, even though the example works as described, I was doing some tests > and didn't get the same results. > > So it is weird that behaves like that in the example, but when I change > the patch or make a new patch it just doesn't behave the same way. Meaning > that it will not delay to at least a block in size, but less than that > without doing the subpatches thing. > > See my patch attached. > > So what now, huh? > > cheers > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: WEIRD_DELAY.pd Type: application/octet-stream Size: 644 bytes Desc: not available URL: From hard.off at gmail.com Wed Aug 26 05:46:01 2015 From: hard.off at gmail.com (i go bananas) Date: Wed, 26 Aug 2015 13:46:01 +1000 Subject: [PD] "G05.execution.order" issue (bug? just wrong?) In-Reply-To: References: Message-ID: Yes, you can get 'correct' execution order by just adding your objects in the right order. But it is unclear from looking at the patch. Also, if you perform a cut and paste or rename your objects, you risk changing the order. Thus it is always safest to use the subpatch, as it will force the order, regardless. -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Wed Aug 26 06:23:17 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Wed, 26 Aug 2015 01:23:17 -0300 Subject: [PD] "G05.execution.order" issue (bug? just wrong?) In-Reply-To: References: Message-ID: same goes with [send~]/[receive~] as I see it, so [throw~]/[catch~] and [tabsend~]/[tabreceive~] must behave the same way... 2015-08-26 0:46 GMT-03:00 i go bananas : > Yes, you can get 'correct' execution order by just adding your objects in > the right order. But it is unclear from looking at the patch. Also, if > you perform a cut and paste or rename your objects, you risk changing the > order. > > Thus it is always safest to use the subpatch, as it will force the order, > regardless. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Wed Aug 26 06:25:36 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Wed, 26 Aug 2015 01:25:36 -0300 Subject: [PD] "G05.execution.order" issue (bug? just wrong?) In-Reply-To: References: Message-ID: > Yes, you can get 'correct' execution order by just > adding your objects in the right order. what is the "right order" then? 2015-08-26 0:46 GMT-03:00 i go bananas : > Yes, you can get 'correct' execution order by just adding your objects in > the right order. But it is unclear from looking at the patch. Also, if > you perform a cut and paste or rename your objects, you risk changing the > order. > > Thus it is always safest to use the subpatch, as it will force the order, > regardless. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hard.off at gmail.com Wed Aug 26 07:30:02 2015 From: hard.off at gmail.com (i go bananas) Date: Wed, 26 Aug 2015 14:30:02 +0900 Subject: [PD] "G05.execution.order" issue (bug? just wrong?) In-Reply-To: References: Message-ID: the delwrite~ must come first (which is exactly what happens when you force the order by putting the delread~ into a subpatch. i would also guess that send~ must come before recieve~, etc etc. In all cases , you have to write before you can read. -------------- next part -------------- An HTML attachment was scrubbed... URL: From pyfave at gmail.com Wed Aug 26 09:46:50 2015 From: pyfave at gmail.com (Py Fave) Date: Wed, 26 Aug 2015 09:46:50 +0200 Subject: [PD] gem advanced video keying In-Reply-To: References: Message-ID: you need to use glsl shaders to do that efficiently . first check for existing shaders you will need a powerful gpu ------------ this is a lumakey example (was sent to me by chdh) -------------- keying.frag ------------- uniform float R,G,B,K; uniform sampler2D texture; void main (void) { float d = 0.; vec4 color = texture2D(texture, gl_TexCoord[0].st ); d+= abs(color.r - R); d+= abs(color.g - G); d+= abs(color.b - B); d*=K; color.a = abs(d); gl_FragColor = color; } ------------------------------ 2015-08-12 15:13 GMT+02:00 hi via Pd-list : > Dear Pd folk, > > I am investigating options to improve chroma keying within pd and gem to use within a theater installation. I need more advanced keying features than seemingly possible with [pix_choma_key], like border corrections and smoother edge transparencies. The best thing i found so far is this: > > http://forum.pdpatchrepo.info/topic/2953/neat-chroma-keying/3 > > very nice, but i would need more a quality like in readymade video mixers > Did any of you program anything like that? > > Also i'm trying to find out, whether a potential setup with a computer with 4 HD-SDI inputs would be capable of keying 2 HD-live-signals at the same time and overlay that over one HD-live-background. > > Are there any experiences (hardware and software) from your side, you could share? > > I would so much love to make this happen with pd and not with an expensive video mixer i would have to buy. > > Any help or ideas are appreciated. > > Love to pd, > > jonny > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list From zmoelnig at iem.at Wed Aug 26 09:49:54 2015 From: zmoelnig at iem.at (IOhannes m zmoelnig) Date: Wed, 26 Aug 2015 09:49:54 +0200 Subject: [PD] "G05.execution.order" issue (bug? just wrong?) In-Reply-To: References: Message-ID: <55DD6FA2.9050802@iem.at> On 2015-08-26 06:25, Alexandre Torres Porres wrote: >> Yes, you can get 'correct' execution order by just >> adding your objects in the right order. > > what is the "right order" then? it's undefined. (conceptually) it's the very same as using a fan-out without [trigger]: if you are lucky (or know the interna) you can get your patch working fine without ever needing [t]. but you still rely on undefined behaviour; and relying on undefined behaviour is imho a bug. fgamsdr IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From sebpiq at gmail.com Wed Aug 26 10:25:32 2015 From: sebpiq at gmail.com (s p) Date: Wed, 26 Aug 2015 11:25:32 +0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <1460283276.8605457.1440258600154.JavaMail.yahoo@mail.yahoo.com> <1928235981.8668450.1440268268912.JavaMail.yahoo@mail.yahoo.com> <55DBD8AD.3060107@mccormick.cx> Message-ID: Hmm ... actually I got carried away. I can't implement [cos~] or [env~] with native web audio API nodes. I'll have to use a slow ScriptProcessorNode. So if performance is not a concern for you I'll do it, but I won't integrate it to the core of WebPd. On Tue, Aug 25, 2015 at 9:50 AM, Julian Brooks wrote: > Yay! Mad skills[z]:) > > Cheers Seb > > On 25 August 2015 at 07:43, s p wrote: > >> No worries :) >> >> > I'm aware it would take more time to set up a tutorial than to just >> implement them. >> >> Yes ... I'll implement [osc~] and [env~] (not sure I can, but I'll try) >> today. >> >> On Tue, Aug 25, 2015 at 9:20 AM, Julian Brooks wrote: >> >>> Hi Seb (and Chris!), >>> >>> Implementation of classes is a bit beyond me atm (willing to learn >>> though:). >>> >>> If there's a walkthrough I'd be happy to get involved, though I'm aware >>> it would take more time to set up a tutorial than to just implement them. >>> Always happy to help with testing if that's helpful. >>> >>> [cos~] would be super-useful, as would [env~] or is there a >>> WebPd-Vanilla equivalent I'm not getting? >>> >>> Appreciate you guys getting involved, nice one. >>> >>> Regards, >>> >>> Julian >>> >>> On 25 August 2015 at 06:35, s p wrote: >>> >>>> > Only [osc~] is a signal generator, and [cos~] the raw 'lookup' >>>> >>>> Oh right! Makes sense ... >>>> >>>> I believe [cos~] and [abs~] could both be implemented by using Web >>>> Audio API's WaveShaperNode. The closest example is [clip~] implementation >>>> which you can find here : >>>> https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L892 >>>> >>>> [wrap~] on the other hand can't be implemented :'( or it could, but >>>> with a ScriptProcessorNode, which means it would be slow, and I don't want >>>> to go into doing this for the moment... >>>> >>>> As Chris suggested, I'd be super happy to get a pull request (with >>>> tests) ... if you feel that you can pull it, otherwise I can do it. >>>> >>>> Cheers >>>> >>>> >>>> >>>> On Tue, Aug 25, 2015 at 5:53 AM, Chris McCormick >>>> wrote: >>>> >>>>> On 24/08/15 22:03, Julian Brooks wrote: >>>>> >>>>>> What I do think from the hints and suggestions given is that I've got >>>>>> enough to be getting on with to make something approximately close and >>>>>> hopefully interesting. >>>>>> >>>>> >>>>> You could also implement cos~ in WebPd and submit a PR to seb. Here >>>>> are osc~ and phasor~ for your reference: >>>>> >>>>> https://github.com/sebpiq/WebPd/blob/master/lib/objects/dsp.js#L90 >>>>> >>>>> Cheers, >>>>> >>>>> Chris. >>>>> >>>>> -- >>>>> http://mccormick.cx/ >>>>> >>>>> >>>>> _______________________________________________ >>>>> Pd-list at lists.iem.at mailing list >>>>> UNSUBSCRIBE and account-management -> >>>>> http://lists.puredata.info/listinfo/pd-list >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> *Sébastien Piquemal* >>>> >>>> -----* @sebpiq* >>>> ----- http://github.com/sebpiq >>>> ----- http://funktion.fm >>>> >>> >>> >> >> >> -- >> >> *Sébastien Piquemal* >> >> -----* @sebpiq* >> ----- http://github.com/sebpiq >> ----- http://funktion.fm >> > > -- *Sébastien Piquemal* -----* @sebpiq* ----- http://github.com/sebpiq ----- http://funktion.fm -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Wed Aug 26 10:36:50 2015 From: zmoelnig at iem.at (IOhannes m zmoelnig) Date: Wed, 26 Aug 2015 10:36:50 +0200 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <55DBD8AD.3060107@mccormick.cx> Message-ID: <55DD7AA2.80500@iem.at> On 2015-08-26 10:25, s p wrote: > Hmm ... actually I got carried away. I can't implement [cos~] or [env~] > with native web audio API nodes. > I'll have to use a slow ScriptProcessorNode. So if performance is not a > concern for you I'll do it, but I won't integrate it to the core of WebPd. > since it's really easy to build [cos~] with writing [cos] values to a table¹, wouldn't it make sense to add [cos] and [until] to the WebPd core? fgmsdt IOhannes ¹ assuming that table lookups in WebPd are as blindingly fast as anyhwere else. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From jbeezez at gmail.com Wed Aug 26 10:53:40 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Wed, 26 Aug 2015 09:53:40 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: <55DD7AA2.80500@iem.at> References: <55DBD8AD.3060107@mccormick.cx> <55DD7AA2.80500@iem.at> Message-ID: Hi Seb, Thanks for having a go. While absolutely agreeing with IOhannes, is it the same situation with [abs~] and [wrap~]? Regards, Julian] On 26 August 2015 at 09:36, IOhannes m zmoelnig wrote: > On 2015-08-26 10:25, s p wrote: > > Hmm ... actually I got carried away. I can't implement [cos~] or [env~] > > with native web audio API nodes. > > I'll have to use a slow ScriptProcessorNode. So if performance is not a > > concern for you I'll do it, but I won't integrate it to the core of > WebPd. > > > > since it's really easy to build [cos~] with writing [cos] values to a > table¹, wouldn't it make sense to add [cos] and [until] to the WebPd core? > > > fgmsdt > IOhannes > > ¹ assuming that table lookups in WebPd are as blindingly fast as > anyhwere else. > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From langcsaba at gmail.com Wed Aug 26 11:14:49 2015 From: langcsaba at gmail.com (=?UTF-8?Q?Csaba_L=C3=A1ng?=) Date: Wed, 26 Aug 2015 11:14:49 +0200 Subject: [PD] patch runs twice from script In-Reply-To: <55DCD778.5020905@iem.at> References: <55DCD778.5020905@iem.at> Message-ID: Thanks Iohannes, will give a try, but anyway it already happened not the first time to me. Last time I had 3 identical mac minis with the same system image on each. 2 could run the script without problem, but the 3rd did not. The problem is especially with GEM, as in this case I have double lights turned on and everything is too bright. Anyway, this should work automatically as the installation is permanent in a museum. Will get back to you soon. Popesz On Tue, Aug 25, 2015 at 11:00 PM, IOhannes m zmölnig wrote: > On 08/25/2015 10:53 PM, Csaba Láng wrote: > > Dear list, > > is there a way to avoid that a patch which is run from a script either > from > > crontab or just autorun from the system runs twice? > > I heard about --no-gui solution, but never managed to use it on Mac. > > i don't know how "--no-gui" is supposed to help you here. > it only might obfuscate the fact that two instances are running... > > > i can think of two simple ways to avoid double runs: > - setup a shared-ressource (a lock-file): when the script starts it > checks for the lock-file; if it is not there, it will create the lock, > launch Pd; once Pd is finished it will remove the lock; > if the lock *is* there, the script will exit immediately. > see flock(1) on linux and shlock(1) on osx. > > - stop all running instances of the patch before starting it. > usually you would just do something along the lines of `pkill -KILL pd`, > before starting a new instance of Pd. > > fmasdr > IOhannes > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From white.joe4 at gmail.com Wed Aug 26 11:24:01 2015 From: white.joe4 at gmail.com (Joe White) Date: Wed, 26 Aug 2015 10:24:01 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <55DBD8AD.3060107@mccormick.cx> <55DD7AA2.80500@iem.at> Message-ID: > > I'll have to use a slow ScriptProcessorNode. Here's to hoping for Audio Worker Nodes aye :( Out of curiosity how are the native nodes different from using the ScriptProcessorNode? For something simple like abs~ or wrap~ is performance *that *drastically worse? On 26 August 2015 at 09:53, Julian Brooks wrote: > Hi Seb, > > Thanks for having a go. > While absolutely agreeing with IOhannes, is it the same situation with > [abs~] and [wrap~]? > > Regards, > > Julian] > > > > On 26 August 2015 at 09:36, IOhannes m zmoelnig wrote: > >> On 2015-08-26 10:25, s p wrote: >> > Hmm ... actually I got carried away. I can't implement [cos~] or [env~] >> > with native web audio API nodes. >> > I'll have to use a slow ScriptProcessorNode. So if performance is not a >> > concern for you I'll do it, but I won't integrate it to the core of >> WebPd. >> > >> >> since it's really easy to build [cos~] with writing [cos] values to a >> table¹, wouldn't it make sense to add [cos] and [until] to the WebPd core? >> >> >> fgmsdt >> IOhannes >> >> ¹ assuming that table lookups in WebPd are as blindingly fast as >> anyhwere else. >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas_montgermont at yahoo.fr Wed Aug 26 12:51:01 2015 From: nicolas_montgermont at yahoo.fr (Nicolas Montgermont) Date: Wed, 26 Aug 2015 12:51:01 +0200 Subject: [PD] patch runs twice from script In-Reply-To: References: <55DCD778.5020905@iem.at> Message-ID: <55DD9A15.8030205@yahoo.fr> your problem must come from the "application saved state" ie Resume. see: http://puredata.info/docs/faq/help-pd-crashes-on-startup-on-mac-osx-10-7 http://osxdaily.com/2011/07/31/disable-resume-specific-applications-mac-os-x-lion/ n Le 26/08/2015 11:14, Csaba Láng a écrit : > Thanks Iohannes, > > will give a try, but anyway it already happened not the first time to me. > Last time I had 3 identical mac minis with the same system image on > each. 2 could run the script without problem, but the 3rd did not. The > problem is especially with GEM, as in this case I have double lights > turned on and everything is too bright. > Anyway, this should work automatically as the installation is > permanent in a museum. > Will get back to you soon. > > Popesz > > On Tue, Aug 25, 2015 at 11:00 PM, IOhannes m zmölnig > wrote: > > On 08/25/2015 10:53 PM, Csaba Láng wrote: > > Dear list, > > is there a way to avoid that a patch which is run from a script > either from > > crontab or just autorun from the system runs twice? > > I heard about --no-gui solution, but never managed to use it on Mac. > > i don't know how "--no-gui" is supposed to help you here. > it only might obfuscate the fact that two instances are running... > > > i can think of two simple ways to avoid double runs: > - setup a shared-ressource (a lock-file): when the script starts it > checks for the lock-file; if it is not there, it will create the lock, > launch Pd; once Pd is finished it will remove the lock; > if the lock *is* there, the script will exit immediately. > see flock(1) on linux and shlock(1) on osx. > > - stop all running instances of the patch before starting it. > usually you would just do something along the lines of `pkill > -KILL pd`, > before starting a new instance of Pd. > > fmasdr > IOhannes > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -- http://www.nimon.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebpiq at gmail.com Wed Aug 26 12:52:21 2015 From: sebpiq at gmail.com (s p) Date: Wed, 26 Aug 2015 13:52:21 +0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <55DBD8AD.3060107@mccormick.cx> <55DD7AA2.80500@iem.at> Message-ID: > since it's really easy to build [cos~] with writing [cos] values to a table¹, wouldn't it make sense to add [cos] and [until] to the WebPd core? @IOhannes yes that's an option. Unfortunately, table lookups are not that fast in Web Audio API ... and they have some bugs in firefox. In fact there isn't even an object designed specifically for this. I have to use this bloody WaveShaperNode ( http://webaudio.github.io/web-audio-api/#WaveShaperNode) and a few hacks. Web Audio API is really hopeless at times. > is it the same situation with [abs~] and [wrap~]? @Julian, [abs~] would be easy, [wrap~] isn't possible with nodes once again... > Out of curiosity how are the native nodes different from using the ScriptProcessorNode? @Joe, I haven't made any benchmark, but from my experience the performance is very very poor for ScriptProcessorNodes. I have made some tests a while ago on a rather slow smartphone : while I could run several dozen native BufferSourceNodes (interpolated sample playback) without any problem, a single ScriptProcessorNode running a rather simple effect would make the whole page choke, and lots of audio glitches ... It is no wonder when you know that native nodes are optimized C++ running in a separate thread, while ScriptProcessorNode is JavaScript, running in the main thread of the page (which also does graphics, user events and pretty much everything else) I am also looking forward to AudioWorkerNodes!!! But it has been a rather slow process ... And then when they arrive, there will be a question, which is whether it is more performant to implement the whole DSP in a single AudioWorkerNode (and forget about native nodes altogether), or a mixed solution which uses native nodes whenever possible and AudioWorkers when not. So the future is really uncertain. For this reason I plan to restructure WebPd so that it can support different distributions, with different implementations or different objects. So that it would be possible to choose between one or the other solution easily. Here are the tasks for the next milestone 0.4.0 which I plan to finish for end of September : https://github.com/sebpiq/WebPd/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.4.0 So @Julian, I'll go with the [osc] + [until] solution. Meanwhile, if you don't wanna wait, you can also fill-up the table with Pd, and save the table contents in the patch. Then just do table lookup as he suggested. On Wed, Aug 26, 2015 at 12:24 PM, Joe White wrote: > I'll have to use a slow ScriptProcessorNode. > > > Here's to hoping for Audio Worker Nodes aye :( > > Out of curiosity how are the native nodes different from using the > ScriptProcessorNode? For something simple like abs~ or wrap~ is performance *that > *drastically worse? > > > > On 26 August 2015 at 09:53, Julian Brooks wrote: > >> Hi Seb, >> >> Thanks for having a go. >> While absolutely agreeing with IOhannes, is it the same situation with >> [abs~] and [wrap~]? >> >> Regards, >> >> Julian] >> >> >> >> On 26 August 2015 at 09:36, IOhannes m zmoelnig wrote: >> >>> On 2015-08-26 10:25, s p wrote: >>> > Hmm ... actually I got carried away. I can't implement [cos~] or [env~] >>> > with native web audio API nodes. >>> > I'll have to use a slow ScriptProcessorNode. So if performance is not a >>> > concern for you I'll do it, but I won't integrate it to the core of >>> WebPd. >>> > >>> >>> since it's really easy to build [cos~] with writing [cos] values to a >>> table¹, wouldn't it make sense to add [cos] and [until] to the WebPd >>> core? >>> >>> >>> fgmsdt >>> IOhannes >>> >>> ¹ assuming that table lookups in WebPd are as blindingly fast as >>> anyhwere else. >>> >>> >>> _______________________________________________ >>> Pd-list at lists.iem.at mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >>> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > -- *Sébastien Piquemal* -----* @sebpiq* ----- http://github.com/sebpiq ----- http://funktion.fm -------------- next part -------------- An HTML attachment was scrubbed... URL: From langcsaba at gmail.com Wed Aug 26 13:13:20 2015 From: langcsaba at gmail.com (=?UTF-8?Q?Csaba_L=C3=A1ng?=) Date: Wed, 26 Aug 2015 13:13:20 +0200 Subject: [PD] patch runs twice from script In-Reply-To: <55DD9A15.8030205@yahoo.fr> References: <55DCD778.5020905@iem.at> <55DD9A15.8030205@yahoo.fr> Message-ID: Nicolas, sounds reasonable, I give a try today. Thanks for the hint! Popesz On Wed, Aug 26, 2015 at 12:51 PM, Nicolas Montgermont < nicolas_montgermont at yahoo.fr> wrote: > your problem must come from the "application saved state" ie Resume. > see: > http://puredata.info/docs/faq/help-pd-crashes-on-startup-on-mac-osx-10-7 > > http://osxdaily.com/2011/07/31/disable-resume-specific-applications-mac-os-x-lion/ > n > > > Le 26/08/2015 11:14, Csaba Láng a écrit : > > Thanks Iohannes, > > will give a try, but anyway it already happened not the first time to me. > Last time I had 3 identical mac minis with the same system image on each. > 2 could run the script without problem, but the 3rd did not. The problem is > especially with GEM, as in this case I have double lights turned on and > everything is too bright. > Anyway, this should work automatically as the installation is permanent in > a museum. > Will get back to you soon. > > Popesz > > On Tue, Aug 25, 2015 at 11:00 PM, IOhannes m zmölnig < > zmoelnig at iem.at> wrote: > >> On 08/25/2015 10:53 PM, Csaba Láng wrote: >> > Dear list, >> > is there a way to avoid that a patch which is run from a script either >> from >> > crontab or just autorun from the system runs twice? >> > I heard about --no-gui solution, but never managed to use it on Mac. >> >> i don't know how "--no-gui" is supposed to help you here. >> it only might obfuscate the fact that two instances are running... >> >> >> i can think of two simple ways to avoid double runs: >> - setup a shared-ressource (a lock-file): when the script starts it >> checks for the lock-file; if it is not there, it will create the lock, >> launch Pd; once Pd is finished it will remove the lock; >> if the lock *is* there, the script will exit immediately. >> see flock(1) on linux and shlock(1) on osx. >> >> - stop all running instances of the patch before starting it. >> usually you would just do something along the lines of `pkill -KILL pd`, >> before starting a new instance of Pd. >> >> fmasdr >> IOhannes >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> >> http://lists.puredata.info/listinfo/pd-list >> >> > > > _______________________________________________Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > -- http://www.nimon.org > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbeezez at gmail.com Wed Aug 26 13:51:47 2015 From: jbeezez at gmail.com (Julian Brooks) Date: Wed, 26 Aug 2015 12:51:47 +0100 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <55DBD8AD.3060107@mccormick.cx> <55DD7AA2.80500@iem.at> Message-ID: Thanks for the info Seb - will do. On 26 August 2015 at 11:52, s p wrote: > > since it's really easy to build [cos~] with writing [cos] values to a > table¹, wouldn't it make sense to add [cos] and [until] to the WebPd core? > > @IOhannes yes that's an option. Unfortunately, table lookups are not that > fast in Web Audio API ... and they have some bugs in firefox. In fact there > isn't even an object designed specifically for this. I have to use this > bloody WaveShaperNode ( > http://webaudio.github.io/web-audio-api/#WaveShaperNode) and a few hacks. > Web Audio API is really hopeless at times. > > > is it the same situation with [abs~] and [wrap~]? > > @Julian, [abs~] would be easy, [wrap~] isn't possible with nodes once > again... > > > Out of curiosity how are the native nodes different from using the > ScriptProcessorNode? > > @Joe, I haven't made any benchmark, but from my experience the performance > is very very poor for ScriptProcessorNodes. I have made some tests a while > ago on a rather slow smartphone : while I could run several dozen native > BufferSourceNodes (interpolated sample playback) without any problem, a > single ScriptProcessorNode running a rather simple effect would make the > whole page choke, and lots of audio glitches ... It is no wonder when you > know that native nodes are optimized C++ running in a separate thread, > while ScriptProcessorNode is JavaScript, running in the main thread of the > page (which also does graphics, user events and pretty much everything else) > > I am also looking forward to AudioWorkerNodes!!! But it has been a rather > slow process ... And then when they arrive, there will be a question, which > is whether it is more performant to implement the whole DSP in a single > AudioWorkerNode (and forget about native nodes altogether), or a mixed > solution which uses native nodes whenever possible and AudioWorkers when > not. So the future is really uncertain. For this reason I plan to > restructure WebPd so that it can support different distributions, with > different implementations or different objects. So that it would be > possible to choose between one or the other solution easily. Here are the > tasks for the next milestone 0.4.0 which I plan to finish for end of > September : > https://github.com/sebpiq/WebPd/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.4.0 > > So @Julian, I'll go with the [osc] + [until] solution. Meanwhile, if you > don't wanna wait, you can also fill-up the table with Pd, and save the > table contents in the patch. Then just do table lookup as he suggested. > > > On Wed, Aug 26, 2015 at 12:24 PM, Joe White wrote: > >> I'll have to use a slow ScriptProcessorNode. >> >> >> Here's to hoping for Audio Worker Nodes aye :( >> >> Out of curiosity how are the native nodes different from using the >> ScriptProcessorNode? For something simple like abs~ or wrap~ is performance *that >> *drastically worse? >> >> >> >> On 26 August 2015 at 09:53, Julian Brooks wrote: >> >>> Hi Seb, >>> >>> Thanks for having a go. >>> While absolutely agreeing with IOhannes, is it the same situation with >>> [abs~] and [wrap~]? >>> >>> Regards, >>> >>> Julian] >>> >>> >>> >>> On 26 August 2015 at 09:36, IOhannes m zmoelnig wrote: >>> >>>> On 2015-08-26 10:25, s p wrote: >>>> > Hmm ... actually I got carried away. I can't implement [cos~] or >>>> [env~] >>>> > with native web audio API nodes. >>>> > I'll have to use a slow ScriptProcessorNode. So if performance is not >>>> a >>>> > concern for you I'll do it, but I won't integrate it to the core of >>>> WebPd. >>>> > >>>> >>>> since it's really easy to build [cos~] with writing [cos] values to a >>>> table¹, wouldn't it make sense to add [cos] and [until] to the WebPd >>>> core? >>>> >>>> >>>> fgmsdt >>>> IOhannes >>>> >>>> ¹ assuming that table lookups in WebPd are as blindingly fast as >>>> anyhwere else. >>>> >>>> >>>> _______________________________________________ >>>> Pd-list at lists.iem.at mailing list >>>> UNSUBSCRIBE and account-management -> >>>> http://lists.puredata.info/listinfo/pd-list >>>> >>>> >>> >>> _______________________________________________ >>> Pd-list at lists.iem.at mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >>> >> > > > -- > > *Sébastien Piquemal* > > -----* @sebpiq* > ----- http://github.com/sebpiq > ----- http://funktion.fm > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebpiq at gmail.com Wed Aug 26 15:50:38 2015 From: sebpiq at gmail.com (s p) Date: Wed, 26 Aug 2015 16:50:38 +0300 Subject: [PD] [cos~]replacement for webPd patch In-Reply-To: References: <55DBD8AD.3060107@mccormick.cx> <55DD7AA2.80500@iem.at> Message-ID: Alright! I've added [until], [cos], [sin], [tan], [atan], [log], [exp], [sqrt], [abs] to WebPd. Please tell me if you have any problem! Also please share your experiments when you're done ;) On Wed, Aug 26, 2015 at 2:51 PM, Julian Brooks wrote: > Thanks for the info Seb - will do. > > > > On 26 August 2015 at 11:52, s p wrote: > >> > since it's really easy to build [cos~] with writing [cos] values to a >> table¹, wouldn't it make sense to add [cos] and [until] to the WebPd core? >> >> @IOhannes yes that's an option. Unfortunately, table lookups are not that >> fast in Web Audio API ... and they have some bugs in firefox. In fact there >> isn't even an object designed specifically for this. I have to use this >> bloody WaveShaperNode ( >> http://webaudio.github.io/web-audio-api/#WaveShaperNode) and a few >> hacks. Web Audio API is really hopeless at times. >> >> > is it the same situation with [abs~] and [wrap~]? >> >> @Julian, [abs~] would be easy, [wrap~] isn't possible with nodes once >> again... >> >> > Out of curiosity how are the native nodes different from using the >> ScriptProcessorNode? >> >> @Joe, I haven't made any benchmark, but from my experience the >> performance is very very poor for ScriptProcessorNodes. I have made some >> tests a while ago on a rather slow smartphone : while I could run several >> dozen native BufferSourceNodes (interpolated sample playback) without any >> problem, a single ScriptProcessorNode running a rather simple effect would >> make the whole page choke, and lots of audio glitches ... It is no wonder >> when you know that native nodes are optimized C++ running in a separate >> thread, while ScriptProcessorNode is JavaScript, running in the main thread >> of the page (which also does graphics, user events and pretty much >> everything else) >> >> I am also looking forward to AudioWorkerNodes!!! But it has been a rather >> slow process ... And then when they arrive, there will be a question, which >> is whether it is more performant to implement the whole DSP in a single >> AudioWorkerNode (and forget about native nodes altogether), or a mixed >> solution which uses native nodes whenever possible and AudioWorkers when >> not. So the future is really uncertain. For this reason I plan to >> restructure WebPd so that it can support different distributions, with >> different implementations or different objects. So that it would be >> possible to choose between one or the other solution easily. Here are the >> tasks for the next milestone 0.4.0 which I plan to finish for end of >> September : >> https://github.com/sebpiq/WebPd/issues?q=is%3Aopen+is%3Aissue+milestone%3A0.4.0 >> >> So @Julian, I'll go with the [osc] + [until] solution. Meanwhile, if you >> don't wanna wait, you can also fill-up the table with Pd, and save the >> table contents in the patch. Then just do table lookup as he suggested. >> >> >> On Wed, Aug 26, 2015 at 12:24 PM, Joe White wrote: >> >>> I'll have to use a slow ScriptProcessorNode. >>> >>> >>> Here's to hoping for Audio Worker Nodes aye :( >>> >>> Out of curiosity how are the native nodes different from using the >>> ScriptProcessorNode? For something simple like abs~ or wrap~ is performance *that >>> *drastically worse? >>> >>> >>> >>> On 26 August 2015 at 09:53, Julian Brooks wrote: >>> >>>> Hi Seb, >>>> >>>> Thanks for having a go. >>>> While absolutely agreeing with IOhannes, is it the same situation with >>>> [abs~] and [wrap~]? >>>> >>>> Regards, >>>> >>>> Julian] >>>> >>>> >>>> >>>> On 26 August 2015 at 09:36, IOhannes m zmoelnig >>>> wrote: >>>> >>>>> On 2015-08-26 10:25, s p wrote: >>>>> > Hmm ... actually I got carried away. I can't implement [cos~] or >>>>> [env~] >>>>> > with native web audio API nodes. >>>>> > I'll have to use a slow ScriptProcessorNode. So if performance is >>>>> not a >>>>> > concern for you I'll do it, but I won't integrate it to the core of >>>>> WebPd. >>>>> > >>>>> >>>>> since it's really easy to build [cos~] with writing [cos] values to a >>>>> table¹, wouldn't it make sense to add [cos] and [until] to the WebPd >>>>> core? >>>>> >>>>> >>>>> fgmsdt >>>>> IOhannes >>>>> >>>>> ¹ assuming that table lookups in WebPd are as blindingly fast as >>>>> anyhwere else. >>>>> >>>>> >>>>> _______________________________________________ >>>>> Pd-list at lists.iem.at mailing list >>>>> UNSUBSCRIBE and account-management -> >>>>> http://lists.puredata.info/listinfo/pd-list >>>>> >>>>> >>>> >>>> _______________________________________________ >>>> Pd-list at lists.iem.at mailing list >>>> UNSUBSCRIBE and account-management -> >>>> http://lists.puredata.info/listinfo/pd-list >>>> >>>> >>> >> >> >> -- >> >> *Sébastien Piquemal* >> >> -----* @sebpiq* >> ----- http://github.com/sebpiq >> ----- http://funktion.fm >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > -- *Sébastien Piquemal* -----* @sebpiq* ----- http://github.com/sebpiq ----- http://funktion.fm -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpsandys at gmail.com Wed Aug 26 21:10:17 2015 From: jpsandys at gmail.com (Jeff Sandys) Date: Wed, 26 Aug 2015 12:10:17 -0700 Subject: [PD] System Dynamics Abstractions Message-ID: Has anyone made Systems Dynamics abstractions for Pure Data? Wikipedia has a good article on Systems dynamics: https://en.wikipedia.org/wiki/System_dynamics I would like to create a simple "stock and flow" modeling environment. Stock and flow models can be as simple as predator/prey population fluctuation to global warming models following the carbon cycle. Such models are great education experiences, playing what if experiments, and the output could be charted in a table or used to drive a sonification or visualization of the model. It seems almost trivial, stocks are accumulators (up or down) and flows are controlled by valves (multiplier), and a clock to step the model. Thanks, Jeff Sandys -------------- next part -------------- An HTML attachment was scrubbed... URL: From pyfave at gmail.com Thu Aug 27 17:33:14 2015 From: pyfave at gmail.com (Py Fave) Date: Thu, 27 Aug 2015 17:33:14 +0200 Subject: [PD] Texture mapping In-Reply-To: References: Message-ID: you should normalise your uv values to keep them ion the 0....1 range. you can do that in blender i think 2015-07-27 18:20 GMT+02:00 Antonio Roberts : > Hi, > > I have made a textured 3D model in Blender that I'm trying to import > into Pure Data and have it display as it did in Blender. > > I made a simple blocky tree model (attached). It uses this image as a > UV mapped texture: http://i.imgur.com/ACncRZI.png It should/I want it > to display like this http://i.imgur.com/QWJOIpS.png But when I open it > in Pure Data it displays like this: http://i.imgur.com/Ya4diiS.png > > Is there anything that I can do either in Pure Data or Blender to make > the texture display as it did in Blender? If there's a solution that > could work in all situations and with all UV mapped models then that > would be preferable. > > Thanks > > Antonio > > -- > ============================ > antonio at hellocatfood.com > http://www.hellocatfood.com > ============================ > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > From colet.patrice at free.fr Fri Aug 28 13:44:45 2015 From: colet.patrice at free.fr (patrice colet) Date: Fri, 28 Aug 2015 13:44:45 +0200 Subject: [PD] patch runs twice from script In-Reply-To: <55DCD778.5020905@iem.at> References: <55DCD778.5020905@iem.at> Message-ID: <55E049AD.9010302@free.fr> I had same problem with using init.d script from svn, this launches pd twice at bootup, --no-gui didn't change anything... I resolved it by restarting from an howto page: https://help.ubuntu.com/community/UbuntuBootupHowto by the way thanks for the lock-file trick, I had once tried to launch several pd instances on OSX maverick, it was only possible by removing lock-files, really annoying... patko Le 25/08/2015 23:00, IOhannes m zmölnig a écrit : > On 08/25/2015 10:53 PM, Csaba Láng wrote: >> Dear list, >> is there a way to avoid that a patch which is run from a script either from >> crontab or just autorun from the system runs twice? >> I heard about --no-gui solution, but never managed to use it on Mac. > i don't know how "--no-gui" is supposed to help you here. > it only might obfuscate the fact that two instances are running... > > > i can think of two simple ways to avoid double runs: > - setup a shared-ressource (a lock-file): when the script starts it > checks for the lock-file; if it is not there, it will create the lock, > launch Pd; once Pd is finished it will remove the lock; > if the lock *is* there, the script will exit immediately. > see flock(1) on linux and shlock(1) on osx. > > - stop all running instances of the patch before starting it. > usually you would just do something along the lines of `pkill -KILL pd`, > before starting a new instance of Pd. > > fmasdr > IOhannes > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas_montgermont at yahoo.fr Fri Aug 28 14:30:23 2015 From: nicolas_montgermont at yahoo.fr (Nicolas Montgermont) Date: Fri, 28 Aug 2015 14:30:23 +0200 Subject: [PD] patch runs twice from script In-Reply-To: <55E049AD.9010302@free.fr> References: <55DCD778.5020905@iem.at> <55E049AD.9010302@free.fr> Message-ID: <55E0545F.6000903@yahoo.fr> I think the problem of Lang is different, he says: "The problem is especially with GEM, as in this case I have double lights turned on and everything is too bright." It is more a problem of the patch launching twice in the same pd instance, specific to OSX 10.7+ (IIRC) Under osX, to launch two pd instances you just have to start them from terminal. Nicolas Le 28/08/2015 13:44, patrice colet a écrit : > I had same problem with using init.d script from svn, > this launches pd twice at bootup, --no-gui didn't change anything... > I resolved it by restarting from an howto page: > > https://help.ubuntu.com/community/UbuntuBootupHowto > > by the way thanks for the lock-file trick, I had once tried to launch > several pd instances > on OSX maverick, it was only possible by removing lock-files, really > annoying... > > patko > > Le 25/08/2015 23:00, IOhannes m zmölnig a écrit : >> On 08/25/2015 10:53 PM, Csaba Láng wrote: >>> Dear list, >>> is there a way to avoid that a patch which is run from a script either from >>> crontab or just autorun from the system runs twice? >>> I heard about --no-gui solution, but never managed to use it on Mac. >> i don't know how "--no-gui" is supposed to help you here. >> it only might obfuscate the fact that two instances are running... >> >> >> i can think of two simple ways to avoid double runs: >> - setup a shared-ressource (a lock-file): when the script starts it >> checks for the lock-file; if it is not there, it will create the lock, >> launch Pd; once Pd is finished it will remove the lock; >> if the lock *is* there, the script will exit immediately. >> see flock(1) on linux and shlock(1) on osx. >> >> - stop all running instances of the patch before starting it. >> usually you would just do something along the lines of `pkill -KILL pd`, >> before starting a new instance of Pd. >> >> fmasdr >> IOhannes >> >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -- http://www.nimon.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From colet.patrice at free.fr Fri Aug 28 14:37:03 2015 From: colet.patrice at free.fr (patrice colet) Date: Fri, 28 Aug 2015 14:37:03 +0200 Subject: [PD] patch runs twice from script In-Reply-To: <55E0545F.6000903@yahoo.fr> References: <55DCD778.5020905@iem.at> <55E049AD.9010302@free.fr> <55E0545F.6000903@yahoo.fr> Message-ID: <55E055EF.7040703@free.fr> Le 28/08/2015 14:30, Nicolas Montgermont a écrit : > I think the problem of Lang is different, he says: > "The problem is especially with GEM, as in this case I have double > lights turned on and everything is too bright." > It is more a problem of the patch launching twice in the same pd > instance, specific to OSX 10.7+ (IIRC) > yes I've seen this after the mail was sent... > Under osX, to launch two pd instances you just have to start them from > terminal. > Nicolas > not under maverick... > Le 28/08/2015 13:44, patrice colet a écrit : >> I had same problem with using init.d script from svn, >> this launches pd twice at bootup, --no-gui didn't change anything... >> I resolved it by restarting from an howto page: >> >> https://help.ubuntu.com/community/UbuntuBootupHowto >> >> by the way thanks for the lock-file trick, I had once tried to launch >> several pd instances >> on OSX maverick, it was only possible by removing lock-files, really >> annoying... >> >> patko >> >> Le 25/08/2015 23:00, IOhannes m zmölnig a écrit : >>> On 08/25/2015 10:53 PM, Csaba Láng wrote: >>>> Dear list, >>>> is there a way to avoid that a patch which is run from a script either from >>>> crontab or just autorun from the system runs twice? >>>> I heard about --no-gui solution, but never managed to use it on Mac. >>> i don't know how "--no-gui" is supposed to help you here. >>> it only might obfuscate the fact that two instances are running... >>> >>> >>> i can think of two simple ways to avoid double runs: >>> - setup a shared-ressource (a lock-file): when the script starts it >>> checks for the lock-file; if it is not there, it will create the lock, >>> launch Pd; once Pd is finished it will remove the lock; >>> if the lock *is* there, the script will exit immediately. >>> see flock(1) on linux and shlock(1) on osx. >>> >>> - stop all running instances of the patch before starting it. >>> usually you would just do something along the lines of `pkill -KILL pd`, >>> before starting a new instance of Pd. >>> >>> fmasdr >>> IOhannes >>> >>> >>> >>> _______________________________________________ >>> Pd-list at lists.iem.at mailing list >>> UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list >> >> >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list > > -- > http://www.nimon.org > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From studabomb at gmail.com Fri Aug 28 14:37:34 2015 From: studabomb at gmail.com (Stu) Date: Fri, 28 Aug 2015 14:37:34 +0200 Subject: [PD] audio to sine and frequency divider (live) Message-ID: Hey List. Consider me a noob, I'm using pure data (after a long time of not using it) for a current project I'm working on. This is what I try to do: Situation: The sound coming from acoustic instruments is picked up by a mic (no problem so far). Then in pure data, the following things should happen: 1. Freuquency counter, displaying precicely the current frequency played by the instrument. 2. Sine Wave generator, that plays and holds a sine of the same frequency and duration of the source sound coming from the instrument. 3. Frequency divider, that divides down the frequency 10 times and plays a sine 10 times deeper than the original sound coming from the instrument. e.g., If a sound is being played on the mic input of 1000Hz, pure data shows the frequency, and plays a 100Hz sine etc. All should happen in real time without much delays. Now my question is, is pure data capable of doing that or should I look for something else? I'm going to use an older mac book air. Thanks for any advice here! -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicolas_montgermont at yahoo.fr Fri Aug 28 14:45:00 2015 From: nicolas_montgermont at yahoo.fr (Nicolas Montgermont) Date: Fri, 28 Aug 2015 14:45:00 +0200 Subject: [PD] patch runs twice from script In-Reply-To: <55E055EF.7040703@free.fr> References: <55DCD778.5020905@iem.at> <55E049AD.9010302@free.fr> <55E0545F.6000903@yahoo.fr> <55E055EF.7040703@free.fr> Message-ID: <55E057CC.2060008@yahoo.fr> Le 28/08/2015 14:37, patrice colet a écrit : > >> Under osX, to launch two pd instances you just have to start them >> from terminal. > not under maverick... I am under mavericks (10.9.5) and it works. you just have to do for example: /Applications/Pd-0.46-5.app/Contents/MacOS/Pd twice. (Put a & after the first or open two terminals) n -- http://www.nimon.org -------------- next part -------------- An HTML attachment was scrubbed... URL: From pat at digitalworlds.ufl.edu Fri Aug 28 18:08:45 2015 From: pat at digitalworlds.ufl.edu (Pagano, Patrick) Date: Fri, 28 Aug 2015 16:08:45 +0000 Subject: [PD] audio to sine and frequency divider (live) In-Reply-To: References: Message-ID: <1440778134898.8345@digitalworlds.ufl.edu> ?fiddle~ Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 ________________________________ From: Pd-list on behalf of Stu Sent: Friday, August 28, 2015 8:37 AM To: pd-list at mail.iem.at Subject: [PD] audio to sine and frequency divider (live) Hey List. Consider me a noob, I'm using pure data (after a long time of not using it) for a current project I'm working on. This is what I try to do: Situation: The sound coming from acoustic instruments is picked up by a mic (no problem so far). Then in pure data, the following things should happen: 1. Freuquency counter, displaying precicely the current frequency played by the instrument. 2. Sine Wave generator, that plays and holds a sine of the same frequency and duration of the source sound coming from the instrument. 3. Frequency divider, that divides down the frequency 10 times and plays a sine 10 times deeper than the original sound coming from the instrument. e.g., If a sound is being played on the mic input of 1000Hz, pure data shows the frequency, and plays a 100Hz sine etc. All should happen in real time without much delays. Now my question is, is pure data capable of doing that or should I look for something else? I'm going to use an older mac book air. Thanks for any advice here! -------------- next part -------------- An HTML attachment was scrubbed... URL: From pat at digitalworlds.ufl.edu Fri Aug 28 19:10:37 2015 From: pat at digitalworlds.ufl.edu (Pagano, Patrick) Date: Fri, 28 Aug 2015 17:10:37 +0000 Subject: [PD] lp8_cheb~ for pd-vanilla Message-ID: <1440781847427.73136@digitalworlds.ufl.edu> Is it possible to add iemlibs to pd-vanilla? I am finding quite a few nice filters i would like to include in my build of pd vanilla and i am hopeful there is a way to include them on raspberry pi/pd-vanilla Patrick Pagano B.S, M.F.A Audio and Projection Design Faculty Digital Worlds Institute University of Florida, USA (352)294-2020 -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterparker at fastmail.com Fri Aug 28 20:23:36 2015 From: peterparker at fastmail.com (Peter P.) Date: Fri, 28 Aug 2015 14:23:36 -0400 Subject: [PD] miller's gpio on rpi2modelB and the "enable" message Message-ID: <20150828182336.GA5428@fastmail.com> Hi list, hi J, I am better understand the GPIOs on a Raspberry Pi 2 model B using Miller's gpio external from pi-externs. Everything works fine so far, only in the help patch kindly provided by J Oliver in his posting http://lists.puredata.info/pipermail/pd-list/2013-04/102172.html the message "enable 17" is said to do the same as an echo "17" > /sys/class/gpio/export on the shell, but is has no effect, no file /sys/class/gpio/gpio17 is created. If I create in on the console all is fine. Does anyone else experience this? Thanks, Peter From ico at vt.edu Fri Aug 28 20:52:17 2015 From: ico at vt.edu (Ivica Bukvic) Date: Fri, 28 Aug 2015 14:52:17 -0400 Subject: [PD] miller's gpio on rpi2modelB and the "enable" message In-Reply-To: <20150828182336.GA5428@fastmail.com> References: <20150828182336.GA5428@fastmail.com> Message-ID: Are you running pd with sudo privileges? On Aug 28, 2015 2:25 PM, "Peter P." wrote: > Hi list, hi J, > > I am better understand the GPIOs on a Raspberry Pi 2 model B using > Miller's gpio external from pi-externs. Everything works fine so far, > only in the help patch kindly provided by J Oliver in his posting > http://lists.puredata.info/pipermail/pd-list/2013-04/102172.html > the message "enable 17" is said to do the same as an > echo "17" > /sys/class/gpio/export > on the shell, but is has no effect, no file > /sys/class/gpio/gpio17 is created. > > If I create in on the console all is fine. > > Does anyone else experience this? > > Thanks, Peter > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peterparker at fastmail.com Fri Aug 28 21:40:52 2015 From: peterparker at fastmail.com (Peter P.) Date: Fri, 28 Aug 2015 15:40:52 -0400 Subject: [PD] miller's gpio on rpi2modelB and the "enable" message In-Reply-To: References: <20150828182336.GA5428@fastmail.com> Message-ID: <20150828194052.GB5428@fastmail.com> * Ivica Bukvic [2015-08-28 14:52]: > Are you running pd with sudo privileges? The user is part of the gpio group which has the correct permissions to execute echo "2" > /sys/class/gpio/export successfully. But you are right, strangely Pd only started as root can execute the "enable 2" message in the patch. Weird. Thanks Ivo, P From porres at gmail.com Fri Aug 28 22:35:36 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Fri, 28 Aug 2015 17:35:36 -0300 Subject: [PD] Pure Data Buffir~ object In-Reply-To: <55BD0D72.6070008@xs4all.nl> References: <55BCDBD6.3060104@gmx.de> <55BD0D72.6070008@xs4all.nl> Message-ID: hey, how is going with this object? I just wanted to say it'd be really good if it was updated to max size of 4096, which is the current configuration since max 6 256 is just too little and made more sense back in the day of max 5 hopefully it's an easy update, what do you say? cheers 2015-08-01 15:18 GMT-03:00 Fred Jan Kraan : > Hi Julian, > > Thank you for your report. I am not the expert, just one of the current > maintainers if the cyclone set of objects. I think the object works, but > maybe not as the Max object. If this is the case I will try to fix it. > > > Hello, > > > > I am sorry to bother you but I have an important question about the > > buffir~ object. > > I hope you can help me with this. I am not too experiencd with PD but I > > try to make > > an Binaural-Renderer. I want to use the buffir~ object to convolve an IR > > to a signal. > > This works right now. But I want to change the IR used for convolving > > with the signal > > when the head orientation changes. I had a look at the MAX/MSP 5 > > documentation > > as I understand this object was taken from MAX where the buffir~ object > > can be told > > to change the buffer~ object by using the set message. I tried this in > > PD but nothing > > happens. Obviously the IR is not loaded as there is no signal passing > > through the > > buffir~ object when using $1 as the name of the table and send a message > > [set tablename] > > to input 1 (the signal input where the clear message can be applied). Is > > this function > > not implemented in the PD buffir~ object? Or is there something I do > wrong? > > Note '$1' is not literary part of the name, just a placeholder of the > first element on the message (=list) you send to the object. If > something is wrong here, the console should contain an error message. > Also see the help on $-variables. > > > > I would be verry happy if could help me with this question! If this is > > not implemented > > and can't be worked around do you have any ideas how to solve my problem? > > Thank you very much in advance! > > The attached patch is an adaptation of the help-patch, including a > second buffer to switch to. Yo need to open it and draw non-zero values > to get a signal through. It looks like you also have to provide the > offset and length arguments, as leaving them out results in zero - > meaning no useful convolution takes place. > > When I have time, I'll check the behaviour of the Max5 object. It might > work better or more user friendly. But first on the planning are some > weeks vacation :-). > > > > Regards Julian Jochheim > > > > Greetings, > > Fred Jan > > P.S. I added the pd-list in the reply, the main forum for issues like > this one (http://lists.puredata.info/listinfo/pd-list). > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Fri Aug 28 22:45:03 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Fri, 28 Aug 2015 22:45:03 +0200 Subject: [PD] lp8_cheb~ for pd-vanilla In-Reply-To: <1440781847427.73136@digitalworlds.ufl.edu> References: <1440781847427.73136@digitalworlds.ufl.edu> Message-ID: <55E0C84F.7010704@iem.at> On 08/28/2015 07:10 PM, Pagano, Patrick wrote: > Is it possible to add iemlibs to pd-vanilla? > > I am finding quite a few nice filters i would like to include in my build of pd vanilla and i am hopeful there is a way to include them on raspberry pi/pd-vanilla why can't you use the externals¹? that's what externals are for after all: extending Pd. btw, if you are concerned about compatibility with Pd-vanilla, then i can assure you that iemlib is developped solely against pd-vanilla (it just happens to be included with Pd-extended) if you are on Debian or a derivative (like raspbian), then pd-iemlib is available since jessie. gfamdsr IOhannes ¹well, [lp8_cheb~] is an abstraction. but it depends on iemlibs [filter~] external. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From zmoelnig at iem.at Fri Aug 28 23:10:18 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Fri, 28 Aug 2015 23:10:18 +0200 Subject: [PD] lp8_cheb~ for pd-vanilla In-Reply-To: <2E37540C-42C5-4389-B990-074342BDB0F6@digitalworlds.ufl.edu> References: <1440781847427.73136@digitalworlds.ufl.edu> <55E0C84F.7010704@iem.at> <2E37540C-42C5-4389-B990-074342BDB0F6@digitalworlds.ufl.edu> Message-ID: <55E0CE3A.40101@iem.at> please always reply to the list. On 08/28/2015 11:00 PM, Pagano, Patrick wrote: > Awesome, thanks I think I only tried pd-iem as in https://github.com/iem-projects/pd-iem#linux-debian-and-debian-derivates ?? but yes, pd-iem doesn't provide arm binaries. (yet? i don't know; deken has somewhat made pd-iem redundant; though we might keep prodiving binaries that are deken-findable, and maybe add new archs as well). fdadrs IOhannes -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From fjkraan at xs4all.nl Sat Aug 29 15:54:06 2015 From: fjkraan at xs4all.nl (Fred Jan Kraan) Date: Sat, 29 Aug 2015 15:54:06 +0200 Subject: [PD] Pure Data Buffir~ object In-Reply-To: References: <55BCDBD6.3060104@gmx.de> <55BD0D72.6070008@xs4all.nl> Message-ID: <55E1B97E.9050109@xs4all.nl> Hi Alexandre, > hey, how is going with this object? Not much, I just returned from vacation ;-). > > I just wanted to say it'd be really good if it was updated to max size > of 4096, which is the current configuration since max 6 > > 256 is just too little and made more sense back in the day of max 5 > > hopefully it's an easy update, what do you say? A first glance it doesn't look too complicated, but I think it would be good to retain the current buffer size as default, and add the larger size as an extra argument or message. Maybe creating a separate object, like buffir4k~, somewhere outside cyclone would be the easier option. There are no other serious issues with buffir~? > > cheers Greetings, Fred Jan > > 2015-08-01 15:18 GMT-03:00 Fred Jan Kraan >: > > Hi Julian, > > Thank you for your report. I am not the expert, just one of the current > maintainers if the cyclone set of objects. I think the object works, but > maybe not as the Max object. If this is the case I will try to fix it. > > > Hello, > > > > I am sorry to bother you but I have an important question about the > > buffir~ object. > > I hope you can help me with this. I am not too experiencd with PD > but I > > try to make > > an Binaural-Renderer. I want to use the buffir~ object to convolve > an IR > > to a signal. > > This works right now. But I want to change the IR used for convolving > > with the signal > > when the head orientation changes. I had a look at the MAX/MSP 5 > > documentation > > as I understand this object was taken from MAX where the buffir~ > object > > can be told > > to change the buffer~ object by using the set message. I tried this in > > PD but nothing > > happens. Obviously the IR is not loaded as there is no signal passing > > through the > > buffir~ object when using $1 as the name of the table and send a > message > > [set tablename] > > to input 1 (the signal input where the clear message can be > applied). Is > > this function > > not implemented in the PD buffir~ object? Or is there something I > do wrong? > > Note '$1' is not literary part of the name, just a placeholder of the > first element on the message (=list) you send to the object. If > something is wrong here, the console should contain an error message. > Also see the help on $-variables. > > > > I would be verry happy if could help me with this question! If this is > > not implemented > > and can't be worked around do you have any ideas how to solve my > problem? > > Thank you very much in advance! > > The attached patch is an adaptation of the help-patch, including a > second buffer to switch to. Yo need to open it and draw non-zero values > to get a signal through. It looks like you also have to provide the > offset and length arguments, as leaving them out results in zero - > meaning no useful convolution takes place. > > When I have time, I'll check the behaviour of the Max5 object. It might > work better or more user friendly. But first on the planning are some > weeks vacation :-). > > > > Regards Julian Jochheim > > > > Greetings, > > Fred Jan > > P.S. I added the pd-list in the reply, the main forum for issues like > this one (http://lists.puredata.info/listinfo/pd-list). > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > From jtnewlin at gmail.com Sat Aug 29 19:45:28 2015 From: jtnewlin at gmail.com (Joe Newlin) Date: Sat, 29 Aug 2015 10:45:28 -0700 Subject: [PD] Puke Data Message-ID: Anyone know who made www.windows93.net? There is a Puke Data icon on the "Desktop" and it runs randomly-chosen patches, but no editing, alas. Fun stuff. JN ᐧ -------------- next part -------------- An HTML attachment was scrubbed... URL: From minothi at gmail.com Sat Aug 29 20:27:35 2015 From: minothi at gmail.com (Morten Minothi Kristiansen) Date: Sat, 29 Aug 2015 20:27:35 +0200 Subject: [PD] Can only start PD by loading a PD generated app Message-ID: 1. PD wont start by clicking the PD icon, I have to force quit PD, and still go into Activity Monitor and force quit again (in Activity Monitor PD uses 100% cpu). I have to start PD by clicking on an app I made with PD. Fairly easy workaround, but its not how its supposed to be. Any clue what might cause this? And a fix. The same thing happened on my previous computer as well. 2. I also experience freeze when turning DSP off. This is extremely inconvenient and makes PD more or less useless to me as a live tool. Anyone with similar experiences and fixes out there/in here? OS X Mavericks on a Macbook Pro late 2014 model 15" -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebpiq at gmail.com Sat Aug 29 23:04:01 2015 From: sebpiq at gmail.com (s p) Date: Sun, 30 Aug 2015 00:04:01 +0300 Subject: [PD] Puke Data In-Reply-To: References: Message-ID: yes the Pd there is powered by WebPd, and the random patch generation is something I made a while ago : http://sebpiq.github.io/pd-fileutils/demos/randomDrone.html On Sat, Aug 29, 2015 at 8:45 PM, Joe Newlin wrote: > Anyone know who made www.windows93.net? > > There is a Puke Data icon on the "Desktop" and it runs randomly-chosen > patches, but no editing, alas. > > Fun stuff. > > JN > ᐧ > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- *Sébastien Piquemal* -----* @sebpiq* ----- http://github.com/sebpiq ----- http://funktion.fm -------------- next part -------------- An HTML attachment was scrubbed... URL: From glitchpop at gmail.com Sun Aug 30 03:13:53 2015 From: glitchpop at gmail.com (Richie Cyngler) Date: Sun, 30 Aug 2015 11:13:53 +1000 Subject: [PD] Puke Data In-Reply-To: References: Message-ID: windows93.net is an alternative reality I want to live in. On Sun, Aug 30, 2015 at 7:04 AM, s p wrote: > yes the Pd there is powered by WebPd, and the random patch generation is > something I made a while ago : > http://sebpiq.github.io/pd-fileutils/demos/randomDrone.html > > On Sat, Aug 29, 2015 at 8:45 PM, Joe Newlin wrote: > >> Anyone know who made www.windows93.net? >> >> There is a Puke Data icon on the "Desktop" and it runs randomly-chosen >> patches, but no editing, alas. >> >> Fun stuff. >> >> JN >> ᐧ >> >> _______________________________________________ >> Pd-list at lists.iem.at mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > > -- > > *Sébastien Piquemal* > > -----* @sebpiq* > ----- http://github.com/sebpiq > ----- http://funktion.fm > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > > -- www.glitchpop.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From danomatika at gmail.com Sun Aug 30 04:50:39 2015 From: danomatika at gmail.com (Dan Wilcox) Date: Sat, 29 Aug 2015 22:50:39 -0400 Subject: [PD] Can only start PD by loading a PD generated app In-Reply-To: References: Message-ID: Might be related: http://puredata.info/docs/faq/help-pd-crashes-on-startup-on-mac-osx-10-7 -------- Dan Wilcox @danomatika danomatika.com robotcowboy.com > On Aug 29, 2015, at 9:14 PM, pd-list-request at lists.iem.at wrote: > > From: Morten Minothi Kristiansen > > Subject: [PD] Can only start PD by loading a PD generated app > Date: August 29, 2015 at 2:27:35 PM EDT > To: pd-list at lists.iem.at > > > 1. PD wont start by clicking the PD icon, I have to force quit PD, and still go into Activity Monitor and force quit again (in Activity Monitor PD uses 100% cpu). I have to start PD by clicking on an app I made with PD. Fairly easy workaround, but its not how its supposed to be. Any clue what might cause this? And a fix. The same thing happened on my previous computer as well. > > 2. I also experience freeze when turning DSP off. This is extremely inconvenient and makes PD more or less useless to me as a live tool. Anyone with similar experiences and fixes out there/in here? > > OS X Mavericks on a Macbook Pro late 2014 model 15" -------------- next part -------------- An HTML attachment was scrubbed... URL: From porres at gmail.com Sun Aug 30 08:41:19 2015 From: porres at gmail.com (Alexandre Torres Porres) Date: Sun, 30 Aug 2015 03:41:19 -0300 Subject: [PD] Pure Data Buffir~ object In-Reply-To: <55E1B97E.9050109@xs4all.nl> References: <55BCDBD6.3060104@gmx.de> <55BD0D72.6070008@xs4all.nl> <55E1B97E.9050109@xs4all.nl> Message-ID: Howdy, hope you had a nice vacation buddy ;) > There are no other serious issues with buffir~? haven't really played with it extensively, did try i t a bit and seemed alright. > A first glance it doesn't look too complicated, but I think it would be > good to retain the current buffer size as default, and add the larger > size as an extra argument or message. I wonder why, since you already specify the table size in the object as arguments. Doesn't make much sense to me adding up another argument if I'm using a larger IR table. I guess the only difference would to change the help file and say "max size is 4096" instead of "256". > Maybe creating a separate object, like buffir4k~, somewhere > outside cyclone would be the easier option. Why would it be easier? It wouldn't conflict. Once you had a newer version working, that's it, no hard and no harm done. Maybe that concern seems like making a big effort to not expand the buffir~ object, which I fail to see why. If you have a working version that allows bigger tables, there's no compatibility issues or anything, you're just able to get more out of it. So what would the concern be? But I also have to say that there already exists an external that allows up to 4096 table sizes, that's [FIR~], from iemlib. So we wouldn't really have to do that at all... And, yeah, I knew about [FIR~] before, my request wasn't towards the necessity of a better and unavailable external object that'd do that, it was just a concern to make [buffir~] in cyclone as useful as I think it should be (let me stress and state that I believe 256 is really too tiny and restricting). With the situation now that the development of extended ceased, and with the great work you've been doing taking care of cyclone (and also making it easily available into the deken plugin), I think all the objects in cyclone need attention, even if there are alternatives to it. The way I see [buffir~] now is that it is not useful, and that I'd rather use [FIR~] instead. But I wish I could rely on cyclone for it without needing to install a whole other library looking for alternatives of features that an object from cyclone should have. I just think that if it isn't hard to expand it, and if it'd be working after that, then no more worries :) what do you say? who else would be with me ;) ? cheers 2015-08-29 10:54 GMT-03:00 Fred Jan Kraan : > Hi Alexandre, > > > hey, how is going with this object? > > Not much, I just returned from vacation ;-). > > > > I just wanted to say it'd be really good if it was updated to max size > > of 4096, which is the current configuration since max 6 > > > > 256 is just too little and made more sense back in the day of max 5 > > > > hopefully it's an easy update, what do you say? > > A first glance it doesn't look too complicated, but I think it would be > good to retain the current buffer size as default, and add the larger > size as an extra argument or message. > Maybe creating a separate object, like buffir4k~, somewhere outside > cyclone would be the easier option. > > There are no other serious issues with buffir~? > > > > cheers > > Greetings, > > Fred Jan > > > > 2015-08-01 15:18 GMT-03:00 Fred Jan Kraan > >: > > > > Hi Julian, > > > > Thank you for your report. I am not the expert, just one of the > current > > maintainers if the cyclone set of objects. I think the object works, > but > > maybe not as the Max object. If this is the case I will try to fix > it. > > > > > Hello, > > > > > > I am sorry to bother you but I have an important question about the > > > buffir~ object. > > > I hope you can help me with this. I am not too experiencd with PD > > but I > > > try to make > > > an Binaural-Renderer. I want to use the buffir~ object to convolve > > an IR > > > to a signal. > > > This works right now. But I want to change the IR used for > convolving > > > with the signal > > > when the head orientation changes. I had a look at the MAX/MSP 5 > > > documentation > > > as I understand this object was taken from MAX where the buffir~ > > object > > > can be told > > > to change the buffer~ object by using the set message. I tried > this in > > > PD but nothing > > > happens. Obviously the IR is not loaded as there is no signal > passing > > > through the > > > buffir~ object when using $1 as the name of the table and send a > > message > > > [set tablename] > > > to input 1 (the signal input where the clear message can be > > applied). Is > > > this function > > > not implemented in the PD buffir~ object? Or is there something I > > do wrong? > > > > Note '$1' is not literary part of the name, just a placeholder of the > > first element on the message (=list) you send to the object. If > > something is wrong here, the console should contain an error message. > > Also see the help on $-variables. > > > > > > I would be verry happy if could help me with this question! If > this is > > > not implemented > > > and can't be worked around do you have any ideas how to solve my > > problem? > > > Thank you very much in advance! > > > > The attached patch is an adaptation of the help-patch, including a > > second buffer to switch to. Yo need to open it and draw non-zero > values > > to get a signal through. It looks like you also have to provide the > > offset and length arguments, as leaving them out results in zero - > > meaning no useful convolution takes place. > > > > When I have time, I'll check the behaviour of the Max5 object. It > might > > work better or more user friendly. But first on the planning are some > > weeks vacation :-). > > > > > > Regards Julian Jochheim > > > > > > > Greetings, > > > > Fred Jan > > > > P.S. I added the pd-list in the reply, the main forum for issues like > > this one (http://lists.puredata.info/listinfo/pd-list). > > > > _______________________________________________ > > Pd-list at lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> > > http://lists.puredata.info/listinfo/pd-list > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmedine at ucsd.edu Sun Aug 30 21:09:24 2015 From: dmedine at ucsd.edu (David Medine) Date: Sun, 30 Aug 2015 12:09:24 -0700 Subject: [PD] variable signal outlets and inlets? Message-ID: <55E354E4.3080208@ucsd.edu> Does any one know how to write a ~ object that has a variable number signal outlets and inlets? The only thing I've been able to come up with is to have a dsp routine that looks like: switch(x->n_sigs){ case 3: dsp_add(whatever_tilde_perform, 5, x, sp[0]->s_vec, sp[1]->s_vec, sp[2]->s_vec, sp[0]->s_n); break; case 4: dsp_add(whatever_tilde_perform, 6, x, sp[0]->s_vec, sp[1]->s_vec, sp[2]->s_vec, sp[3]->s_vec, sp[0]->s_n); break; // so on and so forth... } It feels like there should be a better way to do this. Thanks, David From rama.gottfried at gmail.com Sun Aug 30 21:36:48 2015 From: rama.gottfried at gmail.com (Rama Gottfried) Date: Sun, 30 Aug 2015 12:36:48 -0700 Subject: [PD] variable signal outlets and inlets? In-Reply-To: <55E354E4.3080208@ucsd.edu> References: <55E354E4.3080208@ucsd.edu> Message-ID: <48C6326A-B9CD-4188-B3F9-9B401FC75B8E@gmail.com> hi dave! check out the dsp_addv function, I think it’s meant for exactly this. I don’t have any code right in front of me… oh wait, I do … I’m pretty sure this works: void grans_dsp(t_grans *x, t_signal **sp) { int num = x->numinlets + x->numoutlets; t_int **w = x->w; w[0] = (t_int *)x; w[1] = (t_int *)sp[0]->s_n; int i; for (i = 0; i < num; i++) { w[i+2] = (t_int *)sp[i]->s_vec; } dsp_addv(grans_perform, num+2, (t_int *)w); } hope that’s useful! cheers, rama > On Aug 30, 2015, at 12:09 PM, David Medine wrote: > > Does any one know how to write a ~ object that has a variable number signal outlets and inlets? The only thing I've been able to come up with is to have a dsp routine that looks like: > > switch(x->n_sigs){ > case 3: > dsp_add(whatever_tilde_perform, > 5, > x, > sp[0]->s_vec, > sp[1]->s_vec, > sp[2]->s_vec, > sp[0]->s_n); > break; > > case 4: > dsp_add(whatever_tilde_perform, > 6, > x, > sp[0]->s_vec, > sp[1]->s_vec, > sp[2]->s_vec, > sp[3]->s_vec, > sp[0]->s_n); > break; > // so on and so forth... > > } > > It feels like there should be a better way to do this. > Thanks, > David > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From zmoelnig at iem.at Sun Aug 30 21:47:24 2015 From: zmoelnig at iem.at (=?UTF-8?Q?IOhannes_m_zm=c3=b6lnig?=) Date: Sun, 30 Aug 2015 21:47:24 +0200 Subject: [PD] variable signal outlets and inlets? In-Reply-To: <48C6326A-B9CD-4188-B3F9-9B401FC75B8E@gmail.com> References: <55E354E4.3080208@ucsd.edu> <48C6326A-B9CD-4188-B3F9-9B401FC75B8E@gmail.com> Message-ID: <55E35DCC.1030006@iem.at> On 08/30/2015 09:36 PM, Rama Gottfried wrote: > hi dave! > check out the dsp_addv function, I think it’s meant for exactly this. I don’t have any code right in front of me… oh wait, I do … I’m pretty sure this works: yes, dsp_addv() should do the trick. anyhow, i found that in most cases i use dsp_add() but don't pass the signal pointers directly, but store them in the objects structure. see iemmatrix' [mtx_*~] code for an example. gmfdsrt IOhannes [mtx_*~]: https://svn.code.sf.net/p/pure-data/svn/trunk/externals/iem/iemmatrix/src/mtx_mul~.c -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: OpenPGP digital signature URL: From antonio at hellocatfood.com Mon Aug 31 13:08:55 2015 From: antonio at hellocatfood.com (Antonio Roberts) Date: Mon, 31 Aug 2015 12:08:55 +0100 Subject: [PD] Puke Data In-Reply-To: References: Message-ID: Even though the original patch has been identified thought you should know Windows93 was made by Jankenpopp http://jankenpopp.com/ On 29 August 2015 at 18:45, Joe Newlin wrote: > Anyone know who made www.windows93.net? > > There is a Puke Data icon on the "Desktop" and it runs randomly-chosen > patches, but no editing, alas. > > Fun stuff. > > JN > ᐧ > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > -- ============================ antonio at hellocatfood.com http://www.hellocatfood.com ============================ From zmoelnig at iem.at Mon Aug 31 14:00:59 2015 From: zmoelnig at iem.at (IOhannes m zmoelnig) Date: Mon, 31 Aug 2015 14:00:59 +0200 Subject: [PD] Puke Data In-Reply-To: References: Message-ID: <55E441FB.70207@iem.at> On 2015-08-31 13:08, Antonio Roberts wrote: > Even though the original patch has been identified thought you should > know Windows93 was made by Jankenpopp http://jankenpopp.com/ well, and according to the CREDITS.txt (that lingers prominently on the desktop) also by zombect.ro. the website seems to be currently down, but is available via archive.org fg,asdr IOhannes From jancsika at yahoo.com Mon Aug 31 16:59:57 2015 From: jancsika at yahoo.com (Jonathan Wilkes) Date: Mon, 31 Aug 2015 14:59:57 +0000 (UTC) Subject: [PD] locality with new [field] object (Jonathan Wilkes) In-Reply-To: <1440516256.2586599.365616241.07E11DF0@webmail.messagingengine.com> References: <1440516256.2586599.365616241.07E11DF0@webmail.messagingengine.com> Message-ID: <1058859699.3376605.1441033197571.JavaMail.yahoo@mail.yahoo.com> Sorry I haven't made a screencast.  I'm just putting off doing the "GNU/Linux Dance of Choice" where I try out the 9 unusable screencast tools before finding the only one that's minimally operable (or not). Imagine you have a drawing instruction like this:[draw rect 0 0 20 20] When you create the scalar you get a little black box on a canvas. With a canvas field like I described, you can right-click the scalar and choose "Open" to show a canvas window. You could put this in that canvas window: [ \  <- number box |[field x] And when you scroll the number box, the little black box will move horizontally. This is even more powerful when used with all the methods I added to drawing instructions: [struct foo float x float y float r canvas a b] [loadbang]|[transform rotate r(|[draw rect 0 0 20 20] And put this in the canvas field: [  \ <- number box |[field r] Now you can rotate the square from inside the canvas field. Similarly, if you had an image sequence of Mario, you could use [draw sprite], associate the index with a field, and then let Mario animate himself using his canvas field. :) BTW-- right now, if [field z] can't find a "z" field in its t_word vec, it outputs an error.  But if we're in an array, I suppose I could have it also search the parent scalar for such a field.  If it did that, it'd be something like a closure in Pd.  For example, you could have an array of Marios, all of whom have their own personal data like "x", "y", and "index", but all of whom also _share_ data like "world", "enemies", and "time". -Jonathan hey List, Jonathan.   You start with a struct:[struct foo float x float y canvas a b] Then create a scalar from this struct. The scalar will have an "x" value, a "y" value, and a canvas "a" which gets filled with the contents of an abstraction "b.pd" that is somewhere in Pd's search path. Now here's the neat thing-- inside the newly instantiated "b.pd" you can do this: [loadbang]|[field x]|[print x] When you instantiate that scalar above, its canvas "a" will print out the value of the "x" field for that scalar.  In other words, the "a" canvas has access to all the field data of the scalar it belongs to. The interface is exactly like [v], which means you can do this: [loadbang]|[f]x[+ 1]|[field x] This will _change_ the value of "x" for the parent scalar.  So if you drew a little rectangle, when you instantiate your scalar you'll see it moving across the screen.  sounds really brainfunky! i'd love to see this in "action" in a screencast, cuz i just cant imagine how the "a" canvas has access to all the field data of the scalar it belongs to.  cheers ~/.jc  _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list On Tuesday, August 25, 2015 11:25 AM, jamal crawford wrote: -------------- next part -------------- An HTML attachment was scrubbed... URL: From mail at jasonfreeman.net Mon Aug 31 18:50:59 2015 From: mail at jasonfreeman.net (Jason Freeman) Date: Mon, 31 Aug 2015 12:50:59 -0400 Subject: [PD] [PD-announce] 2nd Annual Web Audio Conference - submissions due October 1, keynote speakers announced Message-ID: <7E86AB78-C04A-4829-B002-1F1691FE18F7@jasonfreeman.net> 2nd Annual Web Audio Conference - submissions due October 1, keynote speakers announced The 2nd Web Audio Conference (WAC) will be held April 4-6, 2016 at Georgia Tech in Atlanta. The keynote speakers for WAC 2016 are Helen Thorington and Frank Melchior. Submissions for papers, talks, posters, demos, performances, and artworks are due October 1, 2015 at 11:59 PM Pacific Time. To submit your work, visit http://webaudio.gatech.edu/node/22 . WAC is an international conference dedicated to web audio technologies and applications. The conference welcomes web developers, music technologists, computer musicians, application designers, researchers, and people involved in web standards. The conference addresses research, development, design, and standards concerned with emerging audio-related web technologies such as Web Audio API, Web RTC, WebSockets and Javascript. It is open to industry engineers, R&D scientists, academic researchers, artists, and students. The first Web Audio Conference was held in January 2015 at IRCAM and Mozilla in Paris, France. The Internet has become much more than a simple storage and delivery network for audio files, as modern web browsers on desktop and mobile devices bring new user experiences and interaction opportunities. New and emerging web technologies and standards now allow applications to create and manipulate sound in real-time at near-native speeds, enabling the creation of a new generation of web-based applications that mimic the capabilities of desktop software while leveraging unique opportunities afforded by the web in areas such as social collaboration, user experience, cloud computing, and portability. The Web Audio Conference focuses on innovative work by artists, researchers, and engineers in industry and academia, highlighting new standards, tools, APIs, and practices as well as innovative web audio applications for musical performance, education, research, collaboration, and production. Contributions to the second edition of the Web Audio Conference are encouraged in the following areas: Web Audio API, Web MIDI, Web RTC, and other existing or emerging web standards for audio and music Development tools, practices, and strategies of web audio applications Innovative audio and music based web applications Client-side audio processing (real-time or non real-time) Audio data and metadata formats and network delivery Server-side audio processing and client access Client-side audio engine and audio rendering Frameworks for audio synthesis, processing, and transformation Web-based audio visualization and/or sonification Multimedia integration Web-based live coding environments for music Web standards and use of standards within audio based web projects Hardware and tangible interfaces in web applications Codecs and standards for remote audio transmission Any other innovative work related to web audio that does not fall into the above categories We welcome submissions in the following tracks: paper, poster, demo, performance, and artwork. All submissions will be single-blind peer reviewed. The conference proceedings, which will include both papers (for papers and posters) and abstracts (for demos, performances, and artworks), will be published online in SmartTech, Georgia Tech’s archival open-access repository. Papers: Submit a 4-6 page paper to be given as an oral presentation. Talks: Submit an abstract to be given as an oral presentation. Posters: Submit a 2-4 page paper to be presented at a poster session. Demos: Submit an abstract to be presented at a hands-on demo session. Demo submissions should include a title, a one-paragraph abstract and a complete list of technical requirements (including anything expected to be provided by the conference organizers). Performances: Submit a performance making creative use of web-based audio applications. Performances can include elements such as audience device participation, web-based interfaces, WebMIDI, WebSockets, and/or other imaginative approaches to web technology. Submissions must include a title, a one-paragraph abstract of the performance, a link to video documentation of the work, a complete list of technical requirements (including anything expected to be provided by conference organizers), and names and one-paragraph biographies of all musicians involved in the performance. Artworks: Submit a sonic web artwork or interactive application which makes significant use of web audio standards such as Web Audio API or WebMIDI in conjunction with other technologies such as HTML5 graphics, WebGL, and/or interactivity. Works must be suitable for presentation on a computer kiosk with headphones. They will be featured at the conference venue throughout the conference and on the conference web site. Submissions must include a title, one-paragraph abstract of the work, a link to access the work, and names and one-paragraph biographies of the author(s). Tutorials: If you are interested in running a tutorial session at the conference, please contact the organizers directly (webaudio at gatech dot edu). Important Dates October 1, 2015 at 11:59 PM Pacific Time: submission deadline December 1, 2015: author notification March 1, 2016: camera-ready papers and abstracts due April 4-6, 2016: conference At least one author of each accepted submission must register for and attend the conference in order to present their work. Submission Templates and Submission System Submission templates are available on the conference web site at http://webaudio.gatech.edu/node/22 The submission system is open at https://cmt.research.microsoft.com/WAC2016/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- _______________________________________________ Pd-announce mailing list Pd-announce at lists.iem.at http://lists.puredata.info/listinfo/pd-announce From dmedine at ucsd.edu Mon Aug 31 20:11:31 2015 From: dmedine at ucsd.edu (David Medine) Date: Mon, 31 Aug 2015 11:11:31 -0700 Subject: [PD] variable signal outlets and inlets? In-Reply-To: <55E35DCC.1030006@iem.at> References: <55E354E4.3080208@ucsd.edu> <48C6326A-B9CD-4188-B3F9-9B401FC75B8E@gmail.com> <55E35DCC.1030006@iem.at> Message-ID: <55E498D3.6060206@ucsd.edu> So if I understand correctly, this should always be ok as long as the number of ins and outs is correct: n = x->x_n_in + x->x_n_out; for(i=0; ix_io[i] = sp[i+compat_offset]->s_vec; and then we don't need to pass the s_vec variables one by one int the call to dsp_add because they are stashed in the object structure and are recoverable there in the 'perform' routine. This suggests that anytime I change a connection on a ~ object, its 'whatever_tilde_dsp' function gets with the appropriate spot on the **sp pointer array -- which is organized according to the topography of the patch itself. One question that now arises is why doesn't the perform routine crash if one of its signal inlets/outlets isn't connected? The perform routine always accesses memory behind the signal pointers even if they aren't connected, so there must be something there. Is there some kind of default 'empty' signal that goes into/out of empty slots? I'm just curious. Thanks for the help, Ramma and IOhannes! On 8/30/2015 12:47 PM, IOhannes m zmölnig wrote: > On 08/30/2015 09:36 PM, Rama Gottfried wrote: >> hi dave! >> check out the dsp_addv function, I think it’s meant for exactly this. I don’t have any code right in front of me… oh wait, I do … I’m pretty sure this works: > yes, dsp_addv() should do the trick. > > anyhow, i found that in most cases i use dsp_add() but don't pass the > signal pointers directly, but store them in the objects structure. > > see iemmatrix' [mtx_*~] code for an example. > > gmfdsrt > IOhannes > > [mtx_*~]: > https://svn.code.sf.net/p/pure-data/svn/trunk/externals/iem/iemmatrix/src/mtx_mul~.c > > > > _______________________________________________ > Pd-list at lists.iem.at mailing list > UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From msp at ucsd.edu Mon Aug 31 20:19:54 2015 From: msp at ucsd.edu (Miller Puckette) Date: Mon, 31 Aug 2015 11:19:54 -0700 Subject: [PD] variable signal outlets and inlets? In-Reply-To: <55E498D3.6060206@ucsd.edu> References: <55E354E4.3080208@ucsd.edu> <48C6326A-B9CD-4188-B3F9-9B401FC75B8E@gmail.com> <55E35DCC.1030006@iem.at> <55E498D3.6060206@ucsd.edu> Message-ID: <20150831181954.GD3340@fuzz.localdomain> Pd generates a signal filled with zeros for unconnected inlets. cheers Miller > > One question that now arises is why doesn't the perform routine crash if one > of its signal inlets/outlets isn't connected? The perform routine always > accesses memory behind the signal pointers even if they aren't connected, so > there must be something there. Is there some kind of default 'empty' signal > that goes into/out of empty slots? I'm just curious. >