Howdy!
I have a lot of big sampled speech (form .wav files -- MixedSound objects) in the SoundLibrary and I'd like to compress them with GSMCodec and still use them with 'make sound' tiles. Can someone please give me an incantation?
I'm off to a school in the morning but I need to prune RAM usage somewhat first :-)
"Change Set: SoundLibraryCompress Date: 5 December 2007 Author: Karl Ramberg
Add a halo menu item that GSM compress and replace the selected sound "
This option was missing from the SoundLibraryTool. Hope this works :-)
Karl
Luke Gorrie wrote:
Howdy!
I have a lot of big sampled speech (form .wav files -- MixedSound objects) in the SoundLibrary and I'd like to compress them with GSMCodec and still use them with 'make sound' tiles. Can someone please give me an incantation?
I'm off to a school in the morning but I need to prune RAM usage somewhat first :-) _______________________________________________ Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
'From etoys2.3 of 3 December 2007 [latest update: #1820] on 5 December 2007 at 3:13:43 pm'! "Change Set: SoundLibraryCompress Date: 5 December 2007 Author: Karl Ramberg
Add a halo menu item that GSM compress and replace the selected sound "!
!SoundLibraryTool methodsFor: 'menu' stamp: 'kfr 12/5/2007 15:11'! addCustomMenuItems: aMenu hand: aHand "Add custom menu items to a menu"
super addCustomMenuItems: aMenu hand: aHand. aMenu addTranslatedList: #( ('wave editor' edit 'open a tool which, operating with the selected sound as a point of departure, will allow you to construct a new "instrument"') ('GSM compress sound' compress 'compress the sound with GSM compression and replace the uncompressed one') ) translatedNoop! !
!SoundLibraryTool methodsFor: 'menu' stamp: 'kfr 12/5/2007 15:10'! compress "Compress the sound." | newSound name writer | soundIndex > 0 ifTrue: [newSound _ GSMCodec new compressSound:currentSound .]. writer := ByteArray new writeStream. newSound channels do: [:channel | writer nextPutAll: channel]. name := listBox getList at: soundIndex. SampledSound removeSoundNamed: name. SampledSound addLibrarySoundNamed: name bytes: writer contents codecSignature: newSound codecSignature ! !
Wouldn't the speex codec work much better than GSM?
- Bert -
On Dec 5, 2007, at 15:16 , Karl wrote:
"Change Set: SoundLibraryCompress Date: 5 December 2007 Author: Karl Ramberg
Add a halo menu item that GSM compress and replace the selected sound "
This option was missing from the SoundLibraryTool. Hope this works :-)
Karl
Luke Gorrie wrote:
Howdy!
I have a lot of big sampled speech (form .wav files -- MixedSound objects) in the SoundLibrary and I'd like to compress them with GSMCodec and still use them with 'make sound' tiles. Can someone please give me an incantation?
I'm off to a school in the morning but I need to prune RAM usage somewhat first :-) _______________________________________________ Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
Bert Freudenberg wrote:
Wouldn't the speex codec work much better than GSM?
- Bert -
I hope so. I tested a little with GSM and it sounded quite bad. I'll read up a little on how to use speex
Karl
On Dec 5, 2007, at 15:16 , Karl wrote:
"Change Set: SoundLibraryCompress Date: 5 December 2007 Author: Karl Ramberg
Add a halo menu item that GSM compress and replace the selected sound "
This option was missing from the SoundLibraryTool. Hope this works :-)
Karl
Luke Gorrie wrote:
Howdy!
I have a lot of big sampled speech (form .wav files -- MixedSound objects) in the SoundLibrary and I'd like to compress them with GSMCodec and still use them with 'make sound' tiles. Can someone please give me an incantation?
I'm off to a school in the morning but I need to prune RAM usage somewhat first :-) _______________________________________________ Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
Etoys mailing list Etoys@lists.laptop.org http://lists.laptop.org/listinfo/etoys
Karl wrote:
Bert Freudenberg wrote:
Wouldn't the speex codec work much better than GSM?
- Bert -
I hope so. I tested a little with GSM and it sounded quite bad. I'll read up a little on how to use speex
Karl
Where can I get the Ogg plugin for Windows or Mac PPC?
Karl
On Dec 5, 2007, at 16:38 , Karl wrote:
Karl wrote:
Bert Freudenberg wrote:
Wouldn't the speex codec work much better than GSM?
- Bert -
I hope so. I tested a little with GSM and it sounded quite bad. I'll read up a little on how to use speex
Karl
Where can I get the Ogg plugin for Windows or Mac PPC?
See
http://lists.laptop.org/pipermail/etoys/2007-March/000468.html
- Bert -
On Dec 5, 2007, at 17:02 , Bert Freudenberg wrote:
On Dec 5, 2007, at 16:38 , Karl wrote:
Karl wrote:
Bert Freudenberg wrote:
Wouldn't the speex codec work much better than GSM?
- Bert -
I hope so. I tested a little with GSM and it sounded quite bad. I'll read up a little on how to use speex
Karl
Where can I get the Ogg plugin for Windows or Mac PPC?
See
http://lists.laptop.org/pipermail/etoys/2007-March/000468.html
Oh, actually it's gone from tinlizzie ... so I'm not sure.
- Bert -
Bert Freudenberg wrote:
On Dec 5, 2007, at 16:38 , Karl wrote:
Karl wrote:
Bert Freudenberg wrote:
Wouldn't the speex codec work much better than GSM?
- Bert -
I hope so. I tested a little with GSM and it sounded quite bad. I'll read up a little on how to use speex
Karl
Where can I get the Ogg plugin for Windows or Mac PPC?
See
http://lists.laptop.org/pipermail/etoys/2007-March/000468.html
- Bert -
Ah, great, I googled 'oggplugin.win.zip' and found it at http://metatoys.org/pub/ :-) Thanks Karl
Hi Luke,
Sorry about the API is too complicated though, this is a way of compressing a sound the SoundLibrary. I assumed the sound tile name is 'tada'.
| soundName compressed | soundName := 'tada'. compressed := (SampledSound soundNamed: soundName) compressWith: GSMCodec. SampledSound addLibrarySoundNamed: soundName bytes: compressed channels first codecSignature: compressed codecSignature.
Cheers, - Takashi
2007/12/5, Luke Gorrie luke@member.fsf.org:
Howdy!
I have a lot of big sampled speech (form .wav files -- MixedSound objects) in the SoundLibrary and I'd like to compress them with GSMCodec and still use them with 'make sound' tiles. Can someone please give me an incantation?
I'm off to a school in the morning but I need to prune RAM usage somewhat first :-)
etoys-dev@lists.squeakfoundation.org