CSound server questions

2008-02-03 Thread John Maloney
Greetings, all. I am porting Scratch to the XO. (Scratch is an easy-to-learn programming environment designed to help young people create interactive multimedia. See scratch.mit.edu.) Scratch includes commands to play notes and trigger drum sounds. On Windows and Mac OS, these commands use

Re: Scratch fails to write to Scratch.activity/Projects

2008-08-26 Thread John Maloney
Hi, Scott. What's wrong with just making the directory Scratch.activity/Projects writable by the world? Seems to me that it could not hurt other applications. Scratch does not run any binary files from that folder, so it should be pretty safe. At worse, some malicious software could write

Re: CSound server questions

2008-08-27 Thread John Maloney
: Tuesday, August 26, 2008 11:35 pm Subject: Re: CSound server questions To: C. Scott Ananian [EMAIL PROTECTED] Cc: John Maloney [EMAIL PROTECTED], devel@lists.laptop.org Hi, Did you ever get a satisfactory answer to your questions? I think Pippy contains the best examples

Re: CSound server questions

2008-08-29 Thread John Maloney
build. We would welcome, very much, Barry's input in Csound 5 development, if he'd like to be involved. Victor - Original Message - From: Jim Gettys [EMAIL PROTECTED] To: John Maloney [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; devel@lists.laptop.org; Chris Ball [EMAIL PROTECTED]; C

Re: CSound server questions

2008-09-01 Thread John Maloney
Development devel@lists.laptop.org Cc: John Maloney [EMAIL PROTECTED] Sent: Sunday, August 31, 2008 7:01 PM Subject: Re: CSound server questions Am 31.08.2008 um 19:04 schrieb victor: Well, you can ask me. I suppose there are various ways you could connect to Csound: 1. using the API (via a C

Re: Scratch localization.

2008-09-11 Thread John Maloney
Hi, Erik. Apologies for the delay in responding. I was on vacation, then finishing the Scratch 1.3 release. Scratch remembers the last language set by the user in the Scratch.ini file. If that file is read-only, it fails gracefully. In older versions of Scratch (such as the current XO

Scratch Sensor Board needs access to TTYUSB*

2008-09-11 Thread John Maloney
Hi, Jim. Claudia Urrea would like to get the Scratch Sensor Board working on the XO. There was a minor bug in the Scratch serial port support, which I've now fixed. The fix will be in the next Scratch activity bundle. But the other problem is that the USB port is not readable and writable

Getting a path to SUGAR_ACTVITY_ROOT

2008-09-11 Thread John Maloney
Hi, Scott. I wonder if you could give me a bit of guidance. The Scratch file dialogs have shortcuts for common folders on Windows and Mac, such as the desktop and the user's documents folder. Most of these shortcuts make no sense on the XO, but I thought that perhaps the documents

Re: Scratch localization.

2008-09-11 Thread John Maloney
Scratch to Scratch 1.3? Erik On Thu, Sep 11, 2008 at 05:37:48PM -0400, John Maloney wrote: Hi, Erik. Apologies for the delay in responding. I was on vacation, then finishing the Scratch 1.3 release. Scratch remembers the last language set by the user in the Scratch.ini file

Re: Java Scratch on XO

2008-12-01 Thread John Maloney
: On Tue, Nov 25, 2008 at 5:01 PM, [EMAIL PROTECTED] wrote: i'm forwarding this note from john maloney (scratch maintainer) to devel. this certainly sounds like a mime types issue, but i'm not sure where or how we'd augment the canonical list. Paul is right, Sugar is not being able

Re: Java Scratch on XO

2008-12-01 Thread John Maloney
Freudenberg wrote: On 01.12.2008, at 15:37, Tomeu Vizoso wrote: On Mon, Dec 1, 2008 at 3:16 PM, John Maloney [EMAIL PROTECTED] wrote: Hi, Tomeu. Thanks for your reply. It's great that there is a way to handle this! I took a quick look at the EToys .xo bundle and did not see

Re: Downloading Scratch project to XO

2008-12-15 Thread John Maloney
Hi, Phillipp. Thanks for reporting this problem. I believe there is a way to tell the XO to associate the .sb file extension with Scratch. I will look into that and let you know if I figure it out. -- John On Dec 14, 2008, at 8:03 PM, Philipp Kocher wrote: Hi I would like to

Re: Downloading Scratch project to XO

2008-12-16 Thread John Maloney
, at 18:53, John Maloney wrote: Hi, Phillipp. Thanks for reporting this problem. I believe there is a way to tell the XO to associate the .sb file extension with Scratch. I will look into that and let you know if I figure it out. -- John On Dec 14, 2008, at 8:03 PM, Philipp Kocher wrote

Re: Downloading Scratch project to XO

2008-12-16 Thread John Maloney
the activity. Instead, it passes the id of a datastore object, and the activity is supposed to retrieve that from the datastore. But this retrieval could be done in the Scratch wrapper script. - Bert - On 17.12.2008, at 00:35, John Maloney wrote: Hi, Bert. Re: does Scratch accept

Re: Journal integration for Scratch

2008-12-18 Thread John Maloney
Hi, Phillip. Re: Do you plan a journal integration for scratch? Probably not in the near future. There has been talk about making an API for the Journal that looks more like a file system to application programs. That might be the easiest way to integrate the Journal into Scratch in the

Re: Journal integration for Scratch

2008-12-18 Thread John Maloney
out how to reach them. I wish I could say the Journal does all of these things wonderfully!, but alas, I can only muster the Journal, as (re)designed, would do all of these things wonderfully! Hopefully we'll get there. - Eben On Thu, Dec 18, 2008 at 12:57 PM, John Maloney jmalo

Re: Journal integration for Scratch

2009-01-13 Thread John Maloney
Hi, Phillip. Thanks for all your hard work in tracking this down. I had looked at several other packages, including EToys, and couldn't figure out from them how to do this. I will make these changes to the next XO Scratch bundle. Is that all I need to do? What about the mime types XML file

Re: Journal integration for Scratch

2009-01-15 Thread John Maloney
regards, Philipp John Maloney wrote: Hi, Phillip. Thanks for all your hard work in tracking this down. I had looked at several other packages, including EToys, and couldn't figure out from them how to do this. I will make these changes to the next XO Scratch bundle. Is that all I need to do

Re: Journal integration for Scratch

2009-01-15 Thread John Maloney
Ahh, that would explain it! Maybe we need a couple of lines of shell script to check for the link and create it if it isn't there. -- John On Jan 15, 2009, at 7:56 AM, Bert Freudenberg wrote: On 15.01.2009, at 13:55, John Maloney wrote: Hi, Phillip. Re: There is a bug in Scratch

Re: Some testing notes for OS10 for the XO-1

2009-12-13 Thread John Maloney
Hi, Steven. The USB-serial cable that comes with the Scratch Sensor board needs a driver from Prolifix. That driver used to be included in the builds, but perhaps it was accidentally dropped? If you use a supported USB-serial adaptor cable, then I think the ScratchBoard will work. I just

Re: Some testing notes for OS10 for the XO-1

2009-12-14 Thread John Maloney
/ttyUSB0 shows: crw-rw 1 root dialout 188, 0 2009-12-14 09:52 /dev/ttyUSB0 User olpc is not in group dialout which means it doesn't have access to ttyUSB0. After adding olpc to group dialout the scratch board works fine. Regards, Philipp On 12/13/2009 11:17 PM, John Maloney wrote

Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2

2010-06-14 Thread John Maloney
Hi, Bert. Re: Tried sound playback in Scratch, it's choppy, many clicks to hear. Suspended fine, resumed playing sound. Recording does not freeze the activity, but has bad quality. Derek says that the recorded sound is actually okay if you export it and play it with a good sound player.

Re: F11-for-XO1.5 Release 10.1.1 Release Candidate 2

2010-06-14 Thread John Maloney
work. -- John On Jun 14, 2010, at 7:08 AM, Bert Freudenberg wrote: On 14.06.2010, at 13:01, John Maloney wrote: Hi, Bert. Re: Tried sound playback in Scratch, it's choppy, many clicks to hear. Suspended fine, resumed playing sound. Recording does not freeze the activity