Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Miscellaneous > Off-Topic > Riging together a way to store data on an audio cassette
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
20.Sep: FOURTH CHAPTER IN `HISTORY OF...` PUBLISHED
13.Sep: NEWS ON THE FLY
06.Sep: APOLYTON DONATES TO HURRICANE RELIEF

bottom of page
   - CIVILIZATION 3 $9.99 - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - ALPHA CENTAURI + ALIEN CROSSFIRE (laptop collection) from $19.99 - ALPHA CENTAURI PC $9.99 -->
Author
Thread   
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
aneeshm is offline aneeshm
Chieftain
Indore , Madhya Pradesh
Jul 2001
time: 10:55
  Old Post 10-02-2005 17:43
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Rigging together a way to store data on an audio cassette Support Apolyton or Terrorists Win

I can assume this idea is not original , it being so obvious . Yet I'm thinking of making it for my 12th grade project ( as a project common to physics ( the electronics parts ) and CS ( the programming parts ) ) . I'd say that the hardware is not too hard to rig together . The software could be pretty simple , too . But I don't know yet . Another thing is the maximum data density . I'd say that I can store data in octal or hex format to maximise data density .

To manage the input , I'm planning to use normal sound input and output ports . Then I can send the data to standard sound output so that I can use a cable to plug it into the mike port of a normal audio cassette recorder to make recording easier , and use the headphone/standard output port of a player and mike port of a computer to copy data from the tape back to the computer .

Can the resident experts here tell me if this is feasible ?

Last edited by aneeshm on 10-02-2005 at 21:36

Dry is offline Dry
Prince
Brussels
Sep 2000
time: 06:25
  Old Post 10-02-2005 17:51
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Browse Apolyton AD-FREE

You mean, like it was back in the years when computers had no HardDisk?

I think on the Commodore 64 of my brother we used the very basic audio tape recorder to save/load programs.

Bkeela is offline Bkeela
King
Brisbane, Australia
Oct 1999
time: 15:25
  Old Post 10-02-2005 18:26
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Took about half an hour to an hour to load a game.

Ari Rahikkala is offline Ari Rahikkala
King
Unreported loss of streaming in atomic read operation
Oct 1999
time: 07:25
  Old Post 10-02-2005 18:31 Visit Ari Rahikkala's homepage!
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Re: Riging together a way to store data on an audio cassette Browse Apolyton AD-FREE

quote:
Originally posted by aneeshm
I'd say that I can store data in octal or hex format to maximise data density.


As opposed to what format?

JohnT is offline JohnT

Emperor
Capitalist
Mar 1999
time: 00:25
  Old Post 10-02-2005 19:17
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Browse Apolyton AD-FREE

quote:
I can assume this idea is not original , it being so obvious .


You're right. Us oldsters fondly enjoy our memories of loading programs up using the tape deck and hoping, praying that everything goes right and that you don't have to repeat that long process again... and again... and again.

Ogie Oglethorpe is offline Ogie Oglethorpe
King
Marietta, GA
Dec 1999
time: 05:25
  Old Post 10-02-2005 19:24
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Trash 80 (TRS 80)- Courtesy of Radio Shack

MikeH is offline MikeH
Emperor
Ming on rakastajani
May 1999
time: 05:25
  Old Post 10-02-2005 19:32 Visit MikeH's homepage!
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
Tired of ads?

beeeee weeeeeee weeeeeee wrrrdllwrdlwrdl wrdl wrdlwrdl wrdl wrdlwrdl wrdl wrdlwrdl wrdl peeeeooooooohaaaaaaaaaaaarararararararar wrdlwrdl wrdl wrdlwrdl wrdl wrdlwrdl wrdl peeeeooooooohaaaaaaaaaaaarararararararar ngngngngngng n-n-n nee-uuuurr nee-uuuuurr.

I'm sure you old timers will all recognise that as the first few seconds of loading a commodore 64 game made by Ocean.

Those youngsters amongst you will think it's a badly done modem loading.

aneeshm is offline aneeshm
Chieftain
Indore , Madhya Pradesh
Jul 2001
time: 10:55
  Old Post 10-02-2005 20:20
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Inflate your Upload Space

I'm planning to use it ( actually , not use it , just make a project out of it which will look as it it has some purpose ) to archive/backup data . I'd like to know how much data a disk can store .

