Dream SoftwareDreamMaker.com Create Software

Tour de Tonka 2014

I signed up for the Tour de Tonka 100 mile route.  Since I havent been on alot of long rides this should be a challenge.  Riding with Kelly Fitz (Starkey).

Posted on Thursday, July 31, 2014 11:22 AM


ServiceStack

ServiceStack

Documentation

A fast, unified and integrated replacement for WCF, WebAPI and MVC
  • Holistically constructed to reduce artificial complexity. Services are designed for maximum re-use
  • Develop with idiomatic code-first C#, features naturally bind to and empowers your existing models
  • POCO models can be used in all libraries as-is - offering un-precedent levels of re-use unseen in .NET
  • Easy-to-use.

ServiceStack Client does not work with Windows Phone 8.

Posted on Wednesday, July 16, 2014 2:18 PM


Kinect audio through speakers

To play Kinect audio though speakers - Control Panel - Sound - Recording tab - Listen tab - check the box "Listen To This Device".

Posted on Monday, June 30, 2014 9:34 AM


Presentation Tips from James Wittaker

  • “The only time people will ever give you their attention – where you don’t have to earn it, they just give it to you – is the first 30 seconds of a presentation.”
  • “Every six minutes, include something of high interest. That’s the length of the average human attention span.”
  • “People connect with speakers who have passion – who are really in love with their subject. You inherit some of that love from them.”
  • “Albert Einstein said, ‘Great spirits have always encountered violent opposition from mediocre minds.’ Quote powerful people. You can assume some of the power of those you quote.”
  • “Avoid long and tiresome summaries.”
How to change the way people think in four easy steps

Posted on Thursday, May 29, 2014 12:23 PM


Kinect & NAudio to live stream audio

WaveFormat waveFormat = new WaveFormat(8000, 16, 2);<br />BufferedWaveProvider bwProvider;<br />WaveOut waveOut;

//////////////////////////////////////////////////////////////////////

waveOut = new WaveOut();
bwProvider = new BufferedWaveProvider(waveFormat);
bwProvider.BufferLength = (128 * 5000);
waveOut.Init(bwProvider);
waveOut.Play();

//////////////////////////////////////////////////////////////////////

//AudioReadingThread() -- live stream audio to output
if (readCount &gt; 0)
{
    bwProvider.AddSamples(audioBuffer, 0, audioBuffer.Length);
}

Posted on Wednesday, May 28, 2014 1:27 PM


I Know Why The Caged Bird Sings [Paul Laurence Dunbar - Sympathy]

I know why the caged bird sings, ah me,
When his wing is bruised and his bosom sore,
When he beats his bars and would be free;
It is not a carol of joy or glee,
But a prayer that he sends from his heart's deep core,
But a plea, that upward to Heaven he flings –
I know why the caged bird sings.

Posted on Wednesday, May 28, 2014 9:32 AM


ASP.Net Performance Tips

• Use WebEssentials - Visual Studio extension
• Set urlcompression to true
• Bundle and minify stylesheets
• Http header set expiration
• Optimize images
• Create image sprite or base64uri
• Scripts at bottom of page if can

Posted on Saturday, May 17, 2014 12:00 AM


Virtual Audio Surround Sound - irrKlang

Ran across irrKlang, a high level 2D and 3D sound library. Very easy to use and works great!

Posted on Thursday, May 08, 2014 12:00 AM


Windows Phone 8.1

Updated Nokia 928 to Windows Phone 8.1 using Developer Preview. Having some issues with Music - lost my playlists and they don't seem to sync.

Posted on Monday, April 14, 2014 12:00 AM


SharpDX 3D Audio

I replaced XNA Framework with the SharpDX framework since the XNA Framework required a redistributable install.
UPDATE: The SharpDX requires the DirectX install.

using SharpDX;
using SharpDX.Multimedia;
using SharpDX.X3DAudio;
using SharpDX.XAudio2;
======================================

XAudio2 xaudio2;
SoundStream stream;
SourceVoice sourceVoice;

X3DAudio x3dAudio;
WaveFormatExtensible deviceFormat;
======================================

xaudio2 = new XAudio2();
deviceFormat = xaudio2.GetDeviceDetails(0).OutputFormat;
x3dAudio = new X3DAudio(deviceFormat.ChannelMask);

using (var masteringVoice = new MasteringVoice(xaudio2))
{
    // Instantiate X3DAudio
    stream = new SoundStream(File.OpenRead("wavefile.wav"));

    var waveFormat = stream.Format;

    sourceVoice = new SourceVoice(xaudio2, waveFormat);

    int bufferSize = waveFormat.ConvertLatencyToByteSize(60000);
    var audioBuffer = new AudioBuffer { Stream = stream, Flags = BufferFlags.EndOfStream, AudioBytes = bufferSize, LoopCount = AudioBuffer.LoopInfinite };

    sourceVoice.SubmitSourceBuffer(audioBuffer, null);
}
======================================

var emitter = new Emitter
{
    ChannelCount = 1,
    CurveDistanceScaler = float.MinValue,
    OrientFront = new Vector3(0, 0, 1),
    OrientTop = new Vector3(0, 1, 0),

******************************************
    //left
    Position = new Vector3(-1, 0, 0),
    //front left
    Position = new Vector3(-1, 0, 1),
    //front right
    Position = new Vector3(1, 0, 1),
    //right
    Position = new Vector3(1, 0, 0),
    //back right
    Position = new Vector3(1, 0, -1),
    //back left
    Position = new Vector3(-1, 0, -1),
******************************************

    Velocity = new Vector3(0, 0, 0)
};

var listener = new Listener
{
    OrientFront = new Vector3(0, 0, 1),
    OrientTop = new Vector3(0, 1, 0),
    Position = new Vector3(0, 0, 0),
    Velocity = new Vector3(0, 0, 0)
};
// Calculate X3DAudio settings
var dspSettings = x3dAudio.Calculate(listener, emitter, CalculateFlags.Matrix | CalculateFlags.Doppler, 1, deviceFormat.Channels);

// Modify XAudio2 source voice settings
sourceVoice.SetOutputMatrix(1, deviceFormat.Channels, dspSettings.MatrixCoefficients);
sourceVoice.Start();

Posted on Tuesday, March 25, 2014 12:00 AM


Show All...