-
dutch_schulz
Hello everyone,
I'm making a calendar-dependent patch, where audio volume should depend on the date (it is intended to illustrate changes in biological cycles). For example, we want to know how these cycles "sounded" on, say, 01/01/01 - so we put in the date, and get the combination of volumes. Simple.
But. There seems to be no easy way to make PD understand dates - or maybe I'm in a block! What would you suggest? Has anyone tried something similar with dates, calendar etc?Thanks,
Vadim -
dutch_schulz
Hello everyone!
I've been looking at PD for a few days only (and it is fascinating, by the way). My objective is to find out if there's a way to make a PD patch control other (more conventional) MIDI applications on the same computer - by sending MIDI messages to automation parameters, for example. Having looked through help and the forum, I found no answer. Do you, people, have any directions?
Cheers!
Vadim -
dutch_schulz
Thank you, aeo and Maelstorm!
And my apologies for long absence!
You're right, the [date] and [shell] would help me get the current system date, but that's not exactly what's needed.
The problem looks like this:
There's a unit of measure, a day.
There's a couple of cycles, say, a 5-day cycle, a 10-day cycle, a 27-day cycle.
All cycles start simultaneously and run continuously. Just like sine waves with different periods, creating different combinations every day. It is easy to get the state of the system, ie the amplitude of each wave, for any given day of its operation.
However, we do not think in terms of "how many days", we think dates. And our conventional Gregorian calendar doesn't have any simple mathematical formula behind it and is therefore difficult to express in pd. (isn't it?)So we have a [bang< on, say, 01/01/99, the cycles start running, and we want to know the state of the system on, say, 01/01/01, ie on 732nd day of its operation. Now I had to calculate the number of days of operation in my head (and hopefully did it correctly). Can pd do this job for me? So all I need to do is input two dates, one indicating start, one - target date?
Sorry if my explanation is awkward, I hope that the task itself is quite comprehensible!
Best,
Vadim -
dutch_schulz
Mbox/OS X works fine, so it probably is a model-specific problem. Firewire drivers, perhaps.
Good luck! -
dutch_schulz
Many thanx, hardoff and portabello!
I'm OSX, but occasionally Windows as well. i've got Soundflower, but didn't know that it can route MIDI as well as audio. Time to try.. )
-
dutch_schulz
@neko said:
...I had found a little java prog that convert .pd in .dll externs back in the day, but i have loose it, if someone have the url.
Just found it, looks like the one:
http://crca.ucsd.edu/~jsarlo/pdvst/
)