#9930 NORM Not Tri: Scratch cannot record

Zarro Boogs per Child bugtracker at laptop.org
Sat Jan 2 19:25:17 EST 2010


#9930: Scratch cannot record
----------------------------------------+-----------------------------------
           Reporter:  sayamindu         |       Owner:  cscott                            
               Type:  defect            |      Status:  new                               
           Priority:  normal            |   Milestone:  Not Triaged                       
          Component:  scratch-activity  |     Version:  1.5 Software Build os64 aka 10.1.0
         Resolution:                    |    Keywords:                                    
        Next_action:  design            |    Verified:  0                                 
Deployment_affected:                    |   Blockedby:                                    
           Blocking:                    |  
----------------------------------------+-----------------------------------

Comment(by dmoco):

 Replying to [comment:4 sayamindu]:
 > Etoys uses a sampling rate of 11500. I was not sure how to change the
 rate from Scratch, so I hardcoded the rate to 11500 in the SqueakVM, and
 it worked.

 Thanks for confirming.

 I think in both Etoys and Scratch the sampling rate is set in
 SoundRecorder>>initialize (I will check the XO version tomorrow). The
 44100 rate must be specific to the XO because on my notebook Scratch is
 set to 22050 while Etoys is set to 11025.

 > Interestingly, arecord can record at the rate which normal Scratch asks
 from (44100).

 Possibly because there is less going on so fewer interrupts? Could also be
 that full duplex is enabled in Scratch hence even more interrupts. I find
 arecord/aplay good for checking that audio is functioning but they cannot
 give any indication of possible problems under high IO loads.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9930#comment:5>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list