


Conky by ianimal 202 comments
$ pacmd set-source-mute 0 0
The first '0' is the index of the source. To find the index of the source you are using run the command:
$ pacmd list-sources - Nov 25 2010

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments
Quote:
import impulse, time
while 1:
time.sleep( .3 )
print impulse.getSnapshot( True )
should print out an array of floats each between 0 and 1, which represents the height of the wave as a percent. Passing True into getSnapshot will make impulse perform a fft (fast fourier transform) on the audio snapshot. I am not sure why you are getting all zeros. Either (sorry for asking this) no audio is playing when you run your script or you have multiple output devices and the output device used is not the first device recognized by PulseAudio. Impulse has a current limitation that it picks the first output audio device from PulseAudio and does not provide an interface to choose a different output device. If at any point you are interested in contributing code to the project I can add you to the impulse development team on launchpad.net - Feb 16 2010

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments
.screenlets/Impulse/ImpulseScreenlet.py
If the output is long just P.M. it to me otherwise just reply to this comment with the output. - Jun 20 2009

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments

Conky by ianimal 202 comments
You can also edit line:
273: win.move( screen_rect.width / 2 - width / 2 + screen_rect.x, screen_rect.height / 2 - height / 2 + screen_rect.y )
and change it to:
273: win.move( screen_rect.width / 2 - width / 2 + screen_rect.x, screen_rect.height - height + screen_rect.y )
- Mar 03 2009

Conky by ianimal 202 comments
You can do anything you want with this without my permission as long as it abides by the GPL license , which is pretty much anything you want!
and thanks for appreciating my work! - Feb 23 2009

Conky by ianimal 202 comments
77: cr.set_source_rgba( 0.0, 0.6, 1.0, 0.8 )
obviously the first number is red, second is green, third is blue, and fourth is alpha. if you only know the html (hex) color representation like #CC9966 you can convert that by entering it like:
77: cr.set_source_rgba( 0xCC / 255.0, 0x99 / 255.0, 0x66 / 255.0, 0.8 )
- Feb 22 2009

Conky by ianimal 202 comments

Conky by ianimal 202 comments