Re: [PD] Strange bug in my patch
colet.patr...@free.fr wrote: Selon Matteo Sisti Sette matteosistise...@gmail.com: Caio Barros escribió: But why again dynamic object creation is not officially supported? I think it is because ... snip ... B) it allows you to do things that will hang (or maybe even crash?) Pd Anybody please correct me where I'm wrong. I don't think you're wrong on this but, what about [until] object that can just crash/hung the COMPUTER and not only pd? If you can crash or hang your computer with an [until], that is not a PD bug as much as an operating system bug, I would report that to your OS vendor. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Actionscript library for netsend/netreceive
Matteo Sisti Sette wrote: This reminds me of the funny limitation that in PD a client can only send ([netsend]) and a server can only receive ([netreceive]). Wouldn't it be great to have a [netclient] object, almost identical to [netsend] but capable of receiving as well as sending messages (an outlet for received messages just like netreceive), and a [netserver], almost identical to [netreceive] but capable of sending as well as receiving messages (an inlet with methods identical to those of netsend)? Maybe there's already something like this in Extended, but wouldn't it deserve being included in Vanilla? sockets are one way, you can do the same thing every other app does, and open two streams in each side: one sending, the other receiving. This can be done with the existing objects. refer here for more info http://beej.us/guide/bgnet/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Actionscript library for netsend/netreceive
Justin Glenn Smith wrote: Matteo Sisti Sette wrote: This reminds me of the funny limitation that in PD a client can only send ([netsend]) and a server can only receive ([netreceive]). Wouldn't it be great to have a [netclient] object, almost identical to [netsend] but capable of receiving as well as sending messages (an outlet for received messages just like netreceive), and a [netserver], almost identical to [netreceive] but capable of sending as well as receiving messages (an inlet with methods identical to those of netsend)? Maybe there's already something like this in Extended, but wouldn't it deserve being included in Vanilla? sockets are one way, you can do the same thing every other app does, and open two streams in each side: one sending, the other receiving. This can be done with the existing objects. refer here for more info http://beej.us/guide/bgnet/ never mind, I was confused there, a normal socket does allow both send and receive. For PD to have two-way sockets, and have them be really useful, we would have to have dynamically created connections, and this kind of thing is a little trickier in PD than it is in a textual programming language. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] respawn PD with gui in Debian
Or, you can use 'while true pd somefile.pd' as the last command in your .xsession or .xinitrc Oli44 wrote: helllo, if your desktop supports the freedesktop spec (LXDE, Gnome...), you just have to add a *.desktop entry in the ~/.config/autostart folder. A .desktop looks like this (though you could refine/simplify it): [Desktop Entry] Name=mypdlauncher Exec=/bin/sh /home/pduser/pd-daemon.sh Terminal=true I read somewhere, although I've never tested it that you can add a @ in front of the .desktop entry to have restarted if it crashes. Bart Koppe wrote: Hi Ben, I would like the script to be respawnd, in the rare case the script might crash. Afaik putting it in .xsessions only cares of starting the script, right? Chrs, bart On 02/17/2010 04:35 AM, B. Bogart wrote: Hey Bart, Put the PD startup stuff in your ~/.xsession, and configure your display manager to use xsession. (eg chosee 'Xclient script' in GDM) .b. Bart Koppe wrote: Hi, I use PD-extended in Debian Lenny, this for a small media-installation. After the pc boots and logged into X, i would like pd (with gui) to start automatically. I made the script below and wanted to use that in /etc/inittab. It seems to start as root and does not show a gui either. The script itself works perfectly ok when I run it myself. How can I configure inittab correctly so it runs as user instead of root, and shows the gui to? My current inittab entry [to say: I don't know anything about inittab (blush) ] TY:23:respawn:/home/abortx/pd-daemon.sh the script (pd-daemon.sh) #!/bin/sh RUNNING= export DISPLAY=:0.0 pd -open /home/abortx/pd/pdp-gem-bridge-3.pd while true; do RUNNING=`pidof pd` if [ -z $RUNNING ]; then pd -open /home/abortx/pd/pdp-gem-bridge-3.pd fi sleep 10 done Thanks! Bart -- -/\/\/\/\/\/\- Bart Koppe bk at a-bort dot org http://a-bort.org -\/\/\/\/\/\/- I love deadlines. I like the whooshing sound they make as they fly by. - Douglas Adams ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] tabosc4~ and table byte reallocation
mami music wrote: Hey cyrille thanks for your answer. But it didn`t quite work. Im dinamicaly feeding the table with a signal, so the 256th sample of the signal changes at block speed and the writing of the 257th and 258th sample is done at control speed. (please check attached patch) I used an [until 44] to see if i could make up for the differences in the signal time, bit still not working Ill check the nusmuk external to see how it works, but definitely would be glad to make it in vanilla. Any suggestions. [bang~] | [ 256 | [tabread {table}] | | [t f b] [t f b] \ \ / | \ [257 / [258 \\ / / \ \ // \ X / \ / \ / \/ V [tabwrite {table}] ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] URGENT! :Overlap add synthesis
I think he just means standard overlap add fft http://en.wikipedia.org/wiki/Overlap-add_method Which is what fft~ and ifft~ do already, if I am not mistaken. Hans-Christoph Steiner wrote: Not sure what overlap add is, but perhaps you mean additive? There are a bunch of tutorials included in Help - Help Browser - 3.audio.examples. .hc On Jan 9, 2010, at 2:35 PM, Gün KARAGÖZ wrote: Hello everyone! I am working on my senior design project. It's about creating digital musical instrument. This is my senior design project description: The main task is to develop a package of signal processing algorithms that can perform real-time audio signal synthesis driven by a Wii-remote controller. The project has two parts: analysis (database construction) and synthesis. In the analysis part, Matlab tools will be designed that construct a sound database automatically from a given recording. The tasks in this part are: fundamental frequency estimation, stable frame region detection, frame extraction. In the synthesis part, a real-time signal processing environment, PureData, will be used to get the Wii controller signal, synthesize the audio signal using the database created in the analysis part with the frequency defined by the controller signal and send the synthetic signal to the soundcard. I have completed all steps except overlap add synthesis in Puredata. Is there any tutorial how we can make overlap add synthesis in pure data? I need a bit urgent help because of deadline! Thank you for everything. -- Gun KARAGOZ - http://www.gunkaragoz.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list All information should be free. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] URGENT! :Overlap add synthesis
[ifft~] does overlap add of fft data. I think you can do this by reading the data from matlab into [array] objects and using a [block~] object to control the ifft frame size. The help files for [ifft~], [array], and [block~] should be helpful, you may also want to look at the help files in help section I, in particular I03.resynthesis.pd. Gün KARAGÖZ wrote: I have created frames database in Matlab. I get IR and button data of Wiimote to control overlap-add period. I want to realize Time Domain Pitch Synchronous OverLap Add (TD-PSOLA) algorithm in pd I will get overlap period data from Wiimote IR data. For example, I have four frames. All 4 frames have different T0(period) values. When I put it them in order, I decide by Wiimote data which frames will be mixed by position. And also Wiimote data gives me the T0(period) of TD-PSOLA. e.g. T01=100, T02=300, T03=650, T04=900 wiimoteData= 250 newFrame=((300-250)*frame1+(250-100)*frame2)/(200) olaPeriod= wiimoteData=250 newFrame continously overlap-add synthesized by olaPeriod. As the wiimoteData changes, calculation of newFrame is done again. newFrame is sent to DAC. The problem is how can I do overlapAdd syhthesis in Pd? This is the brief explanation of problem I think :) On 1/10/10, Justin Glenn Smith noisesm...@gmail.com wrote: I think he just means standard overlap add fft http://en.wikipedia.org/wiki/Overlap-add_method Which is what fft~ and ifft~ do already, if I am not mistaken. Hans-Christoph Steiner wrote: Not sure what overlap add is, but perhaps you mean additive? There are a bunch of tutorials included in Help - Help Browser - 3.audio.examples. .hc On Jan 9, 2010, at 2:35 PM, Gün KARAGÖZ wrote: Hello everyone! I am working on my senior design project. It's about creating digital musical instrument. This is my senior design project description: The main task is to develop a package of signal processing algorithms that can perform real-time audio signal synthesis driven by a Wii-remote controller. The project has two parts: analysis (database construction) and synthesis. In the analysis part, Matlab tools will be designed that construct a sound database automatically from a given recording. The tasks in this part are: fundamental frequency estimation, stable frame region detection, frame extraction. In the synthesis part, a real-time signal processing environment, PureData, will be used to get the Wii controller signal, synthesize the audio signal using the database created in the analysis part with the frequency defined by the controller signal and send the synthetic signal to the soundcard. I have completed all steps except overlap add synthesis in Puredata. Is there any tutorial how we can make overlap add synthesis in pure data? I need a bit urgent help because of deadline! Thank you for everything. -- Gun KARAGOZ - http://www.gunkaragoz.net ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list All information should be free. - the hacker ethic ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [Fwd: Re: VST plugins in pd]
Oops, meant to reply to the list. Also, LADSPA is pretty much just a header that the client app and the plugin both use, it has Linux in the name but is in no way dependent on Linux. This is reportedly a working build of a selection of 90 or so LADSPA plugins: http://downloads.sourceforge.net/audacity/LADSPA_plugins-win-0.4.15.exe . Also, if you install the header and build any other plugins from source on a windows machine, they should just work (if they will build in a windows environment, of course). ---BeginMessage--- I think you meant to CC the list :) .hc On Jan 7, 2010, at 8:50 PM, Justin Glenn Smith wrote: Also there is the issue of the VST license, which for the development headers is explicitly incompatible with Free Software. To do Free Software that is VST compatible you either have to use someone's incomplete reverse engineered version (one's only option for GPL software as far as I know), or for BSD / MIT licensed code you could distribute your code without the VST headers and trust the users to get the headers on their own. Hans-Christoph Steiner wrote: Pd is a programming environment for writing things like VST plugins, so I guess most Pd devs would rather write something Pd than use a VST. But its also free software, so anyone who things VST support should be better should definitely work on it. I think LADSPA and other free plugins are better supported. .hc On Jan 7, 2010, at 11:02 AM, Austin Huang wrote: Hello PD users, I am using PD under windows. I'm new to this list, but I've been dabbling in max/msp and PD for a while now. I know there are some options for loading VST plugins in pd. I downloaded vst~ and I seem to be able to load it into the patcher but I can't find documentation or a home page for it anywhere. I've also heard of a plugin~ external but I haven't found many details on that either. At a curiosity, since vsti/vst support would massively expand the power, usability, and appeal of PD, why isn't vst support part of the pd-extended distribution? Thanks, Austin ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Computer science is no more related to the computer than astronomy is related to the telescope. -Edsger Dykstra ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list As we enjoy great advantages from inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously. - Benjamin Franklin ---End Message--- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Advice on how to handle latency in linux with Pd, jack and ardour
Jack cannot automatically know that PD is reading from jack and then sending back to re-record. Because of how jack is designed, there is an inevitable and predictable delay there - determined by jack, not by pd. This has been brought up, ardour already automatically compensates for ladspa plugin latency when it has the proper information, so the infrastructure is theoretically there (ideally they could add a one jack period worth of latency correction toggle to the UI for each track). Simon Iten wrote: afaik all the latency introduced by jack is automatically corrected by ardour. so the latency you observe when rerecording in ardour comes from puredata only. there's not much you can do about this, except optimizing your patch. i'm not aware of any manual latency correction in ardour, but maybe i'm wrong, you should ask this on the ardour forum. you could start your sourceaudio with a short and loud click sound, that way it's easier to align later... regards, simon On Thu, 2009-12-03 at 11:50 +0100, Lorenzo wrote: I've been lately messing around with a fairly straight forward configuration sending audio from ardour to Pd's adc~ (through jack) and back to ardour via MIDI (for controlling automations) or audio (trivially re-recording Pd's dac~ output). In the case of MIDI latency seems no perceptible problem. In the case of audio, where the audio is of course 'processed' in the Pd patch and eventually 'goes back' to ardour, there is latency. This of course is expected for the nature itself of jack, what I'd like to know at this stage is not how to remove latency but the best way(s) to handle it (possibly even through raising the latency itself, as for the moment I'm not doing real-time), for example if there were some way to compensate it automatically (or at least in some 'smart' way). At the moment the best solution is to manually re-align the slightly delayed audio. Any input welcome. Kind regards, Lorenzo. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Very large patches unstable?
Matteo Sisti Sette wrote: I meant (and understood) demand more or less as asking someone to do something, not necessarily in an imperative way. Demand is a strong word. It implies such position of power that you have a right to make a demand. Free software is such a gift that developers have more place to demand that you learn to code C and fix the bug yourself or contribute better documentation, than you have to demand they improve the software. Or you could always make a financial agreement, and offer money, and demand in return that they fix the software in the way you wish. Ardour, for example, has worked well with this micro-sponsored open source development model. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd lcd display wavetable?
tdrecordable wrote: obama... bump. On Sun, Nov 29, 2009 at 10:57 AM, tdrecordable gateswideo...@gmail.comwrote: hey all Anyone know where i could start looking if i wanted to dump a wave table to be seen on a onto small lcd display. eg http://www.spikenzielabs.com/SpikenzieLabs/LCD_How_To.html For starters, you would want to use the comport object on the pd side. When it comes to building the circuitry between the serial port or usb port on your computer and the LCD screen, check out if there is a http://dorkbot.org/ dorkbot group in your area, I am sure someone there could help you. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] no audio in -nogui mode
Hans-Christoph Steiner wrote: So I have a Debian/stable box for a sound installation and I want to run pd with -nogui on it. But it is acting insane. Basically, when I run Pd with a GUI, everything works fine. When I add -nogui, pd can't read/write the audio devices. I've tried: - ALSA and OSS - root and other users - Pd-extended 0.41.4 and 0.42.5 and Pd-vanilla 0.41.4 Here's what I get with OSS: p...@arg:~$ pd -nogui /tmp/test.pd /dev/dsp (read/write): Device or resource busy (now will try write-only...) /dev/dsp (writeonly): Device or resource busy /dev/dsp (readonly): Device or resource busy audio I/O stuck... closing audio Here's what I get with ALSA: p...@arg:~$ pd -alsa -nogui /tmp/test.pd snd_pcm_open (input): Device or resource busy snd_pcm_open (output): Device or resource busy Any ideas? I have no trouble here on debian stable using the jack output. Do you have more than one sound card? I think you need to specify the sound card on the command line, because otherwise it tries the first card it finds and fails if it cannot open that one. On the subject: pd does not auto-connect in for me because it always tries to connect to my midi controller instead of the sound card. I am happy with this because I prefer to connect manually anyway, but I guess it is worth checking out if you want autoconnecting to happen. There is a check in the jack API IIRC to test whether a given physical device accepts sound input (jack can handle midi also). ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem with MIDI (linux)
chi ball wrote: When you send MIDI into pd, what do you expect to happen? MIDI coming into pd will not make any sound, it will provide messages to control things that make sound, if you build them or load them. In testtone there is a midi test...a little patch.. ;) I am familiar with the testtone patch, but the word 'mute' threw me off, because MIDI does not cause sound to occur in the testtone patch. Which MIDI api are you using? I don't know.. Excuse me for my english..mute means that if I make a simple patch to produce a midi note with a metro.. (I'm familiar with algorithmic music in pd, but in windows..) I can't listen anything. Audio and MIDI should be separate here. I recommend using jack, and for that to work you need jack running as the same user that is running pd, and make sure that the pd output is connected to your sound card (this is easy to do with qjackctl). See if other programs can make sound with jack. For AlSA sound, make sure that no other program is hogging the sound card and preventing pd from using it. For MIDI, use ALSA MIDI, and you can manage MIDI connections also in qjackctl, under the connections-alsa tab. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Pd Scene Change?
Hans-Christoph Steiner wrote: For me, loading soundfiles into arrays is a big one, so this wouldn't help that. It would be nice to have a a background soundfiler... I just that's the idea of that threaded soundfiler... It seems like you could have an asynchsoundfiler object that resizes the array if applicable, puts the array into shared memory, forks a new process which fills the array, and then emits a bang when the process exits. The only inconsistency you would be looking at resource wise would be a partially filled array, which could cause an audio glitch, but the person using the object could avoid inconsistencies by not using the array until the bang comes out. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] korg nano kontrol vs pure data
Jose Ramia wrote: thanks a lot for helping. it works with ctlin. but is any efficent way to avoid clicks when i move the faders of the controler? thanks again Are the clicks happening because of a parameter change? If so, a [line] object can be used to smooth out transitions between values. IE [ctlin 1] | [$1 50 | [line] | [mtof] | [osc~] ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Max4Live... How about Pd4Live?
Michal Seta wrote: On Sat, Nov 14, 2009 at 12:43 AM, Hans-Christoph Steiner h...@at.or.at wrote: It would be great if there was something like Ableton that was free and based around Jack. Anyone know of anything? http://gabe.is-a-geek.org/composite/ it is in the planning stage... My somewhat hackish workaround was by using one running instance of ardour for each set of loops, using ladspa plugins to send automation events to pd via OSC that follow the looping, with audio routing between pd and the ardour instances as appropriate for interprocessing of the audio signals between the two, via jack. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Finding $0 and dealing with it in messages
Alexandre Porres wrote: hmm, I am sorry, I don't think I got what you meant... could you give an example please? The way I see is that $1...$n are related to the inheritance concept. They could be used inside [send~] [receive~] objects to force some sort of locality, but you can't really guarantee locality by that, it is just some way around that is not 100% safe, cause if you have [s $1-gain] in an abstraction, and $1 inheriting A for instance, a [s A-gain] object in a parent patch (or even on another opened patch) would still get the value globally. A frequent pd design pattern is to have a subpatch that wants to, for example, tell its own subpatch about a unique array name or receive or receive~ object. The way this is commonly done is to make $0 of the subpatch the first argument to the subpatch's subpatch. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Max4Live... How about Pd4Live?
The Ableton / max integration is pretty awesome, and it will not be possible to integrate pd into ableton without the ableton source code or some difficult (and illegal) reverse engineering. And as far as open goes, ardour is more open without any integration with any other app (except, as Hans-Christof mentions, pervasively using jack to share audio) than live would be with both max and pd integration. Hans-Christoph Steiner wrote: I don't really know what Max4Live is, but I can say you've been able to send/ receive audio to/from Pd using Jack for years. I believe that the Pd jack implementation supports at least 64 jack connections, so if you use another Jack-enabled app, you can have up to 64 audio connections between them. People do this together with Ardour and soft synths, I saw a very nice demo of this in 2007 by Lluis Carbonell. The nice part of Max4Live is the GUI integration. You could do that with Pd the way Sven Koenig does: he tiles his windows so Ableton is on the top half of the screen, and Pd is on the bottom half. On Nov 13, 2009, at 6:18 PM, Jeffrey Concepcion wrote: Is it possible to integrate Pd with Ableton Live in a way similar to Max4Live, as a Live/Pd user (newbie really) this will be a very important issue in my work. As far as i know, Max4live includes many instruments that can be opened up in a Max canvas (similar to Pd) environment for editing, as well as allowing additional access to the inner workings of Live, http://www.ableton.com/maxforlive. I just wanted to verify if there is (or going to be) any movement to allow for such integration. i am already aware of Jack for sending audio directly from pd to live and vice versa(not sure about midi capabilities), but i'm refering to truly open possibilities that this type of integration will allow. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Max4Live... How about Pd4Live?
Jeffrey Concepcion wrote: ... To justin: Can ardour be customized as a performance tool (which is abletons key feature IMO) No need for customization to use it that way, actually. It does not have the range of features that ableton live has, but I have used it successfuly as a source of realtime tweaked automations / a virtual mixing board / loop recorder and player. One thing it has that in my knowledge actually exceeds what ableton offers is the versatility of the way buses / tracks can be inter-routed. Any number of tracks and buses can be mixed into the input of any others (each track and bus of course having configurable pre / post effects), without the artificial limits that I have seen with ableton live. I made a set of ladspa plugins a while back to allow controling puredata parameters from ardour automations, it has some definite limitations usability wise but it is available from http://code.google.com/p/noisesmith-linux-audio/ or direct download my last (but not very recent) version from http://noisesmith-linux-audio.googlecode.com/files/ladosc.tar.bz2 It uses osc to send the parameter data so the ardour and pd processes can be running on two different machines. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] midi novice
Green wrote: hallo never used midi before and i'm trying to figure out how to control a mab-303 synth from pd. i'm stuck cause the synth manual says the slide function is controled/triggered by sending a controller #64 or controller #65 message to the machine. any of you know what that is, and how to do it from pd? i'm sure this is very obvious but the manual is very cryptic. [hslider] | [ctlout 64] it will take numbers between 0 and 127, only integer changes are meaningful ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [OT] advice about low budget multichannel hardware configs
How important is phase between the channels? If channels drifting out of phase would be a problem, mixing in soundcards that do not share the firewire clock is out of the question. If they do not need to be in phase (ie. the channels are used for isolation rather than mixed for virtual positioning), then there are a larger number of cheaper options to consider. If they need to be in fixed phase than as far as I know firewire cards with a shared clock is your cheapest option aside from soldering soundcards to one another so they share a single clock. Firewire clock chaining is not limited to OSX, it will work under Linux too, and I would be surprised if it did not work under Windows. jurgen wrote: You have to be realistic - 25 channels is an extremely hardware ineffective configuration because audio interfaces come by increments of 8. Meaning for 25 channels you need 4 of those. I believe you can do it cheapest if you use OS X: you may borrow from friends any brand of device and then create in OS X an 'aggregate' device. This combines any number of any audio interfaces into one big virtual interface that you then can address with jack. It also solves the problem of the 25th channel because the aggregate device may include the machines in-built audio hardware on top of fw/usb things. Good luck Jurgen On Oct 25, 2009, at 12:32 AM, Greg Pond wrote: I am helping some friends make their first PD sound installation. They want 25 channels simultaneously running prerecorded samples and have a limited budget and as yet own no equipment. I use the presonus firepod external card in my work which could work with a single cpu chaining 3-4 of firepods together for their project but I doubt their budget can support buying so many of them. For amps we could build 25 simple chip amps with op amp ICs to keep costs down but those that I have built in the past are useful for low volume only. If anyone has other hardware configurations and amplifier schematics that they use I would be grateful for suggestions. thanks Greg ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] latency issue
Derek Holzer wrote: And this is possible because ProTools only allow you the use of very specific hardware for which they have created closed, proprietary drivers. Expecting *any* other app to behave in a similar way to ProTools is very unrealistic unless the same kind of software/hardware lock-in relationship exists. Good point. At least on a Linux platform, jack does actually start to approach this with certain firewire hardware (thanks to a well understood standard that has enough speed and bandwidth for good performance, some well done userspace drivers that avoid the legacy issues of oss and alsa, and some co-operative hardware vendors). I am not sure if this applies to platforms other than Linux though. Sadly the industry seems to be moving away from firewire and toward usb2, and usb2 has no implemented standard and very little vendor co-operation with open source developers. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] latency issue
babsyco babsyco wrote: Thanks guys, but the latency is still around 20ms when I don't use the soundcard (I just tried it with the built in mic-that's the same as jack for all intensive purposes, right?). Any other suggestions as to how I can get it lower? I really wanna use it for live performance. No. That is not the same as using it with jack, at least it would not be on a Linux system, I could be wrong about mac, but from what I know nothing compares to using jack, performance wise. Another issue could be externals, try measuring the performance without any externals loaded and see if one of the ones you are using is causing latency. Also, many commercial audio apps misreport latency; for example a large number, if not most of them, report only the latency introduced by the app itself, which is in their case actually cumulative with the latency introduced with the OS drivers and the latency inherant in the DAC / ADC of the card itself. With jack, at least, you are getting a much more accurate picture of the latency. This is based on reports of users who have measured their latency and compared it with latencies reported by jack and by mainstream nonfree software; there are actually applications to help you measure the latency you are getting by looping back a coded signal between the DAC/ADC and measuring the phase difference, this could actually be coded in PD and would be an interesting exercise come to think of it. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] latency issue
Bjørn Nielsen wrote: ... Fast Track Pro soundcards. (I must also add that I have no latency in any other music software I use: pro tools, digital performer, audacity, garageband etc.) I find this very hard to believe, is this just because you are auditioning your realtime input directly through the sound card? Because no software can process audio input and output a modified version without latency. Try playing through a plugin in realtime in protools or dp, I suspect you will notice a latency. If not, maybe you should be translating your pd patches into audio unit plugins, but I strongly suspect you will notice a latency. ... @Justin Glenn Smith: Do you have links or names of some of that measuring software you referered to? That, I really like to try out. jack_delay, AKA jdelay: author's homepage is http://www.kokkinizita.net/linuxaudio/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] latency issue
Hans-Christoph Steiner wrote: ... Also, I forgot to mention, there was a thorough discussion on latency a few years ago: http://lists.puredata.info/pipermail/pd-ot/2006-12/001629.html Of particular interest from that thread is a simple way to measure latency: http://lists.puredata.info/pipermail/pd-ot/2006-12/001642.html ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] wacom external on os x
Rich E wrote: In the most recent version of Ubuntu, I had to turn off HAL and go back to just using xorg.conf. You can follow a very confused thread (on my part) about this, which eventually leads to success: http://sourceforge.net/mailarchive/forum.php?thread_name=a3297bc90905291044q749cdd85i572f6b4ec771d24f%40mail.gmail.comforum_name=linuxwacom-discuss ... but, essentially you need to remove the hal configure scripts, then make sure the Mouse section in your xorg.conf file does not point to '/dev/input/mice', but to whatever your mouse actually is. Then your tablet will just spit out events without controlling the pointer. I have used this exact trick to make a huge number of x/y controllers out of spare mice, ie. having one mouse controling the X pointer and the rest just send pd events. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] wacom external on os x
Sorry, should have specified, this was using debian and dyne:bolic Linux. Rich E wrote: On a mac or linux? 2009/10/16 Justin Glenn Smith noisesm...@gmail.com ... I have used this exact trick to make a huge number of x/y controllers out of spare mice, ie. having one mouse controling the X pointer and the rest just send pd events. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Installing Cubemixer problem.
Konstantinos Benardis wrote: ... I tried to remove manually the -mms-bitfields flags but i get a really long list of errors starting with: make -C aconnect INLCUDES=-I/home/kostis/CUBEmixer/src/libs/../pd/src make[1]: Entering directory `/home/kostis/CUBEmixer/src/libs/aconnect' aconnect.c:21:18: error: m_pd.h: No such file or directory ... you first problem is that /home/kostis/CUBEmixer/src/libs and ../pd/src are all strung together without any space in between them, which together makes a path (to a most likely nonexistent directory), so the compiler cannot find m_pd.h (which is in ../pd/src). I am not sure if just putting a space in between them works, off the top of my head, but I know that putting a space and another -I before ../pd/src will fix that particular problem. Whatever you cahnged in the makefile probably made this happen. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] nrpn
Silvio Almeida wrote: hi list. can you please help me find the elusive nprnin/out object? if not then is there a better way to achieve the same results(midi non-registered parameter numbers)? thanks S.Al. _ Obtenha 30 Emoticons grátis para o seu Windows Live Messenger http://www.livemessenger-emoticons.com/funfamily/pt-pt/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list I found these a while back and fixed some bugs in them (doing multiplications where bit shifts would have sufficed, outletting values out of order). I contacted the author about these fixes and he basically said they were an abandoned project for him and I should announce these versions on this list, which I just now finally got around to joining. I have attached my fixed versions. They have no dependencies other than the ctl_in and ctl_out of vanilla pd. nrpn_in.pd Description: application/pure-data nrpn_out.pd Description: application/pure-data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] nrpn
Silvio Almeida wrote: one question: inlet 1 expects control number but where is data expected? The nrpn_out object has two inlets, the first to send the data, and the second to set the nrpn number, with creation arguments $1 setting nrpn number and $2 setting channel. Probably for symmetry's sake there should be a third inlet for setting the channel at runtime, it looks like an easy fix. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] nrpn
András Murányi wrote: ... I have attached [nrpnout] by David McCallum which must be pretty much the same as Justin's [nrpn_out]. Actually I would be interested if someone would point out which if there is any important difference. FYI also attached my [nrpnout-yamaha] which is derived from David's. Yamaha nrpn uses msb and lsb addresses, hence the modification. (BTW Wouldn't nrpnin/out and rpnout make sense in the object db?) The difference between the nrpnout/nrpnout-yamaha and my nrpn_out is that mine uses only one ctlout object and uses rightshift instead of div, and mine does not accept a new channel from an inlet. The latter is an easy fix of course, the one I uploaded is a little harder to read and uses less RAM/CPU, for what it's worth. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] clap clap bonk bonk
Mathieu Bouchard wrote: On Mon, 12 Oct 2009, Miller Puckette wrote: I've tried clapping into mics and cant get consistent results -- the burst of air goes in all different directions and I could never get a consistent sound into the mic at all. ... i just looked up pop filter when seeing that word in cgc's reply, and it seems like it's a highpass filter, though it doesn't use those words in the description I read, but I guess it from what they say about clipping and aspirated plosives. http://en.wikipedia.org/wiki/Pop_filter but this article is weird, because it mentions the hiss but doesn't say what a pop filter does about hiss... It is not so much a question of highpass vs. lowpass as it is a directional filtering - the pop filter attenuates the most direct path of the sound, and if I am not mistaken they are designed to attenuate more with a higher energy burst of sound (this attenuation achieved via air turbulence), in order to filter more strongly on the loudest sibilants (high pitched) and plosives (low pitched) while affecting the quieter sounds as little as possible. This turbulence theory may be wrong, I looked for confirmation or denial online but my google skills are failing me. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pack object resolution issue
David Schaffer wrote: Hello there, something strange happens to me when routing ctlin signals thru a pack object and then unpacking the result afterwards: my midi values seem less precise. I noticed it when using extreme values (either 0 or 127): it gets me somewhere between 0 and 18 or between 118 and 127. As a consequence, similar midi fader positions give me slightly different values, which is annoying (ctlin's direct output works fine and always gives me the same results). Has someone else been thru this before? Thank you! D.S http://www.flickr.com/photos/schafferdavid/ http://audioblog.arteradio.com/David_Schaffer/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list It would be a pretty extreme bug to have resolution issues that large. When I see a bug like that it is because my pack object is not getting input in a right to left order. Can you forward a small patch that reproduces the bug? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Indexed array selection
Fred Smith wrote: Hello Folks - I know there must be an easy way to do this, but I'm having terrible trouble figuring it out. Is there an easy way to use a integer input to send a message out of an array of messages? Ideally, it would look like this: [bang] | [2] | [newcommand apple beats carrots cheeseburger] | [print] and the output would be carrots (given 0 based indexing). Does this command already exist? [bang] | [t b f] | | | [clear, adddollar $1 || [blah blah | | / | / [empty messagebox | ** or [bang] | [t bf] | | [blah blah[- 1] | / [list split] | [$1 | in case it is not clear, both the clear,adddollar on the top and the [blah blah connect to the same object, and the $1 on the bottom is coming out of the middle inlet of the list split ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Indexed array selection
Justin Glenn Smith wrote: Fred Smith wrote: Hello Folks - I know there must be an easy way to do this, but I'm having terrible trouble figuring it out. Is there an easy way to use a integer input to send a message out of an array of messages? Ideally, it would look like this: [bang] | [2] | [newcommand apple beats carrots cheeseburger] | [print] and the output would be carrots (given 0 based indexing). Does this command already exist? [bang] | [t b f] | | | [clear, adddollar $1 || [blah blah | | / | / [empty messagebox | ** or [bang] | [t bf] | | [blah blah[- 1] | / [list split] | [$1 | in case it is not clear, both the clear,adddollar on the top and the [blah blah connect to the same object, and the $1 on the bottom is coming out of the middle inlet of the list split I missed the float in both examples, imagine the [2] or whatever number is where the [bang] is now in each one. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Indexed array selection
Justin Glenn Smith wrote: I missed the float in both examples, imagine the [2] or whatever number is where the [bang] is now in each one. also, clear should have been set I should really test this stuff before recommending on a mailing list ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list