The Midi Port top

to MAIN MENU

On this page you can find questions and answers about Midi in direct relation to the EWS64XL. For Midi problems that probably find their origin in the third-party software you use (like Cakewalk, Cubase etc.) you better have a look at The Cool CuCake Forge. See Related Topics at the bottom of this page to find direct links.
Questions and answers from the official Terratec FAQ (dated 981228) have been implemented if applicable. These topics have been marked with a small Terratec logo.
arredshade.gif (1166 bytes) How can I select Variations? 990112
arredshade.gif (1166 bytes) Is it possible to send effects to individual midi-channels through the EWS? 990117
arredshade.gif (1166 bytes) I can't install Midi-2 981116
arredshade.gif (1166 bytes) The relation between Codec Power-down and Midi-2 981225, updated 990529
arredshade.gif (1166 bytes) Midi IN/OUT does not work 981002
arredshade.gif (1166 bytes) How can I make my own Midi-cables? 981002
arredshade.gif (1166 bytes) Activating the Midi 2 device
arredshade.gif (1166 bytes) Selecting the Midi-2 port from a midi sequencer
arredshade.gif (1166 bytes) What is the exact difference between Midi 1 and Midi 2?
arredshade.gif (1166 bytes) Do you have recommendations in which cases not to use Midi 1 or Midi 2?
arredshade.gif (1166 bytes) Are the EWS Midi-interfaces fully Roland MPU-401 compatible?
arredshade.gif (1166 bytes) Can I determine by the Frontpanel version or serial number ranges if the Midi port is faulty?
arredshade.gif (1166 bytes) Crippled Sysex Dumps (also described as 'Midi-dumps')
arredshade.gif (1166 bytes) Midi-buffer overrun
arredshade.gif (1166 bytes) How to control Filter cut-off frequency
TT-FAQ I can't install the second midi interface. The midi 2 driver will be marked with an exclamation mark in the device manager.
TT-FAQ The MIDI-2 driver only works as an output driver. How can I use the MIDI-2 for input also?
TT-FAQ As of driver version I have an additional MIDI 1 driver as well as the MIDI play driver in my sequencer
program, however, this extra driver is not listed under Windows 95/98 'Multimedia'.
TT-FAQ I cannot use all the MIDI ports.
TT-FAQ If I set the effect level to 0 for all the individual MIDI tracks in my sequencer program, the effects of all MIDI sounds are still present.
TT-FAQ After installing version 2.x of the drivers I cannot hear anything when playing MIDI files.
TT-FAQ What is the latency for MIDI playback on the EWS64 L/XL?
arredshade.gif (1166 bytes) Related Topics

arrblshade.gif (1167 bytes) How can I select 'Variations'? 990112

Variations exist in Roland GS compatible soundsets. The 'main' instruments in such a soundset are called 'Capitals' and they are directly accessible via Program Change numbers. Apart from the 'Capitals' such a soundset also contains alternative sounds, called 'Variations'. Those are slight nuances of a particular instrument. The Variations are stored in a different 'level' of the soundset, called a 'bank'. To access the other bank you have to send a Bank Select command. In Midi terms that's Controller number 0. The procedure according to Roland (source: Roland Sound Canvas manual) is as follows.

To change the instrument, transmit in the following order:

  • Control number 0/value (variation number)
  • Control number 32/value (0)
  • Program number (instrument number)

Note that not every Capital has one or more Variations! Study the instrument-table of your synthesizer or for the EWS64 GS soundsets the Midi & Wavetable manual that came with the card.

A comprehensive and illustrated 'work-through' example of selecting variations from a sequencer program you will find in the Cool CuCake Forge, section Cubase, item 'How to send Control Messages to select alternative sounds (Variations)'.

toppage
arrblshade.gif (1167 bytes) Is it possible to send effects to individual midi-channels through the EWS? 990117

Terratec support

