# How to make a widget that has a vertical bar, and an "audio graph" display, for audio files?

**URL:** <https://www.ruby-forum.com/t/how-to-make-a-widget-that-has-a-vertical-bar-and-an-audio-graph-display-for-audio-files/232098>\
**Category:** Ruby-Gnome 2\
**Created:** [September 18, 2014, 2:38am UTC](https://www.ruby-forum.com/t/how-to-make-a-widget-that-has-a-vertical-bar-and-an-audio-graph-display-for-audio-files/232098 "2014-09-18T02:38:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![addis\_a](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c4cdca/32.png) [@addis\_a](https://www.ruby-forum.com/u/addis_a)\
**Post date:** [September 18, 2014, 2:38am UTC](https://www.ruby-forum.com/t/how-to-make-a-widget-that-has-a-vertical-bar-and-an-audio-graph-display-for-audio-files/232098/1 "2014-09-18T02:38:24Z")

</div>

Hey guys,

On windows I used a great program.

It is small and used to cut audio stuff.

Here is a screenshot:

[http://mpesch3.de1.cc/img/mp3dc.jpg](http://mpesch3.de1.cc/img/mp3dc.jpg)

My question is:

How could I implement something like that in ruby-gnome?

I figure that I need a vertical bar, that can be moved around  
when I click on the mouse.

I’d also need to fill in some values while also playing  
the audio. I think I can play audio through gstreamer perhaps.

Any ideas for a widget that could be customized like that  
and updated every ~1 second step?

---

<div class="post-metadata">

**Author:** ![quik77](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/dec6dc/32.png) [@quik77](https://www.ruby-forum.com/u/quik77)\
**Post date:** [September 23, 2014, 8:32am UTC](https://www.ruby-forum.com/t/how-to-make-a-widget-that-has-a-vertical-bar-and-an-audio-graph-display-for-audio-files/232098/2 "2014-09-23T08:32:34Z")

</div>

I know that there’s a percent bar in gnome. I beleive that it has a  
vertical property so you can make it vertical.
