VIZIC TECHNOLOGIES SMARTWAV 2 MIDI Mode----Rev 4.
SMARTWAV 2 MIDI Mode SmartWAV2 – Intelligent Embedded Audio Processor Vizic Technologies ©2020 | 1
SMARTWAV 2 MIDI Mode SmartWAV2 Top View SmartWAV2+MIDI Adapter Connections Vizic Technologies ©2020 | 2
SMARTWAV 2 MIDI Mode Table Of Contents: 1- SmartWAV2 ..................................................................................................4 1.1 Introduction........................................................................................4 1.2 Features.……......................................................................................5 1.3 Typical Applications..........................................................................5 2- SmartWAV2 System Explained …………..............
SMARTWAV 2 MIDI Mode 1- SmartWAV2: 1.1- Introduction: The SmartWAV2 is an Intellectual Property smart high-end audio processor running on a state-of-the-art ARM Cortex M4 chip. The processor is mounted on a development board for easy and fast development. SmartWAV2 is polyphonic: can play up to 14 channels/voices at the same time with high quality stereo sound from a microSD card with universal FAT/FAT32 format. The processor supports 8/16bit, 8Khz - 48Khz, mono / stereo, WAVE (.WAV) files CD Quality.
SMARTWAV 2 MIDI Mode 1.2- Features: Pre-amplified dual channel stereo with 8/16bit, stereo/mono, and up to 48khz sampling rate, CD quality. Full polyphonic 14 channel playback / auto mixing. Fully support Program Change messages from 0 to 127. Master gain digital volume control with 1/100 steps. MIDI mode compliant with channel selection and Omni mode. On board stereo 3.5mm plug line-out level.
SMARTWAV 2 MIDI Mode 2- SmartWAV2 System Explained: Vizic Technologies ©2020 | 6
SMARTWAV 2 MIDI Mode SmartWAV2 processor is a sophisticated multi-task audio processor, it can playback up to 14 individual .wav tracks/songs/voices at the same time, triggering, decoding, sampling, mixing are automatic processes that can be controllable.
SMARTWAV 2 MIDI Mode In the illustration, the top right keyboard is the MIDI transmitter that will be sending MIDI messages to each device, note how each MIDI receiver device has an assigned MIDI channel to only receive their matching channel messages.
SMARTWAV 2 MIDI Mode MIDI commands are size defined bytes of data, this document won’t cover the binaries of how those are created, but basically all MIDI commands are divided in 8 main commands: - Note OFF. Note ON. Polyphonic Key Pressure (Aftertouch). Control Change. Program Change. Channel Pressure. Pitch Bend Change. System Common Messages. Always all MIDI commands/messages contain at least the following information: -Command Type (One of the above 8 main commands).
SMARTWAV 2 MIDI Mode 3- SmartWAV2 Pinout: Vizic Technologies ©2020 | 10
SMARTWAV 2 MIDI Mode 3.1- MIDI Serial Mode 4 Pinout: Pin 1 Symbol M0 Function INPUT Description Digital input power ON/reset mode selection pin, the combination of M0, M1 and M2, determines the working mode of the processor. Internally pulled-down to ground via a 40K resistor. 2 M1 INPUT Digital input power ON/reset mode selection pin, the combination of M0, M1 and M2, determines the working mode of the processor. Internally pulled-down to ground via a 40K resistor.
SMARTWAV 2 MIDI Mode 8 TX - V- NC Not used, leave unconnected. 9 R-OUT OUT Pre-amplified right channel audio output pin. Connect this pin instead of the 3.5mm plug connector, those are internally connected. (*Do not use both plug and this pin at the same time). 10 L-OUT OUT Pre-amplified left channel audio output pin. Connect this pin instead of the 3.5mm plug connector, those are internally connected. (*Do not use both plug and this pin at the same time).
SMARTWAV 2 MIDI Mode 4- SmartWAV2 MIDI Hardware Connections: Those next sections detail the required physical electrical connections to operate SmartWAV2 in MIDI mode: MIDI channel selection, audio outputs and MIDI-IN connection. The SmartWAV2+MIDI Adapter is a simple board that simplifies all the required connections to operate the SmartWAV2 in MIDI mode.
SMARTWAV 2 MIDI Mode 4.1- MIDI Serial Mode 4 Hardware Typical Connection: *The SmartWAV2 must always be powered with 2.7V-3.5V (Reset is 5V tolerant).
SMARTWAV 2 MIDI Mode The MIDI(opto-isolated) to TTL(0V-3.3V) converter is a simple circuit just to convert the electrical current signals from the MIDI loop to the standard voltage TTL signals of the serial protocol. The design of the SmartWAV2+MIDI Adapter is fully based on the electrical connections presented in this section, the adapter does integrate the MIDI to serial TTL adapter, the 3.
SMARTWAV 2 MIDI Mode Internally the smartWAV2 has pull-down resistors, so when any of the I0-I3 channel selection pins are not connected to VCC, those are automatically/internally connected to GND. As an example if no pin I0-I3 is connected and left floating, the resulting combination is 0000b, this means that smartWAV2 is configured to channel 1 and will only receive commands for this channel.
SMARTWAV 2 MIDI Mode 5- SmartWAV2 MIDI Supported Commands: SmartWAV2 acts as a MIDI Receiver device, providing a unidirectional serial interface to a MIDI controller via its MIDI-IN pin. Any MIDI compliant device can communicate with SmartWAV2 using standard MIDI commands, note on, note off, program change, etc. The serial protocol over MIDI is universal: Serial Data Format: 8 Bits, No Parity, 1 Stop Bit. BaudRate: 31250 bps(default). Serial data is true and not inverted.
SMARTWAV 2 MIDI Mode 5.2 Note ON The MIDI Note ON command is supported; it basically triggers the sound of a received note/track; the velocity parameter determines the amount of volume for the track. 5.3 Polyphonic Key Pressure(Aftertouch) This command type is not supported by SmartWAV2 and all incoming Polyphonic Key Pressure commands are ignored. 5.
SMARTWAV 2 14-15 16 17 18 19 20 21 22 23-29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46-47 48 49 50 51 52-63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 Undefined General Purpose Controller 1 General Purpose Controller 2 General Purpose Controller 3 General Purpose Controller 4 Tracks Loop Enable/Disable Layer Velocity Enable/Disable Note OFF Enable/Disable Undefined Audio Error Messages Enable/Disable Undefined LSB for Control 0 (Bank Select) LSB for Control 1 (Modulation Wheel) LSB fo
SMARTWAV 2 83 84 85-87 88 89-90 91 92 93 94 95 96 97 98 99 100 101 102-119 120 121 122 123 124 125 126 127 General Purpose Controller 8 Portamento Control Undefined High Resolution Velocity Prefix Undefined Effects 1 Depth Effects 2 Depth Effects 3 Depth Effects 4 Depth Effects 5 Depth Data Increment Data Decrement Non-Registered Parameter Number LSB Non-Registered Parameter Number MSB Registered Parameter Number LSB Registered Parameter Number MSB Undefined All Sound Off Reset All Controllers(System Reset
SMARTWAV 2 MIDI Mode -Channel Volume: this command modifies the internal Master Gain volume of the smartWAV2. -Balance: this command modifies the internal panning of all the playing tracks inside smartWAV2. -Panning: this command modifies the internal panning of all the playing tracks inside smartWAV2.
SMARTWAV 2 MIDI Mode -All Sound Off: this command stops all playing sounds/notes. -Reset All Controllers: this command performs an internal system reset of SmartWAV2, same effect as a hardware reset. -All Notes Off: this command stops all playing sounds/notes.
SMARTWAV 2 MIDI Mode 5.7 Pitch Bend Change This command modifies the sound of the playing notes/tracks by changing the pitch from -2 to +2 half tones depending on the received pitch parameter. 5.8 System Common Messages System common messages are not musical commands; those refer to basic control/configurations for a MIDI system.
SMARTWAV 2 MIDI Mode 6- SmartWAV2 MIDI Internal Handling: 6.1- MIDI Notes/Tracks Structure: SmartWAV2 can handle Note ON and Note OFF commands, those are intended to trigger notes or sounds, basically those commands contain the next parameters: -Command Type (Note ON/Note OFF) -MIDI Channel (1-16) -Note Number (0-127) -Velocity (Volume for the track) SmartWAV2 can trigger notes/tracks based on the received Note Number if the “.
SMARTWAV 2 MIDI Mode 6.2- MIDI Program Change/Folders Structure: SmartWAV2 can handle Program Change commands, in a MIDI system those are intended to change the patch, instrument, voice or sound type (Change the notes sound to guitar, piano, etc.). Inside SmartWAV2, those commands will change the current selected folder.
SMARTWAV 2 MIDI Mode Program Change command is the second most important in a MIDI system, basically those contain the next parameters: -Command Type (Program Change) -MIDI Channel (1-16) -Program/Patch Number (0-127) SmartWAV2 can change folders based on the received Program / Patch Number if the folder names are created in the next manners: -Program/Patch Number 0 refers to a folder named “000”. -Program/Patch Number 64 refers to a folder named “064”.
SMARTWAV 2 MIDI Mode Based on the above microSD card contents, once a Program Change command with Program/Patch Number 64 is received, the system will go inside folder “064” and consecutive Note ON commands will try to trigger “.wav” files that are inside “064” folder. If a second Program Change command with Program/Patch Number 0 is received, the system will now go out of folder “064” and enter inside folder “000”, then consecutive Note ON commands will try to trigger “.
SMARTWAV 2 MIDI Mode 7- SmartWAV2 MIDIConfig.txt File: At system boot/start SmartWAV2 always look for a file called “MIDIConfig.txt” in the root path, this file is used to provide SmartWAV2 with some configurations and parameters, this file is optional as are its parameters, if any of the next configuration parameters are not present, the defaults will be taken.
SMARTWAV 2 MIDI Mode -Note OFF Disable: If the file contains the word NOTEOFFDISABLE, SmartWAV2 will disable/ignore all Note OFF commands during system run, this functionality is great percussion sounds, where there is no need to receive Note OFF commands. Default Note OFF is enabled.
SMARTWAV 2 MIDI Mode The next image shows an example of a “MIDIConfig.
SMARTWAV 2 MIDI Mode 8-MicroSD File/Folder Organization: The SmartWAV2 is capable of managing folders via the Program Change commands: The next image shows the folder and files structure of a full MIDI system: MicroSD Card File Contents The Image shows how folders from 000 to 127 are inside the root path, those denote Program Change possible values, inside each of the folders there are files from 0 to 127 showing the name of the actual notes/tracks to be triggered via Note ON commands In this case is the
SMARTWAV 2 MIDI Mode 9- Proprietary Information: The information contained in this document is the property of Vizic Technologies and may be the subject of patents pending or granted, and must not be copied or disclosed without prior written permission. Vizic Tech endeavors to ensure that the information in this document is correct and fairly stated but does not accept liability for any error or omission.
SMARTWAV 2 MIDI Mode Use of Vizic devices in life support and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend, indemnify and hold harmless Vizic Technologies from any and all damages, claims, suits, or expenses resulting from such use. No licenses are conveyed, implicitly or otherwise, under any Vizic Technologies intellectual property rights. THE DATASHEETS AND SOFTWARE ARE PROVIDED "AS IS.