chegitz guevara is offline chegitz guevara
King
Ft. Lauderdale, FL Communist Party of Apolyton
Jun 2000
time: 00:25
  Old Post 10-02-2005 20:37 Visit chegitz guevara's homepage!
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Browse Apolyton AD-FREE

IIRC, you have to use high quality tape. Any old cassette won't do.

Dry is offline Dry
Prince
Brussels
Sep 2000
time: 06:25
  Old Post 10-02-2005 21:14
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by aneeshm
I'm planning to use it ( actually , not use it , just make a project out of it which will look as it it has some purpose ) to archive/backup data . I'd like to know how much data a disk can store .

Difficult to say... I don't remember.
The computer of that time had... say, 16K of RAM, so games had to be smaller than that.
iirc, we had ~20 games on a tape, so it makes something like, maximum 320K. But it is pure guess from my part. In fact, I have no idea...

You know, in between for backups, they invented ZIPs and JAZZs and DATs.

If I were you I'd try something more ... inovative, like a car pulled by horses, or an iron boat propulsed by a steam engine.

Geronimo is offline Geronimo
King
st cloud USA
Jan 1970
time: 05:25
  Old Post 10-02-2005 21:19
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton buy from Amazon

how about storing data on a VHS tape? Audio has been done but I don't recall that VHS ever was.

alva is offline alva
Emperor
Republic of Flanders
Sep 2001
time: 06:25
  Old Post 10-02-2005 22:17
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Support Apolyton buy from Amazon

quote:
Originally posted by MikeH
beeeee weeeeeee weeeeeee wrrrdllwrdlwrdl wrdl wrdlwrdl wrdl wrdlwrdl wrdl wrdlwrdl wrdl peeeeooooooohaaaaaaaaaaaarararararararar wrdlwrdl wrdl wrdlwrdl wrdl wrdlwrdl wrdl peeeeooooooohaaaaaaaaaaaarararararararar ngngngngngng n-n-n nee-uuuurr nee-uuuuurr.

I'm sure you old timers will all recognise that as the first few seconds of loading a commodore 64 game made by Ocean.

Those youngsters amongst you will think it's a badly done modem loading.



Oh, don't forget adjusting the cassette heads so the lines on the teevee looked nice.

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:25
  Old Post 10-02-2005 22:27
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Re: Rigging together a way to store data on an audio cassette Suffering from ads?

quote:
Originally posted by aneeshm
I can assume this idea is not original , it being so obvious .


Not original? Thats the understatement of the year.

Don't Comp Sci courses have a history module?

Jeez, my first 4 or 5 computers used audio tape....I feel old....

Shogun Gunner is offline Shogun Gunner

Emperor
Potomac Falls, Virginia
Oct 2000
time: 00:25
  Old Post 10-02-2005 22:29 Visit Shogun Gunner<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Tired of ads?

I wish I couldn't identify with this thread

Adam Coleco, yes my first "computer"...really a fancy calculator with graphics.

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:25
  Old Post 10-02-2005 22:30
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Increase the size of your Attachments

quote:
Originally posted by Geronimo
how about storing data on a VHS tape? Audio has been done but I don't recall that VHS ever was.


Also been done, there used to be system (not THAT long ago) where you could back up a hard drive to vidoe tape and use it as a cheap streamer

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:25
  Old Post 10-02-2005 22:34
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Browse Apolyton AD-FREE

quote:
Originally posted by chegitz guevara
IIRC, you have to use high quality tape. Any old cassette won't do.


Any old tape is OK, we used to copy games using Hi-Fi's with twin tape decks.

MikeH: IIRC the C64 tape deck used to operate at 600 baud and then veify the data, making it effectively 300 baud.

Last edited by reds4ever on 10-02-2005 at 22:39

Zulu Elephant is offline Zulu Elephant
Prince

Jun 1999
time: 05:25
  Old Post 10-02-2005 22:57
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

The greatest invention of all time was when you starting being able to play some simple game like space invaders WHILE the main game was loading...the minutes just flew by

Cruddy is offline Cruddy
Warlord

Mar 2003
time: 05:25
  Old Post 10-02-2005 22:58 Visit Cruddy's homepage!
Edit/Delete Message Reply w/Quote
#18 Report this post to a moderator
Re: Rigging together a way to store data on an audio cassette Inflate your Upload Space

