topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Thursday March 28, 2024, 12:54 pm
  • 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 33091 times)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • 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
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com
« Last Edit: January 28, 2020, 08:01 AM by publicdomain »

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • 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
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

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: 732
  • Call me Vic!
    • View Profile
    • 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
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

KodeZwerg

  • Honorary Member
  • Joined in 2018
  • **
  • Posts: 718
    • 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

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • 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
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com
« Last Edit: September 27, 2020, 12:35 AM by publicdomain »

sphere

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 176
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #32 on: April 13, 2022, 02:55 PM »
I really like this application.  Very cool!

I am curious how difficult it would be to make this so that it could open other types of files (video, audio, documents) or even from a list of links. I am using this as a reminder to stretch and exercise during the day.  The sound triggers me to refer to a list of stretches/exercises I have as various different files on my PC.   It would be nice for the file to be pulled up from a list of different exercises or stretches I have videos, jpegs of the exercises/stretches I am suppose to do.

Even better if I could track which stretches I have done in a spreadsheet, though that seems like a different program all together.  This is a great help, just wondering how easy it would be to tweak to my use case.     
« Last Edit: April 13, 2022, 04:08 PM by sphere »

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #33 on: April 13, 2022, 04:16 PM »
I really like this application.  Very cool!

I am curious how difficult it would be to make this so that it could open other types of files (video, audio, documents) or even from a list of links. I am using this as a reminder to stretch and exercise during the day.  The sound triggers me to refer to a list of stretches/exercises I have as various different files on my PC.   It would be nice for the file to be pulled up from a list of different exercises or stretches I have videos, jpegs of the exercises/stretches I am suppose to do.

Even better if I could track which stretches I have done in a spreadsheet, though that seems like a different program all together.  This is a great help, just wondering how easy it would be to tweak to my use case.     

Glad you're liking it!  :)

How about creating that new app to fit your brainstormed requirements?

Most importantly: would you like a specific app for exercises or a generic "run random files" program (with spreadsheet reporting). I'm fine with any one you choose since it's basically the same app :up:



P.S: This Random Sounds app does have an update due albeit not related to expanding it to other file types. i can reasonably code some more apps before next newsletter from our PD project.
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com
« Last Edit: April 13, 2022, 04:39 PM by publicdomain »

sphere

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 176
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #34 on: April 13, 2022, 05:19 PM »

Glad you're liking it!  :)

How about creating that new app to fit your brainstormed requirements?

Most importantly: would you like a specific app for exercises or a generic "run random files" program (with spreadsheet reporting). I'm fine with any one you choose since it's basically the same app :up:
-publicdomain (April 13, 2022, 04:16 PM)

That would be great for me!! I am not sure which would be better.  I believe the "run random files" would be of more use to me and to others because it is more versatile. Like someone else in this thread. I do have alot of random audio and video clips from movies etc that a generic run random file program could bring back to life.  I also think the open random files in the folder could be helpful for going through some old pictures I have and getting descriptions into a spreadsheet.  However, there might be better tool for that task.

I imagine that if it were geared towards exercise it would make sense to have the spreadsheet reporting centered more around the exercises and stretching. So quickly entering how many repetitions were done with some stock answers.  However, if it were a generic run random files with tracking it might be nice to have the ability to enter what stock answers can be selected when reporting.  I need to wrap my head around this.

Whatever it ends up being I think it would be nice if the file name could entered automatically in the spreadsheet.  The nice thing for my use case with the random files for exercise and stretching is that I do not need to spend alot of time filling in some sort of exercise template. I have alot of video clips already, then I have various pdfs and jpgs.  I just drop them in the folder and it will pop up and nudge me eventually

Thanks in advanced   



publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #35 on: April 16, 2022, 12:42 AM »
Hi! RandomFilesApp pledged @ https://github.com/p...ain/random-files-app

Stay tuned for first ALPHAS, on its own thread :up:
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com

sphere

  • Participant
  • Joined in 2018
  • *
  • default avatar
  • Posts: 176
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #36 on: April 17, 2022, 11:37 AM »
Hi! RandomFilesApp pledged @ https://github.com/p...ain/random-files-app

Stay tuned for first ALPHAS, on its own thread :up:
-publicdomain (April 16, 2022, 12:42 AM)

Vic,
Thats great. I have been thinking about this.  I can share the thoughts in the thread as soon as I see it.  I am  assuming you want to create it.

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 732
  • Call me Vic!
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #37 on: April 17, 2022, 12:31 PM »
Vic,
Thats great. I have been thinking about this.  I can share the thoughts in the thread as soon as I see it.  I am  assuming you want to create it.

Feel free to express at ease! Thread @ RandomFilesApp - Play random files from a folder at random times.

We have some code to reuse from the sounds app --and what we don't have we create  :)
My name's Victor but do feel free to call me Vic!

Support with your DonationCredits!
❤️ Support on Patreon @ www.patreon.com/publicdomain
🎁 One-time Paypal @ www.paypal.com/paypalme/victorvls
Email/Paypal: publicdomainvicgmail.com