After using Rockbox for some time I found out about some very cool features. It has so called crossfeed. This features sort of simulates the experience of listening to speakers when using headphones, by delaying and filtering part of the signal from one side and routing it to the other side. I had to have it for my laptop too. So I searched to web, without much successs. However, I found out that there is a very interesting plug-in architecture for linux (LADSPA) which is also natively supported by ALSA. So I set on to develop a little plugin. This can now be used to create a virtual sound card in ALSA that applies this headphone transformation. You can find the source and a sample ALSA-configuration here.
Archive for April, 2006
Better Listening Through Headphones
Sunday, April 23rd, 2006Battle for Wesnoth
Thursday, April 6th, 2006While I am at it, I recently heard about Battle for Wesnoth a premium class open-source strategy game. You might want to take a look at it yourself:
dynamic window title for zsh session within screen
Thursday, April 6th, 2006For quite some time I have now been using screen with a constantly visible window list. Up to now I had to manually set these window titles. Now I finally invested some time to get it working automatically with my favourite shell.
#.zshrc:
precmd () {
if [[ "$TERM" = "screen" ]]; then
local SHORTPWD=”`basename $PWD`”
echo -ne “\ek${SHORTPWD}/\e\\”
fi
}
preexec () {
if [[ "$TERM" = "screen" ]]; then
local CMD=”${1}”
if [[ ${#CMD} -ge 15 ]]; then
CMD=”${${(z)CMD}[1]} …”
fi
echo -ne “\ek${CMD}\e\\”
fi
}
#.screenrc
hardstatus alwayslastline
hardstatus string “%{= .W}%-Lw%{= C}%50>[%n* %t]%{-}%+Lw%= (%c)%< "