I just downloaded MED 3.00 (I had been using 2.13 with no problems)
and it is interfering with mu terminal program. Running MED songs
(especially ones with synth instruments) causes VLT 5.045 to loose
characters at 2400 baud. This did not happen with 2.13 before.
Upping the priority of VLT does not seem to help. My friend has
observed the same problem on his Amiga also. This is highly annoying,
as file transfers are impossible with MED playing. Other than that,
MED 3.00 is an exelent program. Any ideas?
- Ian Smith <<ims…@psuvm.psu.edu>>


In Message-ID: <91079.202357IMS…@psuvm.psu.edu>
IMS…@psuvm.psu.edu (Ian Matthew Smith) said:
>I just downloaded MED 3.00 (I had been using 2.13 with no problems)
>and it is interfering with mu terminal program. Running MED songs
>(especially ones with synth instruments) causes VLT 5.045 to loose
>characters at 2400 baud. This did not happen with 2.13 before.
>Upping the priority of VLT does not seem to help. My friend has
>observed the same problem on his Amiga also. This is highly annoying,
>as file transfers are impossible with MED playing. Other than that,
>MED 3.00 is an exelent program. Any ideas?
I believe this is because MED 3.00 uses the CIAB timer instead of CIAA.
CIAA is for *system use only*, but some programs used it anyway in the
recent past (MED, Sonix, …). Anyway, CIAA has a higher priority than
the serial.device which, in turn, has a higher priority than CIAB.
I’m sure someone else will step in and give you a more technically correct
explanation, but basically the ‘problem’ is:
In making bids for processor attention, the serial.device gets the
first grabs over the CIAB.
This doesn’t solve your problem, and I fairly butchered the explanation.
God, I feel awful. :-)
| Baird McIntosh | c503…@umcvmb.missouri.edu <-or-> c503…@umcvmb.bitnet |
| "The needs of the many outweigh the needs of the few." |
| "Let’s go!" LEMMINGS "Oh no!" |
In article <910321.000737.CST.C503…@UMCVMB.MISSOURI.EDU>,
C503…@UMCVMB.MISSOURI.EDU (Baird McIntosh) says:
>I believe this is because MED 3.00 uses the CIAB timer instead of CIAA.
>CIAA is for *system use only*, but some programs used it anyway in the
>recent past (MED, Sonix, …). Anyway, CIAA has a higher priority than
>the serial.device which, in turn, has a higher priority than CIAB.
>I’m sure someone else will step in and give you a more technically correct
>explanation, but basically the ‘problem’ is:
> In making bids for processor attention, the serial.device gets the
> first grabs over the CIAB.
>This doesn’t solve your problem, and I fairly butchered the explanation.
>God, I feel awful. :-)
Hmmm, I take it you mean that the CIAB gets first grabs over
the serial.device, since my term program is teh one loosing chacarters.
well, I upped the priority of both my terminal program and the
serial.device interupt. I still loose characters. This is annoying.
Any hardware people out there want to add a buffer to the serial port
as a project? :-) That should solve the problem I would think.
- Ian Smith <<ims…@psuvm.psu.edu>>
Hi, I don’t know if this has been done or even can be done, but what
I need is the ability to digitize the sounds of a Sonix synthesized
sound (i.e. the one that you play around with all the sliders and
waveform to generate interesting sounds). Basically, I need a program
that can "listen" to what comes out of the audio circuitry and digitize
an image of this. The reason for this: I would like to be able to
combine different frequencies of the same sound into a single digital
sample so as to make a chord which can then be loaded back into Sonix
and used as an instrument.
Note, I can easily enough use AudioMaster to combine various sampled
sounds into a chord, so that’s not what I’m after.
—Prem Subrahmanyam
In article <1991Mar23.132334.4…@mailer.cc.fsu.edu> p…@geomag.gly.fsu.edu (Prem Subrahmanyam) writes:
> Hi, I don’t know if this has been done or even can be done, but what
> I need is the ability to digitize the sounds of a Sonix synthesized
> sound (i.e. the one that you play around with all the sliders and
> waveform to generate interesting sounds). Basically, I need a program
> that can "listen" to what comes out of the audio circuitry and digitize
> an image of this. The reason for this: I would like to be able to
> combine different frequencies of the same sound into a single digital
> sample so as to make a chord which can then be loaded back into Sonix
> and used as an instrument.
> Note, I can easily enough use AudioMaster to combine various sampled
> sounds into a chord, so that’s not what I’m after.
> —Prem Subrahmanyam
You can’t listen to what is being played out the audio channels, but you
can predict what will be played. For example, if you know that you are
going to make a chord, you can precompute the required sample and then
play the chord out of one audio channel. To add two waveforms (mix)
together, you can use ‘C’ code that looks like this:
UWORD sum;
UBYTE *sample1, *sample2, *result;
UBYTE *ps1, *ps2, *dst;
ps1 = sample1;
ps2 = sample2;
dst = result;
for (i=0; i<SAMPLE_LENGTH; i++) {
sum = *ps1++ + *ps2++;
sum >>= 1;
*dst = sum;
}
That’s all there is to it. You can use 3, 4, or more samples to mix
together, but you are going to need to make ‘sum’ the average of each
byte in the result.
There are other techinques, too, but this is the simplest.
–
*******************************************************
* Assembler Language separates the men from the boys. *
*******************************************************