Python and Jack

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux