<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>maces-net.de &#187; sound</title>
	<atom:link href="http://maces-net.de/tag/sound/feed/" rel="self" type="application/rss+xml" />
	<link>http://maces-net.de</link>
	<description>blogging on the geek side of live</description>
	<lastBuildDate>Fri, 01 Oct 2010 14:35:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Lautstärke per Skript ändern</title>
		<link>http://maces-net.de/2008/10/10/lautstarke-per-skript-andern/</link>
		<comments>http://maces-net.de/2008/10/10/lautstarke-per-skript-andern/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 10:20:04 +0000</pubDate>
		<dc:creator>maces</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[alsa]]></category>
		<category><![CDATA[amixer]]></category>
		<category><![CDATA[fluxbox]]></category>
		<category><![CDATA[LXDE]]></category>
		<category><![CDATA[openbox]]></category>
		<category><![CDATA[skript]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[xosd]]></category>

		<guid isPermaLink="false">http://www.maces-net.de/?p=154</guid>
		<description><![CDATA[Hi heute zeige ich euch ein Skript, mit dem man die Lautstärke ändern kann, und die aktuelle Lautstärke mit xosd auf dem Bildschirm anzeigen kann.]]></description>
			<content:encoded><![CDATA[<p>Hi</p>
<p>Nachdem ich mir bereits Tastenkürzel zum lauter und leiser stellen meiner Lautsprecher gebastelt habe, habe ich es jetzt noch mit <a href="http://www.ignavus.net/software.html" target="_blank">xosd</a> optisch verschönert. Um das Skript nutzen zu können muss man es einfach nur mit einem Tastenkürzel verbinden, dazu sehe man in die Dokumentation seines Fenstermanagers. Hier das Skript:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
</pre></td><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/bash</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># autor maces</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># script to chnage volume very easy</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># use sound + or sound - to +/- the sound</span>
&nbsp;
<span style="color: #666666; font-style: italic;">#prozent=amixer get Master | grep [[0-9]*] | cut -d &quot; &quot; -f 7 | sed 's/\[//g;s/\]//g;s/\%//g'</span>
<span style="color: #666666; font-style: italic;">#osd_cat -b slider -P ${prozent}  -A center -s 1</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># Skript aus: http://sidux.com/PNphpBB2-viewtopic-t-12191.html</span>
<span style="color: #666666; font-style: italic;"># vorherigen Lautstärke als Zahlenwert auslesen</span>
<span style="color: #007800;">VOL</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>amixer get Master <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> L<span style="color: #7a0874; font-weight: bold;">&#91;</span>.<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot; &quot;</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">7</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/\[//;s/\]//;s/\%//'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #666666; font-style: italic;"># den Zalenwert als Balken anzeigen und 1sek stehen lassen</span>
osd_cat <span style="color: #660033;">-p</span> middle <span style="color: #660033;">-A</span> center <span style="color: #660033;">-b</span> percentage <span style="color: #660033;">-P</span> <span style="color: #007800;">$VOL</span> <span style="color: #660033;">-T</span> Lautstärke: <span style="color: #660033;">-d</span> <span style="color: #000000;">1</span> <span style="color: #660033;">-c</span> blue <span style="color: #660033;">-s</span> <span style="color: #000000;">8</span> <span style="color: #660033;">-a</span> <span style="color: #000000;">0</span>
<span style="color: #666666; font-style: italic;"># Lautstärke ändern</span>
amixer <span style="color: #660033;">-c</span> <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">set</span> PCM 2dB$<span style="color: #000000;">1</span> unmute
amixer <span style="color: #660033;">-c</span> <span style="color: #000000;">0</span> <span style="color: #000000; font-weight: bold;">set</span> Master 2dB$<span style="color: #000000;">1</span> unmute
<span style="color: #666666; font-style: italic;"># jetzige Lautstärke als Zahlenwert auslesen</span>
<span style="color: #007800;">VOL</span>=$<span style="color: #7a0874; font-weight: bold;">&#40;</span>amixer get Master <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> L<span style="color: #7a0874; font-weight: bold;">&#91;</span>.<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">grep</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #7a0874; font-weight: bold;">&#91;</span><span style="color: #000000;">0</span>-<span style="color: #000000;">9</span><span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #000000; font-weight: bold;">*</span><span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">cut</span> <span style="color: #660033;">-d</span> <span style="color: #ff0000;">&quot; &quot;</span> <span style="color: #660033;">-f</span> <span style="color: #000000;">7</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sed</span> <span style="color: #ff0000;">'s/\[//;s/\]//;s/\%//'</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
<span style="color: #666666; font-style: italic;"># den Zalenwert als Balken anzeigen und 1sek stehen lassen</span>
osd_cat <span style="color: #660033;">-p</span> middle <span style="color: #660033;">-A</span> center <span style="color: #660033;">-b</span> percentage <span style="color: #660033;">-P</span> <span style="color: #007800;">$VOL</span> <span style="color: #660033;">-T</span> Lautstärke: <span style="color: #660033;">-d</span> <span style="color: #000000;">1</span> <span style="color: #660033;">-c</span> blue <span style="color: #660033;">-s</span> <span style="color: #000000;">8</span> <span style="color: #660033;">-a</span> <span style="color: #000000;">0</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># testing</span>
<span style="color: #666666; font-style: italic;">#echo $0 # print the filename</span>
<span style="color: #666666; font-style: italic;">#echo $1 # print the first parameter</span>
&nbsp;
<span style="color: #666666; font-style: italic;"># end</span></pre></td></tr></table></div>

<p>Um die Lautstärke zu erhöhen, gibt man <strong>sound +</strong> ein, oder um die Lautstärke zu vermindern <strong>sound -</strong>.<br />
Das Skript lässt sich natürlich noch erweitern, viel Spaß dabei <img src='http://maces-net.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Hier noch ein paar Links für die Tastenkürzel der Fenstermanager:</p>
<p>Openbox: <a href="http://wiki.ubuntuusers.de/Openbox#Shortcuts" target="_blank">LINK</a><br />
Fluxbox: <a href="http://wiki.ubuntuusers.de/Fluxbox#Tastenkuerzel" target="_blank">LINK</a><br />
LXDE: <a href="http://wiki.ubuntuusers.de/Openbox#Shortcuts" target="_blank">LINK</a>, Bei LXDE ist die Konfigurationsdatei allerdings: <strong>~/.config/openbox/lxde-rc.xml</strong>.</p>
<p>Die aktuellste Version des Skripts findet ihr auf der <a href="http://www.maces-net.de/projekte/lautstarke-per-skript/" target="_self">Projektseite</a>.</p>
<p>maces</p>
]]></content:encoded>
			<wfw:commentRss>http://maces-net.de/2008/10/10/lautstarke-per-skript-andern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Archlinux Dillo + xmms + Mut + Desktop Terminal</title>
		<link>http://maces-net.de/2008/10/01/archlinux-dillo-xmms-mut-desktop-terminal/</link>
		<comments>http://maces-net.de/2008/10/01/archlinux-dillo-xmms-mut-desktop-terminal/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 10:40:00 +0000</pubDate>
		<dc:creator>maces</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[dillo]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[mut]]></category>
		<category><![CDATA[sound]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[xmms]]></category>

		<guid isPermaLink="false">http://www.maces-net.de/?p=43</guid>
		<description><![CDATA[Am 22.5 habe ich wie die Überschrift schon sagt, nicht wie geplant LXDE getestet sondern Links durch Dillo ersetzt.]]></description>
			<content:encoded><![CDATA[<p>Hi</p>
<p>Am 22.5 habe ich wie die Überschrift schon sagt, nicht wie geplant LXDE getestet sondern Links durch Dillo ersetzt.</p>
<h3>Links durch Dillo ersetzen</h3>
<p>Man gebe <span style="font-weight: bold;">pacman -Rs links-g</span> ein, um links mit allen zusätzlichen Paketen zu deinstallieren. Daraufhin ein <span style="font-weight: bold;">pacman -S dillo</span> um Dillo zu Installieren. Auch Dillo wird nicht mein endgültiger Browser bleiben, ist aber erstmal ganz in Ordnung.</p>
<h3>Xmms</h3>
<p>Jetzt habe ich Xmms installiert (<span style="font-weight: bold;">pacman -S xmms</span>) so dass ich auch Musik hören konnte (alsa habe ich ja Gestern schon installiert). Überrascht hat mich, das ich direkt mp3&#8242;s abspielen konnte.</p>
<h3>Mut</h3>
<p>Jetzt habe ich nach einem Programm gesucht, mit dem ich per Gui Medien mounten kann. Ich fand das Tool von PuppyLinux sehr gut dazu geeignet. Also schnell gesucht; soweit die Theorie . Allerdings sah die Praxis ganz anders aus. Nach Stundenlangem Suchen auf der Website habe ich herausgefunden wie das Programm heißt. Es heißt Mut, wie das E-Mail Programm. Nachdem ich gemerkt habe das ich mit Puppys Pet-Files nicht viel anfangen konnte, habe ich mich im IRC (#puppylinux auf irc.freenode.net) nach dem Programm erkundigt. Nach viel Disskutieren habe ich das Programm im von <a href="http://www.murga-linux.com/puppy/viewtopic.php?t=26892" target="_blank">Forum von Puppylinux</a> gefunden. Netter weise als Quellcode und als *.bin Datei, sodass ich es direkt testen konnte. Jetzt musste ich noch TCL und TK installieren (<span style="font-weight: bold;">pacman -S tcl tk</span>) und das Programm mittels <span style="font-weight: bold;">sudo wish /pfad/zum/programm/mut2/mut2.tcl</span> ausführen.</p>
<h3>Desktop Terminal</h3>
<p>Zuletzt habe ich mir noch ein Desktop-Terminal erstellt. Mit <span style="font-weight: bold;">pacman -S eterm</span> Eterm installiert und dann in der Datei <span style="font-weight: bold;">~/.fluxbox/startup</span> die Zeile <span style="font-weight: bold;">Eterm &#8211;trans &#8211;borderless -g 100&#215;20+5+5 &#8211;scrollbar flase &#8211;buttonbar false -c &amp;</span> hinzugefügt. Jetzt startet Eterm mit Transparentem Hintergrund, ohne Rahmen, an der angegebenen Position, ohne Scrollbar und ohne Buttonbar. Allerdings gibt es jetzt noch ein Paar Schönheitsfehler. Dazu öffnen wir die Datei <span style="font-weight: bold;">~/.fluxbox/apps</span> zum Beispiel mit Nano. Jetzt müssen wir folgendes hinzufügen:</p>
<blockquote><p>[app] (name-Eterm) (class-Eterm)<br />
[Sticky] {yes}<br />
[Hidden] {yes}<br />
[Layer] {12}<br />
[end]</p></blockquote>
<p>Sticky bewirkt, dass man Das Terminal auf alles Desktops sieht. Hidden, das es nicht in der Taskleiste angezeigt wird und Layer das es im im Hintergrund bleibt.</p>
<p>Am 23.5 habe ich mir Conky und den VLC Mediaplayer installiert. Beide verwende ich noch heute.</p>
<p>maces</p>
]]></content:encoded>
			<wfw:commentRss>http://maces-net.de/2008/10/01/archlinux-dillo-xmms-mut-desktop-terminal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Archlinux Alsa + links Instalieren</title>
		<link>http://maces-net.de/2008/09/30/archlinux-alsa-links-instalieren/</link>
		<comments>http://maces-net.de/2008/09/30/archlinux-alsa-links-instalieren/#comments</comments>
		<pubDate>Tue, 30 Sep 2008 10:40:39 +0000</pubDate>
		<dc:creator>maces</dc:creator>
				<category><![CDATA[Allgemein]]></category>
		<category><![CDATA[Archlinux]]></category>
		<category><![CDATA[alsa]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[sound]]></category>

		<guid isPermaLink="false">http://www.maces-net.de/?p=41</guid>
		<description><![CDATA[Hi Am 21.5 ist nicht ganz so viel passiert. Wie die Überschrift schon sagt habe ich Alsa und Links installiert und getestet. Alsa Installieren (Diese Wikiseite als Hilfe). Erstmal zu Alsa, ein pacman -Sy alsa alsa-utils alsa-oss installiert Alsa (das Paket alsa-oss braucht man nur wenn man auch Programme nutzt die mit OSS arbeiten). Bei [...]]]></description>
			<content:encoded><![CDATA[<p>Hi</p>
<p>Am 21.5 ist nicht ganz so viel passiert. Wie die Überschrift schon sagt habe ich Alsa und Links installiert und getestet.</p>
<h1>Alsa Installieren</h1>
<p>(Diese <a href="http://wiki.archlinux.de/?title=Alsa_einrichten" target="_blank">Wikiseite</a> als Hilfe). Erstmal zu Alsa, ein <span style="font-weight: bold;">pacman -Sy alsa alsa-utils alsa-oss</span> installiert Alsa (das Paket alsa-oss braucht man nur wenn man auch Programme nutzt die mit OSS arbeiten). Bei meiner Installation von Archlinux wurden die passenden Module für Alsa schon in die rc.conf eingetragen, sodass ich nur noch alsa in die Liste der zu startenden Dämons eintragen musste. Nebenbei, so sieht meine Dämon-Zeile heute aus:</p>
<blockquote><p>DAEMONS=(syslog-ng dbus !network netfs crond alsa fam hal wicd apmd gdm)</p></blockquote>
<p>Nach einem Neustart musste ich noch <span style="font-weight: bold;">alsamixer</span> aufrufen und die Soundkanäle Master und PCM mit der Taste [M] aktivieren und die Lautstärke mittels Pfeiltasten einstellen (Evtl muss man noch andere Kanäle aktivieren, aber bei reichten die beiden aus). jetzt kann man mit <span style="font-weight: bold;">aplay /usr/share/sounds/alsa/Noise.wav</span> testen ob man etwas hört, ansonsten helfen die Lösungswege auf der <a href="http://wiki.archlinux.de/?title=Alsa#Immer_noch_kein_Sound.3F" target="_blank">Wikiseite</a>. Nachträglich kann mann noch Einstellen, dass die Soundeinstellungen, also z.B. die Lautstärke <a href="http://wiki.archlinux.de/?title=Alsa#Alsa_Mixer_Einstellungen_beim_Start_wieder_herstellen" target="_blank">gespeichert bleiben</a>.</p>
<h1>Links Installieren</h1>
<p>Jetzt brauchte ich noch einen Browser, da w3m auf Dauer nicht so komfortabel ist, habe ich das paket <span style="font-weight: bold;">links-g</span> installiert. Jetzt habe ich einen Browser für die Konsole und einen für X. Allerdings sehe ich Links eher als Zwischenlösung an, um zum Beispiel Wikiseiten lesen zu können.</p>
<p>Auch 22.5 wird nicht alzuviel passieren, allerdings werde ich mir Dillo Xmms und Mut (nicht der Mailclient) einmal näher ankuken.</p>
<p>maces</p>
]]></content:encoded>
			<wfw:commentRss>http://maces-net.de/2008/09/30/archlinux-alsa-links-instalieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/9 queries in 0.001 seconds using disk
Object Caching 360/378 objects using disk

Served from: maces-net.de @ 2012-02-05 19:22:35 -->
