diff --git a/src/webmidi.js b/src/webmidi.js
index <HASH>..<HASH> 100644
--- a/src/webmidi.js
+++ b/src/webmidi.js
@@ -3108,9 +3108,7 @@
     if (typeof controller === "string") {
 
       controller = wm.MIDI_CONTROL_CHANGE_MESSAGES[controller];
-      if (!controller) {
-        throw new TypeError("Invalid controller name.");
-      }
+      if (controller === undefined) throw new TypeError("Invalid controller name.");
 
     } else {
sendControlChange() now properly accepts "bankselectcoarse" as first param