[linux-audio-user] Python and Jack
    Renato Fabbri 
    renatoftato at yahoo.com
       
    Thu Dec  7 05:18:43 EST 2006
    
    
  
Hi all,
I am trying to output some audio through jack using the sndobj library. I get only a short beep..
Usind the sndobj library on python, pysndobj, here is a simple case of what, in my head, should output a left channel sinusoid for 3s:
___
from sndobj import *
import time
tab = HarmTable()
osc = Oscili(tab, 440,16000)
jack = SndJackIO('theremin')
jack.SetOutput(1, osc)
osc.DoProcess()
jack.Write()
time.sleep(3)
del jack
del osc
_________
help?
renf
 
____________________________________________________________________________________
Any questions? Get answers on any topic at www.Answers.yahoo.com.  Try it now.
    
    
More information about the Linux-audio-user
mailing list