Geeks With Blogs

Tamir Khason Just code December 2008 Entries
Read and use FM radio (or any other USB HID device) from C#
Last time we spoke about reading and decoding RDS information from FM receivers. Also we already know how to stream sound from DirectSound compatible devices. However, before we can do it, we should be able to “speak” with such devices. So, today we’ll spoke about detection and reading information from Radio USB adapters (actually from any Human Input Devices). Let’s start. First, if you want to do it, go and buy such device. The are not a lot of alternatives, but if you’ll seek, you’ll find it very ......

Posted On Tuesday, December 30, 2008 8:42 PM

Capturing and streaming sound by using DirectSound with C#
I already wrote a little about managed way to use DirectX DirectSound. Today we’ll speak about how to get sound from your microphone or any other DirectSound capturing device (such as FM receiver) and stream it out to your PC speakers and any other DirectSound Output device. So, let’s start creating our first echo service by using managed DirectX. First of all we should decide what Wave format we want to use for capturing and recording. So, let’s choose anything reasonable :) var format = new WaveFormat ......

Posted On Thursday, December 25, 2008 6:48 PM

Quick Silverlight (and WPF) tip: How to write program without XAML
From the moment, 10K MIX09 contest was launched, I got more, then 20 people, asking the same question: Is it possible to have Silverlight program up and running without XAML at all? The answer is “YES, IT IS”. Here is how: All you need for run WPF or Silverlight application is Class inherited from System.Windows.Application Class inherited from System.Windows.Controls.Use... So, Let’s create new WPF or Silverlight application and delete all files from the project directory. Then add one file, ......

Posted On Tuesday, December 23, 2008 6:51 PM

What boots faster – Netbook, powered Windows XP or Nokia E71 mobile phone?
Some days ago, somebody from Microsoft was shocked, when I told him, that I’m planning to run Windows XP (and later Windows 7) as operation system for mission critical automotive device. He even checked with Windows XP embedded team boot times for XP. They told him, that the minimum can be achieved is about 40 seconds cold boot and 30 seconds from hibernate state. I was upset and decided to tweak my system for smallest possible boot time. Here the result video. This is not the limit. I believe, that ......

Posted On Thursday, December 18, 2008 2:09 PM

Reading and decoding RDS (Radio Data System) in C#
RDS or Radio Data System is very common in US and many European countries. It is communication protocol used to send small amount of digital information using regular FM radio broadcast. This protocol is used to "tell" your receiver about alternative frequencies, time, program notifications, program types, traffic information and regular text (such as singer name or genre). Unfortunately in Israel RDS is not very common and there is very limited number of radio stations broadcasts RDS information. ......

Posted On Friday, December 12, 2008 8:46 PM

Copyright © tamir | Powered by: