TIP: Click on subject to list as thread! ANSI
echo: 64_talk
to: Errol Smith
from: Tarragon Moon
date: 1994-09-05 08:19:00
subject: Sample Player

>  Well that would be a good solution I guess. By 'user' I assume
 > you mean the developer of the demo/game/whatever. After all, if
 > he is the one writing the music, then he can fix it properly.
By "user", I mean someone who wants to compose a tune and may not
know diddly squat about code, and/or how to fix a SIDplayer to work with
the sample- player...

 >  Well you might have one one day (: The effects arent too hard
 > really, you just have to figure out how to do them in the first
 > place.
True. Your looking at a 64 world-first util (to my knowledge) ... once it's
released, of course :)

 >  TM>Hmm you could be right, actually, I'd better check! (Has a reality
 >  TM>crisis) Yes, if fact I AM TBH! HA! ... NOT!
 >  I hope you arent. If you are Menace won't get anywhere! (-:
Hmm, you don't have much faith in TBH do you? (understandable though)

 >  TM>Well, perhaps you can have this as a user definable option...
 >  There you go again, user definable options! (-:
Well, that's what it's all about! (has a flashback to Monty Python's
"The Quest For The Holy Grail") er..

 >  TM>Well, that's actually pretty straightforward. Why didn't I think of
 >  TM>that? :)
 >  Because I'm the genius & you're not! (-:
Oh yeah! I knew there was some reason for it... :)

 >  I've never actually seen it (well heard it) done before. Actually,
 > just thought of another effect that could use this 'volume control'
 > - varying the volume up & down to get a reverberating effect. You
 > cant do that with sid voices! (or can you?)
Certainly can't... you can vary it down, but the "sustain-cutoff"
bug stops you from going the other way...

 >  Well that sounds right to me. The original amiga circuit that I
 > copied has d0 at pin 2, & d7 at pin 9, so I cant see what is
 > wrong with your setup. Some samplers expect different kinds of
 > inputs, ie some expect a headphone type input (several
 > milivolts), while some use a line input (+-several volts).
 > Putting a line input to it when it is setup for a low level
 > would just give you total distortion.
I tried re-wiring it up the other day (I also re-wired the
cross-assembler plug as well, to the same plug) but now I'm getting nothing
at all from the sampler... :( I might have killed it somewhere (unlikely)
either that or I'm missing something REALLY important... as I didn't even
get a distorted noise this time I didn't bother swapping all the wires
around. BTW I have used the sampler on the Amiga, and it works with normal
"headphone" sounds.

 >  TM>Another might be to try and allow the sample frequency to sync up with
 >  TM>voice three via $d01b/$d01c...
 >  Yep, theres another option (: Btw, you mean $d41b/$d41c dont
 > you? (-:
Er, yeah, that's what I wrote, must have got currupted when it got modem'ed
up to WOW... er...  :)

 >  Yep, one sample is easy, the code is 1/4 the size of a 2
 > channel job. The problem with loop checking is that you have to
 > have 2 checks when you increment the address, one for end of
 > page (normally BEQ), and a CMP for the loop.. yuck..
Mind if I have a look at your code? See if I can add any suggestions or whatever...

 >  Cool, I hope you figure out the cable as well (: I'm going to
 > need more user port connnectors at this rate: sampler, rs232,
 > 64net cable, cross assembler cable etc.. (-:
Well, the cable's pretty simple... just pin 6 to pin 6, pin 7 to pin 7 and
GND to GND. As these pins aren't used with a sampler you can use that plug
as well. I can't get the routine to sync up properly if I use command
interpretation (ie: my routine is too slow, and falls behind the data
stream), and I can't be bothered fixing it to work as I'll probably have
the actual version soon(ish) anyway... but I do have a working version.
I'll u/l it to you in the next few days.

Leighter on

Tarragon

btw, perhaps you could add a multiplier in there somewhere (ie: one ASL)
and have a distortion type effect too??

--- FMail 0.94

* Origin: Some obscure reference to Terry Pratchett novels (3:638/100.5)
SEEN-BY: 50/99 54/54 623/630 632/348 998 633/158 371 635/503 636/100 638/100
SEEN-BY: 638/101 640/316 711/807 808 809 929 934 712/623 713/888 714/906
@PATH: 638/100 635/503 50/99 54/54 711/808 809 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.