[PD] Phasor Driven Midi File Playback?
saint
saintidle at yahoo.com
Tue Feb 12 20:39:53 CET 2008
hmmm. i did try that but it seems to stumble at the first space in the full path (as pure data does)
unfortunately the patch will need to be ported around when it's done so specifying a full path won't fulfill my needs.
is there a .dll of the midifile external for w32 knocking around for which this read message works for shortened paths?
again, thanks all of you for your time!
----- Original Message ----
From: Mike McGonagle <mjmogo at gmail.com>
To: saint <saintidle at yahoo.com>
Cc: pd-list at iem.at
Sent: Tuesday, 12 February, 2008 7:22:29 PM
Subject: Re: [PD] Phasor Driven Midi File Playback?
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(?
Mike
On Feb 12, 2008 12:33 PM, saint <saintidle at yahoo.com> wrote:
thanks for the quick reply again martin,
it's a strange problem that i seem to be having.
because i definitely have all the midifiles in the same folder as the patch but
[midifile test.mid]
...or...
[read test.mid(---[midifile]
gives... 'error: midifile: unable to open test.mid'
but when i do
[bang]---[openpanel]---[read $1(---[midifile]
and point it to 'test.mid' it seems to work?
hmmmm...
unfortunately for what i want to do i need to be able to automate opening different midifiles.
i'm using your zip from http://puredata.info/Members/martinrp/midifile/midifile.zip/view
thanks again in advance!
----- Original Message ----
From: Martin Peach <martin.peach at sympatico.ca>
To: saintidle at yahoo.com; pd-list at iem.at
Sent: Tuesday, 12 February, 2008 5:13:00 PM
Subject: Re: [PD] Phasor Driven Midi File Playback?
saint
wrote:
>
>hi
martin,
>
>been
trying
your
midifile
object
and
it's
working
nicely.
great!
>
>is
there
a
way
to
send
it
a
[read
test.mid{
message
or
a
[read
>folder/test.mid{
message?
>
>i
need
to
automate
opening
a
bunch
of
files
without
using
the
'openpanel'
>object.
>
Just
like
that.
Or
send
a
message
or
symbol
containing
the
path
to
the
[read
$1(
message.
It's
probably
easier
if
all
the
files
are
in
the
same
directory
as
the
patch.
Martin
Sent from Yahoo! - a smarter inbox.
_______________________________________________
PD-list at iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
--
Peace may sound simple—one beautiful word— but it requires everything we have, every quality, every strength, every dream, every high ideal.
—Yehudi Menuhin (1916–1999), musician
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20080212/a7e3fa55/attachment.htm>
More information about the Pd-list
mailing list