ASUS AI Mesh

I’m a big fan of ASUS for their routers and have two of them at home, an RC-AC3100 which is an amazing gigabit router and a RT-AC66 (their first AC router). Last night I got a firmware update for the 3100 and saw the new AIMesh feature.  AIMesh is similar to what Google is doing with their Mesh routers however the big thing is you don’t have to buy a while new setup since AIMesh works with some older ASUS routers as well. Here is a nice article from Gizmodo that talks about AI Mesh as well. Continue reading “ASUS AI Mesh”

Integrating the Logitech Harmony Smart Control and Google Home


I’ve been a longtime fan of Logitech Harmony remotes having owned several of them in the past. If you aren’t familiar with them, Harmony remotes are programmable universal remotes sold by Logitech, that allow you to automate multiple operations like turning on TV’s DVD’s and other components in home entertainment systems among other things. I had a bit of time over the holidays and decided to upgrade my old Harmony 650 remote to the new Harmony Smart Control system. I even integrated the system with voice control using a Google Home Mini which is a nifty little WIFI enabled speaker that includes Google Assistant. More about that later. Continue reading “Integrating the Logitech Harmony Smart Control and Google Home”

Cakewalk Momentum

Momentum is the last product I designed and worked on at Cakewalk. We designed this from the ground up to be a fluid platform to capture ideas and inspiration on the go. All you need is a smartphone, tablet or PC and you can capture up to four tracks of audio wherever you might be. Recorded audio is automatically synced to the momentum cloud allowing you to seamlessly sync all your devices. You can record something on your phone, pick up the same idea on an iPad or laptop, or even transfer all the tracks into the DAW of your choice via the momentum plugin. The transfer process is bi-directional so you can quickly transfer stems or backing tracks from a DAW or any other audio program to momentum via simple drag and drop at any time.

Momentum is a fantastic practice tool. Here is a video showing how I use it, playing Coltrane’s 26-2. I recorded this on an iPad with Momentum. The backing tracks were transferred from SONAR via simple drag and drop.

Post Build 2017: Early Surface Dial Experiments with SONAR

So I got a new Surface Dial and did some experiments this evening. Combined with the pen its really cool!

Check out this video to see how usable it is with SONAR. I have a Surface Pro 4 which doesn’t support the surface on screen placement, but besides that it works fine. In the test I’m just binding keyboard shortcuts to the Dial. SONAR doesn’t yet natively support the Dial but based on this I’m definitely considering implementing this.

Build 2017 Tech Talk – Cakewalk SONAR: Win32 lighting up on Windows 10

Tech Talk – Cakewalk SONAR: Win32 lighting up on Windows 10

A heads up for anyone attending the Microsoft Build conference in Seattle this year. Cakewalk and Microsoft are doing a tech talk demonstrating how Win32 applications can take advantage of some of the advancements on the Windows 10 platform. This is the only presentation at Build that focuses on media, audio and MIDI. There are two tech talks scheduled, on Thursday 5/11 2:30PM (Tech Talk C room) and Friday 5/12 10:30AM (Tech Talk C room).

In the tech talks we’ll cover topics such as:

  • UWP MIDI API with a hands on demo of how to integrate the UWP Win32 wrapper with a Win32 application
  • Bluetooth LE MIDI
  • Windows 10 WASAPI low latency audio support
  • Multi-Touch and Pen support
  • UWP desktop bridge
  • At the talks we’ll be doing a live debug session of SONAR showing code integrating UWP MIDI.

I may convince Pete Brown from Microsoft to jam on a Bluetooth MIDI controller with SONAR in that session, and we’ll trace the life cycle of a MIDI note which should be fun 🙂 Continue reading “Build 2017 Tech Talk – Cakewalk SONAR: Win32 lighting up on Windows 10”

AMD Bulldozer Review, AVX Performance using SONAR benchmark

