DEMO Python 1KHz Pure Sinewave Audio Generator.

Discussion in 'Mac Programming' started by wisecracker, Oct 28, 2012.

  1. macrumors newbie

    Joined:
    Sep 24, 2012
    #1
  2. macrumors regular

    Joined:
    Jun 11, 2011
    Location:
    Chicago
    #2
    Why wouldnt you just use scitools sound module? It's more readily available and the code is even shorter, just relies on numpy arrays

    Code:
    from scitools import sound
    sound.play(sound.Nothing_Else_Matters())
    
    Theres an example of the song 'nothing else matters'

    seems like you took the more complicated route.
     

Share This Page