Skip to Content.
Sympa Menu

baslinux - Re: [BL] /dev/sequencer and external midi problem Re: ltmodem, member contributions pages and misc.

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: "Samual Acorn" <sam.acorn AT gmail.com>
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] /dev/sequencer and external midi problem Re: ltmodem, member contributions pages and misc.
  • Date: Mon, 26 Jun 2006 13:15:22 -0500

sindi you're not going to believe this....

try this; 'playmidi -e -D0 midifile.mid'

apparently when you specify an external device to play to you also
need to tell it to play to that external device.... figured specifing
a device would be common sense that i wanted it to play to that
device.... IMHO if the programmer wanted to take that confusing route
it would have been nice if he would have put it in the manual... but
the '-D' option isnt even -in- the manual... ugh...

now for the menus in rosegarden.... rather than click once to get them
to come down click and hold.... drag the mouse down the menu to the
item you want to select and then to select that item let the mouse
button go...

tell me if the playmidi example above works cos rosegarden doesnt do a
very good job on importing midi files... but for composing it will
work well... point and click sheet music editor and midi recorder...

On 25/06/06, sindi keesan <keesan AT sdf.lonestar.org> wrote:
You have the same card I do (awe32) and Rosegarden works for you and
playmidi does not, and David has a non-awe card and playmidi works
for him and Rosegarden does not. This implies that I should either try a
non-awe card with playmidi, or the awe card with Rosegarden for playing
midi to the piano. Could you summarize briefly how to do that? First,
how do you use the mouse? I don't know Mac.
Sindi


On Sun, 25 Jun 2006, Samual Acorn wrote:

