Hi
When trying to open one of the Scratch example audio files an error message states 'invalid sound format'.
The sound module loaded is snd-bcm2835 and audio through the supplied audio player works.
Any solution to the problem?
Thanks
Ray
Invalid Audio file reported
6 posts
Ray
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
Now made sure that all sound files play through LXMusic (ogg, .wav and .mp3).
In Scratch there are two problems -
1. The .wav files load but do not create any sound when tested
2. The .mp3 files do not load as they are not recognised as a valid audio file.
I ran Scratch from a terminal window with same end result, but the following error message appeared four times - "sound: /dev/dsp: no such file or
directory".
All sound is being output through HDMI.
Can anyone help?
In Scratch there are two problems -
1. The .wav files load but do not create any sound when tested
2. The .mp3 files do not load as they are not recognised as a valid audio file.
I ran Scratch from a terminal window with same end result, but the following error message appeared four times - "sound: /dev/dsp: no such file or
directory".
All sound is being output through HDMI.
Can anyone help?
Ray
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
I have exactly the same problem with sound in SCRATCH as RayLS
Does "sound: /dev/dsp: no such file or directory" mean that my card is corrupt or incomplete?
Does "sound: /dev/dsp: no such file or directory" mean that my card is corrupt or incomplete?
- Posts: 1
- Joined: Fri Sep 21, 2012 1:52 pm
I don't think the problem is a corrupt card as we get identical symptoms. It's more likely that Scratch is looking in the wrong place for what it needs to produce sounds or that the implementation on the rPi is still not stable.
It would be good if someone from the Scratch dev team could look at this or give a definitive answer.
It would be good if someone from the Scratch dev team could look at this or give a definitive answer.
Ray
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
On researching this problem a bit more I have found that it looks like Scratch, by trying /dev/dsp/, is trying to use OSS (an older open source sound achitecture).
I tried load in the ALSA OSS emulation for this but it created more problems and then crashed the rPi.
Is there a newer version of Scratch without this problem?
I tried load in the ALSA OSS emulation for this but it created more problems and then crashed the rPi.
Is there a newer version of Scratch without this problem?
Ray
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
Update: I have now have the latest image installed. Marginal change in Scratch in that it now plays .wav files, but still fails to recognise mp3 files (even the samples supplied).
All files play OK in LXMusic.
All files play OK in LXMusic.
Ray
You are never too old to set another goal or to dream a new dream.
C.S. Lewis
You are never too old to set another goal or to dream a new dream.
C.S. Lewis