Etoys: Sound-kfr.11.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: Sound-kfr.11.mcz

commits-2
Karl Ramberg uploaded a new version of Sound to project Etoys:
http://source.squeak.org/etoys/Sound-kfr.11.mcz

==================== Summary ====================

Name: Sound-kfr.11
Author: kfr
Time: 17 May 2011, 11:27:10 am
UUID: bf72f065-617e-f14b-ae5c-86f1a82c83cb
Ancestors: Sound-kfr.10

Sound Recorder show does not work properly
http://tracker.squeakland.org/browse/SQ-672

=============== Diff against Sound-kfr.10 ===============

Item was changed:
  ----- Method: RecordingControls>>addMenuButtonItemsTo: (in category 'initialization') -----
  addMenuButtonItemsTo: aMenu
  "The menu button was hit, and aMenu will be put up in response.  Populated the menu with the appropriate items."
 
  aMenu title: 'Sound Recorder Options' translated.
  aMenu addStayUpItem.
 
  aMenu addUpdating: #durationString target: self selector: #yourself argumentList: #().
 
  aMenu addTranslatedList: #(
  -
  ('help' putUpAndOpenHelpFlap 'opens a flap which contains instructions')
  -
  ('hand me a sound token' makeSoundMorph 'hands you a lozenge representing the current sound,  which you can drop into a piano-roll or an event-roll, or later add to the sound library.  Double-click on it to hear the sound')
  -) translatedNoop.
 
  Preferences eToyFriendly
  ifFalse:
  [aMenu addTranslatedList: #(
  ('trim' trim 'remove any blanks space at the beginning and/or end of the recording.  Caution -- this feature seems to be broken, at least on some platforms, so use at your own risk.  For safety, save this sound in its untrimmed form before venturing to trim.')) translatedNoop].
 
  aMenu addTranslatedList: #(
  ('choose compression...' chooseCodec 'choose which data-compression scheme should be used to encode the recording.')
+ ('wave editor' showEditor 'open up the wave-editor tool to visualize and to edit the sound recorded')) translatedNoop!
- ('wave editor' show 'open up the wave-editor tool to visualize and to edit the sound recorded')) translatedNoop!

Item was removed:
- ----- Method: RecordingControls>>show (in category 'menu commands') -----
- show
- "Show my samples in a WaveEditor."
-
- | ed w |
- recorder verifyExistenceOfRecordedSound ifFalse: [^ self].
- recorder pause.
- ed _ WaveEditor new.
- ed data: recorder condensedSamples.
- ed samplingRate: recorder samplingRate.
- w _ self world.
- w activeHand
- ifNil: [w addMorph: ed]
- ifNotNil: [w activeHand attachMorph: ed].
-
- !

Item was added:
+ ----- Method: RecordingControls>>showEditor (in category 'menu commands') -----
+ showEditor
+ "Show my samples in a WaveEditor."
+
+ | ed w |
+ recorder verifyExistenceOfRecordedSound ifFalse: [^ self].
+ recorder pause.
+ ed _ WaveEditor new.
+ ed data: recorder condensedSamples.
+ ed samplingRate: recorder samplingRate.
+ w _ self world.
+ w activeHand
+ ifNil: [w addMorph: ed]
+ ifNotNil: [w activeHand attachMorph: ed].
+
+ !

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev