Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FEATURE REQUEST Waveform Duration in Cycles
#1
The DAC methods include a parameter for duration in milliseconds.  Would it also be possible to please add a parameter to specify duration in cycles?  This would allow for more precise waveform generation which is necessary for audio frequency-shift keying.  For example the Kansas City Standard requires 4 cycles at 1200 Hz for 0 and 8 cycles at 2400 Hz for 1 (see pic).  Thanks for all the great work!


Attached Files Thumbnail(s)
   
Reply
#2
I'll try to implement this for dac.waveform() and dac.beep(), but it wouldn't be usable for frequency-shift keying as there would be gaps between tones.

What could be done is to implement a new method with bytearray argument which could transmit the given array as frequency-shift keyed bitstream.
Reply
#3
(08-23-2018, 07:18 AM)lobo Wrote: I'll try to implement this for dac.waveform() and dac.beep(), but it wouldn't be usable for frequency-shift keying as there would be gaps between tones.

What could be done is to implement a new method with bytearray argument which could transmit the given array as frequency-shift keyed bitstream.
That would be awesome, thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)