I'm unhappy with the sound quality in Panther/Scratch and I'm wondering if there's a way (preferably via a block) to play a sound file saved on your computer via the computer's own sound player (in the same way that windows media player and sound effects like click and error are played) as this would allow stereo sound from any compatiable sound file without the horrible characteristic jumping, stalling and low quality mono sound so common in the Scratch sound player. Any suggestions?
Thanks
Offline
sparks wrote:
I'm unhappy with the sound quality in Panther/Scratch and I'm wondering if there's a way (preferably via a block) to play a sound file saved on your computer via the computer's own sound player (in the same way that windows media player and sound effects like click and error are played) as this would allow stereo sound from any compatiable sound file without the horrible characteristic jumping, stalling and low quality mono sound so common in the Scratch sound player. Any suggestions?
Thanks![]()
Hmm... I am not sure what you mean exactly. You mean that you wan't it to be able to play a sound with better quality? I am not sure. Or do you mean that you want it to be able to open windows media player and play a sound on it?
Offline
I mean I want squeak to be able to specify a sound file for windows to play. Exactly how it's done isn't too important it's just that the current method does not play sound with any kind of quality and I'm wondering if there's a better way of playing sounds and music. squeak controlling Windows Media Player would be a solution
Offline
sparks wrote:
I mean I want squeak to be able to specify a sound file for windows to play. Exactly how it's done isn't too important it's just that the current method does not play sound with any kind of quality and I'm wondering if there's a better way of playing sounds and music. squeak controlling Windows Media Player would be a solution
![]()
What about using a DLL (since I know Scratch can manage DLLs) and code it in a language you know, such as VB or C++?
Offline
sparks wrote:
tempting... I've only just started learning C++ though so I think coding a DLL would totally fail
![]()
I tried, and it's really not that hard! It's almost like coding yourself, but you make it nice and understandable.
Offline
sparks wrote:
I mean I want squeak to be able to specify a sound file for windows to play. Exactly how it's done isn't too important it's just that the current method does not play sound with any kind of quality and I'm wondering if there's a better way of playing sounds and music. squeak controlling Windows Media Player would be a solution
![]()
I thought about it all day and came to a conclusion. I think if you were to look at the code that allows you to import sounds you may be able to make it do that. I have too many things I am working on right now.
Offline