|
|||||||||
|
|||||||||
|
|||
|
Ok, I need some help (again :p )
I found this freeware program which apparently allows synthesizing any kind of sound in any file format... but I'm quite confused by the documentation, due to my poor english I guess... I'd like to generate, for example, a WAV file made up just of tones and silences this way (durations are in microseconds): 2800 tone 888 silence 444 tone 444 silence 444 tone 444 silence How do I accomplish this using SOX? I don't even know if it is possible to have us precision...On site documentation is quite poor, you have to look at the program package. I paste here what I think is the relevant part of the documentation from soxeffect.txt (but I maybe wrong): Quote:
Quote:
Quote:
|
|
|||
|
UPDATE:
I did more tests. Result: I successfully used a nokia 6680 to remote control a Synudyne TV, an LG DVD recorder, a Satellite receiver, a Video tape recorder and a DTT receiver! And all of this was possibile using just ONE single IR LED connected to headset port! I used SOX to generate single on/off carrier chunks and SHNTOOL to concatenate them into a singol WAV file. Now I'd like to know HOW it is possible! Does my 6680 produce 38000 Hz audio signals?!? What is it, a bat-phone?!? If it just produces 19000 Hz signals... why the "mono" audio-out of nokia 6600 does not accomplish same task?!? |
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
Quote:
|
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
I'm not sure I got what you mean...
Actually I didn't yet wrote a program: I demonstrated that a remote control can be cloned using: - 2 IR transmitter LED - an audio recorder software - an audio editing software (Audacity, Linux/Win32/MacOSX), or an audio synthesizer software (SOX, Linux/Win32 , SOXWrap , MacOSX) Until I'll be able to write a "decoder software" for the recorded audio, you'll need to re-build your signal from scratch. At the beginning I did it totally by hand: i created a 38 KHz tone and I silenced it by hand where needed (comparing to the sampled audio signal) like the one in the picture). http://www.planetmobile.it/jumpjack/LedRem/remote-justled.jpg Now I found a program, SOX , which can create a wave file made up of tones and silences of desired length. You use it to build "pieces" of wavefile, which then you join together (with COPY /b in DOS, or CAT in Unix), and finally you use SoX again to add proper headers. Here you find some DOS batch files I'm working on to generate WAV files (look at CREATE.BAT): http://www.planetmobile.it/jumpjack/LedRem/batches.zip Building SoX in MacOSX Other link for SoXWrap It would be interesting to know if Mac users too can use my method to turn their computers/phones into remotes. ![]() It would be also interesting if anybody could write a program which automatically calls SOX depending on contents of sampled waveform... Unfortunately I never wrote before a sound-processing software, although I wrote many software in basic, c, java...
Last edited by Former Bender; 06-10-2008 at 11:10 AM. Reason: Do not post Jumbo Sized pictures, thanks. |
|
|||
|
I published a short tutorial about how to create WAV files to clone remote controls using any audio capable device (iPhone, Pod, cellphone, PC,... MP3 player?):
http://jumpjack.wordpress.com/2008/0...emote-control/ The tutorial is O.S. indipendent (Unix, Windows, MacOSX, or whatelse, it does not matter ).
|
|
|||
|
It´s a really great project....
Thanks XianLi
__________________
OTB 1.1.1 --> 1.1.2 --> 1.1.3 BL 3.9 Activated/Jailbroken/Unlocked!!! Call In/Out: Yes/Yes SMS In/Out: Yes/Yes WiFi/Edge: Yes/Yes Carrier: Claro BRASIL!!!! Gorilaz Paintball Mednanet.com.br - Medicine Nove de Julho |
| Sponsored links Remove advertisements | |
|
|
|
|
|
|||
|
I wrote a couple of program which make authomatic the tedious work:
RAW2LIRC gets a WAV file (resulting from remote control sampling using 1 transmitting led) and creates a proper LIRC file. LIRC2LEDREM creates a DOS batch file per each command found in LIRC file. Each DOS batch creates the corresponding WAV file to play on... iPod or whatelse. Sorry, my programs only run in Windows... but they should also work fine inside an emulator, I guess. Batch files are just made up of a list of SOX call, so it's esay to port them to any system supporting SOX. Here are the files: http://www.planetmobile.it/jumpjack/LedRem/LedRem.zip |
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|