quote:
Originally posted by aneeshm
I can assume this idea is not original , it being so obvious . Yet I'm thinking of making it for my 12th grade project ( as a project common to physics ( the electronics parts ) and CS ( the programming parts ) ) . I'd say that the hardware is not too hard to rig together . The software could be pretty simple , too . But I don't know yet . Another thing is the maximum data density . I'd say that I can store data in octal or hex format to maximise data density .

To manage the input , I'm planning to use normal sound input and output ports . Then I can send the data to standard sound output so that I can use a cable to plug it into the mike port of a normal audio cassette recorder to make recording easier , and use the headphone/standard output port of a player and mike port of a computer to copy data from the tape back to the computer .

Can the resident experts here tell me if this is feasible ?


Yes it's feasible although I suspect you will need to learn some more about electronics before you can do it.

You'll have to decide which frequencies mean what in the backup, and design the circuits as much as the software to do it.

Back when hard drive sizes were 20Mb or so, companies sold kits to back up onto video tape - dedicated tape drives were very expensive and so home VCRs were used.

Haven't seen one of them for 12 years or so.

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:25
  Old Post 10-02-2005 23:06
Edit/Delete Message Reply w/Quote
#19 Report this post to a moderator
Browse Apolyton AD-FREE

quote:
Originally posted by Dry


iirc, we had ~20 games on a tape, so it makes something like, maximum 320K. But it is pure guess from my part. In fact, I have no idea...


I seem to remember on my Spectrum (Timex for you yanks), a 20 minute tape could hold a game on each 10 minutes side. So 48k (ish) = 10 minutes. So a single side of a 90 minute tape woud hold about 250k????

But as you say:

But it is pure guess from my part. In fact, I have no idea...

Dry is offline Dry
Prince
Brussels
Sep 2000
time: 06:25
  Old Post 10-02-2005 23:11
Edit/Delete Message Reply w/Quote
#20 Report this post to a moderator
Full PM-box? Change here!

quote:
Originally posted by reds4ever
MikeH: IIRC the C64 tape deck used to operate at 600 baud and then veify the data, making it effectively 300 baud.

Ah, here we got some usefull info.
bauds = bits/second
300 bits/sec = 40 bytes/sec.
60 min tape = 3600 * 40 = 144,000 bytes

So, we got 140K. Loaded in 60 min... if everything goes well.

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:25
  Old Post 10-02-2005 23:38
Edit/Delete Message Reply w/Quote
#21 Report this post to a moderator
Remove this text

quote:
Originally posted by Dry

Ah, here we got some usefull info.
bauds = bits/second
300 bits/sec = 40 bytes/sec.
60 min tape = 3600 * 40 = 144,000 bytes

So, we got 140K. Loaded in 60 min... if everything goes well.


yep, I was just about to do that before i went to the shower.

Just done a Google and the Spectrums baud rate was 1500, so its possible to get 700K on a 60 min tape, more than an old floppy.....

pchang is offline pchang
King
Cupertino?
Aug 1999
time: 05:25
  Old Post 11-02-2005 00:36
Edit/Delete Message Reply w/Quote
#22 Report this post to a moderator
Lose 30 kilos (of popups)

I reinvented the wheel for my science project.

DanS is offline DanS
Emperor
Kickball Capital of the World
Jan 1970
time: 00:25
Thumbs up  Old Post 11-02-2005 00:56 Visit DanS's homepage!
Edit/Delete Message Reply w/Quote
#23 Report this post to a moderator
Support Apolyton, buy Civilization III: Complete

This shouldn't be extremely difficult and shouldn't require additional hardware. As you say, all you would need to do is use an audio card with output and input. Everything could be done in software. An audio card like this...

http://www.m-audio.com/products/en_...ion71-main.html

...would provide 96 Khz recording from line in, or a theoretical maximum of 96k baud. Of course, you would need to store the data in binary, with a checksum of some sort every x bits. Actual bit density would be much less, because of the limitations of the audio tape drive. You would just have to do a testing regime. The error rate/density might be a good color chart for your teachers to be impressed with.

As a general rule, you can store a lot on tape. You can store several tens of gigabytes of data on a tape through an ordinary digital camcorder, for instance.

Last edited by DanS on 11-02-2005 at 01:17

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:25
  Old Post 11-02-2005 01:31
