Hi all
Apoligies if this is not the correct place for asking these sorts of questions.
Can the 'coll' object read items from a text file?
What I want to do is have several messages stored in a textfile, load them into
coll and then output them one at a time. Is this possible, everytime I try
Hallo,
i've signed up a 'pilot' PD Videopedia community
channel.
http://www.youtube.com/PureDataVideopedia
user: PureDataVideopedia
pass: puredata
i've also started organizing playlists:
http://www.youtube.com/profile_play_list?user=PureDataVideopedia
Please feel free to manage/add/move...
coll uses a special format to store its data, it always uses an ID, then
a comma and then the message content. this has some advantages (sorting,
lookup) but does not work with all textfiles.
I suggest to use textfile or messagefile. or, if you want to use coll,
then look at the fileformat and
This is the right place to ask! :) coll is supposed to be able to
open textfiles, but I think they are supposed to have a specific
format. It is meant for Max/MSP compatibility, you might have better
luck with the native Pd versions: textfile and qlist
.hc
On Dec 13, 2007, at 9:33 AM,
Thanks Derek - this took care of the problem ! :)
Donal
- Original Message -
From: Derek Holzer [EMAIL PROTECTED]
To: Donal Carey [EMAIL PROTECTED]
Cc: pd-list@iem.at
Sent: Thursday, December 13, 2007 4:17 PM
Subject: Re: [PD] coll object
Did you use [col] to create the textfile? Or
hi,
google earth uses a special format to save geo information data (kml
files). I am trying to build a (simple) gem earth projector and read
these files (and also some other file types...)
The conversion should be easy, but precision might become a problem.
this is a shape in kml file format
Derek Holzer wrote:
Did you use [col] to create the textfile? Or is it a random textfile?
Formatting is important. A sample:
1, ah_yes.wav;
2, hokoji.loop.wav;
3, kenchoji.loop.wav;
Maybe try to format it in this way?
Or if it's plain text, use read file.txt (for ';'-terminated
If I'm doing it right, single precision float should be able to represent
latitude and longitude to within about two meters.
If more precision than that is needed, you'll want to use tr to change
periods (as well as commas) into spaces so that you get lines like:
-112 3348783983763 36
hi list,
over the last months, i've been programming a couple of abstractions to enhance
faster and comfortable programming in pd.
maybe they're useful for anyone else out there. some ideas arent't new, of
course, and there might exist similar objects.
i called the collection honk abstractions.
On Thu, 13 Dec 2007, Miller Puckette wrote:
If I'm doing it right, single precision float should be able to represent
latitude and longitude to within about two meters.
longitude has to be from -180 to 180. The epsilon is then the previous
power of two divided by 2^23. In metres this is 0.61
On Wed, 12 Dec 2007, Hans-Christoph Steiner wrote:
This is purely a practical issue. If your patches don't work across Pd
and Desiredata, then they are not compatible. It's that simple.
Compatibility is one goal that can get in the way of fixing bugs. Why
not just write separate bugfree
On Wed, 12 Dec 2007, Hans-Christoph Steiner wrote:
Full answer: you use the tcl flags to save the arguments. This works fine in
binbufs:
-text this is my label -font Lucida Sans 10 bold -fg black -bg green
Check tkwidgets/text.c for more info.
so, how do you put double-quotes within labels?
Thanks for this, it looks like a nice, clean example of how to do
this. Very valuable. I'm sure I'll have questions about this stuff.
For example, right now I am in the process of figuring out how to
parse the object arguments for ?, then dynamically create an inlet
for each ? it
Hi All, thanks for everyone's responses last time, they were really helpful.
I'm just wondering if anyone can explain (as though I'm a five year old)
how I would use gemmouse to control the speed at which a sound sample is
playing (presuming its looping)??
Thanks in advance!
Rebecca.
On Dec 13, 2007, at 12:58 PM, Mathieu Bouchard wrote:
On Wed, 12 Dec 2007, Hans-Christoph Steiner wrote:
This is purely a practical issue. If your patches don't work
across Pd and Desiredata, then they are not compatible. It's that
simple. Compatibility is one goal that can get in the
On Dec 13, 2007, at 1:00 PM, Mathieu Bouchard wrote:
On Wed, 12 Dec 2007, Hans-Christoph Steiner wrote:
Full answer: you use the tcl flags to save the arguments. This
works fine in binbufs:
-text this is my label -font Lucida Sans 10 bold -fg black -bg
green
Check tkwidgets/text.c for
Hans-Christoph Steiner wrote:
I was trying to figure out how this is done in [expr], but that code is
super strange, so no luck yet. Anyone else have examples of dynamically
creating inlets in C based on object arguments?
pdlua does this, the relevant functions in pdlua/src/lua.c are:
//
Hello,
Have a look at this patch. I hope it will help you.
++
Jack
gemmouseAndSound.pd
Description: Binary data
Le 13 déc. 07 à 19:08, Rebecca Schatz a écrit :
Hi All,
thanks for everyone's responses last time, they were really
helpful. I'm just wondering if anyone can explain (as
Hans-Christoph Steiner wrote:
I was trying to figure out how this is done in [expr], but that code is
super strange, so no luck yet. Anyone else have examples of dynamically
creating inlets in C based on object arguments?
str_new() in mrpeach/str/str.c adds an extra inlet for some of its
Vade~
Please do keep CDM informed. It would be a great PR boost to Pd, and I
know that you and Peter Kirn have made some wonderful expositions on
the benefits of Pd on the blogs in the past. It would be very much
welcomed!
~Kyle
On Dec 12, 2007 12:52 PM, vade [EMAIL PROTECTED] wrote:
I think
On Thu, 13 Dec 2007, Hans-Christoph Steiner wrote:
In the past you have said that you want to make DesireData compatible with
Pd.
Yes, I want it!
I am pointing out a possible incompatibility.
You don't even know what compatibility is!
If you don't want to make it compatible, that is
On Thu, 13 Dec 2007, Hans-Christoph Steiner wrote:
I should correct the above line, it's not quite right:
-text {this is my label} -font {Lucida Sans 10 bold} -fg black -bg green
AFAIK, using the {} as quotes means it should had over everything inside of
those brackets. So {} should show a
On Mon, 10 Dec 2007, Hans-Christoph Steiner wrote:
I started a pdpedia page on the topic, please add anything useful:
http://wiki.puredata.info/en/proxy_objects
You copied from my email. Emails are property of the sender unless
otherwise specified. For publicly visible emails it doesn't seem
On Mon, 10 Dec 2007, Hans-Christoph Steiner wrote:
For a place where you are expecting a number, you can protect against a
SQL injection attack by merely putting a [float] before the message box
with the SQL in it. In other situations, I think that Perl has a pretty
decent idea: a SQL quote
Johannes~
These objects are very nice, and would be a great contribution to
Pd-extended! Thanks so much for sharing them.
One thing that would be helpful for you to do is to create a simple
object-help.pd file for each object. The reason this is preferred over
the help being within the
On Mon, 10 Dec 2007, Hans-Christoph Steiner wrote:
It is useful to represent the pieces in Pd space, so you can understand
what's going on. That's one reason why I advocate having the core object
represent the connection to the database rather than a query. Otherwise,
it's starts to become
On Mon, 10 Dec 2007, Hans-Christoph Steiner wrote:
The other somewhat common style that I saw in my searches was printf patterns
(%s, %f, etc). In Pd, [makefilename], [makesymbol], [sprintf], and perhaps
others use this syntax. The single ? notation seems to be supported by at
least these,
On Tue, 11 Dec 2007, Jamie Bullock wrote:
I like this idea. What do you think about using an implicit
receive-symbol, '$0-psql.1001', '$0-psql.1002' etc?
No, because if you don't have an explicit receive-symbol, then you can't
share database connections and logins in the way that you choose,
On Thu, 2007-12-13 at 14:28 -0500, Mathieu Bouchard wrote:
On Mon, 10 Dec 2007, Hans-Christoph Steiner wrote:
I started a pdpedia page on the topic, please add anything useful:
http://wiki.puredata.info/en/proxy_objects
You copied from my email. Emails are property of the sender unless
On Tue, 11 Dec 2007, IOhannes m zmoelnig wrote:
i don't claim that Gem is a good example. however, i also don't see how
the data-flow vs control-flow is especially bad in Gem.
As long as you pass a gem message around that is only a pointer to a
shared state that all objects modify, it's all
More goodies. Thanks for making and sharing these Johannes.
On Thu, 13 Dec 2007 18:04:25 +0100
Johannes Kreidler [EMAIL PROTECTED] wrote:
hi list,
over the last months, i've been programming a couple of abstractions to
enhance faster and comfortable programming in pd.
maybe they're useful
yes thanks. have just added this to my blog:
http://practical-data.wikidot.com
___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list
On Dec 13, 2007 1:59 PM, Mathieu Bouchard [EMAIL PROTECTED] wrote:
On Mon, 10 Dec 2007, Hans-Christoph Steiner wrote:
The other somewhat common style that I saw in my searches was printf
patterns
(%s, %f, etc). In Pd, [makefilename], [makesymbol], [sprintf], and
perhaps
others use this
On Thu, 13 Dec 2007, Mathieu Bouchard wrote:
longitude has to be from -180 to 180. The epsilon is then the previous power
of two divided by 2^23. In metres this is 0.61 metre near equator. This is
the worst case. For latitude the precision is twice better than longitude at
equator. In
On Thu, Dec 13, 2007 at 03:12:18PM -0500, Mathieu Bouchard wrote:
On Tue, 11 Dec 2007, IOhannes m zmoelnig wrote:
i don't claim that Gem is a good example. however, i also don't see how
the data-flow vs control-flow is especially bad in Gem.
As long as you pass a gem message around that
Hi, all.
Below is an excerpt from the help file to [part_source] I found in the
latest Pd-extended (stable), describing the arguments understood by the
object.
--- From here ---
domain: one of point, line, triangle, plane, box, sphere,
cylinder, cone, blob, disc, rectangle
arguments: up to
asio4all is certainly a nifty program.
I'd like to share a story regarding this application I thought was
interesting.
--
A few months ago I purchased a MIDI controller by Alesis which came with
a soft synth. As far as I know, most soft synths have pages in their
manual explaining methods of
37 matches
Mail list logo