topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday November 25, 2020, 5:36 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Last post Author Topic: IDEA: play random wav from a folder at random times  (Read 13317 times)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 103
  • Call me Vic!
    • View Profile
    • https://publicdomainweekly.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #25 on: January 16, 2020, 06:18 PM »
Hey @Damocles, @app103! Thanks for the interest in the app.

I'm actually getting up to date with a couple ones from last year (i.e. the multilingual word counter) as soon as they're done, I proceed to clear the odd System32 (new) bug.

For the future, I would only suggest, but only if they are not too much work:
1) trying to mute the audio if the windows sound system is already playing audio (from a video etc.) (code in one of the posts above in this thread).
2) a scheduling option of some sort. (this user interface for scheduling looks interesting: https://softorino.com/volumeconcierge2/)

Sure thing. Scheduling is a must and we're going to add it to next Major version.

--Let's clear ALL the bugs first to call this branch complete to feature-freeze as first stable release (version 1.0.0)  :Thmbsup:

Cheers!
Vic
New releases: TBA
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Preparing the PublicDomainWeekly.com website for releases on the 1st, 7th, 14th and 21st of every month!
--Victor
« Last Edit: January 28, 2020, 08:01 AM by publicdomain »

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 103
  • Call me Vic!
    • View Profile
    • https://publicdomainweekly.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #26 on: January 28, 2020, 10:40 PM »
There seems to be a bug when you have the app set to start with the OS. When you reboot the PC and the app starts, it does indeed start, but it doesn't work. I get an popup error message saying Unhandled Exception has occured, and "Access to the path "C:\Windows\system32\SettingsData.txt" is denied. Even though I don't think it should be putting anything in the windows folder. The app itself is in a folder on the desktop.

Gave some coding love to this; there wasn't any file on "C:\Windows\system32\" involved!

Explanation being Windows simply passed the calling shell's environment to the program so current working directory needed to be corrected on autostart.

Please confirm to move forward with audio-playing check + scheduler options :up:

v0.4.2 download: RandomSoundsApp_v0.4.2_Release.zip

Cheers!
Vic
New releases: TBA
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Preparing the PublicDomainWeekly.com website for releases on the 1st, 7th, 14th and 21st of every month!
--Victor

jimduggan

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #27 on: February 02, 2020, 10:00 PM »
I can confirm that this does indeed solve the problem with the startup error!
Thank you!

jimduggan

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 12
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #28 on: July 18, 2020, 08:51 AM »
I would like to mention one small bug I found.

Let's say that I have to audio to play every 10 minutes.
The audio plays at 3.10pm.
I close my laptop lid at 3.12pm.
The laptop sleeps/suspends.
I open my laptop at 6.48pm.
As soon as the laptop wakes, the audio plays (this is the bug).
The audio also plays at 6.50pm (this is what it should do).

So it seems that when the computer is asleep, it 'builds up' one audio event, which plays as soon as the computer wakes up again.

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 103
  • Call me Vic!
    • View Profile
    • https://publicdomainweekly.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #29 on: September 23, 2020, 04:32 PM »
So it seems that when the computer is asleep, it 'builds up' one audio event, which plays as soon as the computer wakes up again.
-jimduggan

Roger that Jim! Working on it :Thmbsup:

I'm coming back online with a daily release schedule.

Vic
New releases: TBA
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Preparing the PublicDomainWeekly.com website for releases on the 1st, 7th, 14th and 21st of every month!
--Victor

KodeZwerg

  • Honorary Member
  • Joined in 2018
  • **
  • Posts: 513
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #30 on: September 24, 2020, 03:06 AM »
Hi Vic, I just wanted to inform you that
New releases: www.PublicDomainDaily.com
link lead to:
403 - Forbidden
You don't have permission to access this resource.

Apache/2.4.29 (Ubuntu) Server at publicdomaindaily.com Port 443
sorry bad english and Delphi are my hobby ;)
politeness is not one of my strengths in writing, just because it sounds rough doesn't mean that I mean it rough.

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 103
  • Call me Vic!
    • View Profile
    • https://publicdomainweekly.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #31 on: September 27, 2020, 12:14 AM »
Thank you dear K! You rock :Thmbsup:

Website's up & tracking daily releases now :)

Cheers!
Vic
New releases: TBA
Extend your support: PayPal.me/victorvls || Patreon.com/publicdomain || DonationCredits
Email: publicdomainvicgmail.com

Currently at: Preparing the PublicDomainWeekly.com website for releases on the 1st, 7th, 14th and 21st of every month!
--Victor
« Last Edit: September 27, 2020, 12:35 AM by publicdomain »