473,396 Members | 1,724 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

An Application Program to Play a CD

How difficult would it be to write a Python program that would play a
specific track on a CD from say 8 am to 6 pm each weekday on a PC's speaker,
and switch tracks each day? That is, what library capabilities might be able
to do that. Are they already available.

Extra points. Now imagine the same as above, but the program should answer a
phone and play the track for the day while someone is holding the call, or
would be given the option to connect to the operator, say, or listen to the
recording?

To get a bit specific, our science museum would like to buy the monthly set
of StarDate programs. Each program is about 2 minutes long and there's one
for every day of the month. There seems to be no such commercial software to
automate this process.
--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>
Mar 21 '08 #1
2 1218
I don't know of any Python specific stuff to do this, but have you
looked at Asterisk? I know it's quite configurable and allows you to
setup dial plans and route extensions and whatnot.

http://www.asterisk.org/

That's probably a better fit.

On 3/20/08, W. Watson <wo*********@invalid.comwrote:
How difficult would it be to write a Python program that would play a
specific track on a CD from say 8 am to 6 pm each weekday on a PC's speaker,
and switch tracks each day? That is, what library capabilities might be able
to do that. Are they already available.

Extra points. Now imagine the same as above, but the program should answer a
phone and play the track for the day while someone is holding the call, or
would be given the option to connect to the operator, say, or listen to the
recording?

To get a bit specific, our science museum would like to buy the monthly set
of StarDate programs. Each program is about 2 minutes long and there's one
for every day of the month. There seems to be no such commercial software to
automate this process.
--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>

--
http://mail.python.org/mailman/listinfo/python-list
Mar 21 '08 #2
Thanks for the link. I briefly looked at it, and it sure would be hard to
tell if it has application here. The material looks developer oriented. Your
short descriptions gives more insight than their home page. They aren't
exactly marketing driven; however, I'll give it a closer look. Maybe joining
the forum will reveal more about it.

Jeff McNeil wrote:
I don't know of any Python specific stuff to do this, but have you
looked at Asterisk? I know it's quite configurable and allows you to
setup dial plans and route extensions and whatnot.

http://www.asterisk.org/

That's probably a better fit.

On 3/20/08, W. Watson <wo*********@invalid.comwrote:
>How difficult would it be to write a Python program that would play a
specific track on a CD from say 8 am to 6 pm each weekday on a PC's speaker,
and switch tracks each day? That is, what library capabilities might be able
to do that. Are they already available.

Extra points. Now imagine the same as above, but the program should answer a
phone and play the track for the day while someone is holding the call, or
would be given the option to connect to the operator, say, or listen to the
recording?

To get a bit specific, our science museum would like to buy the monthly set
of StarDate programs. Each program is about 2 minutes long and there's one
for every day of the month. There seems to be no such commercial software to
automate this process.
--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>

--
http://mail.python.org/mailman/listinfo/python-list
--
Wayne Watson (Nevada City, CA)

Web Page: <speckledwithStars.net>
Mar 21 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: tigrfire | last post by:
I've been working on a program to try and play a game of Craps, based on a version I found elsewhere - I didn't code the original, but I added a few things such as a balance and wager system. I'm...
6
by: G Uljee | last post by:
Hi, I want that my application is always on top (configurable), so the user can not use any other program. Any ideas?
0
by: pillars | last post by:
I have been developing an application in Windows CE.Net using the .Net Compact Framework and C#. Data is saved to a local Sql Server CE database and then transferred wirelessly to a central server....
4
by: Michael Hesse | last post by:
Hi, I have invented a game, which I license to casinos. I have created a demo program, so that people can play the game on their computer. It is a VB executable. I would like to create a...
20
by: Peter Oliphant | last post by:
How does one launch multiple forms in an application? Using Photoshop as an example, this application seems to be composed of many 'disjoint' forms. Yet, they all seem somewhat 'active' in...
35
by: Michel Sanner | last post by:
Hello, One of the greatest feature of Python in my opinion is the way the interpreter can be used to integrate a wide variety of software packages by dynamically linking them. This approach has...
5
by: sallyk57 | last post by:
I have to make a program that would ask a user for their guess (heads or tails) and tells them if its correct or not then it has to ask the user if they want to play again. I figured out how to do...
3
by: Trev | last post by:
Hi, I'm learning C# and trying to write the program below, everything works fine until the last section: Console.Write("Would you like to play again y/n: "); again = Console.ReadLine(); if...
7
by: tim | last post by:
Hi all, I want to execute a VB application from a ASP page (not .Net). Want I want to do is that I write some parameters to a database and then start the external application that will pickup...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.