#8610 LOW Future : Theme music for the XS

Zarro Boogs per Child bugtracker at laptop.org
Thu Sep 25 00:41:20 EDT 2008


#8610: Theme music for the XS
-----------------------------+----------------------------------------------
   Reporter:  douglas        |       Owner:  douglas       
       Type:  enhancement    |      Status:  assigned      
   Priority:  low            |   Milestone:  Future Release
  Component:  school server  |     Version:  not specified 
 Resolution:                 |    Keywords:                
Next_action:  never set      |    Verified:  0             
  Blockedby:                 |    Blocking:                
-----------------------------+----------------------------------------------

Comment(by douglas):

 Current tunes for usbmount:

 Start with a rising tone sequence:

 {{{
 # Fibonacci console beep
 hz1=50
 hz2=50
 while (($hz1 < 16000)); do
     echo -en '\033[10;'$hz1']\033[11;60]\007' > /dev/console
     sleep 0.1
     hz3=$hz1
     hz1=$(($hz1 + $hz2))
     hz2=$hz3
 done
 }}}

 End with a falling sequence:

 {{{
 ### Bells, descending
 hz=15000
 while (($hz > 50)); do
     echo -en '\033[10;'$hz']\033[11;60]\007' > /dev/console
     sleep 0.11
     hz=$(($hz * 2 / 3))
 done

 #reset beep
 echo -en '\033[10]\033[11]' > /dev/console
 }}}

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


More information about the Bugs mailing list