Author Topic: James' sound card TTL idea  (Read 28402 times)

0 Members and 1 Guest are viewing this topic.

Offline Lazerjock

  • Full Member
  • ***
  • Posts: 237
  • Milliwatts: 8
  • Gender: Male
  • Laser @ Universal Studios Fl Spiderman ride
    • View Profile
Re: James' sound card TTL idea
« Reply #15 on: August 24, 2009, 04:29:45 pm »
He had one what happened to it?

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: James' sound card TTL idea
« Reply #16 on: August 24, 2009, 04:56:35 pm »
The really tricky part of doing this clocked out wave thing would be synchronizing the sound card DAC and the USB thingy down to the sample.

I think you'd either have to merge the two device drivers into one (easily done in Linux) or use a separate execution thread to clock the stuff to the USB thing while the sound card driver was emptying out its buffer.

Hmmmmm.

It would be awesome if you could get the sound card DAC clock on an address inside your own code!

James.  :)
« Last Edit: August 24, 2009, 04:59:13 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: James' sound card TTL idea
« Reply #17 on: August 24, 2009, 08:52:42 pm »
Been thinking about this idea some more and it seems like the best possible way to use this kind of "raw digital signal" trick would be from the 8 channel sound card itself.

If it was possible to make the bits of all 8 channels latch as TTL levels onto a cooresponding set of pins (8 X 16 pins == 128 bits per sample) every 48 thousandth of a second...

You could do whatever you wanted to do with those values ~ no special driver or wave player needed (or USB thingy)!

What do you think drlava?

James.  :)
« Last Edit: August 24, 2009, 09:39:35 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline drlava

  • Sr. Member
  • ****
  • Posts: 314
  • Milliwatts: 18
    • View Profile
Re: James' sound card TTL idea
« Reply #18 on: August 24, 2009, 09:40:08 pm »
The CM106 and 6206 have at least one digital I/O port but I was going to purpose that for a shutter.  Other than that, the simple USB PIc device would probably be best.  I was thinking a while ago that a channel and an input on the sound card could be used to get DMX I/O but for just TTL it seems overkill.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2130
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: James' sound card TTL idea
« Reply #19 on: August 24, 2009, 09:46:05 pm »
I want 16 bits of TTL from one channel!

James.  :)
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal