-
purewater
Hi All! As the title suggests, I'd like to start a Sydney patching circle. Meeting preferably once a week in the outer west/wherever is the easiest ground for the members to get to.
The circle will initially consist of a few core members as we build awareness and momentum, but ideally will pick up its own identity and momentum in the latter half of 2011.
I'm particularly interested at this point to hear from anyone who has a connection with learning institutions, as the surplus of time/energy/brain cycles that students have would be a useful way to get things rolling and build membership.
Write back here, or direct to surveillanceparty@gmail.com
(P.S. Merry Xmas!)
-
purewater
Hey guys,
I'm writing a program that keeps track of what you've been working on and for how long. Does anyone know who I can force Pd to check firstly, whether pro tools is open, and secondly if it what is the name of the session being worked on?I've been investigating using shell for this purpose, don't know if this is the right approach or not, but anyway haven't gotten anywhere in the last few days so I thought I'd ask the pros
-S
-
purewater
Hi guys,
I'm trying to write a clock, which will become a mac application. Its purpose is to keep track of how long you have been working on any particular project.
My current problem is that every time I open the patch it starts the timer over again. i want it to read and write to and from a .txt file so that each time you came back, it picks up counting the time from where it last left off.
So I've got the read.write to the log file thing down, but currently I have a problem. When the user closes the app, I want it to write the time to the log file and then close, but I don't know how to do it.
any ideas?
-
purewater
Hi guys, I'm a bit uncertain and kind of frustrated at the moment, so I figured I'd post here and ask the question.
Here is another very brief post which essentially asks what I want to know.
http://puredata.hurleur.com/sujet-3725-pdvst-fxpansion-vst-rtas-adapter
(I'd love to know how that resolved for you Dan by the way.)Is it possible to-
A) make a PD patch into a working VST, then
FXpansion it to RTAS for pro tools?
I've developed this patch for so long as a hobby, and this is all that stands in my way. I have to admit I have my heart a bit set on it. I can implement it as a mac app if I have to, but it wouldn't have the same functionality or elegance.
I don't care if its hard, if its doable I'll do it.
Is the pdvst up to date and functioning?
I hope to hear from anyone who knows something about this. Once again thanks guys
Fingers crossed!
-
purewater
Hi guys!
First of all congratulations on a vibrant and well moderated community. Its great to have found this place, and finally to have a hobby I'm really into.I'm quite new to Puredata. The video tutorials are of limited use to me at the moment because I am yet to get pure data sharing the sound card with firefox (I'm on Ubuntu).
Generally I much prefer solving my own problems, but this time I thought I'd throw it out there and see what happens. I'm sure that apart from the solution, people will probably be highly amused by my inefficient "coding".
Anyway here is my Aim:
To make a clock which pauses, IF no audio has been received for a while AND the mouse hasn't moved for a while. When one of these things happens the clock starts again from where it left off.The mouse detection works fine, and the mock audio pulse I've set up works fine, but I can't get the two conditions to meet properly and switch the clock on and off.
I know the solution is probably embarrassingly simple, but I just thought I'd throw it out there anyway.
Just to give you an idea of the ridiculously challenging project I've set myself- I'm going to write a VST plugin that counts your active time working in an audio session. When I'm done that I'm going to wrap it to RTAS!! I'm sure many a nightmare waits to ensnare me along the way but hey I'm having fun!
K back to it (patch attached)
-
purewater
Hi all,
As the title suggests, does anyone know how to get some terminal data into a useable form in Pd?
Terminal command via [shell]
lsof -c TerminalComes back with
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Terminal 320 sergery cwd DIR 14,2 1224 389127 /Users/sergery
Terminal 320 sergery txt REG 14,2 1089648 138776 /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
Terminal 320 sergery txt REG 14,2 2295501 288102 /System/Library/Fonts/LucidaGrande.dfont
Terminal 320 sergery txt REG 14,2 5425538 293864 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc
Terminal 320 sergery txt REG 14,2 13525940 224074 /private/var/folders/vb/vbpUhSc-HtShEQmAZppmw++++TI/-Caches-/com.apple.ATS/annex_aux
Terminal 320 sergery txt REG 14,2 10244512 400652 /usr/share/icu/icudt36l.dat
Terminal 320 sergery txt REG 14,2 1832384 370074 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/SArtFile.bin
Terminal 320 sergery txt REG 14,2 11144400 270259 /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
Terminal 320 sergery txt REG 14,2 531341 288103 /System/Library/Fonts/Monaco.dfont
Terminal 320 sergery txt REG 14,2 19336 224106 /private/var/folders/vb/vbpUhSc-HtShEQmAZppmw++++TI/-Caches-/com.apple.IntlDataCache.le.sbdl
Terminal 320 sergery txt REG 14,2 808008 352421 /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat
Terminal 320 sergery txt REG 14,2 100788 246657 /System/Library/Caches/com.apple.IntlDataCache.le.kbdx
Terminal 320 sergery txt REG 14,2 144580 293934 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
Terminal 320 sergery txt REG 14,2 490410 293847 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
Terminal 320 sergery txt REG 14,2 5836820 369904 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/ArtFile.bin
Terminal 320 sergery txt REG 14,2 2396160 553076 /Library/Caches/com.apple.LaunchServices-023501.csstore
Terminal 320 sergery txt REG 14,2 1059792 393626 /usr/lib/dyld
Terminal 320 sergery txt REG 14,2 139087872 431216 /private/var/db/dyld/dyld_shared_cache_i386
Terminal 320 sergery 0r CHR 3,2 0t0 36655364 /dev/null
Terminal 320 sergery 1 PIPE 0x23baee0 16384
Terminal 320 sergery 2 PIPE 0x23baee0 16384
Terminal 320 sergery 3r REG 14,2 5425538 293864 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc
Terminal 320 sergery 4 PIPE 0x23b812c 16384
Terminal 320 sergery 5 PIPE 0x23b80c8 16384
Terminal 320 sergery 6 PIPE 0x23ba7d8 16384
Terminal 320 sergery 7 PIPE 0x23ba83c 16384
Terminal 320 sergery 9r REG 14,2 144580 293934 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
Terminal 320 sergery 10r REG 14,2 490410 293847 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
Terminal 320 sergery 12u CHR 15,0 0t105 36958084 /dev/ptmx
PostOpChopShop:~ sergery$ lsof -c Terminal
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Terminal 320 sergery cwd DIR 14,2 1224 389127 /Users/sergery
Terminal 320 sergery txt REG 14,2 1089648 138776 /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
Terminal 320 sergery txt REG 14,2 2295501 288102 /System/Library/Fonts/LucidaGrande.dfont
Terminal 320 sergery txt REG 14,2 5425538 293864 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc
Terminal 320 sergery txt REG 14,2 13525940 224074 /private/var/folders/vb/vbpUhSc-HtShEQmAZppmw++++TI/-Caches-/com.apple.ATS/annex_aux
Terminal 320 sergery txt REG 14,2 10244512 400652 /usr/share/icu/icudt36l.dat
Terminal 320 sergery txt REG 14,2 1832384 370074 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/SArtFile.bin
Terminal 320 sergery txt REG 14,2 11144400 270259 /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
Terminal 320 sergery txt REG 14,2 531341 288103 /System/Library/Fonts/Monaco.dfont
Terminal 320 sergery txt REG 14,2 19336 224106 /private/var/folders/vb/vbpUhSc-HtShEQmAZppmw++++TI/-Caches-/com.apple.IntlDataCache.le.sbdl
Terminal 320 sergery txt REG 14,2 808008 352421 /System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat
Terminal 320 sergery txt REG 14,2 100788 246657 /System/Library/Caches/com.apple.IntlDataCache.le.kbdx
Terminal 320 sergery txt REG 14,2 144580 293934 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
Terminal 320 sergery txt REG 14,2 490410 293847 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
Terminal 320 sergery txt REG 14,2 5836820 369904 /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/Resources/ArtFile.bin
Terminal 320 sergery txt REG 14,2 2396160 553076 /Library/Caches/com.apple.LaunchServices-023501.csstore
Terminal 320 sergery txt REG 14,2 1059792 393626 /usr/lib/dyld
Terminal 320 sergery txt REG 14,2 139087872 431216 /private/var/db/dyld/dyld_shared_cache_i386
Terminal 320 sergery 0r CHR 3,2 0t0 36655364 /dev/null
Terminal 320 sergery 1 PIPE 0x23baee0 16384
Terminal 320 sergery 2 PIPE 0x23baee0 16384
Terminal 320 sergery 3r REG 14,2 5425538 293864 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/Extras2.rsrc
Terminal 320 sergery 4 PIPE 0x23b812c 16384
Terminal 320 sergery 5 PIPE 0x23b80c8 16384
Terminal 320 sergery 6 PIPE 0x23ba7d8 16384
Terminal 320 sergery 7 PIPE 0x23ba83c 16384
Terminal 320 sergery 9r REG 14,2 144580 293934 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
Terminal 320 sergery 10r REG 14,2 490410 293847 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/English.lproj/Localized.rsrc
Terminal 320 sergery 12u CHR 15,0 0t3717 36958084 /dev/ptmxI'd like to get all this data into Pd somehow.
At some point I'd like to write it to a file and then search through it for the file name that I want. I'm having trouble though. Any ideas? -
purewater
Thanks everyone so much for all your help!!!!
I'll add this in case someone else can find a use for it.
http://www.pdpatchrepo.info/hurleur/Terminal_data_into_a_text_file.pd
-
purewater
Hi Arif, yes we did discuss a similar approach in a previous thread, but grep doesn't work inside pure data, it only works inside terminal.
To be precise, in my experience if you type,
lsof -c Pro | grep WaveCache.wfm
(assuming you have a pro tools session open)
it will give back
/Digidesign/Pro Tools/Pro Tools Session Fun/WaveCache.wfm
but ONLY if you type it straight into Terminal. Using [shell] gives back nothing.
Hence this new approach, trying to get all the data from a lsof command into pro tools and then sifting through it for the necessary data.
-
purewater
Sounds good!
Shall we exchange details? my email is surveillanceparty@gmail.com
If you send me some details for you and your friends who are interested I'll start contacting people and organising place and time, getting people psyched etc.
Ok the Sydney Forum exists! Its just a skeleton at the moment, but it can grow over time as we get new members, but for now it can serve as a useful place for people to exchange ideas in between meetings.
Here is the address:
http://puredatasydney.freeforums.org/index.php
Viva La Sydney Patching Circle!!
-
purewater
so close now.
lsof | grep WaveCache.wfm
returns
Pro\x20To 744 mark 46u REG 14,2 12672 4370889 /Users/mark/Documents/PRO TOOLS ON A LAPTOP/WaveCache.wfm
in terminal.
But its not working as a message to the shell in Pd...
I consider the possibility that | grep is not implemented in the Shell object for Pd. Sad for me, but if it is true I understand it, Shell must be a very full on object to write after all..
Edit: But that idea makes no sense at all- because all I'm doing is sending a message to the shell. The content of the message shouldn't matter should it? It just gets sent and whatever comes back comes back..
-
purewater
got this today, and a few times recently. I was copying some stuff form the help file patches around the same time, although it could be unrelated. Mac osx here...
-
purewater
@arif said:
so far, i've found
even though lsof's purpose is to list open files i think by the unix definition a file may not necessarily be documents since i haven't found any resemblance to files i've been working on.
Ah yes now I understand what you are saying here. But now you have given me hope, as running,
lsof -c Preview
amongst all the other junk it spits back, does indeed also list
Preview 514 sergery txt REG 14,2 638283 390013 /Users/sergery/Documents/About Stacks.pdfand I have this exact file open! So once I get to my protools rig and I'll test to see if I can parse the information down to just the ptf I'm working on.
-
purewater
Yes that is very true, as a stand alone solution it would be perfect. Unfortunately it would be impractical in this instance (I didn't explain this before) firstly because we go through about 250 sessions a week, but more importantly because one of the design constraints of this program is that it has to be "idiot" proof. If any given session can only be identified by a unique combination of midi notes, then even if the template has a combination of midi notes saying what show it is, the session will still need its own combination to indicate what episode it is. At which point you wind up back at manually entering data either to the time keeper program or as midi notes in each session.
I know (this is one of our current problems) that some of my colleagues simply cannot (or choose not to) switch on the time tracking software we currently have. So in a sense the flaw is not the tool itself, but that people fail to use it.
This is why having it be automatic (ie idiot proof) is so important, and hence why if it had been possible to make it as RTAS it would have been such an elegant solution.
Sorry for the long winded postings! I admit I am quite caught up in this project of my own making. Arif I want to express my appreciation for engaging with me over this problem also.
-
purewater
Hmmm thats a very interesting idea with the midi. At work we have templates, a different one for each show. So one for the cop show one for the airport show etc. Because its post production though, we don't use midi. But what if I made a hidden midi track with a unique combination of notes and put it into each template... But then it still wouldn't tell you what session you were in, only what show you were on.
Such a shame that pdvst is in the graveyard, because I would have made it, then wrapped it to RTAS. Then I would have made a separate track with no output, called it "counter" and just popped the plugin onto it.
I spent some time with python today, ran through the first 6 tutorials online. I hear that Pd can execute python scripts, so I'll see where that takes me, both for this purpose and also for the general enjoyment of learning.
If only those bastards at Avid would give people the SDK to write plugins!
-
purewater
Wow thanks mate. Its scary how many objects there are out there that I don't know about, but exciting too. Fuck I love Pd
I think I might be a bit out of my depth here. From what I can see wmangle is a part of Flext, which is a library which is not included in PD-extended, and you must build it?
[window_name] on the other hand seems to be based around tck/tl, which is another thing entirely, and when it reports like this,
[window_name]
|
|
[symbol\it gives back a reading starting with "x" e.g. x.7b4b10
So this got me onto reading about X windows, which I believe this is a part of?
Well at any rate there is at least a LOT to learn. -
-
purewater
Ok final post.
http://puredata.hurleur.com/sujet-2297-close-patch
[; pd quit (
you need a new line after the ;
I hope my raving have been enjoyable for you all >)
-
purewater
Ah it looks like there's only a clunky workaround. Sorry for not searching properly pre posting!
http://puredata.hurleur.com/sujet-4456-close-patch-window-command-object
-
purewater
actually (just talking out loud now) I think all I really need is a box that closes pure data.
Because I could make a nice little "X" box in Gem, and when people click on it it could save the current clock time to the txt file then close PD...