[comp.sys.amiga] sound digitization and MIDI problems

arxt@sphinx.uchicago.edu (patrick palmer) (06/09/88)

I am posting these questions for Goren Yoram, who is having trouble posting
news from his system.  He is in Israel and does not have any other Amiga users
around to talk to.  I have been communicating with him via bitnet:
    goren@bimacs.bitnet
Please reply to HIM, not to me.  
      Pat Palmer
-------------------------------------------------------------------
     

Hi to you all !
I've got 3 problems I'd like to get any help you can offer :
1. I have a problem with the timer device .
   I wrote a program does some proccesing every 2/50 of a second .
   Every second or so (by counting how many 2/50's passed , it sends a
   MIDI message .
   Then I added another task , that opened the timer device , and then just
   waited for closing its window . IT DIDN'T SEND ANY REQUESTS TO THE TIMER
   DEVICE !!! The result was that the first task played the MIDI messages
   about as twice slower .
   It guess it mean that each opening of the timer device slows it down , but
   I can't see the reason .
   Is there anything I can do to remove that slowness ?

2. I want to digitise sound. I'd like to do some manipulations on the input
   while I get it, so I can't use a "shelf digitiser".
   Any help about how to connect
   I heard there are 2 ways to connect a microphone to the Amiga :
   through the parallel port, and through the joystick.
   Where can I find a scheme of the circuit, how to read from this port
   (without all the overhead of using intuition etc.), and where to find a
   realtime clock, so that the sampling will be at a constant rate.
   Any further help about subjects connected with this will also be gratefully
   accepted.

3. I want to send MIDI through the serial port. I've got the connection, and
   it works fine with SoundScape.
   I tried openning the serial port with the BOOGIE flag, used baud rate
   of 31250 (as mentioned in one of the answers), etc.
   The result was always - "MIDI Error" on the device.
   How do you guys do it ???

                Thanks ,
                                Goren

        Goren@bimacs