Friday, 26 March 2021

The 29th Annual Running Of The University Of Oxford Digital Signal Processing Course Will Now Be Held Online In 2021

The 29th annual running of the University Of Oxford Digital Signal Processing course has been over subscribed so we are re-running the course in the Autumn.

The online course was first held in 2020 and had excellent reviews from the attendees.

The next course will be run over a period of 6 weeks between Monday 27th September and Friday 5th November 2021.

Based on the classroom course, Digital Signal Processing (Theory and Application), this online course consists of weekly live online tutorials and also includes a software lab that can be run remotely. We'll include all the same material, many of the existing labs and all the interaction of the regular course.

Online tutorials are delivered via Microsoft Teams once each week and practical exercises are set to allow you to practice the theory during the week. 

You will also have access to the course VLE (virtual learning environment) to communicate with other students, view and download course materials and tutor support is available throughout.

Code examples will be provided although no specific coding experience is required. 

The live tutorials will be on Wednesday each week from 13:00 - 14:30 and 15:00 - 16:30 (GMT) with a 30-minute break in between.

You should allow for 10 - 15 hours study time per week in addition to the weekly lessons and tutorials.

After completing the course, you should be able to understand the workings of the algorithms we explore in the course and how they can solve specific signal processing problems.

Full Details Are Available Here

Wednesday, 3 March 2021

Integrating Visual Studio Compiler Tools With Visual Studio Code

Integrating Visual Studio compiler tools with Visual Studio Code is a really powerful solution for developing and debugging C/C++ code.

Assuming you have installed Visual Studio Code and Visual Studio compiler tools then before continuing I highly recommend installing the C/C++ for Visual Studio Code extension.

Here are the steps I have for the integration process:

Enable a "VS 2022 Community Prompt Here" integration with Explorer. I've based my solution on Daniel Cazzulino's excellent CommandPromptHere solution that is available here:

The following configuration supports x64 compilation and called the file "VS202264BitComCmdHere.inf"

; "CMD Prompt Here" PowerToy
; Copyright 1996 Microsoft Corporation


CopyFiles = VS202264BitComCmdHere.Files.Inf
AddReg    = VS202264BitComCmdHere.Reg

DelFiles  = VS202264BitComCmdHere.Files.Inf
DelReg    = VS202264BitComCmdHereUninstall.Reg



VS202264BitComCmdHere.Files.Inf = 17


HKLM,%UDHERE%,UninstallString,,"rundll32.exe syssetup.dll,SetupInfObjectInstallAction DefaultUnInstall 132 %17%\VS202264BitComCmdHere.inf"
HKCR,Directory\Background\Shell\VS202264BitComCmdHere\command,,,"cmd.exe /k call ""C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"" && pushd ""%V"""
HKCR,Directory\Shell\VS202264BitComCmdHere\command,,,"cmd.exe /k call ""C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"" && pushd ""%V"""
HKCR,Drive\Shell\VS202264BitComCmdHere\command,,,"cmd.exe /k call ""C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"" && pushd ""%1"""


VS202264BitComCmdHereName="Developer Command Prompt Here for VS2022 Community"
VS202264BitComCmdHereAccel="VS 2022 Community Prompt"

To use VS Code with Visual Studio, in the project folder you need to create a .vscode/launch.json file:

    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit:
    "version": "0.2.0",
    "configurations": [
            "name": "cl.exe - Build and debug active file",
            "type": "cppvsdbg",
            "request": "launch",
            "program": "${fileDirname}\\${fileBasenameNoExtension}.exe",
            "args": [],
            "stopAtEntry": false,
            "cwd": "${workspaceFolder}",
            "environment": [],
            "console": "externalTerminal",
            //"console": "internalConsole",
            "preLaunchTask": "C/C++: cl.exe build active file"


and a .vscode/tasks.json file:

"version": "2.0.0",
"tasks": [
            "type": "cppbuild",
            "label": "C/C++: cl.exe build active file",
            "command": "cl.exe",
            "args": [
                "-D" "_CRT_SECURE_NO_WARNINGS=1",
            "options": {
                "cwd": "${workspaceFolder}"
            "problemMatcher": [
            "group": {
                "kind": "build",
                "isDefault": true
            "detail": "compiler: cl.exe"


Now open VSCode and open the project folder: File | Open Folder ...

Save the workspace: File | Save Workspace As ...

Close VSCode

Now to use VSCode with Visual Studio, right click on the project folder in Explorer and choose: "VS2022 Community Prompt"

Type the following:

code workspace.code-workspace

You can now compile and debug your application, with full break point and single stepping support.