From d81f56665df43a83eccd8d4416ce6be492989942 Mon Sep 17 00:00:00 2001 From: Shakes63 Date: Fri, 3 Mar 2023 10:34:09 -0600 Subject: [PATCH] Updated Readme file --- README.md | 56 +++++++++++++++++++++++++++---------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 32cfceb..abc4b1b 100644 --- a/README.md +++ b/README.md @@ -1,35 +1,35 @@ # Http2Midi -Small web server that translates Http Get requests into Midi Messages. +

Small web server that translates Http Get requests into Midi Messages.

-There are 6 different commands that you can send to this web server.s -There is MIDI Note On, MIDI Note Off, MIDI CC Message, List MIDI Devices, Info, and Quit. +

There are 6 different commands that you can send to this web server.
+There is MIDI Note On, MIDI Note Off, MIDI CC Message, List MIDI Devices, Info, and Quit.

-In order to sent a Note On you will need to provide these parameters to /midi/noteon: -deviceName: Name of the device you are wanting to send the message to in a string format exactly like you see when running the list devices command. -channel: Number from 0 - 15 indicating the channel number you want to connect to. -note: Number from 0 - 128 corresponding to the different midi notes. -velocity: Number from 0 - 128 indicating the velocity. -Example: http://localhost:8080/midi/noteon?deviceName=Propresenter&channel=0¬e=52&velocity=128 +

In order to sent a Note On you will need to provide these parameters to /midi/noteon:

+deviceName: Name of the device you are wanting to send the message to in a string format exactly like you see when running the list devices command.
+channel: Number from 0 - 15 indicating the channel number you want to connect to.
+note: Number from 0 - 128 corresponding to the different midi notes.
+velocity: Number from 0 - 128 indicating the velocity.
+Example: http://localhost:8080/midi/noteon?deviceName=Propresenter&channel=0¬e=52&velocity=128 -In order to sent a Note Off you will need to provide these parameters to /midi/noteoff: -deviceName: Name of the device you are wanting to send the message to in a string format exactly like you see when running the list devices command. -channel: Number from 0 - 15 indicating the channel number you want to connect to. -note: Number from 0 - 128 corresponding to the different midi notes. -Example: http://localhost:8080/midi/noteoff?deviceName=Propresenter&channel=0¬e=52 +

In order to sent a Note Off you will need to provide these parameters to /midi/noteoff:

+deviceName: Name of the device you are wanting to send the message to in a string format exactly like you see when running the list devices command.
+channel: Number from 0 - 15 indicating the channel number you want to connect to.
+note: Number from 0 - 128 corresponding to the different midi notes.
+Example: http://localhost:8080/midi/noteoff?deviceName=Propresenter&channel=0¬e=52
-In order to sent a CC Message you will need to provide these parameters to /midi/cc: -deviceName: Name of the device you are wanting to send the message to in a string format exactly like you see when running the list devices command. -channel: Number from 0 - 15 indicating the channel number you want to connect to. -ccNumber: Number from 0 - 128 corresponding to the different midi notes. -value: Number from 0 - 128 corresponding to the different midi notes. -Example: http://localhost:8080/midi/cc?deviceName=Propresenter&channel=0&ccNumber=15&value=33 +

In order to sent a CC Message you will need to provide these parameters to /midi/cc:

+deviceName: Name of the device you are wanting to send the message to in a string format exactly like you see when running the list devices command.
+channel: Number from 0 - 15 indicating the channel number you want to connect to.
+ccNumber: Number from 0 - 128 corresponding to the different midi notes.
+value: Number from 0 - 128 corresponding to the different midi notes.
+Example: http://localhost:8080/midi/cc?deviceName=Propresenter&channel=0&ccNumber=15&value=33 -In order to list out the available midi devices you will need to send a request to /midi/list -Example: http://localhost:8080/midi/list - -In order to get these instructions again you will need to send a request to /midi/info -Example: http://localhost:8080/midi/info - -To shutdown the webserver send a request to /midi/quit -Example: http://localhost:8080/midi/quit +

In order to list out the available midi devices you will need to send a request to /midi/list

+Example: http://localhost:8080/midi/list + +

In order to get these instructions again you will need to send a request to /midi/info

+Example: http://localhost:8080/midi/info + +

To shutdown the webserver send a request to /midi/quit

+Example: http://localhost:8080/midi/quit