<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1476" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=009355409-12112004>Hi
all</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=009355409-12112004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=009355409-12112004>I am doing some
experimental work with software radio and have moved from static languages
through Python and now want to see just how far I can get in Smalltalk. My
preliminary analysis of Squeak indicates it should be capable on a fast enough
machine and after playing around a bit I like the Squeak environment. I have two
fundamental requirements, to do Port I/O and full duplex stereo sound. For Port
I/O I found IOST which will probably do the job although untried as yet. Now to
the actual question -)</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=009355409-12112004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=009355409-12112004>I have been using
PortAudio for sound in other environments, which I like a lot, but there seems
to be no Squeak interface available. I might try to do one but that's for
later... For now I have been playing with 'SoundInputStream' for capture and
'QueueSound' for playback. I need to do this in a real-time stream, so read a
block, signal process the block and output the block. As I don't know smalltalk
at all I am just playing in a workspace. I can stream in some data but can't
seem to add that data to the output queue. I can add a SampledSound to the queue
as in the example but the captured data seems to be the wrong type or something!
Obviously I need this to work full duplex so will have to use a thread or maybe
events to drive the process. Any code snippets would help a lot at this stage
until I find my feet.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=009355409-12112004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=009355409-12112004>Thanks in
advance.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=009355409-12112004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=009355409-12112004>Bob</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2>Bob Cowdery</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>CGI Senior Technical
Architect</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>+44(0)1438 791517</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Mobile: +44(0)7771 532138</FONT></DIV>
<DIV align=left><FONT face=Arial size=2><A
href="mailto:bob.cowdery@cgi-europe.com">bob.cowdery@cgi-europe.com</A></FONT></DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV align=left><FONT face=Arial size=2></FONT> </DIV>
<DIV> </DIV>
<P><STRONG>*** Confidentiality Notice ***</STRONG>
Proprietary/Confidential<BR>Information belonging to CGI Group Inc. and its
affiliates<BR>may be contained in this message. If you are not a
recipient<BR>indicated or intended in this message (or responsible
for<BR>delivery of this message to such person), or you think for<BR>any reason
that this message may have been addressed to you<BR>in error, you may not use or
copy or deliver this message<BR>to anyone else. In such case, you should
destroy this<BR>message and are asked to notify the sender by reply
email.</P>
</BODY></HTML>