Go to advanced search

by GeekTeacher
Fri Oct 09, 2015 7:31 pm
Forum: Scratch
Topic: Sept 2015 Scratch release
Replies: 29
Views: 4117

Re: Sept 2015 Scratch release

Hi, is it possible to upgrade the Scratch suppiled in Wheezy to the new version with gpio support? Any details of how to install it appreciated.
by GeekTeacher
Sat Sep 29, 2012 8:44 pm
Forum: Raspbian
Topic: ALSA on Raspbian
Replies: 167
Views: 142392

Re: ALSA on Raspbian

Thanks to all who replied to my post seeking help for reading the input from a USB mic. The best solution I had was from Adam Bialas via a PM, who suggested the following for the asound.conf file: ctl.!default { type hw card 0 } pcm.usb { type hw card "U012529205" format S16_LE } pcm.!default { type...
by GeekTeacher
Mon Sep 17, 2012 8:35 pm
Forum: Raspbian
Topic: ALSA on Raspbian
Replies: 167
Views: 142392

Re: ALSA on Raspbian

Desperately seeking an ALSA Guru to sort USB microphone problem OK, so I've made a fresh Raspian image and updated my firmware. I've installed python-alsaaudio, set 'amixer cset numid=3 2' for analogue audio out. The sample files all play (with 'aplay /usr/share/sounds/alsa/Front_Right.wav' etc) and...
by GeekTeacher
Sat Sep 15, 2012 7:34 pm
Forum: Python
Topic: Learning To code with Pyhton
Replies: 9
Views: 1975

Re: Learning To code with Pyhton

Perhaps this thread should be called 'Learning to Spell' :D
by GeekTeacher
Sat Sep 15, 2012 3:37 pm
Forum: Python
Topic: Reading USB microphone input
Replies: 6
Views: 21921

Re: Reading USB microphone input

Sorry, I didn't get the code snippet from StackOverflow, although I have tried others from there.
I got it from here: http://code.google.com/p/pygalaxy/wiki/SoundAnalyse

And I downloaded and installed the relevant libraries by following the instructions here - at least I think I did.
by GeekTeacher
Sat Sep 15, 2012 3:03 pm
Forum: Python
Topic: Reading USB microphone input
Replies: 6
Views: 21921

Re: Reading USB microphone input

@BlackJack Thanks for your reply, I do hope you can help me get this thing working. The first thing I want to say is that I can record from a USB mic using Audacity on a RPi and it uses the ALSA driver - it also plays back through the analogue audio jack when I set 'amixer cset numid=3 1'. My aplay ...
by GeekTeacher
Sat Sep 15, 2012 10:49 am
Forum: Recommended peripherals
Topic: Status of SD card compatibility - What should I buy?
Replies: 106
Views: 123011

Re: Status of SD card compatibility - What should I buy?

Hi, can someone just tell me the name of one low-cost 8gb SD card that will definitely work without any issues using the latest Raspian image. There's sometimes just too much information available to make a decision! Cheers.
by GeekTeacher
Sat Sep 15, 2012 9:55 am
Forum: Python
Topic: Reading USB microphone input
Replies: 6
Views: 21921

Reading USB microphone input

Can anyone tell me how to read the input (e.g. volume, pitch etc) from a USB microphone in Python on the RPi please? I can record from a USB mic in Audacity on the RPi and then playback the recording, so I assume the ALSA drivers are working OK, but all the Python code examples I have tried so far g...
by GeekTeacher
Sat Sep 15, 2012 9:42 am
Forum: Raspbian
Topic: ALSA on Raspbian
Replies: 167
Views: 142392

Re: ALSA on Raspbian

@kadamski @everyone I've just noticed that in spite of the ALSA errors I mentioned in my previous post, the Espeak text-to-speech synth does actually work, by which I mean it outputs audio through the analogue jack. It will read out text files in a voice like Stephen Hawking's or read out text lines...
by GeekTeacher
Fri Sep 14, 2012 11:23 am
Forum: Raspbian
Topic: ALSA on Raspbian
Replies: 167
Views: 142392

Re: ALSA on Raspbian

@kadamski Many thanks for your help - I appreciate it. Have you any other suggestions for why I get the error messages with ALSA then please? Apart from using Espeak, I'm trying to read the input from a USB mike too. I've got some Python code to do this, but I get similar ALSA errors about unknown P...
by GeekTeacher
Fri Sep 14, 2012 11:09 am
Forum: Raspbian
Topic: ALSA on Raspbian
Replies: 167
Views: 142392

Re: ALSA on Raspbian

If PulseAudio is not installed in the default image, I've not got it - should I install it? There was no /etc/asound.conf file at first, and I've tried making one from the info in these forums - but it doesn't seem to help. Is a reboot necessary every time you make a change? Having said that, it has...
by GeekTeacher
Fri Sep 14, 2012 10:44 am
Forum: Raspbian
Topic: ALSA on Raspbian
Replies: 167
Views: 142392

Re: ALSA on Raspbian

Hi, another newbie to Linux, ALSA and Pi here. I'm trying to run the Espeak text-to-voice synth under Raspian and get the ALSA errors shown below. I've tried to follow the threads on this forum to sort the problem, but I'm now totally confused - could someone please help? I've included my aplay sett...
by GeekTeacher
Mon Sep 03, 2012 1:43 pm
Forum: Scratch
Topic: Scratch connectivity
Replies: 21
Views: 12523

Re: Scratch connectivity

I have now been informed of the correct Scratch terminology for items to which I refer in my post above about using the PiFace interface:

'button' - Blocks Palette
'control' - Blocks
'program window' - Scripts Area

Thanks to Steve Swindley (http://steve.swindley.co.uk/) for this.
by GeekTeacher
Wed Aug 29, 2012 2:24 pm
Forum: Scratch
Topic: Scratch connectivity
Replies: 21
Views: 12523

Re: Scratch connectivity

Due to a couple of requests, I've produced this verbose guide on how to control the PiFace with Scratch. I can't claim any specialist technical wizardry on this matter and all the info is available on the web, but I do hope I have managed to clarify the steps needed to do this. How to use Scratch to...
by GeekTeacher
Tue Aug 28, 2012 7:23 pm
Forum: Scratch
Topic: Scratch connectivity
Replies: 21
Views: 12523

Re: Scratch connectivity

It's OK :? I've finally got my head around how to do it. Although technically correct, the instructions from the PiFace team are not at all clear for someone who is not familiar with the Scratch and Linux environment, even when they are experienced computer users. Anyway, I'm now controlling the PiF...
by GeekTeacher
Mon Aug 27, 2012 8:14 pm
Forum: Scratch
Topic: Scratch connectivity
Replies: 21
Views: 12523

Re: Scratch connectivity

Could someone please provide me with a step-by-step approach to using Scratch with the PiFace. I've downloaded the 4gb Debian distro provided by the PiFace team which should include everything necessary to control Scratch (with Mesh-enabled) from the desktop. But I just can't seem to get my head aro...

Go to advanced search