Linux Audio the way to go!? - Page 63 - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 2nd October 2008, 06:04 PM   #621
diyAudio Member
 
Join Date: Dec 2004
Location: Glasgow
You mean puppy linux has even more overhead than Ubuntu?

no less. I realise not very clearly stated. I am using less cpu and memory where the desktop (if used) is very light and many services normally included by default are available as loadable options instead or at least replaced with less resource hoggin alternatives - of course if you use the ram for the complete filesystem and fill it with files you could potentially use more ram than other OS's. A flash drive also lowers power requirements, which is probably more important for low power fanless psus than for higher spec. units.
  Reply With Quote
Old 2nd October 2008, 07:06 PM   #622
ronybc is offline ronybc  India
diyAudio Member
 
ronybc's Avatar
 
Join Date: Jun 2004
Location: Kerala, INDIA
Hello Klaus,

i'm using libsamplerate version 0.1.4 here.
the new sox 'rate -v' effect gives better results than libsamplerate's 'best sinc' (rabbit -c0)
please see spectrograms put at http://www.ronybc.8k.com/linux-tweaks.htm#sox
__________________
The coolest website on the planet..!
http://www.ronybc.com
  Reply With Quote
Old 2nd October 2008, 08:34 PM   #623
ronybc is offline ronybc  India
diyAudio Member
 
ronybc's Avatar
 
Join Date: Jun 2004
Location: Kerala, INDIA
off topic: please comment about the new avatar
__________________
The coolest website on the planet..!
http://www.ronybc.com
  Reply With Quote
Old 4th October 2008, 07:24 PM   #624
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
Quote:
Originally posted by ronybc
off topic: please comment about the new avatar


Looks like a picture of yourself!

I thought it would be time to find one for myself. And found the one you can see now.

It's called HifiTux.

Cheers
  Reply With Quote
Old 6th October 2008, 07:35 PM   #625
ronybc is offline ronybc  India
diyAudio Member
 
ronybc's Avatar
 
Join Date: Jun 2004
Location: Kerala, INDIA
yep.. thats me.. 2 years ago... now have more moustache... : | )

ohh... that poor penguin .. cut off both hands and fitted with two hanging RCA jacks...! pierced off the eye balls and put two tweeters instead...!! and a big woofer into its belly... OHHH... please adopt a vented design... to avoid the scatter...



if u resample right... u'll hear a lot more cleaner sound... anyone can hear a difference... it is moreover... in other words... actually.. sensibly good..! easy recognisable... from a blind A-B test... (ehh? my English?)

cheers...
drink dark rum...
__________________
The coolest website on the planet..!
http://www.ronybc.com
  Reply With Quote
Old 7th October 2008, 08:22 AM   #626
diyAudio Member
 
Join Date: Dec 2003
Location: hong Kong
Send a message via ICQ to ackcheng
Just found another music client for MPD

http://sonata.berlios.de/index.html
  Reply With Quote
Old 7th October 2008, 06:10 PM   #627
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
Clients:
I really like Minion. You can run it from any PC with Firefox in the house. No frills.
And you just install it from the Firefox Plugin db.

BTW:

I just finshed below script. It generates mpd readable m3u-playlists from all your .wav files in your "music_directory" as defined in /etc/mpd.conf . I think it is easily convertable
to other file-formats which are supported by mpd.

But I guess it'll have problems with arbitrary characters and spaces in the file-name.
(I don't have them! Somebody else has to check it out)


@phofman: Do you have an idea how to structure below script to cover cddb based arbitrary filenames and directories?

HowTo:
Just save everything between ------ to file. Make it executable chmod 777 <your_file> and
run it ./<your_file>

--------------------------------------------------------
#!/bin/bash
# written by soundcheck
# This script generates playlists for mpd from a directory strucure based on the setup in
# /etc/mpd.conf
# Current limitations: .wav files only and no arbitrary filenames
# Rev1. 10-06-2008


musicdir=`cat /etc/mpd.conf | grep music_directory | cut -f2 -d'"'`
playlistdir=`cat /etc/mpd.conf | grep playlist_directory | cut -f2 -d'"'`

cd $musicdir
echo "working..."
for i in `find . -type d -print|mawk ' { gsub("./","") ; print } ' ` ; do
playlistfile="${i}.m3u"
find $i -name \*.wav -print > $playlistfile
mv $playlistfile $playlistdir
done

ls "$playlistdir"
echo "Done..."
exit 0
--------------------------------

Have fun.

\Klaus
  Reply With Quote
Old 7th October 2008, 09:40 PM   #628
phofman is online now phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
MPD was identified as rather power hungry, waiting in timed loops, waking thus the CPU hundred times a second. The SVN version logs suggest it has been already fixed (plus http://www.lesswatts.org/projects/po.../known.php#mpd ). If you are using MPD, please try the last SVN version if it works fine and powertop does not complain too much. It would help a lot, especially on [note|net]books. Thanks
  Reply With Quote
Old 7th October 2008, 09:52 PM   #629
phofman is online now phofman  Czech Republic
diyAudio Member
 
Join Date: Apr 2005
Location: Pilsen
To soundcheck:

If you are worried about spaces in names, you can enclose the variables containing the names in quotes. Also the "for in do" loop does not work, you can use "while read do" instead e.g. http://codesnippets.joyent.com/posts/show/1105

If you mean filenames with quotation marks etc., perhaps rewriting to perl or python would make the script robust with less effort. Bash is often pretty picky.
  Reply With Quote
Old 9th October 2008, 10:45 AM   #630
diyAudio Member
 
soundcheck's Avatar
 
Join Date: Mar 2005
Location: D
Quote:
Originally posted by phofman
To soundcheck:

If you are worried about spaces in names, you can enclose the variables containing the names in quotes. Also the "for in do" loop does not work, you can use "while read do" instead e.g. http://codesnippets.joyent.com/posts/show/1105

If you mean filenames with quotation marks etc., perhaps rewriting to perl or python would make the script robust with less effort. Bash is often pretty picky.
Hi phofman.

I am not worried about any messy filenames. I don't have them. I clean them up with a script beforehand. But perhaps others will appreciate this.

Anyhow, THX for showing directions:

Below command works with spaces in filenames and directories/links.

find . -type d -o -type l | mawk ' { gsub("./","") ; print } ' | while read i ; do

Folks who'd like to try it just swap following line of earlier post #627.

for i in `find . -type d -print|mawk ' { gsub("./","") ; print } ' ` ; do

Now the next challenge would be to find out what all these -'"?_$() found in the cddb do to the script result.

Cheers
Klaus
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



New To Site? Need Help?

All times are GMT. The time now is 07:37 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2