Bind a key mapping for the program you are using, for instance in VIM:
(in the .vimrc file if you want it to stay this way):
:imap qq <Esc> and :imap @@ <Enter> where good mappings for me. You have to type two q's very quick to imitate the Esc-key while in insert mode, and the same for the @-key. Both are close to the key they represent. you can, ofcourse change the keys if you want - just replace them with something else, like :imap cornflower <Esc>, and everytime you type cornflower...
fredag 25. november 2011
fredag 18. november 2011
How to stream audio from VLC through AirPlay
I have a setup where my stereo speakers are connected to an Airport Express. This way I can listen to music from my iPhone and my Mac without switching cables. Problem is, however - the airPlay service only works easily with apple-made software so far, but making it work for VLC is actually very simple.
Update your VLC version
I tried this using vlc 1.0.2 and the codec we need to use to stream the audio wasn't recognised by vlc, so I upgraded to 1.1.12.
Edit VLC settings
Go into Preferences, select "all" to view all the avaliable controls and navigate to Stream output and edit the Default stream output chain to contain something like this: #duplicate{dst="transcode{acodec=alac,channels=2,samplerate=44100}:raop{host=10.0.1.1,volume=175}",dst=display{no-audio,delay=3500}}
this will display a movie on the computer screen while sending audio through airPlay.
Edit the IP-adress after "host=" to match the IP of your airplay-device, and edit the delay so that the video matches the audio. For my setup, 3500 is perfect, but it might not be enough or be too much for your network. tweak it until perfection :)
torsdag 17. november 2011
Why the voice search feature is meant for Google
If you've used android earlier, you might have opted-out of sending usage statistics to improve googles services. Have you ever thought about how important the user data is to the improvement of recognition and usage-related programs? Take speech recognition, for example. The technology has existed for ages, but only recently have they been useful. Thousands of voice samples are needed to sucessfully recognise voice from so many different people. Let's say you want a recipe for baked cucumber in honey sauce, and you find the speech search interesting. Since you have a strong accent, Google thinks you're asking for something completely different, cinema shows in Bangladore next Tuesday. If you then correct the recognised sentence in google and hit search, it is registered as user statistics and is used to improve their speech recognition-programme to compete with other software companies delivering similar software. And all the time we thought google did this for us.. :)
I have no sources for this post, everything is my own scandalous conspiracy.
I have no sources for this post, everything is my own scandalous conspiracy.
Abonner på:
Innlegg (Atom)