> forgot to show you my discovery with rosegarden.... (which works quite well)
>
> ---
> [samacorn@scritch samacorn]$ cat /proc/sound
> OSS/Free:3.8s2++-971130
> Load type: Driver loaded as a module
> Kernel: Linux scritch 2.2.16-22 #1 Tue Aug 22 16:16:55 EDT 2000 i686
> Config options: 0
>
> Installed drivers:
>
> Card config:
>
> Audio devices:
> 0: Sound Blaster 16 (4.13) (DUPLEX)
>
> Synth devices:
> 0: Yamaha OPL3
> 1: AWE32-0.4.3 (RAM2048k)
>
> Midi devices:
> 0: Sound Blaster 16
> 1: AWE Midi Emu
>
> Timers:
> 0: System clock
>
> Mixers:
> 0: Sound Blaster
> ---
>
> in that list -- in 'midi devices' "0: Soundblaster 16" is the external
> midi port....
> rosegarden can record from it while you play the keyboard in real time
> and it can play back to it.... playmidi on the other hand is horrid
> broken mess... best to look for another player that will let you pick
> from a list of devices like that shown above (card used was awe32) or
> import midi files into rosegarden and play them from it....
>
> playmidi does have an option to play to a specific device (the -D
> option) but it doesnt work... every device i select always goes back
> to FM synth as tho that command was completely ignored....
>
> and yes... the drop down menus in rosegarden have to be clicked and
> held like a macintosh's menus... but at least it will let you play to
> external midi....
>
> sorry about the delay... the day i ment to write back to you on this
> is the day we flew out on vacation.. (talk about bad timing)
>
>
> On 25/06/06, sindi keesan <keesan AT sdf.lonestar.org> wrote:
>> Playmidi -e plays to the awe synthesizer not the external device (Yamaha
>> electronic piano, which plays the same file properly in DOS).
>>
>> I have the same problem with both libc5 and libc6 playmidi, in BL2 with
>> kernels 2.4.31 and 2.2.16 (did not try BL3), in two computers, I think
>> both with AWE64 card but the second one might be AWE32. (I also tried a
>> non-AWE card earlier in one of them - I should it try again).
>>
>> The first computer is the one that won't work with Xvesa even after
>> booting with DOS 7.1 unless you bypass startup files. It is one of three
>> that would not boot with loadlin except with MS DOS 6 or 7 but the other
>> two work with Xvesa. It is circa 1998. The second computer is from 2000
>> (one of our newest) and has no known problems of any sort except that it
>> refuses to work with non PS/2 keyboard (even with an adaptor).
>>
>> DOS:
>> A220 I9 D1 H7 P300 E620 T6
>> LINUX:
>> insmod soundcore
>> insmod soundlow
>> insmod sound
>> (of sb_lib for 2.4.31 kernel and skip 1 or 2 of the above)
>> insmod v_midi
>> insmod uart401
>> insmod sb io=0x220 irq=9 dma=1 dma16=7 mpu_io=300
>> insmod awe_wave
>> insmod opl3 io=0x388
>>
>> Second computer (based on DOS ctcm output):
>> insmod sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=330
>>
>> Both computers play opl3 (playmidi -4) or AWE (playmidi -a).
>> playmidi -e plays to awe not the piano.
>> If I remove awe_wave.o it does not play at all.
>>
>> Cannot get info on soundcard
>> /dev/sequencer: Device or resource busy
>>
>> /dev/sequencer is crxw... root root 14, 1 or cr-w.... and I am root
>>
>> If I remove awe_wave it can't find /dev/sequencer, so it appears that
>> /dev/sequencer is attached to the awe device not the external midi device.
>> Maybe this is a bug with awe cards in linux?
>>
>> /proc/ioports reports mpu_401_uart at 300 (or 330 with the other computer)
>> (I forgot to check it if is still there after removing awe_wave.o).
>>
>> What does the T620 mean? mpu_io=0x620 did not help, neither -a nor -e
>> worked with that. Maybe with an AWE card I need to do something
>> additional or different? I want to use this card so I can also play midis
>> other than piano.
>>
>>> Steven suggested 0x330 from the "default values for SoundBlaster
>>> hardware". On my card it was 0x300.
>>
>>
>> I have two different cards with two different addresses in two different
>> computers. (I also have network cards, one of which is ISA, and I think I
>> could not get it to work as anything but 330 with the 3com program so had
>> to use 300 for the sound card.)
>>
>>
>>> dma16 is unnecessary for midi so I left it out. (IRQ 5 was taken by my
modem.)
>>
>> I needed it for something, maybe it was mp3.
>>
>>>> Did you need to use isapnp?
>>>
>>> Yes, but only because I have a pnp card and boot from lilo. If you
>>> have a jumpered card, the value depends on the jumper setup; but if
>>> you use DOS to initialize the card, you should be able to find the
>>> settings in the DOS initializing tool.
>>
>> I used DOS ctcm, and used the same settings for linux.
>>
>>>> When I playmidi -e it plays to awe32, same as with playmidi -a.
>>>
>>> What version of playmidi? BL2?
>>
>> I tried both versions, in BL2 (libc6 and libc5) with two kernels and two
>> computers (the second only with BL2 libc6 playmidi and 2.2.16).
>>
>>>
>>> David
>>
>> All my sb16 cards are pnp. Would sb.o work with sbpro 8-bit card that has
>> a midi port and jumpers?
>>
>> The piano sounds nice in DOS but the DOS sequencer is shareware and looks
>> more complicated.
>>
>> Sindi
>>
>> -----------------------
>> BasicLinux mailing list
>> -----------------------
>> http://www.basiclinux.com.ru
>> http://www.ibiblio.org/pub/linux/distributions/baslinux/
>> ------------------------------------
>> To exit, send subject=unsubscribe to
>> baslinux-request AT lists.ibiblio.org
>>
>
>
> --
> --sam
> http://mephitus.renamon.org/
> "When you've done something right, no one will be sure you've done
> anything at all." -- Futurama
> --
>
> -----------------------
> BasicLinux mailing list
> -----------------------
> http://www.basiclinux.com.ru
> http://www.ibiblio.org/pub/linux/distributions/baslinux/
> ------------------------------------
> To exit, send subject=unsubscribe to
> baslinux-request AT lists.ibiblio.org
>

keesan AT sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

-----------------------
BasicLinux mailing list
-----------------------
http://www.basiclinux.com.ru
http://www.ibiblio.org/pub/linux/distributions/baslinux/
------------------------------------
To exit, send subject=unsubscribe to
baslinux-request AT lists.ibiblio.org



--
--sam
http://mephitus.renamon.org/
"When you've done something right, no one will be sure you've done
anything at all." -- Futurama
--




Archive powered by MHonArc 2.6.24.

Top of Page