Re: [hatari-devel] Microphone support for Falcon emulation |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On 10/14/20 3:23 AM, Roger Burrows wrote:
If I launch Hatari 2.2.1 with -mic on, do I need to do anything else to get the
microphone working?
Falcon microphone emulation is implemented using
portaudio.
=> You need to have compiled your Hatari with
portaudio library development files present
(as mentioned in the Hatari readme file).
The context is that I'm trying to run a program called AFM
under TOS4, and I can't seem to get the sound from the microphone. It's quite
probable I have something misconfigured on my Linux box, although I can record
from the microphone using Audacity.
On Debian Audacity seems to link portaudio:
------------------------------------------
$ apt show audacity 2>&1 | grep portaudio
Depends: audacity-data (= 2.2.2-1), libasound2 (>= 1.0.16), libavcodec58
(>= 7:4.0) | libavcodec-extra58 (>= 7:4.0), libavformat58 (>= 7:4.0),
libavutil56 (>= 7:4.0), libc6 (>= 2.27), libexpat1 (>= 2.0.1),
libflac++6v5 (>= 1.3.1), libflac8 (>= 1.3.0), libgcc1 (>= 1:3.0),
libgdk-pixbuf2.0-0 (>= 2.22.0), libglib2.0-0 (>= 2.12.0), libgtk2.0-0
(>= 2.24.0), libid3tag0 (>= 0.15.1b), liblilv-0-0 (>= 0.16.0~dfsg0),
libmad0 (>= 0.15.1b-3), libmp3lame0 (>= 3.100), libogg0 (>= 1.0rc3),
libportaudio2 (>= 19+svn20101113-2~), libportsmf0, libsndfile1 (>=
1.0.20), libsoundtouch1 (>= 1.9.2), libsoxr0 (>= 0.1.0), libstdc++6 (>=
5.2), libsuil-0-0 (>= 0.8.0~dfsg0), libtwolame0 (>= 0.3.6),
libvamp-hostsdk3v5, libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2),
libvorbisfile3 (>= 1.1.2), libwxbase3.0-0v5 (>= 3.0.4+dfsg),
libwxgtk3.0-0v5 (>= 3.0.4+dfsg)
------------------------------------------
So I assume it uses that also for MIC access.
If someone can suggest another program that uses the microphone and is trivial
to set up, I could use it to make sure that I don't have a Linux configuration
problem.
After you've started Hatari, you should see your
MIC ALSA input port and whether it's connected
with 'aconnect' (from alsa-tools package) or
'aconnectgui'.
- Eero