Thursday, May 3, 2012

Recording audio streams with VLC

rem This batch file was written for use with 4NT
rem
rem It's specifically for recording the streams from the Philippine radio station MONSTER RX 93.1
rem    and more particularly The Morning Rush with Chico, Del and Gino every 6am to 10am every weekday

@echo off
setlocal
set outfile=%_year%-%@format[02,%_month]-%@format[02,%_day]-%@format[02,%_hour]-%@format[02,%_minute]-%@format[02,%_second]

start /separate "RX 93.1 Stream Recording" "c:\Program Files\VideoLAN\VLC\vlc.exe" --sout "#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:std{access=file,mux=raw,dst=c:\temp\RX931_%outfile.mp3}" c:\Downloads\monsterrx.asx

:saguli
delay 1
if exist "c:\temp\RX931_%outfile.mp3" goto gogogo
goto :saguli

:gogogo
if %@filesize[ c:\temp\RX931_%outfile.mp3, b] GT 4096 goto gona
goto :saguli

:gona
start /separate "RX 93.1 Stream Listening" "c:\Program Files\VideoLAN\VLC\vlc.exe" c:\temp\RX931_%outfile.mp3
goto tapos

:tapos
endlocal

Tuesday, February 28, 2012

Kindle


I was very very happy when I finally received my Kindle Touch on January 1, 2012, courtesy of my wife's cousin who came home to the Philippines from Chicago right around Christmas Day.

I've spent a month and a half daydreaming of my new Kindle and it was very surreal when it eventually landed on my palms.

UNFORTUNATELY, after only a month of use, the screen died (well, half of it did) on me. :( :( :(

Amazon has since replaced it with a new KTouch (they refused to allow an upgrade to a KFire), but the replacement unit is yet to make its way to the country since my friend is not leaving California before March 18.

I hope this one doesn't die on me for a few years, or several even, to come! I also hope my Kindle 3, now 14 months old, gets to see several more years of gadget life.