06-23-2019
Nah! My in depth hobby is creating simple unusual electronics projects that create basic measuring devices for testing electronics in general and controlled by SW.
As quoted on another thread I am working on a basic Audio Function Generator all in pure POSIX shell scripting:
Sine, Square, Triangle, Sawtooth+, Sawtooth-, Pulse+, Pulse-, Noise and if possible Arbitrary from around 30Hz to 20KHz. It assumes that most sound systems can sample at 192000 sps maximum and 2000 sps minimum.
Obviously centred around this MBP, but includes ALSA - Linux and /dev/dsp for a limited CygWin version.
The waveforms generated will be pure ascii from character 32, (space), and character 126, (tilde).
But yes I am willing to pull out some background tracks if need be...
This User Gave Thanks to wisecracker For This Post:
3 More Discussions You Might Find Interesting
1. Cybersecurity
Following up on my 2008 list of top cybersecurity threats, I have just published The Top Ten Cybersecurity Threats for 2009 for public comments. If you are interested in cybersecurity threats, kindly email your suggestions or comments directly to me (tim dot silkroad at gmail dot com). I will... (0 Replies)
Discussion started by: Linux Bot
0 Replies
2. What is on Your Mind?
This is mainly for Corona688, today's date 18-09-2019.
Remember from little acorns big trees grow a few months ago?
Well this is well on the way to 1000+ dls by the end of the year...
AMINET from its inception in 1992 is accessed by very, very many and the AMIGA is still loved by millions.
... (1 Reply)
Discussion started by: wisecracker
1 Replies
3. What is on Your Mind?
Dear All,
We are happy to post that I will be announcing soon my award for "Moderator of the Year 2019". This is a new award which I plan to announce in December of each year, starting this year (2019). The prizes will be (still working out the details):
A Moderator of the Year... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT OPENSOLARIS
sdp_find_media
sdp_find_media(3COMMPUTIL) Communication Protocol Parser Utilities Library Functions sdp_find_media(3COMMPUTIL)
NAME
sdp_find_media - find the specified media from the media list
SYNOPSIS
cc [ flag...] file... -lcommputil [ library...]
#include <sdp.h>
sdp_media_t *sdp_find_media(sdp_media_t *media, const char *name);
DESCRIPTION
The sdp_find_media() function searches the media list for the media specified by name. If the media is found it returns the pointer to the
media. Otherwise it returns NULL.
RETURN VALUES
The sdp_find_media() function returns the media (sdp_media_t *) on success and NULL when the search fails or the mandatory input parameters
are NULL.
EXAMPLES
Example 1 An (incomplete) SDP description that contains two media sections: audio and video.
m=audio 49170 RTP/AVP 0 8
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
m=video 51372 RTP/AVP 31 32
a=rtpmap:31 H261/90000
a=rtpmap:32 MPV/90000
/*
* Assuming that above description is parsed using sdp_parse() and that
* the parsed structure is in "session" sdp_session_t structure.
*/
sdp_media_t *my_media;
my_media = sdp_find_media(session->s_media, "video");
/*
* my_media now points to the structure containg video media section
* information
*/
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
libcommputil(3LIB), sdp_parse(3COMMPUTIL), attributes(5)
SunOS 5.11 12 Oct 2007 sdp_find_media(3COMMPUTIL)