Its pretty cool that Cakewalks AVX optimization work was featured in this review of AMD’s bulldozer from Tom’s Hardware. For those unfamiliar with Tom’s Hardware, the site is the holy grail of hardware reviews and benchmarks. Their depth of knowledge and coverage of the state of the art in computer hardware is unparalleled.

A few months ago I was contacted by Chris Angelini, the Editor in chief at Tom’s Hardware. He had come across a white paper that I co authored with Intel, featuring the AVX optimization’s in SONAR X1, and was very interested in knowing more about our experiences with AVX in relation to Bulldozer vs Intel’s SandyBrige.
Continue reading “AMD Bulldozer Review, AVX Performance using SONAR benchmark”

Google+ rocks

I have to say after using G+ for a few days I am really digging what they did here. I have hated Facebook from day one due to its awful privacy issues, spam and buggy user interface.

While there are a few rough spots its quite remarkable how well the service works. And I really dig the object orientedness of the circles paragigm for managing visibility of posts. It takes a little getting used to, but once you understand the concept behind it its very intuitive and natural. Kudos to Google and I hope people move to G+ from FB. I can see myself using it for a lot more than just casual posts – its very scalable.

My google plus feed can be accessed directly through plus.noelborthwick.com.

Utilizing Intel® AVX with Cakewalk SONAR X1

This is a whitepaper (Utilizing Intel® AVX with Cakewalk SONAR X1) which I co-authored with Intel engineer Rajshree Chabukswar, highlighting the advantages of optimizing for the Intel AVX chipset, with a focus on digital audio processing in a modern DAW like SONAR X1.

We’re excited with our synergetic relationship with Intel, which allows us to take  advantage of their bleeding edge technology in ways that directly beneft our users, allowing them to squeeze the most power out of their systems. While the paper is technical and requires an understanding of some low level programming, it also offers insight into the nuts and bolts of whats involved in optimizations for Intel CPU architectures in a modern DAW.

The paper features a real world case study of SONAR X1 code that was optimized in to take advantage of the benefits of the 256 bit AVX instruction set. If you have an Intel CPU from the Sandy Bridge processor family, it supports AVX and SONAR X1 will take advantage of it.
(While AVX is an Intel instruction set, it has also been adopted by AMD will be available in their upcoming Bulldozer processors. )

Code which is optimized for AVX  vectorization capabilities can work with 256-bit vectors, allowing working on 8 32-bit floating point values per iteration. In other words, this is twice the data throughput of earlier SSE instruction set! While this doesn’t necessarily translate to twice as fast, it is a huge step up in performance in many cases as the white paper illustrates.

The first step in any optimization task is what is referred to as “hotspot analysis”. In this phase you identify the bottlenecks in the code or that would benefit most from AVX optimization. We did analysis running through stress test projects and workflows that showed some classic hotspots. Once these were identified, the code was AVX optimized using the new AVX intrinsics available in Visual Studio 2010.

Click below to read the paper or download the PDF from Intel’s site:
Utilizing Intel® AVX with Cakewalk SONAR X1

[ Additional credits to Keith Albright and Bob Currie from Cakewalk, for hotspot analysis, development, and troubleshooting ]

Why a program crash can be good for you

OK that sounds like an oxymoron. A crash, good? Thats crazy talk!
Well maybe not quite that crazy – read on to find out why…

Why would anyone actually want their app to crash you may ask? To answer that question lets cover some background about why applications crash on Windows (or any OS).

An application crashes when it performs an unexpected operation or encounters what is called an “exception condition”. Exceptions include unwanted operations like writing to invalid memory locations, divide by zero errors, page faults, etc. Programs can end up with exceptions like this for a variety of reasons:

  •  bugs in the progam code 
  •  bugs in loaded DLL’s which share the same memory and address space as the host application. You frequently encounter dll’s via plug-in’s in applications (eg. loading a VST in an audio application or a imaging plug-in in Photoshop)
  • bugs in the operating system

