<div dir="ltr">Thank you so much Vincent .. it worked.<div>Regards,</div><div>Kashyap</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 17, 2014 at 9:56 PM, Vincent St-Amour <span dir="ltr"><<a href="mailto:stamourv@ccs.neu.edu" target="_blank">stamourv@ccs.neu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">PLaneT packages work a bit differently than those from the new package<br>
system.<br>
<br>
The easiest way to do it would be to put<br>
<br>
(require (planet clements/midi:1:0))<br>
<br>
in your program. The first time you run it, it will install the package<br>
for you.<br>
<br>
This package's page, however, says that this version of the package is<br>
deprecated in favor of a new version, available from the new package<br>
catalog. To install that one instead, use<br>
<br>
raco pkg install midi-readwrite<br>
<br>
then add this require to your program<br>
<br>
(require midi-readwrite)<br>
<br>
<br>
Vincent<br>
<br>
<br>
<br>
<br>
At Sat, 15 Nov 2014 10:54:34 +0530,<br>
<div><div class="h5">C K Kashyap wrote:<br>
><br>
> Hi,<br>
> I am trying to use midi.rkt from<br>
> <a href="http://planet.racket-lang.org/package-source/clements/midi.plt/1/0/midi-read.rkt" target="_blank">http://planet.racket-lang.org/package-source/clements/midi.plt/1/0/midi-read.rkt</a>.<br>
> I did the following -<br>
><br>
> 1. sudo raco planet url clements midi.plt 1 1<br>
> 2. curl -O url (the url I got form the step 1)<br>
> 3. I renamed the downloaded file to midi.plt<br>
> 4. sudo raco planet fileinject midi midi.plt 1 1<br>
><br>
> After this I could see the package listed when I did raco planet show.<br>
><br>
> However I have no clue wrt the "require" I need to do in my racket file.<br>
><br>
> Regards,<br>
> Kashyap<br>
><br>
</div></div>> ____________________<br>
> Racket Users list:<br>
> <a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/users</a><br>
</blockquote></div><br></div>