Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Audio storage, stereo switching
#10
(02-18-2023, 09:21 PM)Petr Wrote: Hello. I went through the forum and found some questions about saving sound and also questions about whether it is possible to create and save sound in QB64. The answer to both is yes.
...
Program create sound (used for this is program from QB64 SNDRAW help) and then easily modified for saving this sound in WAV format.

This is great - thanks for this!

I have a related question - remember in the old days when we used to save our programs to cassette tape? How might we use QB64PE to encode data to audio, and also listen with a microphone or audio input and turn audio back into data? 

I think this would be some kind of software modem... One computer takes some data and plays sounds through its speaker, and another computer listens, and turns that into a file. 

I don't know anything about how modem protocols worked, I think they had a "handshake" to establish a connection, and then some kind of built-in checksum or redundancy, so that an audio dropout or a bit of external noise doesn't cause the whole thing to fail.

Anyway, this would be an interesting project to play with. 

(Along those lines, what are some other ways we might we get 2 computers to communicate without an internet connection? Maybe one could flash colors on the screen and the other "reads" it with a webcam and converts it back into a file, etc.)
Reply


Messages In This Thread
Audio storage, stereo switching - by Petr - 02-18-2023, 09:21 PM
RE: Audio storage, stereo switching - by Petr - 02-20-2023, 08:26 PM
RE: Audio storage, stereo switching - by Petr - 01-18-2025, 04:47 PM
RE: Audio storage, stereo switching - by bplus - 01-18-2025, 07:59 PM
RE: Audio storage, stereo switching - by Petr - 01-18-2025, 08:48 PM
RE: Audio storage, stereo switching - by bplus - 01-18-2025, 08:50 PM
RE: Audio storage, stereo switching - by Petr - 01-18-2025, 09:03 PM
RE: Audio storage, stereo switching - by madscijr - 8 hours ago



Users browsing this thread: 1 Guest(s)