Converting MP3/WAV to ulaw/GSM

When you want to convert typical MP3/WAV files for your PBX like Asterisk, you can use sox and lame to do it easily.

lame --decode somemp3file.mp3 output.wav

First, convert the MP3 to WAV file.

For u-law:

sox -V output.wav -r 8000 -c 1 -t ul result.ulaw

For GSM:

sox output.wav -r 8000 -c 1 result.gsm resample -ql

Pre-converting your input sound files usually give much better results than using internal modules for transcoding.


요즘 계속들어 불필요한 이메일 알림을 많이 받았습니다.

그런데 수신거부 버튼을 누르면 로그인 페이지만 나올 뿐 수신거부창이 나오지않는 광고메일때문에 이를 갈던도중 불법스팸신고센터에 간편신고가 가능한것을 보고 시도해봤습니다.

2주전쯤 처리상태가 소명자료요청으로 바뀌더니 처음 접수한지 한 달 가량이 지나서 드디어 답변이 왔네요.


메일관리 대충대충 날로먹던 아x리버, 국x은행의 시스템관리자분 곤란하시겠어요. 하지만 진작에 조치를 취했어야죠. 이곳에서 신고하시면 됩니다. 처리가 바로 되는건 아니지만 기다리시면 결과를 알려줍니다.

US bank fees are ridiculous

Seriously, this is nonsense.

I forgot that I have a Paypal subscription that drew money from my savings account.
But I keep all my balance in the checking account so it kept draining the savings account balance and it eventually ran out.

Then I received $35 fee for Non Sufficient Funds.


I did have overdraft protection linked to my checking account but I just now figured that it only works savings->checking and not vice versa.

Meh, one must be out of mind to think that the bank needs to collect that money because there is more stuff to be reconciled.
It might have been the case 100 years ago but it is plain scam to collect the very same amount of money in 21th century where computers do all the work.
And the trasaction is supposed to go through but with new laws they made it impossible to pay online services by overdraft account.
So that means I lost $35 for completely nothing.

Also, I discovered it only because I received a mail from Paypal for failed transaction notice. Otherwise if they didn’t let me know I would have been charged extra late fees.

I had 10 minute talk with the manager but had no success.

Anyway, people say that the overdraft protection service is quite misleading and it causes this to happen.
Proper way to prevent NSF fees is not to enroll in the overdraft protection, but to opt out of it.
In that case the transaction will simply be declined without any extra charges.

Screw you, Bank of America