Page 2 of 2

Posted: Fri Mar 19, 2010 2:46 pm
by Eric Walch
JazHaz wrote:
Are you using a Mac or PC?

If you use a Mac, then you can use the iTunes integration to play music.
I used to have it on in the past but not lately. Today I decided to switch it on again and it crashed Oolite when trying to toggle it between ON/OFF. Going back with older Oolites it even crashed 1.70.... 1.65 was okay with the selection. Actually not a crash but a hang.

Than I tried to launch i-Tunes by hand. I got a licence agreement to confirm first. Apparently I never launched it after my last update. After having confirmed the licence in i-Tunes, the crash with Oolite was gone. I could toggle between Music and i-Tunes integration.
No idea if this is an Oolite bug or an i-tunes bug that does not react as advertised.

----
Back to docking music:
I noticed the code is looking for a music file with name: OoliteDocked.ogg in the Music folder to play after docking.
This feature is available since at least version 1.72 and works at least on my mac but I think it is a feature for all systems. This file is not present in Oolite itself but you can just add it in an oxp music folder.

Posted: Sat Mar 20, 2010 4:24 pm
by Frame
Well, I went ahead and created it anyway

http://www.box.net/shared/d59t39ibfc

here is the readMe



Random Docking Music
Thanks to
dalek501 of Oolite Bullitin Board to request and inspire ;-)
&
"acclivity of freesound.org"

for providing the 10 sec of silence... :-).. now that sounds like i want him to shut up... but not at all.. he just had a sample of 10 seconds of silence..

Instructions...

Mac Notice: open RandomDockingMusic.oxp by right clicking and select something about opening the OXP package

For windows and Mac(mac notice above)
Open the file randomDockingMusic.js found in RandomDockingMusic.oxp/Scripts/

now where it says

this.musicList.push("BlueDanubeCopy.ogg");
this.musicList.push("SVRConcertoNo.ogg");

// keep on adding or removing music in the same manner as seen above

add or remove music pieces at your desire... in RandomDockingMusicv1.00.oxp/Music/

BlueDanubeCooy is a copy of Oolites Blue Danube... for those who want to hear it still..

SVRConcertoNo.ogg is Sergej Vassiljevitsj Rachmaninoff's Piano Concerto No. 2 (Op. 18) - Adagio Sostenuto

Enjoy

Dennis Thony Pedersen
(Frame) 17:15 20-03-2010

Posted: Sat Mar 20, 2010 5:24 pm
by dalek501
Amazing! Thanks very much Frame! :D

I'm going to have alot of fun with this. Try it with some Vangelis. Theme from Cosmos, or Alpha. Something like those. Perfect relaxing but spacey music for docking after a rampant alien killing fest!

I won't get a chance to try it today as I have superleague darts tonight. But I will do my best for tomorrow!

Thanks again Frame. :D

Posted: Sun Mar 21, 2010 10:32 pm
by dalek501
It works brilliantly Frame. Thank you so so much. The first time I tried it I got Vangelis' Cosmos theme. And straight away I was there.

:D :D :D