Later Edit: The initial values might differ, but I have confirmed that bit 2 needs to be enabled for MP3's to be applied as ringtones.
Read the rest of this post.
Posted by
Doru Barbu
at
00:09
0
comments
Links to this post
Labels: tech, telefonie mobila
#!/bin/sh
if [ $# -lt 3 ]
then
echo Usage: $0 \<infile\> \<outfile\> \<bitrate\>
else
mplayer -quiet -vo null -vc null -ao pcm:waveheader:file="/tmp/$$.wav" -af resample=48000:0:1 "$1"
normalize-audio --peak "/tmp/$$.wav"
aacplusenc "/tmp/$$.wav" /tmp/$$.aac "$3"
MP4Box -new -no-sys -sbrx -add /tmp/$$.aac "$2"
rm -f /tmp/$$.aac /tmp/$$.wav
fi
Posted by
Doru Barbu
at
10:25
0
comments
Links to this post
Labels: linux, muzica, open-source, telefonie mobila
sudo alsactl store/var/lib/alsa/asound.state in an editor (you'll need super-user privileges, a sudo nano /var/lib/alsa/asound.state in the same terminal you used for the last step will do) and look for something like: control.12 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Capture Switch'
value.0 false
value.1 false
} value.0 true
value.1 truesudo alsactl restore
Posted by
Doru Barbu
at
15:01
0
comments
Links to this post
Posted by
Doru Barbu
at
12:34
0
comments
Links to this post
Labels: foto
pub 1024D/F0376EC6 2008-09-26
Key fingerprint = 821A EE98 A193 EB32 5384 F553 4885 D6F7 F037 6EC6pub 4096R/C08D56C9 2009-05-13
Key fingerprint = A5B4 4F64 D8E4 0AF7 F004 2DCC 1557 AC3E C08D 56C9
Posted by
Doru Barbu
at
21:41
0
comments
Links to this post
Labels: net, open-source, security
Posted by
Doru Barbu
at
17:00
9
comments
Links to this post
Labels: muzica, open-source, social networking, soft power
#!/bin/sh
mplayer -quiet -vo null -vc null -ao pcm:waveheader:file="/tmp/$$.wav" -af resample=48000:0:1 "$1"
normalize-audio --peak "/tmp/$$.wav"
aacplusenc "/tmp/$$.wav" /tmp/$$.aac "$3"
MP4Box -new -no-sys -sbrx -add /tmp/$$.aac "$2"
rm -f /tmp/$$.aac /tmp/$$.wav
Posted by
Doru Barbu
at
10:01
2
comments
Links to this post
Labels: linux, open-source, soft power, telefonie mobila