This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-05-22 09:18:21

jgearing
New Scratcher
Registered: 2012-05-22
Posts: 5

raspberry pi

Any body had any luck with sound from scratch on a Pi
the sound is working OK, can play mp3s, But nothing in scratch

any thoughts

JG

Offline

 

#2 2012-05-22 19:27:09

Haiming
Scratcher
Registered: 2011-08-20
Posts: 1000+

Re: raspberry pi

what?

Offline

 

#3 2012-05-23 02:42:39

jgearing
New Scratcher
Registered: 2012-05-22
Posts: 5

Re: raspberry pi

which bit did you not understand

JG

Offline

 

#4 2012-05-23 07:39:19

jontmy00
Scratcher
Registered: 2011-11-28
Posts: 1000+

Re: raspberry pi

Is raspberry pie an operating system?


FOR ALL THE NEWS ON UPDATES FOR SIMPLISTICRAFT, CLICK HERE.

Offline

 

#5 2012-05-23 08:43:10

jgearing
New Scratcher
Registered: 2012-05-22
Posts: 5

Re: raspberry pi

It would  take  too long to explain, especially at my typing speed
I suggest you google it but basically it's a credit card sized computer running Linux
Sells for about $25 in your money

JG

Offline

 

#6 2012-05-23 11:17:54

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: raspberry pi

jontmy00 wrote:

Is raspberry pie an operating system?

No its a small pc that runs Linux (detain i think)

Which linux distro do you have?


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#7 2012-05-23 11:46:50

jgearing
New Scratcher
Registered: 2012-05-22
Posts: 5

Re: raspberry pi

It's running Debian squeeze but  please don't ask me about it because I'm totally
clueless
Incidentally I've just got  the sound  working thanks to a member of the Pi forum

JG

Offline

 

#8 2012-05-23 13:46:22

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: raspberry pi

jgearing wrote:

It's running Debian squeeze but  please don't ask me about it because I'm totally
clueless
Incidentally I've just got  the sound  working thanks to a member of the Pi forum

JG

ok would you mind telling us how?


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

#9 2012-05-23 14:13:26

jgearing
New Scratcher
Registered: 2012-05-22
Posts: 5

Re: raspberry pi

I can only send you the post from the Pi forun that I used
I trust the author won't mind
Follows:
by Sharks58uk

I have the same issue.

Here's how I fixed half the problem. This worked for me but I really don't know what I'm doing - I'm not familiar with debian or smalltalk so I don't recommend you try this  wink

I found a script that I assume is written in smalltalk that runs when you run scratch. It's at /usr/bin/scratch
I removed code that *looks like* it's setting up the sound, and added code that sets the sound to use alsa drivers - which I installed on my system when I was trying to get sound to output to the jack rather than the default auto select (I'm using HDMI it a monitor with a separate audio in).

I changed the lines that say:

Code: Select all
    if pulseaudio - - check 2>/dev/null ; then
         VMOPTIONS="$VMOPTIONS -vm-sound-oss"
         if padsp true 2>/dev/null ; then
              WRAPPER=padsp
         fi
    fi


to say this instead

Code: Select all
    #if pulseaudio - - check 2>/dev/null ; then
    #    VMOPTIONS="$VMOPTIONS -vm-sound-oss"
    #     if padsp true 2>/dev/null ; then
    #          WRAPPER=padsp
    #     fi
    #fi

    VMOPTIONS="$VMOPTIONS -vm-sound-alsa"


The # symbols comment out the old code so it's ignored.
Now I can make the cat meow (i.e. scratch plays the silent files) but it still won't load some of the files included in scratch.

Hope this helps, let me know if you find a better solution!

Offline

 

#10 2012-05-23 14:52:40

muppetds
Scratcher
Registered: 2011-02-11
Posts: 1000+

Re: raspberry pi

thats would help some people


SCRATCH'S PARTLY INSANE RESIDENT 
http://internetometer.com/imagesmall/31691.pnghttp://bluetetrarpg.x10.mx/usercard/?name=muppetds

Offline

 

Board footer