home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / cbm / 4407 < prev    next >
Encoding:
Internet Message Format  |  1992-11-06  |  2.3 KB

  1. 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
  2. From: v462etnn@ubvmsb.cc.buffalo.edu (David L Anderson)
  3. Newsgroups: comp.sys.cbm
  4. Subject: Re: Just an idea I had!
  5. Summary: Build a sampler with no hardware!!!(Assuming you have a Datasette)
  6. Keywords: sampling,assembly
  7. Message-ID: <Bx9pH8.LGy@acsu.buffalo.edu>
  8. Date: 6 Nov 92 00:03:00 GMT
  9. References: <1992Nov5.152406.15786@csd.uch.gr>
  10. Sender: nntp@acsu.buffalo.edu
  11. Distribution: comp.sys.cbm
  12. Organization: University at Buffalo
  13. Lines: 38
  14. News-Software: VAX/VMS VNEWS 1.41
  15. Nntp-Posting-Host: ubvmsb.cc.buffalo.edu
  16.  
  17. In article <1992Nov5.152406.15786@csd.uch.gr>, kilitzir@csd.uch.gr (Kilitzirakis christos 122) writes...
  18. >    My primitive thinking was :
  19. >a) Record routine
  20. >   Make a routine in assembly (it can't be done in another lang) which
  21. >   will read the frequency of the sound that the tape has and save that
  22. >   in memory.(That is the hard part,you have to modify the interupt 
  23.  
  24. Well, unless my memory is wrong, I think you'd need a little more
  25. control than this.  When sampling, you have to consider the 
  26. Nyquist frequency.  It boils down to this: in order to properly
  27. sample x frequency, you have to sample at x*2 rate.  So, to get
  28. say 5000Hz, you sample 10,000 times/sec.
  29.  
  30. Also, you'd need more of a analog-to-digital converter than is
  31. present in the cassette circutry.  It is possible to use the
  32. paddle port (such a system was done on the atari), with attendant
  33. loss of sound quality.
  34. >   routine for loading)
  35. >b) Play routine
  36. >   That's easy ,all this routine has to do is read from ram and put data
  37. >   on SID's registers
  38.  
  39. Actually, it's not that easy.  If you wanted to reproduce sound
  40. using the SID, you'd need to do a Fourier transform of your
  41. sample, then plug that data to the SID.  Not impossible, but
  42. given the computer, I'm not so sure it's worth the effort.
  43.  
  44. BTW, there was a program marketed several years ago that too
  45. took data from a Mirage keyboard (a sampling keyboard), did
  46. a Fourier transform, then would send it to a Kawai K5 (an
  47. additive synth, ie. you select base frequency and harmonics
  48. and the level of the harmonics).  This was not a real-time
  49. conversion (ie. sample existed on Mirage disk, computer reads
  50. it via MIDI, transforms, sends to K5).
  51.  
  52. Hope this helps.
  53.  
  54. David
  55.