<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">hmmm. i did try that but it seems to stumble at the first space in the full path (as pure data does)<br><br>unfortunately the patch will need to be ported around when it's done so specifying a full path won't fulfill my needs.<br><br>is there a .dll of the midifile external for w32 knocking around for which this read message works for shortened paths?<br><br><br><br>again, thanks all of you for your time!<br><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Mike McGonagle <mjmogo@gmail.com><br>To: saint <saintidle@yahoo.com><br>Cc: pd-list@iem.at<br>Sent: Tuesday, 12 February, 2008 7:22:29 PM<br>Subject: Re: [PD] Phasor Driven
Midi File Playback?<br><br>I think what is happening is that [midifile] is expecting a full path for the file name when using read. This is why it works for the [openpanel] because it returns a complete path. Did you try using the full path with [read $1(?<br>
<br>Mike<br><br><br><div class="gmail_quote">On Feb 12, 2008 12:33 PM, saint <<a rel="nofollow" ymailto="mailto:saintidle@yahoo.com" target="_blank" href="mailto:saintidle@yahoo.com">saintidle@yahoo.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">thanks for the quick reply again martin,<br><br>it's a strange problem that i seem to be having.<br>
because i definitely have all the midifiles in the same folder as the patch but<br><br>[midifile test.mid]<br>...or...<br>[read test.mid(---[midifile]<br>gives... 'error: midifile: unable to open test.mid'<br><br>
but when i do<br>[bang]---[openpanel]---[read $1(---[midifile]<br>and point it to 'test.mid' it seems to work?<br><br>hmmmm...<br>unfortunately for what i want to do i need to be able to automate opening different midifiles.<br>
<span>i'm using your zip from <a rel="nofollow" target="_blank" href="http://puredata.info/Members/martinrp/midifile/midifile.zip/view">http://puredata.info/Members/martinrp/midifile/midifile.zip/view</a></span><br><br><br>thanks again in advance!<br>
<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div class="Ih2E3d">----- Original Message ----<br>From: Martin Peach <<a rel="nofollow" ymailto="mailto:martin.peach@sympatico.ca" target="_blank" href="mailto:martin.peach@sympatico.ca">martin.peach@sympatico.ca</a>><br>
To: <a rel="nofollow" ymailto="mailto:saintidle@yahoo.com" target="_blank" href="mailto:saintidle@yahoo.com">saintidle@yahoo.com</a>; <a rel="nofollow" ymailto="mailto:pd-list@iem.at" target="_blank" href="mailto:pd-list@iem.at">pd-list@iem.at</a><br></div><div class="Ih2E3d">Sent: Tuesday, 12 February, 2008 5:13:00 PM<br>
Subject: Re: [PD] Phasor Driven Midi File Playback?<br><br>saint
wrote:<br>><br>>hi
martin,<br>><br>>been
trying
your
midifile
object
and
it's
working
nicely.<br><br>great!<br><br>><br>>is
there
a
way
to
send
it
a
[read
test.mid{
message
or
a
[read <br>>folder/test.mid{
message?<br>><br>>i
need
to
automate
opening
a
bunch
of
files
without
using
the
'openpanel' <br>>object.<br>><br><br>Just
like
that.<br>Or
send
a
message
or
symbol
containing
the
path
to
the
[read
$1(
message.<br>It's
probably
easier
if
all
the
files
are
in
the
same
directory
as
the <br>patch.<br><br>Martin<br><br><br></div></div><br></div></div><br>
<hr size="1"><div class="Ih2E3d"> Sent from <a rel="nofollow" target="_blank" href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=51949/*http://uk.docs.yahoo.com/mail/winter07.html">Yahoo!</a> - a smarter inbox.</div>
</div><br>_______________________________________________<br><a rel="nofollow" ymailto="mailto:PD-list@iem.at" target="_blank" href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a rel="nofollow" target="_blank" href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal.<br>—Yehudi Menuhin (1916–1999), musician
</div><br></div></div><br>
<hr size=1> Sent from <a href="http://us.rd.yahoo.com/mailuk/taglines/isp/control/*http://us.rd.yahoo.com/evt=51949/*http://uk.docs.yahoo.com/mail/winter07.html">Yahoo!</a> - a smarter inbox.</body></html>