Building sounds with _SNDPLAYCOPY? - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: QB64 Rising (https://qb64phoenix.com/forum/forumdisplay.php?fid=1) +--- Forum: Code and Stuff (https://qb64phoenix.com/forum/forumdisplay.php?fid=3) +---- Forum: Help Me! (https://qb64phoenix.com/forum/forumdisplay.php?fid=10) +---- Thread: Building sounds with _SNDPLAYCOPY? (/showthread.php?tid=966) Pages:
1
2
|
RE: Building sounds with _SNDPLAYCOPY? - SpriggsySpriggs - 10-13-2022 @Pete Nah, that wouldn't affect my code at all as my code uses an old DLL that's been around a while. Same DLL I use with my Video player. RE: Building sounds with _SNDPLAYCOPY? - Pete - 10-13-2022 You have to be careful calling old drivers. I ended up in the desert, yesterday, because my 80 year old Uber driver took a wrong turn on the I-5. Good luck finding it then, it "sounds" cool! Pete RE: Building sounds with _SNDPLAYCOPY? - SpriggsySpriggs - 10-13-2022 I think I found it. It looks like it was on my GitHub. You'd need ffmpeg to show the waveform at the end. Or you could reuse Fellippe's code for showing a sound's waveform. Code: (Select All) OPTION _EXPLICIT RE: Building sounds with _SNDPLAYCOPY? - Pete - 10-13-2022 Curious. The "Save" in API format. Do you know the folder MS saves your "test.wav" sound file in, to look up the file after it is saved? If so, would there be anyway in this code to have it saved to a different specified folder? If not, knowing where it is saved would just take a simple file move operation with SHELL or in QB64 with NAME AS. Pete RE: Building sounds with _SNDPLAYCOPY? - SpriggsySpriggs - 10-14-2022 (10-13-2022, 05:56 PM)Pete Wrote: Curious. The "Save" in API format. Do you know the folder MS saves your "test.wav" sound file in, to look up the file after it is saved? If so, would there be anyway in this code to have it saved to a different specified folder? If not, knowing where it is saved would just take a simple file move operation with SHELL or in QB64 with NAME AS.@Pete All you'd need to do would be to specify your path. I left it as just the filename because it defaults to the current working directory as the save directory. RE: Building sounds with _SNDPLAYCOPY? - Pete - 10-14-2022 Nice! Hey, I see the @ messaging feature failed to register in your post. Mine does that all the friggin'. time. Old browser, I guess. I always have to hit quick edit, do nothing, and then save changes to get it to make a hyperlink. Pete |