Building sounds with _SNDPLAYCOPY?
#6
(10-12-2022, 09:29 PM)Pete Wrote: I haven't looked into this new addition yet. Old school would be to use the Windows Voice Recorder to capture it via the mic as eitherĀ  a .wav or mp3 file and then go to some online site to convert it to .ogg format. Then you'd have a sound file you could call with QB64.

Pete
I haven't tested it, but the "new" audio-sound library could play FLAC. The "flac" program is rather easy to get for Windows. But this is if the user has plenty of disk space and MP3 or OGG isn't acceptable.

Note "OGG" could cause ambivalence for what it really is. "OGG" is really just a container format. "OGG FLAC" is possible; it's PCM data in FLAC format with OGG "header". Could probably do it with a wave file and any other format. A file with extension of "OGG" is really "OGG Vorbis". This is not to be confused with "Opus" format and both are not the same. There are also "OGA" and "OGV" that could be created by some apps on Linux which tends to add to the confusion. "OGA" is "OGG Vorbis", what they tried in vain to change file extension for files which are audio only. There is a video editor that I had used called Openshot which, confusingly insists in "OGG" extension for export to video and the system doesn't work properly if the suffix were changed to "OGV" to be more appropriate.

The "Vorbis utilities" are getting old, but "Opus" wasn't intended to be a replacement. One really doesn't have an advantage over the other. However, for the same variable bitrate (VBR), "OGG Vorbis" is better than MP3 although produces slightly larger files.

On Linux could acquire "ffmpeg" to convert to any of those formats indicated above in this post, although for audio it's a bit difficult to use.
Reply


Messages In This Thread
Building sounds with _SNDPLAYCOPY? - by james2464 - 10-12-2022, 09:04 PM
RE: Building sounds with _SNDPLAYCOPY? - by Pete - 10-12-2022, 09:29 PM
RE: Building sounds with _SNDPLAYCOPY? - by mnrvovrfc - 10-13-2022, 04:46 AM
RE: Building sounds with _SNDPLAYCOPY? - by a740g - 10-13-2022, 03:06 PM
RE: Building sounds with _SNDPLAYCOPY? - by a740g - 10-12-2022, 09:54 PM
RE: Building sounds with _SNDPLAYCOPY? - by Pete - 10-12-2022, 10:08 PM
RE: Building sounds with _SNDPLAYCOPY? - by a740g - 10-13-2022, 03:09 PM
RE: Building sounds with _SNDPLAYCOPY? - by Pete - 10-13-2022, 03:41 PM
RE: Building sounds with _SNDPLAYCOPY? - by Pete - 10-13-2022, 03:50 PM
RE: Building sounds with _SNDPLAYCOPY? - by Pete - 10-13-2022, 05:56 PM
RE: Building sounds with _SNDPLAYCOPY? - by Pete - 10-14-2022, 07:51 PM



Users browsing this thread: 1 Guest(s)