I've already had several message asking about the 'improvements made to Scratch' so herewith a list of the changes I've made recently. It's now built on the recently released Squeak 5.1 release (see http://www.squeak.org as always) with the latest in virtual machines etc. This has made the system ar...
Apologies for the delayed response; busy-busy! I've been flying radio controlled model planes for... 43 years now, gulp... a while, and have always understood the proper signal to range from 1000 to 2000 microseconds with the centre at 1500. If anyone can find me a good authoritative reference expla...
Dang. Sorry to hear it didn't improve things for you. I'm quite sure it's an issue with the size of the sound sample buffer combined with the lack of the VM routine to support merging sample into already running sounds - I've instrumented it and the evidence is pretty clear. I just need to find some...
Argh, that was my fault; I gave you bad instructions on starting the experimental system. Try squeak NuScratch20160915.image instead. I forgot that the older release scratch shell script explicitly set the name of the .image file to use so you were actually running the old release despite asking (yo...
I've put in a fix for this that should appear in the next release. In the meantime, don't worry too much. You should be ok if you just click on the 'abandon' button in that error notifier. You might possibly need to also click on the red 'Stop' scratch button too.
OK, try downloading https://github.com/raspberrypi/scratch/blob/master/NuScratch20160915-exp.tgz unzip it in your home directory with tar xzvf NuScratch20160915-exp.tgz You should get a single .image file. In your terminal do scratch NuScratch20160915.image If you try your project it should work as ...
Unfortunately the way I have to set up the Scratch .image file it isn't possible to edit the code and compile it as a user. I *am* working on fixing that, but not soon.
I'll see about making a hacked image available to you soon; got visitors today so maybe tomorrow.
I spent some truly fascinating time digging into tracing and monitoring the sound player stuff and I have good news and bad news. The good news is that you can improve part of the delay very simply for yourself. The bad news is that the biggest part of the problem is definitely caused by the length ...
Looking carefully at the VM code for the unix sound system I see that the quick-start option isn't supported on anything except Mac OS. Sorry about that; somebody with experience in making the utterly deranged unix sound api work properly should be able to sort that out. That isn't likely to be me t...
Well I like the looks of this enough to throw money at it. With the boot-from-usb stuff sorted and an SSD plugged in it should make a really nice desktop development box.
(I've reported the post to ask it be moved to the Scratch forum - much easier for me to find later) I've not seen the error you are reporting before, but it's quite a while since I tested the PiFace board. I'll take a look soon and see if I can spot a problem. Meanwhile if you could post the 'squeak...
You can't directly call a python program from Scratch (you can from Squeak, but that facility is not extended to Scratch) BUT you can fairly easily write python programs that use sockets to talk with Scratch. GHP - a regular poster here - has a neat suite of Python that does a lot of good stuff. Sim...
\I haven't checked out scratch, but sounds fun ! Can you tell us the language of programming and how audio is played ? What libraries does the software rely on ? Scratch is written in Squeak Smalltalk. Go to www.squeak.org to find out more. You can download an all-in-one zip of the latest version o...
Hello, there is a known flaw in scratch. Short sounds are not played reliable. https://github.com/raspberrypi/scratch/issues/150 So far as I can tell this isn't a problem anymore - the next release Scratch with the latest Raspbian seems to play the pop ok to me, though the sound quality from the he...
Okay, let me explain the problem better with the scratch project. Open the project, press the right arrow : the sound handclap is playing with low latency. Now, press the left arrow, the cave sample is playing. When the sample cave is playing press the right arrow. The handclap sound is playing wit...
Good grief that's an obnoxious service. Make you watch a pointless video and turn off adblocking? What next - make you type in your credit card number?
I can't replicate this at the moment; on my Pi3 with the latest (not release but soon) Scratch.I can't replicate it on a Pi2 I keep with older Scratch either. If I import two samples and make a script to play one who left-arrow is pressed and the other when right-arrow is pressed I have no problem i...
For the visible drives, I'm assuming they have to be mounted first? Honestly, I don't really know. If I understood right the original intent was to allow Windows users to see only a restricted list of attached disks (a setup done by teacher, for example) but the code is a bit fluffy and since I've ...
Any update on this? I'm a teacher with 30 sense hats and 100% Scratch crashing Then you should have updated your Pi's, since this was fixed (at least, the wiringPi-kills-Scratch part) in the May release of Raspbian. IF you're still having problems, please start a new thread and explain what is happ...
I've just updated my usb disc setup wit the latest stuff and can confirm that it seems to fix the limited memory issue for me. I had lot of trouble getting it to boot though and it seems like maybe once in three tries it will work. It took fiddling and many tries to get it to boot and then connect v...
Sorry, can't offer much help on this; my SR04 seems to work well out to about 300 cm and down to maybe 4cm.
Is there any possible obstruction in front of your sensor? I know that if I place mine just wrong it gets a reflection from the case which messes things up.
The scratch ini file can have a modest range of commands in it. language = some language descriptor fitting the two-letter ISO 639-1 standard per https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes home = directory for home visible drives = a list of drive names (Windows) or root directories (Mac)...