Normally when an error like this occurs, Windows will display the familiar error message “This Program Has Performed an Illegal Operation and Will Be Shut Down” and the program will close. Some applications like SONAR handle such errors more gracefully and will even try and intercept these exception and attempt to allow the user to save their work before exiting the program. Additionally on Windows you can choose to save what is called a Minidump containing “post mortem” debugging info that is very useful to developers to find out why the program crashed.
Continue reading “Why a program crash can be good for you”

SONAR 8.5 / Intel Core I7 / Windows 7 X64 – a heavenly trilogy for DAW users

I tend to upgrade hardware infrequently but when I do I typically go for the best of breed so that I can get the maximum life out of my system. Having recently finished a project and suffered the pain of an underpowered system it was finally time for a big upgrade…

My new DAW for my studio which runs SONAR 8.5 was built using an Intel Core I7 950 with Windows 7 Professional X64. The system was build completely from off the shelf components all available at Newegg and was relatively inexpensive. (It helped that I bought most of the components the day after thanksgiving <g>)

For a CPU, I chose an Intel Core i7-950 Bloomfield, 3.06GHz processor. The Core I7 is truly a breakthrough in processing power and a great choice for a DAW because of its blistering speed. I passed on the Extreme Edition since I didn’t think it was a good value for the price differential. At Cakewalk, we worked closely with Intel on evaluation versions of the Core I7, optimizing and streamlining SONAR to  work better with this chip, so this made it an obvious choice for me. During testing this processor broke all our benchmarks 🙂 I will post some results once I run our internal benchmark on my rig.

For the operating system Windows 7 X64 was a no brainer choice. During the SONAR 8.5 cycle we tested SONAR with beta and RC versions of Windows 7 and addressed all known compatibility issues.  We also found that the kernel enhancements in Win7 to be complimentary to a lot of the optimizations we did in SONAR itself. I chose the Professional SKU because I wanted some of the extra’s like the XP compatibility mode and remote desktop host. More Windows 7 resources and some articles I contributed to can be found here and in this Create Digital Music article.
Installing the 64 bit version was also an easy choice since I wanted 6GB of RAM. There are also other benefits to a 64 bit OS even if you are primarily running 32 bit applications as outlined in this blog post.

Anyway here are the parts from my original newegg order:

PSU CORSAIR|CMPSU-620HX RT
CASE ANTEC|SONATA ELITE BK RT
MB MSI X58M 1366 RT
VGA EVGA 01G-P3-N945-LR 9400GT 1G R
CPU INTEL|CORE I7 950 3.06G 45N R
MEM 2Gx3|CRUC BL3KIT25664TB1337 R
HD 1.5T|WD 32M SATA2 WD15EADS % 
DVD BURNER LITE-ON | IHAS424-98 R
WIRELESS ADAPTER LINKSYS|WMP600N R
I’m running this with two dual 22″ monitors – Acer’s that I had from my last setup. 

Disk: The Western Digital hard disks is not especially a great choice for disk streaming performance, but I couldn’t resist the price of less than 90 bucks for 1.5 terabyte! So far the disk throughput has been fine for my needs though it has a Win7 performance rank of 4.5.

OS: Windows 7 Professional X64

Audio interface: MOTU 828 MK2
I was a bit apprehensive after reading some install problems from users on the SONAR forums. However I loaded the latest MOTU 828 64-bit drivers without too much trouble at all. I found that I had to explicitly run the setup program as administrator or it wouldn’t install properly :-/ Once installed, the driver itself works great and I can dial down the buffer size all the way down to the minimum size and it plays back flawlessly. And my motherboard has a Via chipset for Firewire too which MOTU doesn’t recommend – go figure!

OS Installation:
The OS install went without a single hitch and picked up all the devices – but I went and installed native drivers for all the devices later since some were more recent than Windows update. 

