[PD] Help needed for string manipulation in PD
Hello, Currently I am stuck at one point in my multichannel recording patch. The problem is that I want to dynamically read the list of wav-files from a specific folder using a text file. For this case, I am using the textfile object. One line of the text file reads like sp01_48kHz/swih7 Can there be a way of separating this line into separate strings like 'sp01' '48kHz' 'swih7' I need for instance the first string to create the name of wav-files to record the data. In addition to that is there any conditional statement (object) in PD, which I can use to only generate the wav-files, e.g., when sp01 changes to sp02 in the text file as I have 10 utterance for every speaker and I want to store them separately? I will really appreciate help in this regard Thanks, Tania ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] how to set paths in Pd running on windows xp?
Hello, I am having trouble setting paths to load some wav-files in Pd running on Windows XP, as for path setting backslash (\) is used instead of forwardslash (/). When I try putting the backslash it given me the error keycode 92: dropped. Please let me know how I can fix this problem? Regards, Tania ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] how to cite the Pure Data in a research paper
Hello, My question is regarding the citation of the Pure Data in a conference paper as I am mentioning that we are using a patch made in PD to record a 24-channel microphone array. Prompt reply will be really appreciated. Regards, Tania ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Recording question
Well now I am facing a problem, I guess I was too excited to really check whether this option worked properly or not! The problem is that I have a patch in Pd, where I am using adc~, writesf~ to write the streaming data into wave files. When I initialize Pd, it recognizes the aggregate device, I click on it and select the no. of channels to the total no. of inputs I have with the aggregate device, say 8. When I start the recording and finish it. Open the wav files in audacity, only two channels seems to be active the rest have nothing in them! Can someone, who has used this feature to do recording with Pd please let me know, what I am doing wrong!. thanks tania On Dec 19, 2007 2:00 AM, simon wise [EMAIL PROTECTED] wrote: On 19 Dec 2007, at 9:51 AM, Roman Haefeli wrote: hey, that is cool to know (as a non-osx user, i wouldn't have expected something like that to exist, but i think, i know quite some people who could benefit from that). just in case you know: do you have an idea how this system deals with the fact, that each of this cheapo soundcards have their own clock? does it use one as the master clock and does apply a samplingrate conversion to the other in order to sync it? i am asking, because i would like to know, if any decrease in sound quality is expected when you use aggregate. I've used it a couple of times to get some extra outputs from a laptop, and it has worked fine but I haven't used it extensively. There are options to choose which clock source is used, and options (for each physical device) to re-sample the audio so it seems that it will re-sample if you choose, or not if it works ok without - I guess that would depend on things like the abilities of the cards and their drivers. It has been around for a while - maybe introduced in OSX 10.3??? simon ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Recording question
yes I tried the test audio patch, all the input channels are active but it seems that only the first two are getting the input the rest have noise . When I play the recorded wave files, only the first two channels have the input the rest have noise! I am sending the pd patch that I am using, Please let me know if there is some bug in the patch! On Dec 19, 2007 1:48 PM, [EMAIL PROTECTED] wrote: hi tania Quoting tania habib [EMAIL PROTECTED]: When I start the recording and finish it. Open the wav files in audacity, only two channels seems to be active the rest have nothing in them! do you get a signal on all 8 input channels? (use [env~]; or if you are lazy, just open the test audio and midi patch) or is there some patching problem? fgmadsr IOhannes This message was sent using IMP, the Internet Messaging Program. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list iMic_recording.pd Description: Binary data ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] Recording question
Hi List, I have a question regarding a patch that I made for recording multi-channel audio. For the 16 channels, we are using Fireface 800 with an extension board. It works quite well! For a specific application, we are trying to use the two iMic's with a USB plug to record at least 4 channel audio. When I initialize PD and select the audio settings, it shows me two of these seperately in the option, the recording for one works but not for the other! The question is if I can use PD to record simultaneously from two different source from a single patch or somehow get the recording from both! regards, Tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Recording question
Hi Derek, I am working on Mac Pro osx 10.4, I have not tried the two different soundcards option, we use the multichannel sound card for our recordings. But we wanted to try the recording with iMic's, do you know a link or a way to link two or multiple iMics together? Thanks for the link, it looks interesting, I will check it out in detail but this is not the direction we want to proceed at the moment. tania On Dec 18, 2007 12:06 PM, Derek Holzer [EMAIL PROTECTED] wrote: Hi Tania, are you able to record from two different soundcards simultaneously in any other application on your computer? I ask because this isn't usually the case in my experience. Many have dreamed of linking several el cheapo soundcards to get an inexpensive multichannel soundcard from them. Two (or more) different soundcards have two different sample clocks and these won't be in sync, among the main problems. Google el cheapo soundcard, or check here: http://quicktoots.linuxaudio.org/toots/el-cheapo/ To see how this might be accomplished on Linux. There, it requires the hardware modification of removing the clock from one card and connecting it to the clock of one master card. And I quote: The challenge in recording with more than one soundcard at once in any computer under any operating system is to make the cards syncronize. The actual sample rate of each card is depending on the crystal used in the card. To cut the component cost of consumer grade soundcards cheap crystals, with wider tolerances than those used in pro equipment, are often used. As a result, when using two cards at once one can have a real sample rate of 44.099 kHz in one card and a samplerate of 44.101 kHz in the other. This is no problem when recording with one card only, but the difference in the sample rates will cause phase shifts in the recording when using two cards. Phase shifts make the high frequencies of the recording e.g. cymbals sound bad. Further, not all audio drivers can drive cards that are not in exact samplerate sync. Some pro-cards come equipped with a link to connect multiple cards to run in sync. Consumer cards do not have this feature. This Howto describes a simple hardware modification to create such a synchronisation link between consumer grade cards. Without hardware modifications it is very difficult to ensure the cards are in sync. You haven't mentioned the operating system you are running, BTW... Maybe other operating systems allow multiple (consumer) soundcard recording, I haven't tried. In PD, I don't think it's possible. If you had a way of getting your two IMics to be seen as one soundcard (the Linux el cheapo method), then you could try it. best, d. tania habib wrote: Hi List, I have a question regarding a patch that I made for recording multi-channel audio. For the 16 channels, we are using Fireface 800 with an extension board. It works quite well! For a specific application, we are trying to use the two iMic's with a USB plug to record at least 4 channel audio. When I initialize PD and select the audio settings, it shows me two of these seperately in the option, the recording for one works but not for the other! The question is if I can use PD to record simultaneously from two different source from a single patch or somehow get the recording from both! regards, Tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list -- derek holzer ::: http://www.umatic.nl ::: http://blog.myspace.com/macumbista ---Oblique Strategy # 94: Is it finished? ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Recording question
the OSX audio system does have a system to join two different soundcards -open Audio MIDI Setup (usually in the Utilities folder) -then open the Aggregate Devices Editor from the Audio menu - here you can create a new device, select which will be the master clock etc -this new device can then be selected and used in the usual manner Yes! I have tried it and it seems to work now, as Pd recognizes this aggregate device, I have to do a detailed recording session, to exactly see how well suited it will be for the application Thanks this option really seems to works well!! tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] il 1 of 73 Older › question regarding pkg -config and aubio installation to work with PD
I don't think many people here have used pkgconfig, since this is the Pd list. I can say that I never have. Perhaps try a forum or mailing list for pkgconfig. I have already tried with pkg-config mailing lists but no positve replies. permission denied would lead me to believe that you need to run that as root. I am logged in as a root when I am doing the installations. I do not know what else to do? On 6/30/07, Hans-Christoph Steiner [EMAIL PROTECTED] wrote: I don't think many people here have used pkgconfig, since this is the Pd list. I can say that I never have. Perhaps try a forum or mailing list for pkgconfig. permission denied would lead me to believe that you need to run that as root. .hc On Jun 30, 2007, at 5:13 PM, tania habib wrote: Hello List, I need some help/advice/suggestions regarding the problem I am facing nowadays. I have been trying to install aubio on my Mac osx but for that I need some other packages like fftw3, libsndfile, libsamplerate and pkgconfig. The first three are installed without any trouble but when I try to install pkgconfig. Do the following ./configure make make check Making check in check make check-TESTS /bin/sh: line 1: ./check-cflags: Permission denied FAIL: check-cflags /bin/sh: line 1: ./check-libs: Permission denied FAIL: check-libs /bin/sh: line 1: ./check-define-variable: Permission denied FAIL: check-define-variable /bin/sh: line 1: ./check-libs-private: Permission denied FAIL: check-libs-private /bin/sh: line 1: ./check-requires-private: Permission denied FAIL: check-requires-private /bin/sh: line 1: ./check-includedir: Permission denied FAIL: check-includedir === 6 of 6 tests failed === make[2]: *** [check-TESTS] Error 1 make[1]: *** [check-am] Error 2 make: *** [check-recursive] Error 1 -- -- If I ignore the errors and go ahead with aubio installation, after ./configure , it returns with error message like that checking for pkg-config... no checking pkg-config is at least version 0.9.0... ./configure: line 21348: no: command not found no checking for SNDLIB... configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SNDLIB_CFLAGS and SNDLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see http://www.freedesktop.org/software/pkgconfig . See `config.log' for more details. -- after this I get this result and I do not know how to fix this problem. I tried posting a message on pkg-config list but did not get any positive results. I am hoping to get some feedback from someone who is using aubio and has encoutered such an error. Your help will be highly appreciated regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list Man has survived hitherto because he was too ignorant to know how to realize his wishes. Now that he can realize them, he must either change them, or perish.-William Carlos Williams ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] question regarding pkg-config and aubio installation to work with PD
Hello List, I need some help/advice/suggestions regarding the problem I am facing nowadays. I have been trying to install aubio on my Mac osx but for that I need some other packages like fftw3, libsndfile, libsamplerate and pkgconfig. The first three are installed without any trouble but when I try to install pkgconfig. Do the following ./configure make make check Making check in check make check-TESTS /bin/sh: line 1: ./check-cflags: Permission denied FAIL: check-cflags /bin/sh: line 1: ./check-libs: Permission denied FAIL: check-libs /bin/sh: line 1: ./check-define-variable: Permission denied FAIL: check-define-variable /bin/sh: line 1: ./check-libs-private: Permission denied FAIL: check-libs-private /bin/sh: line 1: ./check-requires-private: Permission denied FAIL: check-requires-private /bin/sh: line 1: ./check-includedir: Permission denied FAIL: check-includedir === 6 of 6 tests failed === make[2]: *** [check-TESTS] Error 1 make[1]: *** [check-am] Error 2 make: *** [check-recursive] Error 1 If I ignore the errors and go ahead with aubio installation, after ./configure , it returns with error message like that checking for pkg-config... no checking pkg-config is at least version 0.9.0... ./configure: line 21348: no: command not found no checking for SNDLIB... configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SNDLIB_CFLAGS and SNDLIB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see http://www.freedesktop.org/software/pkgconfig. See `config.log' for more details. -- after this I get this result and I do not know how to fix this problem. I tried posting a message on pkg-config list but did not get any positive results. I am hoping to get some feedback from someone who is using aubio and has encoutered such an error. Your help will be highly appreciated regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] makefile for mac osx
hello list, Nowadays I am trying to compile some pd-externals but the problem is again with the make file. I am sending you a make file for a very simple print job. kindly have a look at it, as when I run it, it gives an error message makefile:9. *** missing separator. Stop. regards, tania makefile Description: Binary data ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] cross-correlation in pd ?
hello list, I was wondering if some body can tell me if there is an object to generate the cross correlation of two signals. If there is, please let me know which library has it. regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cross-correlation in pd ?
1- how can i find this IEMLIB_R1.15 library, as some of the objects in the patch you sent me can not be created. 2- I am using pd extended 0.40 on mac osx 3- how can I include aubio in pd when I download it, a little guidance needed here thanks tania On 6/18/07, Andy Farnell [EMAIL PROTECTED] wrote: I found a helpfile for table cross corr IEMLIB_R1.15 Don't actually have the external though myself for some reason. Looking at the helpfile it would be suitable for audio after using [tabsend~] to fill the tables. On Sun, 17 Jun 2007 17:52:42 +0200 tania habib [EMAIL PROTECTED] wrote: hello list, I was wondering if some body can tell me if there is an object to generate the cross correlation of two signals. If there is, please let me know which library has it. regards, tania -- Use the source ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] cross-correlation in pd ?
The problem is that two of the objects I have in the patch that Andy sent me 1- tab_mul 2- tab_cross_corr tare not created, I have the IEMLIB included in pd and the rest is ok. Please tell me whether they are coming from same library or they are part of some other one which needs to be included with it Can you please check them on yours pd? On 6/17/07, Hans-Christoph Steiner [EMAIL PROTECTED] wrote: On Jun 17, 2007, at 12:46 PM, tania habib wrote: 1- how can i find this IEMLIB_R1.15 library, as some of the objects in the patch you sent me can not be created. 2- I am using pd extended 0.40 on mac osx In Pd-extended, that should all be in the iemlib library. 3- how can I include aubio in pd when I download it, a little guidance needed here That I don't know, I haven't played with it yet. .hc thanks tania On 6/18/07, Andy Farnell [EMAIL PROTECTED] wrote: I found a helpfile for table cross corr IEMLIB_R1.15 Don't actually have the external though myself for some reason. Looking at the helpfile it would be suitable for audio after using [tabsend~] to fill the tables. On Sun, 17 Jun 2007 17:52:42 +0200 tania habib [EMAIL PROTECTED] wrote: hello list, I was wondering if some body can tell me if there is an object to generate the cross correlation of two signals. If there is, please let me know which library has it. regards, tania -- Use the source ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list There is no way to peace, peace is the way. -A.J. Muste ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] plot
Can you please elaborate a little more on Gnuplot, is this an object?. Which library it belongs to? On 6/9/07, Andy Farnell [EMAIL PROTECTED] wrote: I use [snapshot~] to turn any signal data into messages and use Gnuplot with a pipe. Never figured out 3D plots though. On Fri, 8 Jun 2007 23:47:55 +0200 tania habib [EMAIL PROTECTED] wrote: Hello list, I need some help in finding the object which can plot 2-D and 3-D curves. for example if i have two vectors and I need to plot frequecy versus angle curve/ plots the data after the simulation are complete. Kindly suggest which library supports these functions regards, tania -- Use the source ___ 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] plot
Hello list, I need some help in finding the object which can plot 2-D and 3-D curves. for example if i have two vectors and I need to plot frequecy versus angle curve/ plots the data after the simulation are complete. Kindly suggest which library supports these functions regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] plot
Hello list, I need some help in finding the object which can plot 2-D and 3-D curves. for example if i have two vectors and I need to plot frequecy versus angle curve/ plots the data after the simulation are complete. Kindly suggest which library supports these functions regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] loading wav.samples with readsf
hello sebastian, i`ve been trying to play wav.samples using the readsf-object but don`t have no luck error: readsf: start requested with no prior 'open' ... you might be able to track this down from the Find menu. you need to click on the open message first before readsf~ , this will take care of the error (One more thing, make sure the path name for the file is correct in the open box) + i couldn`t put the wav.files into the sound-folder of pd - using a mac with `PD-0.39-0` i can see the pd-folders only via help browser - but can not paste something here... When you click on help there are two options there, one is html and the other is browser. If you just want to open the files, then click on browser but for putting files in you need to use the html option. In mac case, it most probably open the safari, it open with this path. file:///Applications/Pd-0.40.2-extended-2007-05-23.app /Contents/Resources/doc/1.manual/index.htm just remove /doc/1.manual/index.htm from the address this will open another another folder, now you can add or delete files! I hope this will solve your problems, regards, tania On 6/2/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: hi list, i`ve been trying to play wav.samples using the readsf-object but don`t have no luck error: readsf: start requested with no prior 'open' ... you might be able to track this down from the Find menu. maybe its due to my message-box open!? + i couldn`t put the wav.files into the sound-folder of pd - using a mac with `PD-0.39-0` i can see the pd-folders only via help browser - but can not paste something here... thank you very much sebastian -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail ___ 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] how to modify path in open message
Hello, I have made the script for recording wave files using 16 channels. I am using writesf~ with the message open /Users/tania/Desktop/ch1.wav My question is that can there be a quick way of just changing one message box so that If I change the destination directory for files, it can be changed for all. Or is there a way of seperating the destination file path and file name into two seperate blocks and combining them later in open message block So that by just sending a bang, I will get the the changes made in all blocks regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] How to fix path to read a sound file
Hi, I need some guidance in using the soundfiler, writesf~ and readsf~ objects. How can I read a recorded wave file ? How can I set the path for the file? I need to use some recording that I made to be loaded in Pd for further computation and then after some manipulations stored by Pd on the Disk. regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] How to fix path to read a sound file
Yes I have tried it through the help files but the problem is that the path to search/load the wave file is not picked by the file. I have tried to put in the paths but it still gives error such as error: dsp: ../sound/bell.aiff: No such file or directory Please tell me the right way to put in the path On 5/18/07, hard off [EMAIL PROTECTED] wrote: did you right click on the objects to bring up their help files? they should give you the info you need. ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] problem installing iem/adaptive library
Hello, I have started working with PD few weeks ago and I find it very useful for my work, but I am facing some problems in trying to load some libraries into PD. I want to add the Adaptive Filter library written by Markus Noisternig and Thomas Musil. I am working on Mac osx. Please help me out with this problem regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] problem loading adaptive filter libraray
Hello, I have started working with PD few weeks ago and I find it very useful for my work, but I am facing some problems in trying to load some libraries into PD. I want to add the Adaptive Filter library written by Markus Noisternig and Thomas Musil. I am working on Mac osx. Please help me out with this problem regards, tania ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] problem installing iem/adaptive library
Hello, Thanks again, as it was problem of loading zexy at the startup and now the files are working fine. regards, tania On 5/17/07, Georg Holzmann [EMAIL PROTECTED] wrote: Hallo! Secondly I can not run examples of adaptive library as some of the objects can not be created such as lms~ This behavior is really strange for me. so you did load the iem_adaptfilt library before opening the patches? (with -lib iem_adaptfilt, or whatever) I think this is an other problem: the example patches in the adaptive folder of the pd-extended installation are from my adaptive library. (there are 2 libraries for adaptive filter in pd - I guess the iem_adaptfilt lib is more powerfull but I haven't tried ...) LG Georg ___ PD-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list