topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 22, 2019, 04:21 PM
  • Proudly celebrating 13 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

Author Topic: IDEA: play random wav from a folder at random times  (Read 1491 times)

jimduggan

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
IDEA: play random wav from a folder at random times
« on: July 09, 2019, 05:33 PM »
Hello

This is an app I would find useful.

sounds.pngIDEA: play random wav from a folder at random times

What it does:
=============

If it is on, it looks at all the .wav files in the folder it is running from.

It then plays one of the .wav files at random.


Settings:
=========

If it is off, all settings are greyed out.

If on, and if it is set to the timed option, it plays the random .wav file at a set time interval.

If on, and if it is set to the random option, it plays the random .wav file at a random time within each chosen time bracket.

Other:
======

PlayWAV can be used t play the .wav file in the background:

https://www.horstmuc...e/wminis.htm#playwav

Ideally, before it plays the .wav, it should detect if the sound system is currently in use by another program, and if so, skip playing this time.

It should minimise to the system tray.

Please let me know your thought and comments.

Thank you!

p3lb0x

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 423
  • Beer, beer, beer, I'm going for a beer!
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #1 on: July 11, 2019, 12:33 AM »
If no one else takes this, I'll take a shot at it in about a week.
Stop mousering people so much - Mouser

jimduggan

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #2 on: July 21, 2019, 02:57 PM »
Thank you so much.
Did you manage to make any progress?
I found this which may help:
https://superuser.co...ime-beep-on-the-hour

jimduggan

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #3 on: August 06, 2019, 05:40 AM »
Or is anyone else perhaps interested in this project?

p3lb0x

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 423
  • Beer, beer, beer, I'm going for a beer!
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #4 on: September 03, 2019, 06:25 AM »
My bad completely forgot about it due to real life. I'll give it a shoot soon.
Stop mousering people so much - Mouser

publicdomain

  • Participant
  • Joined in 2019
  • *
  • Posts: 17
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #5 on: September 11, 2019, 12:45 PM »
Or is anyone else perhaps interested in this project?

I'm taking it! :Thmbsup:

RandomSoundsApp_DonationCoder.png

Source code @ https://github.com/p...main/randomsoundsapp

Release to be announced in a reply here as soon as it's complete.

Cheers!
Vic
Humble space: www.patreon.com/publicdomain

Email: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor

jimduggan

  • Participant
  • Joined in 2019
  • *
  • default avatar
  • Posts: 4
    • View Profile
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #6 on: September 14, 2019, 11:15 AM »
 :up: Wow! Thank you so much Vic! I can't wait to try this out!

Do you think it could use a [Cancel][Apply][OK] button set at the bottom?
After I drew the mockup, I realised I had not included one.

publicdomain

  • Participant
  • Joined in 2019
  • *
  • Posts: 17
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #7 on: September 15, 2019, 07:32 PM »
:up: Wow! Thank you so much Vic! I can't wait to try this out!

My pleasure Jim  :)

The program is finished. I'm making initial release in next reply.

Do you think it could use a [Cancel][Apply][OK] button set at the bottom?
After I drew the mockup, I realised I had not included one.

Given the way it's coded you may not need the extra buttons: it auto-enables timers on settings' selection and clears all sound players when clicking off :Thmbsup:

Let's give a shot @ this version (no problem if you need to add something else after your review)

Cheers!
Vic
Humble space: www.patreon.com/publicdomain

Email: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor
« Last Edit: September 16, 2019, 02:43 AM by publicdomain »

publicdomain

  • Participant
  • Joined in 2019
  • *
  • Posts: 17
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Re: IDEA: play random wav from a folder at random times
« Reply #8 on: September 16, 2019, 06:30 PM »
Random Sounds App v0.1.0

RandomSoundsApp_0-1-0.png

Release info + download.

Enjoy! :Thmbsup:
Vic
Humble space: www.patreon.com/publicdomain

Email: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor
« Last Edit: September 17, 2019, 03:44 AM by publicdomain »