| Plants a Pole [message #23861] |
Di, 26 April 2005 05:02 |
|
I wonder if it will grow...
I have an OT question.
I am in the process of completing my JavaScript driven Jukebox player
and wish some input.
think of a jukebox player setting in a pool hall or bar or something.
If no songs are in the que list, the player picks a random song from
the master list and plays it, upon completion picks another random
song. etc...
if songs are in the que, it plays them untill the que is empty and
then starts the random play.
The songs list is sub devided into several types (easy rock, hard
rock. heavy metal, speed metal, newage/classical, and also some bands
have thier own lists) if songs are added to the que from one of the
sublists, timerX is started. if the que list runs out and the number
of songs that have been manually added to the que list from a sub list
is greater than numberY and timerX hasent gone more than Z ammount of
minutes; rather than play random songs from the master list, the
player will play random songs from the sub list that seems to be
popular. That is untill ZZ ammount of time has passed and no new
manual entries have been made, at which point the player reverts back
to playing random from the master list.
What do you all feel that X,Y,Z,,ZZ should be?
JavaScript is neat. I love to program in it. It reminds me of the
first language I learned to program in earnest with. Commadore64 Basic
Ver4.0. :)
That and I was told by several smarty JavaScript slingers that what I
wanted to do was impossable....
--
Vincent
DC2.D Gm L W- T- Phwalt Skh Cta,bta+ Bco/fl A Fr++ Nn
M O H--- Fo R+++! Ac+ J+ S? I---# V? Q? Tc++[Technition] E+
Keeper of The Great Book of Random Stuff
www.dragonbathhouse.com
v_dragon [at] bellsouth.net
Up the Irons!
---------------------------
Scouting- Because Character counts
Duke of Dutch Ovens [DoDo]
dragonbathhouse.150m.com/klah/dutchovenfaq.htm
<'cause few know what a dutch oven is>
Priest in charge of the pastries
---------------------------
"The tears of a Dragon,
For you and for me."
-Bruce Dickinson
|
|
|
| Re: Plants a Pole [message #23900 ] |
Mi, 27 April 2005 06:40 |
|
In article <cpar61l40fre009r096rg02tbmitiuq6ao [at] 4ax.com>,
v_dragon [at] bellsouth.net says...
> I wonder if it will grow...
> I have an OT question.
> I am in the process of completing my JavaScript driven Jukebox player
> and wish some input.
>
> think of a jukebox player setting in a pool hall or bar or something.
> If no songs are in the que list, the player picks a random song from
> the master list and plays it, upon completion picks another random
> song. etc...
> if songs are in the que, it plays them untill the que is empty and
> then starts the random play.
>
> The songs list is sub devided into several types (easy rock, hard
> rock. heavy metal, speed metal, newage/classical, and also some bands
> have thier own lists) if songs are added to the que from one of the
> sublists, timerX is started. if the que list runs out and the number
> of songs that have been manually added to the que list from a sub list
> is greater than numberY and timerX hasent gone more than Z ammount of
> minutes; rather than play random songs from the master list, the
> player will play random songs from the sub list that seems to be
> popular. That is untill ZZ ammount of time has passed and no new
> manual entries have been made, at which point the player reverts back
> to playing random from the master list.
>
> What do you all feel that X,Y,Z,,ZZ should be?
X, not sure what it is, I thought it was just a clock
Y, 1/2 size_of_sublist
Z, 10
ZZ, 20
--
Draco18s
DC2.Dw Gm L- W- T Phvwalt Sks Cag^ Bco|# A- Fr Nu M--- O H+ $ Fo R+++ Ac+ J+
S+ I-# V++ Q++ Tc+++[C++]/Tc--- E+
"Yum!" |> v-v-v-v |>
| , , .|. | n | .|.
'. |_/| | |'''''''''''| | \
(q p),-| | HERSHEY'S | |'-._ ))
/_(/ | | CHO|"|LIT | | ) '-.___//
---W"W----'-'----'-'----'-'----------'--------------
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|