Differences between version 21 and predecessor to the previous major change of CyberLeo.
Other diffs: Previous Revision, Previous Author
| Newer page: | version 21 | Last edited on Saturday, 26 December 2009 0:06:56 | by CyberLeo | Revert |
| Older page: | version 18 | Last edited on Thursday, 22 October 2009 12:21:54 | by CyberLeo | Revert |
@@ -1,4 +1,6 @@
+http://friends.cyberleo.net/cyberleo/pub-ssh.txt
+
!! Teams
* BOINCstats - http://www.boincstats.com/stats/boinc_team_graph.php?pr=bo&id=38709
* BOINCstats image - http://www.boincstats.com/signature/team_38709.gif
@@ -29,5 +31,67 @@
</verbatim>
Console Progress Bar for FreeBSD is in misc/clpbar
-http
://friends
.cyberleo
.net
/cyberleo
/pub
-ssh
.txt
+<code brush="bash">
+# Extract waveform data
+for I in *.mp3; do lame --decode "${I}" "wav/$(basename "${I}" .mp3).wav"; done
+for I in *.flv; do mplayer -vo null -ao pcm:fast
:file="wav
/$(basename "${I}" .flv).wav" "${I}"; done
+
+# Strip off leading and trailing silence
+bash
+for I in *.wav
+do
+ echo -n "==> ${I} : "
+ echo -n "copy "; cp "${I}" 00.wav || kill $$
+ echo -n "silence "; sox 00.wav 01.wav silence 1 0.1 0.1 || kill $$
+ echo -n "reverse "; sox 01.wav 02.wav reverse || kill $$
+ echo -n "silence "; sox 02.wav 01.wav silence 1 0.1 0.1 || kill $$
+ echo -n "reverse "; sox 01.wav 00.wav reverse || kill $$
+ echo "move"; mv 00.wav "${I}" || kill $$
+done
+
+# Normalize all tracks
+normalize -m *.wav
+<
/code>
+
+Generate a toc with this:
+[generate_toc
.sh|KnowledgeBase/Scripts/generate_toc
.sh]
+
+Then edit the TOC to add CD Text information:
+<code>
+CD_DA
+
+CD_TEXT {
+ LANGUAGE_MAP {
+ 0 : EN
+ }
+
+ LANGUAGE 0 {
+ TITLE "Mix CD"
+ PERFORMER "Various Artists"
+ }
+}
+
+TRACK AUDIO
+CD_TEXT {
+ LANGUAGE 0 {
+ TITLE "She Got It"
+ PERFORMER "2 Pistols"
+ }
+}
+AUDIOFILE "2 Pistols - She Got It.wav" 0
+
+TRACK AUDIO
+CD_TEXT {
+ LANGUAGE 0 {
+ TITLE "How's It Going To Be"
+ PERFORMER "3rd Eye Blind"
+ }
+}
+AUDIOFILE "3rd Eye Blind - How's It Going To Be.wav" 0
+<
/code>
+
+And burn using the raw driver, to ensure the CD-TEXT gets written:
+<code brush="bash">
+sudo cdrdao write --speed 1 --device
/dev/sr0
--driver generic-mmc-raw -v 2 -n --eject cd
.toc
+</code>
version 21
http://friends.cyberleo.net/cyberleo/pub-ssh.txt
Teams
- BOINCstats -
http://www.boincstats.com/stats/boinc_team_graph.php?pr=bo&id=38709 - BOINCstats image -
http://www.boincstats.com/signature/team_38709.gif - SETI@Home -
http://setiathome.berkeley.edu/team_display.php?teamid=121418 - Rosetta@Home -
http://boinc.bakerlab.org/rosetta/team_display.php?teamid=982
Copyright
Tasks
- PleskAPI - 90% - Awaiting feedback
- Billing
- Accounts Infrastructure
- Support Ticket System
Notes
Scrapbin
Copy dependent libraries into a chroot jail:
/bin/sh -c 'fifo="/tmp/ldd-$$"; mkfifo -m 600 ${fifo}; ldd /usr/sbin/sshd | cut -f2 | cut -d" " -f3 | tee ${fifo} | tail -n $(( $( cat ${fifo} | wc -l ) - 1 )); rm -f ${fifo}' | cpio --pass-through --make-directories /root/chroot/sshd/
Console Progress Bar for FreeBSD is in misc/clpbar
# Extract waveform data
for I in *.mp3; do lame --decode "${I}" "wav/$(basename "${I}" .mp3).wav"; done
for I in *.flv; do mplayer -vo null -ao pcm:fast:file="wav/$(basename "${I}" .flv).wav" "${I}"; done
# Strip off leading and trailing silence
bash
for I in *.wav
do
echo -n "==> ${I} : "
echo -n "copy "; cp "${I}" 00.wav || kill $$
echo -n "silence "; sox 00.wav 01.wav silence 1 0.1 0.1 || kill $$
echo -n "reverse "; sox 01.wav 02.wav reverse || kill $$
echo -n "silence "; sox 02.wav 01.wav silence 1 0.1 0.1 || kill $$
echo -n "reverse "; sox 01.wav 00.wav reverse || kill $$
echo "move"; mv 00.wav "${I}" || kill $$
done
# Normalize all tracks
normalize -m *.wav
Generate a toc with this: generate_toc.sh
Then edit the TOC to add CD Text information:
CD_DA
CD_TEXT {
LANGUAGE_MAP {
0 : EN
}
LANGUAGE 0 {
TITLE "Mix CD"
PERFORMER "Various Artists"
}
}
TRACK AUDIO
CD_TEXT {
LANGUAGE 0 {
TITLE "She Got It"
PERFORMER "2 Pistols"
}
}
AUDIOFILE "2 Pistols - She Got It.wav" 0
TRACK AUDIO
CD_TEXT {
LANGUAGE 0 {
TITLE "How's It Going To Be"
PERFORMER "3rd Eye Blind"
}
}
AUDIOFILE "3rd Eye Blind - How's It Going To Be.wav" 0
And burn using the raw driver, to ensure the CD-TEXT gets written:
sudo cdrdao write --speed 1 --device /dev/sr0 --driver generic-mmc-raw -v 2 -n --eject cd.toc