WIFI Warning:
Do NOT buy the WMP600N WIFI adapter until Linksys fix their X64 drivers. They suck big time and. I returned the unit since the drivers performance were unusable with WIFI. This after the product is listed as being Win7 logo compliant! Instead I went with a wired solution which rocks. I’m using an old WRT54G converted into a wireless bridge using the opensource DD-WRT firmware. It takes some tweaking and requires you to be a bit brave with your router but its pretty well supported on that site. I now connected via standard ethernet to the machine which works great and I get 10MBPS internet speeds with it which is all I need. In general be wary of 64 bit WIFI drivers – they are notoriously bad. 

Performance:
 
I can categorically say that the SONAR/Core I7/Windows 7 combination is a match made in heaven for DAW users! I easily have way more bandwidth than I would ever need for the next several years on this rig. On my largest projects which would previously max out the CPU or drop out (an older dual CPU Windows 2003 based machine), I am now able to run at 128 sample buffers with a MOTU 828 MK2, at 24bit/96KHz with under 20% CPU utilization in SONAR!

Summary:
We finally have reached a time when 64-bit computing, low latency performance and low cost components are a reality. It’s a great time for DAW users!

A case for 64 bit Windows

With 64 bit computers becoming mainstream (its hard to find a machine thats not 64 bit capable these days) the question being asked more often is “Should I install a 64 bit operating system or a 32 bit operating system?” While the advantages of a 64 bit OS might be more obvious for those running native 64 bit software, or those who have a need for more than 2GB of memory, its a bit more murky as to whether regular 32 bit applications will also perform well on a 64 bit OS.

A 64 bit capable processor has an increased number of registers, as well as an improved floating point unit (FPU) design with double the number of FPU registers. 64 bit operating systems can take advantages of the expanded register set available to a 64 bit processor. The advantages to this are fewer memory accesses for data that can be stored in registers, leading to faster execution of computationally intensive processes. You can read more about this from this Cakewalk X64 white paper from several years ago.

Here is an interesting benchmark showing that 64 bit windows can perform better even with the same hardware and software. Some of the benchmarks are relevant to digital audio processing as well and so apply to DAW users.

Windows Vista Benchmark: 64-Bit Faster Than 32-Bit

A Closer Look at 32-Bit vs. 64-Bit Windows

Windows 7 For Music Production

Here are some links to various articles on Windows 7 that I have contributed to.

Cakewalk Windows 7 Resources
Our official Windows 7 resources page

Obsessive Windows 7 Under-the-Hood Guide for Music; Can You Finally Dump XP? 
This is an interview I did for Peter Kirn from Create Digital Music

How Windows 7 Will Affect Your Music Production
Similar material to the Create Digital Music interview

Windows 7 Improvements to Help Audio Recording
CNET blogger Matt Rosoff, posted his thoughts on how Windows 7 will make the art of audio production on PC easier. Quotes my blog post.

 Windows 7: Should You Upgrade Your Music PC?
Music Radar’s Ben Rogerson takes a look at Windows 7 to determine whether or not it’s a sound investment for people using their PCs primarily for music creation. Also some quotes from my Win7 posts.

The most out of Windows 7 and optimizing Windows for music
Another article from Peter Kirn from Create Digital Music that I contributed to

Windows Vista is here to stay

As part of my job at Cakewalk, I’ve been working on making our applications support this new operating system from Microsoft. Some things have been easy and some not. Interestingly the stuff that ended up being the hardest to do were features that looked relatively simple on the surface. I’ll elaborate on some of this in future threads.

Here are several published interviews, where I discuss some of the work we’ve done with SONAR for Windows Vista.

Vista for Music + Pro Audio: Exclusive Under the Hood with Cakewalk’s CTO [Create Digital Music]

Interview with Noel Borthwick, Cakewalk CTO [CakewalkNet]

SoundOnSound: Vista For Musicians: Part 2: What The Developers Think

The Guardian: Why Vista sounds worse

Why Vista Matters To Developers [EWeek]