You can choose one reverb type and one chorus type for all midi channels, but you can control the effect level for each midi channel. To do this, you have to set the REVERB SEND and the CHORUS SEND for MIDI in the FX panel to 63. Then you can control the effect level e.g. in Cubasis AV or Cubase VST via the GM/GS/XG-Editor.

toppage
arrblshade.gif (1167 bytes) I can't install Midi-2 981116
toppage
arrblshade.gif (1167 bytes) The relation between Codec Power-down and Midi-2 981225, updated 990529

When you disable the codec, you can't install MIDI 2. This is, because MIDI 2 is in narrow conjunction with the codec. What you must do is: Install the CODEC, then install MIDI 2 and then you can disable the CODEc again!

Note: in December 98 Terratec released a Codec PowerDown utility. They don't give any support on it, but it's nice to know and you can find it through our Download Page.

Contribution by Mathias Uhr

Mathias wrote a detailed description how to get Midi-2 working again after Codec Powerdown.

Some important points first:

  • In order to run the DB50XG, Midi2 Out needs to be enabled
  • If you want to use Midi2 IN, an interrupt (IRQ) must be assigned to it. If not (only Midi2 OUT / daughterboard), only an I/O address needs to be reserved for it.
  • Don't use IRQ 9 for any EWS part on a motherboard with Intel 440BX chipset.
  • To enable Midi2, the Codec ("WSS") has to be enabled! (You can disable it after you have properly installed Midi2)
  • To completly power down the Codec, it needs to be disabled in the EWS EEprom AND powered down with "Ewspower.exe"
  • To make those settings, use "ews64cfg.exe" from DOS MODE.
  • There are three different versions of this utility:
    • The one that came with the original TT software: version 2.4
    • When you click "setup" on the Control Panel: version 2.6 (This is not a seperate .exe-file, it's built in in "ewsmixer.exe")
    • The one that came with the "ewspower.zip" archive: version 2.7. The version number can only be seen when started. Don't confuse these files!
    • IMORTANT: Only version 2.7 works to disable the codec! Don't use the other versions!!! Only v2.7. for ANY changes!
  • When you enter this hardware setup, you CANNOT see the acutal settings, everything is empty again (at least with v2.7). You need to take notes from the Windows control panel > system > Device Manager before you leave Windows.
  • After you did changes to the EWS EEprom, turn the computer completly off and wait a few seconds before turning it on again.
  • It happened to me that I couldn't start the EEprom hardware setup anymore, or just not with version 2.7. In this case, remove all drivers, run "ews64neu.exe" (original TT software on CD) from DOS and restart. This will set the card back to factory defaults. Then, ews64cfg.exe v2.7 works again.
  • Whenever (a) new driver(s) get(s) installed (message boxes when booting Windows), restart your system again! Only after this second restart, the EWS apps are working!

Pfhew, I hope you're still with me...

Now here's a step by step guide. I hope I remember correctly. Before you start:

  • Make sure you have the latest drivers ready in a easy to enter directory like C:\EWSDRV and that there are no other drivers in default install dirs or in the CD-ROM or floppy drives.
  • Put the file "ews64cfg.exe" from "ewspower.zip" (v2.7) in a easy reachable directory like C:\EWSTOOL.
  • Put the util "remove64.exe" from the original software or TT homepage in this directory, too.
  • Write down all the IRQ's and I/O addresses of all 6 EWS devices (Device Manager > Properties > Resources)
  • Have you're Windows installation CD ready at hand.

Enable Midi2:

(This paragraph count's only, if you haven't installed Midi2 yet or if you encounter problems and have to start from the beginning.)

  • Run remove64.exe from Windows. All drivers get removed. (Windows gets automatically restarted in between)
  • Enter DOS-Mode (Start-Menü > Quit > Start computer in MS-DOS Mode)
  • Run ews64cfg.exe v2.7. Enter all values manually (not PnP) and use the same numbers as you wrote down before. (In two cases I think, e.g. digital control?, these I/O addresses are not available - then enter "PnP")
  • For Midi2, enter a free IRQ and I/O. NOTE: Codec (all the stuff labeled "WSS") needs to be enabled first to install Midi2. If it's not, enter new, unused values here, too.
  • Leave "---" for the game port if you don't need it.
  • Hit OK and confirm the write process to the EEprom. (After you saw the progress bar, the screen get's blank and youjust see the cursor, a bug of v2.7 I guess. Has no consequences.)
  • Turn OFF your computer completely.
  • Boot it up again.
  • At the start of Windows, the new hardware should be detected, and you will be promted several times to enter the path to the drivers. Maybe you also have to insert the Windows install CD.
  • Reboot again.
  • Check the Windows device manager if there are no conflicts (no little yellow exclamation marks) and all the devices are enabled (except maybe the Game Port).
  • Test the EWS apps and Midi2.

Disabling the Codec:

(At this point, Codec and Midi2 must be enabled and running.)

  • Enter Windows Control Panel > System > Device Manager and remove the device "Codec".
  • Enter DOS-Mode (Start-Menü > Quit > Start computer in MS-DOS Mode)
  • Run ews64cfg.exe v2.7. Enter all values manually (not PnP) and use the same numbers as you wrote down before. (In two cases I think, e.g. digital control?, these I/O addresses are not available - then enter "PnP")
  • Disable the Codec by choosing "---" in the topmost box of the "WSS" section. All related values should disappear now.
  • Hit OK and confirm the write process to the EEprom. (After you saw the progress bar, the screen get's blank and you just see the cursor, a bug of v2.7 I guess. Has no consequences.)
  • Turn OFF your computer completely.
  • Boot it up again.
  • At the start of Windows, one new device should be detected: "TerraTec [Disabled:Codec]" or so, and you will be prompted to enter the path to the drivers.
  • Reboot again.
  • Check the Windows device manager if there are no conflicts (no little yellow exclamation marks) and all the devices are enabled except the Codec and maybe the Game Port.
  • Test the EWS apps and Midi2. In the EWS Control Panel, the Mix switch is now fixed to "Synth" and the Out1 selector to "B". All the faders that are of no use now are fixed and muted (or behave strange).
  • To power down the Codec, you now need to run "ewspower.exe". In the DOS-Box appears a note and the last line must be "....is now powered UP / DOWN" or so. If this line is missing, something is not working, e.g. you didn't use version 2.7 of ews64cfg.exe. If the Codec is not disabled in the EEprom, a message like "Codec needs to be disabled in order to...." appears.
  • You need to run "ewspower.exe" every time you start Windows.
  • A good idea is to put a link to it in the Autostart folder. In it's properties, tab "Program", you can select "Execute: As Symbol" and "Close when ending". In the field "Command line", add the parameter "OFF". This way, you don't have to close the DOS box and it doesn't disturb you.
toppage
arrblshade.gif (1167 bytes) Midi IN/OUT does not work

This one is in our top ten of problems. So it's time to make some general remarks about it. Of course you should first make yourself familiar with the basic principles of Midi. So read a book:-)

Things to check

  • Midi-cables: make sure they're not faulty, that they are genuine (no DIN-audio cables!) and they are properly connected.
  • Windows Device manager: make sure that the Midi-Port(s) your are using are enabled. There is no point in using Midi-2 if it's not installed. Check if there are no IRQ conflicts. If you don't know how to activate the Midi-2 port, have a look at the Activating the Midi 2 device on this page.
  • Make sure the right port is selected, e.g. in your sequencer program (see example below).
  • Most sequencer programs have an indicator that shows if there is 'Midi-traffic' going out or coming in. If those indicators work, you are sure that there's incoming/outgoing data.

Things you can try

  • Very important is, that you select the rigth Midi-port in your sequencer program. The Midi-Out port is mostly easier to find than the port for Midi-In. In Cubase you will find the Midi-Out in the Output collumn. Right click and you can choose between the EWS-Play (the internal EWS-Synth) and the Midi 1/2-Out(s).
  • Let's assume you have a Midi-keyboard, a software sequencer in your computer and an external Midi-module.
    • Connect a Midi-cable between your keyboard Midi Out and the Midi-In on your EWS FrontPanel.
    • Connect a Midi-cable between the Midi-Out of the EWS-FrontPanel and the Midi-In of your external Module.
    • Set (if possible/needed) your keyboard to 'Local Off'. This means the own soundsources of the keyboard are not triggered. You just use it to trigger external sources.
    • Set the sequencers Midi-settings to 'Midi Thru = On'. This enables the Midi-data to flow from the keyboard, via the sequencer to the external module.
    • Set the sequencers Output to the output (=port) the midi-cables are connected to. You can select the output per track, so select a track an set the Midi-output port.
    • Make sure that transmit (on the keyboard) and receive (on the module) channels correspond. There are more options here, but to keep it simple, do it this way.
    • Example: to 'layer' the data in track 1 and 2, set track 1 to Output 'EWS-Play' and track 2 to Output 'Midi-Out 1' (connected to the external module). Of course you should make sure that you also select the right Midi channel and instruments for the respective tracks.
  • This is in short description how to get things to work. If you really don't have a clue what we're talking about here: read a book about Midi-basics, 'cause you'll need it to benefit from your EWS:-)
toppage
arrblshade.gif (1167 bytes) How can I make my own Midi-cables?

We discussed this subject in the Master Class section, item Cables and Connections.

toppage
arrblshade.gif (1167 bytes) Activating the Midi 2 device

[edited translation from the Terratec FAQ, updated by Jörg Knitter]

  • Check if one of the following IRQ's is available on your system: 5, 7, (9), 11, 12, 15. Note: Do not use IRQ 9 for ISA on a mainboard with Intel BX chipset. See Hardware Problems, Faulty or My Fault for more information about this topic.
  • Check if one of the following IO's is available on your system: 300, 310, 320, 330, 340, 350, 360, 370, 380.
  • If not, your might consider to reconfigure other resources or to activate the second Midi-interface without an IRQ. In this case you can use the Midi 2 only as a Midi-OUT!
  • If you have a free IRQ and IO, right-click 'My Computer', choose 'Properties' and select the Device Manager tab.
  • Uninstall the Disabled Midi-2 driver.
  • Go to DOS.
  • Run Ews64cfg.exe. This program is located in the EWS64\Eeprom directory. Choose the desired IRQ and IO-adress for Midi-2.
  • Reboot your system.
  • Win95 will find the non-disabled Midi-2 and ask for the driver disk (browse to the directory where the latest drivers version resides, e.g. C:\EWS64DRV).
toppage
arrblshade.gif (1167 bytes) Selecting the Midi-2 port from a midi sequencer

The methods of selecting the desired Midi-port varies from one program to another. If you have the second Midi-interface installed (the EWS64XL MIDI-2), it will show up in the choises for Output. The Input-options you will usually find in the Midi-setup option of the program.

For playback via a certain port you can also directly send the Midi Control Message number 94 + a value:

  • CTRL 94 (0) makes a Midi-channel play at OUT-1
  • CTRL 94 (127) makes a Midi-channel play at OUT-2
  • Note that you have to specify this controller for each channel you want to route.
  • You can 'distribute' the output of different channels through OUT1 and OUT2 by using the control message for panning: CTRL 10 (value 0-127). The values 0-127 control the pan-position between left and right, where 64 is right in the middle.
    • Set the desired port for a channel by using the CTRL 94 (value 0 or 127) message.
    • Set the panning for a channel on that port by using the CTRL 10 (value 0 or 127, we use the extremes in this example).
    • So: CTRL 94 (127), CTRL 10 (127) sends the midi datastream from a channel to OUT2 and positions it at the right of the stereo image.
    • For another channel you can use another port and another panning position.
toppage
arrblshade.gif (1167 bytes) What is the exact difference between Midi 1 and Midi 2?

Contribution by Cristoph Wilms

The difference between the MIDI-Interfaces is:

  • Midi 1 is routed to the synth
  • Midi 2 is routed to the codec
  • In the new driver version 2.14 the Midi 1 is splitted in:
    • SYNTHESIZER
    • MIDI 1-OUT.

So you have up to 48 Midichannels: Midi 1, Midi 2 and Synthesizer.

toppage
arrblshade.gif (1167 bytes) Do you have recommendations in which cases not to use Midi 1 or Midi 2?

Contribution by Cristoph Wilms

If you want to transmit much sysexdata, the best is not to use Midi 1. Use Midi 2.
Normally the problem should be gone with the new driver version, but until now I have not tested it, so I can't say it exactly.

toppage
arrblshade.gif (1167 bytes) Are the EWS Midi-interfaces fully Roland MPU-401 compatible?

Contribution by Cristoph Wilms

Yes, they are fully compatible, compliant to all the specs, not a kind of 'semi-compatible' without the proper buffering etc.

toppage
arrblshade.gif (1167 bytes) Can I determine by the Frontpanel version or serial number ranges if the Midi port is faulty?

Contribution by Cristoph Wilms

No, you can't. The problem is, some SMD-capacitors are different, but the components can change often, if our production plant find some cheaper components, they use this. And then they can have an other color etc.

toppage
arrblshade.gif (1167 bytes) Crippled Sysex Dumps

Users report that when making sysex dumps, not all Midi-data is transmitted. The answers given by Terratec and other users indicate that:

  • Midi 1 is directly connected to the Synth and seems to 'filter' the data.
  • Midi 1 consequently has a performance problem and doesn't handle sysex data correctly.
  • You alternatively better use Midi 2 for sysex dumps!

Update 27 February 1998

Another plausible cause is a defective Frontpanel. Please read solutions on the page about hardware problems 'Faulty or My Fault?'.
If you encounter these problems in Cubase VST, also read The Cool CuCake Forge.

toppage
arrblshade.gif (1167 bytes) Midi buffer overrun

Contribution by Martin Uddén

According to Terratec this problem is caused by defect frontpanels. The concerned customers should contact Terratec to get their frontpanels changed.

Addition by Computer ConText

Earlier we wrote a more general approach to this problem. It's a bit out of date because of the contribution by Martin. We decided to leave it on this page however, as users may benefit from the information. This was the original story (in a bit adapted form):

We don't know the exact hardware and software configuration of  users that encounter the 'midi buffer full' problem. We assume that they are experience midi-users. Perhaps unnecessarily (but handy for more novice users) we supply a short 'trouble-shooting' list.

  • Check you 'midi topology' for midi-loops. If you record and monitor via the same synth during real time recording while midi-thru in the sequencer is ON, you have a midi-loop: the notes you play are echoed back to the synth, while the sequencer is also sending the same notes to the synth. The least problem you get is a lack of available voices on the synth, but it also increases mididata-traffic.
  • Check in your sequencer (midi-settings) if 'midi-thru' is on or off. If it should be on or off depends on your recording situation, e.g.: if your keyboard is set to 'local off', your midi-thru should be enabled. Note: some synthesizers have different operating modes. Sometimes not every mode supports 'local off' or even only the 'wrong' mode supports it (like in the good old Roland D-10).
  • Try to find a midi-monitor program to check which data exactly are sent back to your synth. From the past we know Music Quest used to bundle such a midi-monitor program with their midi-interfaces. Different brands of synthesizers can send all kinds of 'additional' midi-data, that's not stricktly necessary.
  • Take a closer look at the 'properties' of your composition. A combination of the following factors could cause some trouble: did you record a lot of tracks that have to playback at the same time? Is the song very uptempo (around 160bpm)? Lot's of chords in it? System exclusive messages? Lots of controller-events? In short: could it be possible that your synth indeed gets to digest a lot of midi-data in a relatively short period of time?
  • If the midi datastream seems to be 'normal', you could try the method of 'excluding causes': try to hook up another synth(-module).
  • Check if your synth uses 'active sensing' (continuous checking if the device at the other side is still 'on air'). No probable cause, but it's an additional midistream...

A probable cause can also be a defective Frontpanel. Please read the Hardware Problems section.

toppage
arrblshade.gif (1167 bytes) How to control filter cut-off frequency

Contribution by Phogy

If you send Controller 74 to the EWS Synth you can control the filter cutoff frequency in realtime. But it doesn't work properly: the filter is reset when you trigger a new note.

Contribution by Menno M Jansz

You do this by sending Midi NRPN controller messages (NRPN= Non-Registered Program Numbers). In one of the manuals there is a small explication about this.
In Cakewalk you can also setup a nice panel with some sliders or knobs which you can use to send this messages. It would work nicely if it wasn't for this problem with changing the value between during notes.

toppage
TT-FAQ I can't install the second midi interface. The midi 2 driver will be marked with an exclamation mark in the device manager.

Please check, if the CODEC is installed. If not, then this is the reason for the problem. First you must activate the CODEC, then you have to install MIDI 2. After this you can disable the CODEC again. To do this, best is to use the SETUP function in the ControlPanel or EWSMIXER.EXE in your EWS64 directory under real DOS.

toppage
TT-FAQ The MIDI-2 driver only works as an output driver. How can I use the MIDI-2 for input also?

For MIDI recording the interface needs an IRQ. To avoid installation problems due to insufficient resources the MIDI-2 driver is initially installed without an IRQ and can thus only be used for output. You can configure an IRQ for the MIDI-2 driver by selecting SETUP in the EWS64 ControlPanel.

toppage
TT-FAQ As of driver version I have an additional MIDI 1 driver as well as the MIDI play driver in my sequencer
program, however, this extra driver is not listed under Windows 95/98 'Multimedia'.

Unfortunately, this is the way it is. The reason for this is that Windows 95/98 only presents associations with logical devices. Windows is not yet designed to recognize that a logical device in a device category can provide several devices.

toppage
TT-FAQ I cannot use all the MIDI ports.

Windows 95/98 can only manage a maximum of 11 MIDI interfaces. This means that you must ensure that you don't exceed this number if you are also using other MIDI interfaces. If necessary, you can disable individual MIDI interfaces of the EWS (e.g. MIDI-2 and FM-Synthesis).

toppage
TT-FAQ If I set the effect level to 0 for all the individual MIDI tracks in my sequencer program, the effects of all MIDI sounds are still present.

You must set the MIDI effect level for REVERB and CHORUS to 63. This gives you full control of the effect levels for the MIDI tracks in your sequencer program.

toppage
TT-FAQ After installing version 2.x of the drivers I cannot hear anything when playing MIDI files.

In contrast to driver version 1.3, this version does not automatically load a sound set. A once-off manual
installation is required:

  • Select Control Panel/System/Device Manager/TerraTec Audio Devices/EWS64 Synthesizer/MIDI.
  • Tick the option 'Load Startup Banks'.
  • Now use the 'Load' function to load a file (e.g. gssbk320.94b) from the EWS64 'Soundset' subdirectory and reboot Windows.
toppage
TT-FAQ What is the latency for MIDI playback on the EWS64 L/XL?

Typical latency is < 1 ms but it definitely depends on the system's processing load and therefore is
operating system dependent. Normally, however, it cannot exceed 10 ms. In this instance, Windows 95/98 shows better results than Windows NT.

The sequencer selected (16-bit or 32-bit software) is also a factor. According to experience, 16-bit sequencers such as the Cubasis AV-XL Edition (included) are more accurate than 32-bit sequencers.

toppage
Related Topics  Related Topics: [The Cool CuCake Forge] [Faulty or My Fault?] [Hardware Problems]

toppage

© 1998-1999, Computer ConText, Amsterdam, The Netherlands, except for contributions made by others.

Latest update on page: 19-04-99

lign="center">
toppage

© 1998-1999, Computer ConText, Amsterdam, The Netherlands, except for contributions made by others.

Latest update on page: 19-04-99