Jump to content


play MIDI with WINE


8 replies to this topic

#1 albkwan

    ExtrEmE User

  • Members
  • 1,440 posts
  • LocationHong Kong

Posted 08 November 2007 - 04:44 PM

I having been trying to run NoteWorthy Composer with WINE in my eeepc and this program need to play MIDI thru WINE midi mapper.

Although I have installed and set up Timidity in my eeepc as software MIDI synthesizer, I can not get WINE to play MIDI. There is simply no available play device to select in the MIDI Option TAB of NoteWorthy Composer.

[NB. There is no hardware MIDI synthesizer in the sound card of eeepc. On my desktop, having a SoundBlaster emu101k sound card c/w hardware MIDI synthesizer, I have no problem getting NoteWorthy Composer to work.]

Anyone has idea how to get this working?
EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

#2 StealthCP

    Member

  • Members
  • 13 posts
  • LocationColeraine, NI (UK)

Posted 08 November 2007 - 04:47 PM

run winecfg, and configure sound. I have MicroLOGIC AV 4.8.1 running on the Eee using an external USB MIDI cable. Bear in mind that you only need Timidity for Software MIDI synth, which it sounds like you aim to use. I am unsure on how exactly to get WINE working with Timidity but it'll look into it.
StealthCP

#3 albkwan

    ExtrEmE User

  • Members
  • 1,440 posts
  • LocationHong Kong

Posted 09 November 2007 - 04:01 PM

Finally got it working!

First, WINE can only play MIDI thru ALSA and with Timidity running as a server. Also, /dev/snd/seq is missing in eeepc.

So, what I did is: Install alsa-base, libwine-alsa, and of course timidity and the patches (or soundfonts). Then, start timidity as a server and in the Audio tab of winecfg, tick ALSA. Finally start NoteWorthy Composer with a shell script:

sudo modprobe snd-seq-midi
timidity -iA -Os -B2,8 &
wine [path]/NWC32.exe

and config timdity as MIDI input instead of Wine Midi Mapper.

It sounds beautiful!
EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/

#4 ProDigit

    ExtrEmE User

  • Members
  • 1,194 posts

Posted 25 January 2008 - 09:41 PM

do you think this can be used to playback midi on the eeepc in games? (I'm a newb, not really understanding all of this).

#5 dkl

    Member

  • Members
  • 10 posts

Posted 28 April 2008 - 08:13 PM

Hello,

Thanks for this thread.

I am trying to run a "abc file player" application on my eeePc. The application is "abcnavigator" (abcnavigator.free.fr). It runs natively on Windows. I have also a Ubuntu desktop, with a SoundBlaster card (Hardware MIDI), on which "abcnavigator" runs fine through wine.

On the eeePC, I installed wine 9.25, then timidity, freepats, alsa-base and libwine-alsa. No problem. Timidity alone is able to play midi files.
Select ALSA card in winecfg.
I was then able to install "abcnavigator" through wine, and run it, but no sound! Timidity runs on the eeePC, and is able to play midi files. I followed the instructions up there, but I am unable to ear a sound! I have no error message, just not a sound...

I guess the problem comes between wine and timidity? . I'm stuck. Any hint? Thanks in advance

#6 dkl

    Member

  • Members
  • 10 posts

Posted 28 April 2008 - 09:29 PM

Well, I got it.... Only piano works, no other instrument. I just changed the instrument selection to piano, and it's OK now.

#7 ProDigit

    ExtrEmE User

  • Members
  • 1,194 posts

Posted 29 April 2008 - 05:03 PM

that's awkward! Maybe it's midi thru wave mapper or something?

I heard midi through freepats would also work on the Xandros desktop. Anyone can confirm this?

#8 Cyclops

    Senior Member

  • Members
  • 466 posts
  • LocationUK

Posted 05 June 2008 - 06:07 PM

I would like to output a Midi file through a USB-to-MIDI interface and then into my electronic organ. Does timidity have the facility for this, or will I have to do some sort of redirection of the speakers to USB?
"There is no reason anyone would want a computer in their home' - Ken Olson, president, chairman and founder of Digital Equipment Corp in 1977.
Vista - Arrogance & Stupidity
White 2G Surf, Xandros Linux, Easy Mode, 8G SDHC, CS 10400mAh battery, Trust wireless mouse

#9 albkwan

    ExtrEmE User

  • Members
  • 1,440 posts
  • LocationHong Kong

Posted 08 June 2008 - 02:24 AM

Quote

I would like to output a Midi file through a USB-to-MIDI interface and then into my electronic organ. Does timidity have the facility for this, or will I have to do some sort of redirection of the speakers to USB?
I have tried something like this with MIDI output from NoteWorthy Composer (running under WINE) and running timidity as server. So it should be possible also with another native Linux client. Of course, you will need an USB-to-MIDI interface supported by the ALSA sound driver of Linux.
EeePC 4G white,
Default Xandros (Easy Mode + icewm start menu) on 1st SSD/2nd 16GB SSD added/SD/USB/
http://eeepc.fire.prohosting.com/
http://eeepc-albkwan.blogspot.com/





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users