Differences between revisions 24 and 31 (spanning 7 versions)
Revision 24 as of 2010-11-22 03:32:58
Size: 10194
Editor: Eviatar
Comment:
Revision 31 as of 2012-05-09 04:06:56
Size: 10234
Editor: jason
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:
by Marshall Hampton. When the two frequencies are well seperated, we hear the right hand side of the identity. When they start getting close, we hear the higher-pitched factor in the left-hand side modulated by the lower-pitched envelope.

{{{
by Marshall Hampton. When the two frequencies are well separated, we hear the right hand side of the identity. When they start getting close, we hear the higher-pitched factor in the left-hand side modulated by the lower-pitched envelope.

{{{#!sagecell
Line 28: Line 28:
def sinsound(freq_ratio = slider(0,1,1/144,1/12)): def sinsound(freq_ratio = slider(1/144,1,1/144,1/12)):
Line 41: Line 41:
    html('<embed src="https:./test'+ lab +'.wav" width="200" height="100"></embed>')     html('<embed src="cell://test'+ lab +'.wav" width="200" height="100"></embed>')
Line 49: Line 49:
{{{ {{{#!sagecell
Line 100: Line 100:
    html('<embed src="https:./test'+ lab +'.wav" width="200" height="100"></embed>')     html('<embed src="cell://test'+ lab +'.wav" width="200" height="100"></embed>')
Line 107: Line 107:
{{{ {{{#!sagecell
Line 163: Line 163:
{{{ {{{#!sagecell
Line 177: Line 177:
{{{ {{{#!sagecell
Line 184: Line 184:
    print "<html>" # trick to avoid word wrap
Line 186: Line 185:
        cProfile.run(cmd)         cProfile.runctx(cmd,globals(), locals())
Line 188: Line 187:
        profile.run(cmd)
   print "</html>"
        profile.runctx(cmd,globals(), locals())
Line 197: Line 195:
{{{ {{{#!sagecell
Line 208: Line 206:
{{{ {{{#!sagecell
Line 256: Line 254:
{{{
%python
{{{#!sagecell
Line 286: Line 282:
}}}
{{{

Sage Interactions - Miscellaneous

goto interact main page

Hearing a trigonometric identity

by Marshall Hampton. When the two frequencies are well separated, we hear the right hand side of the identity. When they start getting close, we hear the higher-pitched factor in the left-hand side modulated by the lower-pitched envelope.

sinsound.png

Karplus-Strong algorithm for plucked and percussive sound generation

by Marshall Hampton

KarplusStrong.png

An Interactive Venn Diagram

veng.png

Unreadable code

by Igor Tolkov

unreadable.png

Profile a snippet of code

profile.png

Evaluate a bit of code in a given system

by William Stein (there is no way yet to make the text box big):

evalsys.png

Minkowski Sum

by Marshall Hampton

minksum.png

Cellular Automata

by Pablo Angulo, Eviatar Bach

cellular2.png

interact/misc (last edited 2020-06-05 20:32:41 by mathzeta2)