Edit/Delete Message Reply w/Quote
#24 Report this post to a moderator
Help yourself to an AD-FREE life

Been there, done this. In the eighties, in East Germany. It was frigging difficult to get the DM for a home computer (Commodore 64 or Atari 800). To get the additional money for a datassette was impossible, at least for me. Everyone OTOH had an ordinary cassette recorder, so why not use it for data storage?

The problem with the storage is, that you have to create vibrations (to make the sound for storage). Obviously, if stored directly, the bit sequence 000000... would produce silence on the tape. But if you have a sequence of 111111..., it would also translate into silence, because there are no oscillating bits. Our solution was to have every bit represented by a triple of bits:

0 = 010
1 = 011

So only every third bit counts.

Since every bit starts with 0 and has an upflank, it translates into a vibration, which can be stored at the tape (it sounds abominable). There is no silence possible. We had a block size of 256 bytes. Each block had a header of "5A5A". That was important, because you have to catch the phase, as on some systems you got the vibrations inverted. So if the header was "A5A5" (the inverse of "5A5A"), we just inverted every bit of the block. The blocks also had counters, so if a block was rejected due to a checksum error, it was enough to rewind a little bit, usually the system caught up.

We called it "turbo" and reached a speed of 4000 baud. We made experiments up to 6000, it worked, but not safely. 4000 baud worked wonderful. It had a little adapter, but I can't tell anything about it (hardware embryo here). I just wrote the driver. It was fun. Those were the days.

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:25
  Old Post 11-02-2005 03:22 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#25 Report this post to a moderator
Got spare money?

Why not use different sound frequencies? That is, you could either have 16 different frequencies for each nibble (i.e. 4 bits). The result would be single tones. Or you could make it a little more complicated and instead use 8 frequencies for each byte. The result will be "chords" which you could decompose with some spectrum analysis.

... But I'm guessing that's sort of what you had in mind already, aneeshm, since you mentioned octal/hex and recording with a simple mike (edit: oh wait, you weren't).

Last edited by Mercator on 11-02-2005 at 06:04

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:25
  Old Post 11-02-2005 04:04
Edit/Delete Message Reply w/Quote
#26 Report this post to a moderator
Remove this text

Mercador: we used to call it a nybble

Sir Ralph is offline Sir Ralph
Emperor
Long live teh Schwampel!
Dec 2001
time: 06:25
  Old Post 11-02-2005 04:06
Edit/Delete Message Reply w/Quote
#27 Report this post to a moderator
Got spare money?

You mean like DTMF dialing? You wouldn't be able to reach big data rates this way, because you need larger samples to measure a frequency (or a mix of frequencies like in DTMF). But it would be easy doing hardware-wise, because there are chips at the market, that do the decoding.

reds4ever is offline reds4ever
Prince
of the Spion Kop
Mar 2001
time: 05:25
  Old Post 11-02-2005 05:27
Edit/Delete Message Reply w/Quote
#28 Report this post to a moderator
Suffering from ads?

I can't believe Asher or UR can't give us an insight into this new fangled contraption

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:25
  Old Post 11-02-2005 06:11 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#29 Report this post to a moderator
Remove this text

quote:
Originally posted by reds4ever
Mercador: we used to call it a nybble


Bah!

quote:
Originally posted by Sir Ralph
You mean like DTMF dialing? You wouldn't be able to reach big data rates this way, because you need larger samples to measure a frequency (or a mix of frequencies like in DTMF). But it would be easy doing hardware-wise, because there are chips at the market, that do the decoding.


I suppose something like that. I had never heard of that before. I was thinking 8 different frequencies each representing one bit in a byte. So silence would be 0x00, all 8 tones would be 0xFF. Higher frequencies would help a bit, but I guess you're right...

I don't know anything about this anyway. I just know my suggestion would sound way cooler!
You could try playing an audio tape and see what data it "generates".

Ted Striker is offline Ted Striker
Emperor
United States of America
Jan 1970
time: 21:25
  Old Post 11-02-2005 09:43 Visit Ted Striker's homepage!
Edit/Delete Message Reply w/Quote
#30 Report this post to a moderator
Support Apolyton

 
Pages (3): [ 1   2   3   ]
< Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:25.
Apolyton Time is 00:25.
    top of page
Rate This Thread:
Forum Jump:
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0774 seconds (93.17% PHP - 6.83% MySQL) with 30 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net