LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-25-2006, 02:03 PM   #1
cyb0rg777
Member
 
Registered: Dec 2004
Location: ~
Distribution: Debian
Posts: 143
Blog Entries: 8

Rep: Reputation: 15
Where to start ?Acoustic modem.


I want to write an acoustic modem program that uses your soundcard to send sounds into your modem but I don't know where to start looking.
Is there an easy way to pipe the signal from the sound input to the modem recieve buffer?
I know that normally when you send a signal to a modem device file it is used as a command.
Will I have to modify and recompile some source code,if so should I start looking at a program like minicom or a driver module.
 
Old 10-26-2006, 07:20 AM   #2
slantoflight
Member
 
Registered: Aug 2005
Distribution: Smoothwall
Posts: 283
Blog Entries: 3

Rep: Reputation: 35
Quote:
Originally Posted by cyb0rg777
I want to write an acoustic modem program that uses your soundcard to send sounds into your modem but I don't know where to start looking.
Is there an easy way to pipe the signal from the sound input to the modem recieve buffer?
I know that normally when you send a signal to a modem device file it is used as a command.
Will I have to modify and recompile some source code,if so should I start looking at a program like minicom or a driver module.

well i would say cut up some cords. and patch analog out directly to the line in on the modem. It would be the two innermost prongs I think.

ofcourse the whole ALC thing might complicated things abit.
 
Old 10-26-2006, 07:36 PM   #3
cyb0rg777
Member
 
Registered: Dec 2004
Location: ~
Distribution: Debian
Posts: 143

Original Poster
Blog Entries: 8

Rep: Reputation: 15
I was hoping to do it without hardware, but I think your right it's the only way because there is no other connection.I did find some interesting information in the process.

www.hackaday.com had this link today about using just a sound card as a modem.
http://www.araneus.fi/audsl/

Soundmodem is also an interesting program that has to do with using your sound card as a a modem for packet radio.

Quote:
ofcourse the whole ALC thing might complicated things abit.
I don't understand "ALC" .Are you talking about the telephone line voltage?Because thats what I was thinking.
 
Old 10-26-2006, 07:48 PM   #4
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Ever heard of a voicemodem (either hardware or software implementations thereof)?
 
Old 10-26-2006, 07:53 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
In theory, you should be able to generate 300 Baud FSK into a decent speaker, and play that into a telephone handset. That would be the simplest way to start. That won't get you any dialing capability, so you will have to manually dial to connect to a distant modem. You might be able to generate DTMF codes to do the dialing, again by playing them into a telephone handset. Still, you would have to manually go off-hook, and presumeably check for dial tone, busy, etc.

Sounds like an interesting experiment. I hope this isn't supposed to be for some practical purpose, unless you are being paid by the hour for your effort.

--- rod.
 
Old 10-26-2006, 07:58 PM   #6
cyb0rg777
Member
 
Registered: Dec 2004
Location: ~
Distribution: Debian
Posts: 143

Original Poster
Blog Entries: 8

Rep: Reputation: 15
I've heard of a hardware voice modem but not a software.
 
Old 10-26-2006, 08:03 PM   #7
cyb0rg777
Member
 
Registered: Dec 2004
Location: ~
Distribution: Debian
Posts: 143

Original Poster
Blog Entries: 8

Rep: Reputation: 15
Quote:
Sounds like an interesting experiment. I hope this isn't supposed to be for some practical purpose, unless you are being paid by the hour for your effort.
It's an experiment to see if there is a practical purpose. ;-)
 
Old 10-26-2006, 08:53 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
ALC - Automatic Level Control. To keep the audio signal at a constant level.
I believe you want to program a sound card to emulate a modem instead of just wanting to send sounds to the modem. It would be possible to generate Bell 103 (AFSK modulation at 300 baud) easily. AFSK - Audio Frequency Shift Keying. You could write a standalone program that would decode signals and display a character instead of writing modules etc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MODEM failed to start HermanTheSheep Linux - Networking 0 07-15-2005 04:19 PM
How I got sound working. sblive, alsa, boston acoustic digital speakers zefor LinuxQuestions.org Member Success Stories 2 11-05-2004 01:58 AM
modem connects, pppd won't start roger_b Linux - Newbie 7 05-17-2004 09:16 AM
Force modem to dial when I start email mike8994 Mandriva 4 04-21-2004 01:31 PM
my modem dials on start up... help auxcom Fedora 3 03-14-2004 08:33 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration