home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!iggy.GW.Vitalink.COM!cs.widener.edu!dsinc!ub!acsu.buffalo.edu!ubvmsb.cc.buffalo.edu!v462etnn
- From: v462etnn@ubvmsb.cc.buffalo.edu (David L Anderson)
- Newsgroups: comp.sys.cbm
- Subject: Re: Just an idea I had!
- Summary: Build a sampler with no hardware!!!(Assuming you have a Datasette)
- Keywords: sampling,assembly
- Message-ID: <Bx9pH8.LGy@acsu.buffalo.edu>
- Date: 6 Nov 92 00:03:00 GMT
- References: <1992Nov5.152406.15786@csd.uch.gr>
- Sender: nntp@acsu.buffalo.edu
- Distribution: comp.sys.cbm
- Organization: University at Buffalo
- Lines: 38
- News-Software: VAX/VMS VNEWS 1.41
- Nntp-Posting-Host: ubvmsb.cc.buffalo.edu
-
- In article <1992Nov5.152406.15786@csd.uch.gr>, kilitzir@csd.uch.gr (Kilitzirakis christos 122) writes...
- > My primitive thinking was :
- >a) Record routine
- > Make a routine in assembly (it can't be done in another lang) which
- > will read the frequency of the sound that the tape has and save that
- > in memory.(That is the hard part,you have to modify the interupt
-
- Well, unless my memory is wrong, I think you'd need a little more
- control than this. When sampling, you have to consider the
- Nyquist frequency. It boils down to this: in order to properly
- sample x frequency, you have to sample at x*2 rate. So, to get
- say 5000Hz, you sample 10,000 times/sec.
-
- Also, you'd need more of a analog-to-digital converter than is
- present in the cassette circutry. It is possible to use the
- paddle port (such a system was done on the atari), with attendant
- loss of sound quality.
- > routine for loading)
- >b) Play routine
- > That's easy ,all this routine has to do is read from ram and put data
- > on SID's registers
-
- Actually, it's not that easy. If you wanted to reproduce sound
- using the SID, you'd need to do a Fourier transform of your
- sample, then plug that data to the SID. Not impossible, but
- given the computer, I'm not so sure it's worth the effort.
-
- BTW, there was a program marketed several years ago that too
- took data from a Mirage keyboard (a sampling keyboard), did
- a Fourier transform, then would send it to a Kawai K5 (an
- additive synth, ie. you select base frequency and harmonics
- and the level of the harmonics). This was not a real-time
- conversion (ie. sample existed on Mirage disk, computer reads
- it via MIDI, transforms, sends to K5).
-
- Hope this helps.
-
- David
-