Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Pete Brown

@Pete Brown
About
Posts
10
Topics
0
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MIDI Enhancements in Windows 10
    P Pete Brown

    Thanks Mick I'm in Windows now, no longer in evangelism. In DX/DPE, most of the evangelists are doing Azure these days. I would need to look back around here to see if that's a fit. I feel like there used to be many communities we were all involved with but have since lost touch with. I'm active in some music communities, but not so much in places like Code Project these days. Pete

    The Insider News com json

  • MIDI Enhancements in Windows 10
    P Pete Brown

    Heh, thanks Pete. Yes, it has been quit a while. CodeProject thinks it was 1999 when I was last on, but my message history says it hasn't been quite that long. :) Pete

    The Insider News com json

  • MIDI Enhancements in Windows 10
    P Pete Brown

    Hi All I'm the author of the blog post here. Through the wonders of the web, I've found you all referencing it. :) Some clarification for you: - We've had (and still have) two previous MIDI APIs: DirectMusic and MME. Both of those are still available, but only work on desktop PCs. They're also not flexible enough to easily handle new transports like Bluetooth in a way we were happy with. - We did fix some minor MIDI Jitter and timing in Windows 10 RTM when we created this API. In the end, however, you're at the mercy of USB which, given how it routes, is going to add a very small amount of jitter and latency. Those amounts are still less than the DIN MIDI wire speed, though. Of course, Bluetooth has higher latency and jitter and depends on quality of space in the room. We're competitive with what Apple does there (and compatible with them), but it's not as tight as USB. For that reason, many people tend to use Bluetooth MIDI for secondary controls, not for banging our riffs on a keyboard. You can, but IMO, it's not the best experience. - The way DAWs typically deal with latency and jitter is to schedule MIDI messages. We don't have that yet, but it's on the backlog for consideration. - In our own testing, the wrapper doesn't add any meaningful latency; it's working at function call speeds. The UWP MIDI APIs were always accessible to desktop applications (not true of all UWP APIs) but some companies felt the ceremony required to call from a Win32 app was a bit ... opaque. I agree, so had this work done by a colleague on the team. Feel free to take a look at the code on GitHub and try it out. We're happy to consider pull requests if you have suggestions. ```c++ void winrt_midi_out_port_send(WinRTMidiOutPortPtr port, const unsigned char* message, unsigned int nBytes) { MidiOutPortWrapper* wrapper = (MidiOutPortWrapper*)port; wrapper->getPort()->Send(message, nBytes); } ... void WinRTMidiOutPort::Send(const unsigned char* message, unsigned int nBytes) { // check if preallocated IBuffer is big enough and reallocate if needed if (nBytes > mBuffer->Capacity) { mBuffer = ref new Buffer(nBytes); mBufferData = getIBufferDataPtr(mBuffer); } memcpy_s(mBufferData, nBytes, message, nBytes); mBuffer->Length = nBytes; mMidiOutPort->SendBuffer(mBuffer); } ``` Beyond that, it's worth pointing out that many have been using MIDI wrapper libraries since the dawn of time. It's never really been a problem. The C# helper library I wro

    The Insider News com json

  • Wallpapers
    P Pete Brown

    Paul Watson wrote: Once again my apologies, really did not mean to offend you You most definitely didn't offend, I was just looking for ideas :) One of the programs I use to make the fracts is ktaza. You can manipulate all sorts of fractal parameters including the function, blending and colors. Then you zoom in/zoom out etc. It's a nice program. Thanks for the ideas! Pete http://www.irritatedVowel.com

    The Lounge com question

  • Wallpapers
    P Pete Brown

    very nice ....i signed their guest book also... Thanks :) Pete http://www.irritatedVowel.com

    The Lounge com question

  • Wallpapers
    P Pete Brown

    Really? I'll have to come up with a better one. Which C# wallpaper was it that disappointed? I'd hate to shaft the C# folks, since I'm one myself :) If you have a color/whatever suggestion, let me know Thanks Pete http://www.irritatedVowel.com

    The Lounge com question

  • Wallpapers
    P Pete Brown

    A tip: convert them to JPG, 100% quality or GIF and save 2Mb RAM. :confused: How so? They're already over-compressed JPGs. For many of them, I hesitated to compress them even that much, as you lose too much quality, but it was a quality/bandwidth tradeoff. Thanks. Pete http://www.irritatedVowel.com

    The Lounge com question

  • Express your geekiness
    P Pete Brown

    Don't sand, instead wipe/smooth the mud down with a damp cloth. :) Pete http://www.irritatedVowel.com

    The Lounge com question

  • Express your geekiness
    P Pete Brown

    The entire site is written in C# :) Pete http://www.irritatedVowel.com

    The Lounge com question

  • Express your geekiness
    P Pete Brown

    Thanks. It's one of the main reasons I started the wallpaper section a while back. I run my 22"monitor at 1792x1344, and I could never find decent wallpaper for it. I hope you all enjoy it :) Pete http://www.irritatedVowel.com

    The Lounge com question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups