Impulse - PulseAudio visualizer

Conky

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

44
Score 85.7%
Description:

Impulse is a bit of eye-candy for your desktop. It is a widget that displays a graphical spectrum analyzer on your gnome desktop. It is written in c and python and uses GTK and cairo graphics to generate the animation. the impulse library creates a pulse audio connection context that reads the output stream from pulseaudio in a thread natively which can then be read from python. You can specify impulse to either output the raw stream or output the fft of the raw stream.


Requires:
screenlets 1.2
libfftw3-3
libpulse0


Install:
1) Download and extract Impulse.tar.bz2
2) mv Impulse ~/.screenlets/
then open up the screenlets manager and start Impulse or open screenlets manager and click Install, navigate to the Impulse.tar.bz2 archive and click ok.
Last changelog:

9 years ago

Impulse 0.5.5
Fixed issue cause by latest Ubuntu update and added ability to change the audio source. Also updated the default theme.

Impulse 0.5.0
New structure. Themes now editable.

Impulse 0.2.4
Fixed screenlet menu bug and use a smarter way to identifying the pa monitor source.

Impulse 0.2.2
Added new screenlet themes

Impulse 0.2.0
Project is under a new name, Impulse. Now natively captures PulseAudio output source

Spectrolet 0.1.4:
Switched from ESOUND to Pulseaudio

Spectrolet 0.1.2:
Now preforms an fft on the audio stream

Spectrolet 0.1.0:
Now uses gtk.main correctly







Ausmosis

11 years ago

Great work!

Report

guizmos

11 years ago

Yeah cool to get it work with Pulseaudio. But it only work with the fft one. Can you post the older spectrolets with pulseaudio support please ?
Thanks

Report

guizmos

11 years ago

I succeed ; I look the program of the new spectrolets to modify the old one to work with pulseaudio.

Report

C

ianimal

11 years ago

awesome! eventually i still want to make a version where you can select different versions, and also change the colors, ext.

Report

techie

11 years ago

Your little widget looks very cool but I have a great problem.
In order to make your widget work, I must install esound. My system runs on pulseaudio system, so in order to make it work, I have to uninstall pulseaudio and install esound, but if I do this, I will lose my system's sound!

Is there is any way to make your widget work with pulseaudio? It would be awesome.

P.S: Esound is now considered deprecated in some systems like mandriva, maybe in the future it will be for other distributions.

Report

C

ianimal

11 years ago

yea, realize esound is becoming depreciated and I will need to find a better alternative when i get the time to figure it out but i am on Ubuntu 8.10 and pulseaudio is the standard sound server for it. you can load a ESOUND compatibility module which is what i am doing that implements a compatible protocol for most all ESOUND compatible programs so esdmon is really monitoring the pulseaudio socket.

Report

C

ianimal

11 years ago

NOW Compatible with PulseAudio. After an hour of messing around Spectrolet now uses PusleAudio directly and not ESOUND. So there ya go!

Report

techie

11 years ago

Many thanks ianimal! Works wonderfully now!
As I can see, the entire widget as been created in python, so, making it as a screenlet would be the final touch, since many of the people who like this maybe want it: or in a single desktop or maybe hidden and after invoking the widget layer make it visible again or maybe both.
But for nows works greatly! Oh btw, there is a way to change the color of the bars in the code? If yes where to look for it?

Report

C

ianimal

11 years ago

In Ubuntu and Debian the package is called pulseaudio-esound-compat

Report

techie

11 years ago

I've downloaded and installed that package for mandriva (it exists in the repos), but for some reason when I have banshee turned on and listening music, spectrolet will not take a single action! It is only a blue and red bar in the middle of the screen doing nothing...
Maybe spectrolet is not ready to capture sound from speakers with the esound compability package?

Report

C

ianimal

11 years ago

it is ready because I use the esound compatibility package with pulseaudio. You have to install the complatibility package as well as esound-clients (not esound-common, sorry my documentation was wrong). I am using esdmon which you probably don't have installed so now that you have esound compatibility installed you can install esound-clients and it should work with pulseaudio. I am hoping within a month I can find a way to use pulseaudio directly.

Report

b1tch3r

11 years ago

As far as i am aware i am using just pulse audio and it it working perfectly.

I am using UBUNTU 8.10 and gnome.

Thanks ianimal it is truly awesome.

i have even added this this to my startup scripts and it is flawless.

Thanks John

Report

DarphBobo

11 years ago

can i move it to the bottom of the screen?

Report

C

ianimal

11 years ago

Well there are two ways currently, if you enable "Move Window" compiz plugin then you can use alt + left click to move it where ever you want.

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 )

Report

DarphBobo

11 years ago

thanks!
i looked a little around the code.. i missed it.

Report

guizmos

11 years ago

Note that you can use the new and the old one at the same time by opening two terminal (usefull to close it easily CTRL+C)

Report

guizmos

11 years ago

Simple (Ubuntu 9.10) :
1-) Install package:
sudo apt-get install python-numpy python-gtk2 python-cairo esound-common

2-) Reboot
3-) Download and extract .tar
4-) Execute program :
python .../Spectrolets-0.1a1-r8/Spectrolets.py

Report

9

ubuntico

11 years ago

But, I think that an install tutorial could be helpful for many people.

Report

guizmos

11 years ago

Sorry but i don't understand how to make it work.
I install the correct package.
How start it ?

