MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Rudimentary Export Question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg115513] Re: Rudimentary Export Question
  • From: "Sjoerd C. de Vries" <sjoerd.c.devries at gmail.com>
  • Date: Thu, 13 Jan 2011 03:26:47 -0500 (EST)
  • References: <igjqvd$90u$1@smc.vnet.net>

Hi Dean,

It works for me. I get a file that plays in Windows media player.

Mathematica is clearly trying to write, not read. Look at the
OpenWrite part of the error message.

Could it be some rights problem? Do you have the rights to write in
that directory?

Cheers -- Sjoerd


On Jan 12, 10:06 am, Dean <deanrosent... at gmail.com> wrote:
> This question is about exporting to .mid using the Export symbol.  Does
> Mathematica really create a file out of thin air from data?  A simple
> example, I get:
>
> Export["cnote.mid", Sound[{SoundNote["C"], SoundNote["G"]}]]
>
> OpenWrite::"noopen" : "Cannot open "/Users/mydrive/cnote.mid". \
> $Failed
>
> It looks like it's *looking* for a file rather than looking to write one.
>  Any suggestions?  Thanks!
>
> Please send direct responses: deanrosent... at gmail.com.
>
> Best,
> Dean
>
> --
> Dean Rosenthal
>
> cell: 646 733 6966www.deanrosenthal.orghttp://www.the-open-space.org/webm=
ag/test1.html



  • Prev by Date: Re: Units question
  • Next by Date: Replacing result with earlier variable definition
  • Previous by thread: Re: Rudimentary Export Question
  • Next by thread: Parallelize & Functions That Remember Values They Have Found