🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #1610

simple dsp programming questions

#1610
From: Paul T. Shannon
Date: Fri, 22 Mar 1991 23:09
22 lines
1373 bytes
I'm looking for some help with two simple 56k dsp programming tasks:

   1.  sit in a loop til an external voltage level goes high 
   2.  delay a host-specified number of milliseconds, and then
       produce a short tone.

For the first task, I imagine that I should use one of the SCI pins.

Since I'm doing this on a NeXT, the second task should probably 
play the short tone to the NeXT sound hardware.

I've pored over the sample programs NeXT provides, but either they
don't do what I need, or I missed it.  I think that I *do* understand
how to use the SND functions to load and run a program on the dsp.
I've made some progress from reading the DSP User's Manual, but I've
only moved from a state of total blindness to one of partial vision
in one eye on a moonless night...

I'll be grateful for any help, especially short dsp programs.  Thanks.

 - Paul Shannon
   pts@Virginia.EDU
Technical Details
Message-ID: <1991Mar22.230908.16792@murdoch.acc.Virginia.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!elroy.jpl.nasa.gov!ncar!gatech!mcnc!uvaarpa!murdoch!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!elroy.jpl.nasa.gov!ncar!gatech!mcnc!uvaarpa!murdoch!usenet
From: pts@faraday.clas.Virginia.EDU (Paul T. Shannon)
Newsgroups: comp.dsp
Subject: simple dsp programming questions
Message-ID: <1991Mar22.230908.16792@murdoch.acc.Virginia.EDU>
Date: 22 Mar 91 23:09:08 GMT
Sender: usenet@murdoch.acc.Virginia.EDU
Distribution: na
Organization: University of Virginia
Lines: 22