Report

guizmos

11 years ago

I find it ; i just missed to reboot the computer first...
pyton screenlets.py

Report

b1tch3r

11 years ago

Thank you so much!

Out of curiosity can i change the color or you for that matter to light brown, would fit better to my theme

Report

C

ianimal

11 years ago

Well currently its just hardcoded, eventually i will have a theme, animation editor but if you want to change it, you can go into the code and change it on line 77:


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 )

Report

b1tch3r

11 years ago

thank you,

When the new features have been implemented would you be so kind as to send a pm as i would like to test this further.

I have around fifty work pc's and would like to install this on all for the eye candy appeal and it is a great talking point.

I would also like your permission to do so.

Regards John

Report

C

ianimal

11 years ago

Will do, i am working on adding fourier transform option to visualize the frequency by power instead of visualizing the straight sound wave. I'll let you know about updates.

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!

Report

b1tch3r

11 years ago

loving it but my colour is grey!!!


Howw do i change it?

Report

9 years ago

Impulse 0.5.5
Fixed issue cause by latest Ubuntu update and added ability to change the audio source. Also updated the default theme.

Impulse 0.5.0
New structure. Themes now editable.

Impulse 0.2.4
Fixed screenlet menu bug and use a smarter way to identifying the pa monitor source.

Impulse 0.2.2
Added new screenlet themes

Impulse 0.2.0
Project is under a new name, Impulse. Now natively captures PulseAudio output source

Spectrolet 0.1.4:
Switched from ESOUND to Pulseaudio

Spectrolet 0.1.2:
Now preforms an fft on the audio stream

Spectrolet 0.1.0:
Now uses gtk.main correctly







12345678910
33
product-maker KDE4WasBetter Oct 14 2017 9 excellent
product-maker tavaresgerson May 27 2017 9 excellent
product-maker apocrifa Jan 03 2015 9 excellent
product-maker Brahimsalem Apr 16 2013 9 excellent
product-maker Xephexx Aug 19 2012 9 excellent
product-maker draco23hack Mar 15 2012 9 excellent
product-maker posixru Jan 04 2012 9 excellent
product-maker lolsas Oct 22 2011 9 excellent
product-maker Ahmose Jul 21 2011 9 excellent
product-maker tobaj Jul 19 2011 9 excellent
product-maker Thalic Jun 24 2011 9 excellent
product-maker kolesky Apr 11 2011 9 excellent
product-maker XNight Mar 15 2011 9 excellent
product-maker brainpower Feb 11 2011 9 excellent
product-maker linuxbear Feb 04 2011 9 excellent
product-maker thenameisadib Jan 08 2011 9 excellent
product-maker LGD Dec 31 2010 9 excellent
product-maker rafeviper Dec 26 2010 9 excellent
product-maker sw2 Dec 13 2010 9 excellent
product-maker kenpou7 Dec 13 2010 9 excellent
product-maker Drakon Dec 05 2010 9 excellent
product-maker li9ux Dec 05 2010 9 excellent
product-maker drxnele Dec 03 2010 9 excellent
product-maker areco23 Dec 02 2010 9 excellent
product-maker Naf71 Dec 02 2010 9 excellent
product-maker mixalns Dec 01 2010 9 excellent
product-maker nickcloy Dec 01 2010 9 excellent
product-maker mr32 Nov 28 2010 9 excellent
product-maker likimoki Nov 27 2010 9 excellent
product-maker lor-anonymous Nov 26 2010 9 excellent
product-maker scottiw2000 Nov 26 2010 9 excellent
product-maker ubuntico Nov 26 2010 9 excellent
product-maker mystica Nov 26 2010 9 excellent
product-maker Base: 4 x 5.0 Ratings
MojoMan
Feb 12 2016
simon9007
Feb 01 2012
tobaj
Jul 19 2011
bmfc187
Feb 12 2011
brainpower
Feb 11 2011
LGD
Dec 31 2010
sw2
Dec 13 2010
mystica
Nov 30 2010
mr32
Nov 28 2010
Dawei87
Nov 27 2010
masstrider
Aug 30 2010
CruelAngel
Jul 18 2010
wasabi
Jul 15 2010
MRTOA5T
Jun 18 2010
nanderz
Jun 09 2010
peacewithall
May 29 2010
Naf71
May 10 2010
sgl
Apr 23 2010
CLEARview
Feb 28 2010
gimox
Feb 27 2010
swano
Jan 21 2010
webmastir
Jan 04 2010
larryni
Dec 12 2009
raulmanoelr
Dec 05 2009
linux4ever
Dec 03 2009
btdwn
Oct 21 2009
romerotek
Aug 31 2009
Keidon
Aug 23 2009
shankru85
Aug 09 2009
momokatte
Jul 31 2009
gnuf
Jul 21 2009
switzak
Jul 19 2009
LaGaDesk
Jun 25 2009
maxo64
Jun 02 2009
Simmeson
May 26 2009
Telperien
May 24 2009
mixman2009
May 19 2009
berot3
May 16 2009
dilomo
May 03 2009
CookedGryphon
Apr 27 2009
dspencer82
Apr 12 2009
Ausmosis
Apr 12 2009
techie
Mar 09 2009
4tis
Mar 09 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.5.5
updated Dec 12 2010
added Feb 14 2009
downloads 24h
1
mediaviews 24h 0
pageviews 24h 24