BBS: Inland Empire Archive
Date: 03-24-92 (18:56)             Number: 200
From: STEVE CRAVER                 Refer#: 190
  To: MATT GLASGOW                  Recvd: NO  
Subj: graphics                       Conf: (2) Quik_Bas
* In a message originally to Preston Landers, Matt Glasgow said:

MG->only problem is that I can't figure out how to load a
MG->digitized file bigger than 70,000 bytes..Hmmmmmm... Does
MG->anybody know how to load a large digitzed sound file into
MG->the BUFFER...

You need "double buffering" and the use of DMA's.  With the use of them,
you're only limited by your hard drive space. I've created
1 VOC file 10 meg big (5 min @32000 sample, I think).
I'll try to put the routines together and post them here.
Another nice thing about DMA's (direct memory access) is
the fact that it will play (or record) in the background,
allowing your program to do other tasks.

 * Origin: RadioLink! Columbus, OH (614)766-2162
QuickBasic! HST/DS (1:226/140)
Outer Court
Echo Basic Postings

Books at Amazon:

Back to BASIC: The History, Corruption, and Future of the Language

Hackers: Heroes of the Computer Revolution (including Tiny BASIC)

Go to: The Story of the Math Majors, Bridge Players, Engineers, Chess Wizards, Scientists and Iconoclasts who were the Hero Programmers of the Software Revolution

The Advent of the Algorithm: The Idea that Rules the World

Moths in the Machine: The Power and Perils of Programming

Mastering Visual Basic .NET