Difference between revisions of "Hyperradio js OXP"

From Elite Wiki
m
m (Download: Tweak!)
 
(75 intermediate revisions by 6 users not shown)
Line 1: Line 1:
===HYPERRADIO.OXP 1.00 and 1.02 for Oolite===
 
  +
{{Infobox EquipStats Oolite| title = Hyperradio
  +
|image = [[Image:Hyperradio.png|80px]]
  +
|equipName = EQ_HYPER_RADIO
  +
|equipCost = 1.200
  +
|equipTL = 7
  +
}}
  +
==Overview==
  +
{{OXPNote|This AddOn is deprecated. Please use [[Library]] for new AddOns}}
  +
Trading goods between worlds is an extremely dangerous and hard job and a commander will need some relaxing moments. Listen to your radio station and enjoy Jazz, Folk, Rock or whatever you like. Use one station for all systems or expand it, so you will get different programs in different systems. You can even add your own music to the playlist. So rip your CDs, download songs, or install one or more of the available [[Hyperradio_Musicpacks|musicpacks]]. Everything is possible - and travelling will be much more fun - even 'milkruns' won't be boring business anymore. And with the capacity to be expanded by other users creating their own musicpacks it will always be the right investment.
   
----
 
  +
Additionally Frame has created a nice oxp for [[Random_Docking_Music_OXP|random docking music]].
   
I've often missed some background music while playing Oolite. Yes, it was possible to use other software<br>
 
  +
==Handling==
for this (like Winamp, iTunes,...), but that's not the way it should be. Oolite was a little bit 'incomplete'.
 
  +
Adding own songs to the main playlist of the Hyperradio is simple. Please note that only ogg-vorbis is supported by Oolite.
   
That was yesterday.
 
  +
1. Just place your soundfiles in the OXPs Music-folder.<br>
  +
2. Open hyperradio.js in the Scripts-folder (you can use a simple text-editor) and add your filenames to the array.<br>
  +
Example:
  +
this.hyperradio_playListOriginal = [
  +
"Rage-Back_in_time.ogg",
  +
"Stevie_Ray_Vaughan-Voodoo_Child.ogg"
  +
];
  +
Save your additions. That's it.
   
===HANDLING:===
 
  +
3. Fire up Oolite and buy the Hyperradio license (it is not everywhere available).
Just place your soundfiles (.ogg or .wav) in the OXPs Sounds-folder.<br\>
 
  +
* Launch from the station and select it via priming key (Shift + N).
Open descriptions.plist in the Config-folder (you can use a simple text-editor)
 
  +
* Select the station via activation key (n). You can cycle through the available stations.
and add your filenames to the array.
 
  +
* To start playing a station press the mode key (b).
   
Example:<br>
 
  +
To get some more complexity it is possible to use different 'stations' with different playlists. There are a few [[Hyperradio_Musicpacks|musicpacks]] already available for you.
<key>hyperradio_songlist</key>
 
<array>
 
<string>example.ogg</string>
 
<string>my_first_sound.ogg</string>
 
<string>my_second_sound.ogg</string>
 
<string>My_first_music.ogg</string>
 
<string>my_second_music.ogg</string>
 
</array>
 
Save your additions. That's it. Totaly easy.
 
   
Step to the game. Buy the Hyperradio, launch from the station and press F7 (SYSTEM_DATA_SCREEN)<br>
 
  +
If you are using one or more of the available musicpacks the Hyperradio preselects one of them or the main list.
and step back to the cockpit view (F1). When the song is over... F7, back to F1,...
 
   
!!!! Because of the handling of variables in Java-Script don't use filenames with a leading zero or other numerics.<br>
 
  +
Documentation about creating own stations is available at the [[Hyperradio_Howto_Musicpacks|HowTo make a own station]] page.
   
Example:<br>
 
  +
==Infos==
01.ogg -> interpreted as 1 (without 0 and .ogg) does not work
 
  +
{{OXPConfig-small}}
a0.ogg -> interpreted as a0.ogg works
 
  +
The Hyperradio is your personal tool for playing music in the game. Before it was a bit tedious to run other applications (like Winamp) for this case, because these music-players are not really connected to Oolite and the user doesn't have control about it (or has to switch to this application). The Hyperradio jumps in here to play your songs and reacts on changes in Oolite.
So the best would be to use a syntax like:
 
artist-songname.ogg
 
Tchaikovsky-Swan_Lake_Act_II_Scene_Moderato.ogg
 
Leon_Willett-Dreamfall.ogg
 
   
===IMPORTANT:===
 
  +
Additionally it is compatible and configurable via [[OXPConfig|OXPConfig2]] and [[Repair_Bots|Repair Bots]].
There are 2 different version available:<br>
 
Don't use them together, because they are using the same namespaces and variables.
 
   
[[Media:Hyperradio_js_1_02.zip | Hyperradio_js_1_02.zip]] (406 KB)<br>
 
  +
Hyperradio can be configured (OXPConfig2 or editing):
This version runs ONLY under Oolite v1.70!<br> It uses Java-Script and has some functionallity that can't be done with the old legacy scripting method.
 
  +
* '''logging''': en/disables the extended logging. Default false.
  +
* '''mergePacks''': en/disables copying musicpacks in mainlist. Default true.
  +
* '''podMusic''': en/disables playing a short sample when player ejects. Default true.
  +
* '''onlyMain''': en/disables using only the main playlist. Default false.
   
[[Media:Hyperradio_legacy_1_00.zip | Hyperradio_legacy_1_00.zip]] (405 KB)<br>
 
  +
* Extended features - if [[Snoopers|Snoopers2.4]] is installed
This version runs on Oolite v1.65 - v1.70.
 
   
===Tested Formats===
 
  +
==Requirements==
This is a list of all formats that have been tested for the Hyperradio.
 
  +
* The latest version needs Oolite v1.77.
Please help to fill in the Mac- and Linux-Part.
 
  +
* [[Cabal_Common_Library|Cabal_Common_Library1.7]]
  +
* [[Snoopers|Snoopers2.4]] or [[Hyperradio_Musicpacks|musicpacks]] to enable extra functions.
   
{| width="100%" style="border: 1px solid #cfcfbf; padding: .5em 1em 1em; color: #000000; background-color: #f0f0ff; vertical-align: top; text-align: left;"
 
  +
==Download==
|+ '''22050Hz Mono, 22050Hz Stereo, 44100Hz Mono, 44100Hz Stereo, 48000Hz Mono, 48000Hz Stereo'''
 
  +
* Downloadable through the in-game [[Expansions Manager]]
! Format !! Header !! WIN !! MAC !! LINUX
 
  +
* [http://deephorizonindustries.com/Downloads/Hyperradio1.26.1.zip Hyperradio1.26.1.zip] (741 KB).
|-valign="top" bgcolor="#e7e7ff"
 
  +
* Download in OXZ format [[Media:Hyperradio_1.26.1.oxz|here]] for Oolite 1.79 or later (downloaded {{#downloads:Hyperradio_1.26.1.oxz}} times).
| raw
 
  +
| headerless A-Law
 
  +
For Oolite v1.76.1:
| no
 
  +
* [http://deephorizonindustries.com/Downloads/Hyperradio1.25.zip Hyperradio1.25.zip] (742 KB).
|
 
  +
|
 
  +
==See Also==
|--valign="top"
 
  +
[[Hyperradio_Musicpacks]]<br>
| raw
 
  +
[[Hyperradio_Howto_Musicpacks]]<br>
| headerless U-Law
 
  +
[[Random_Docking_Music_OXP|Random docking music]]
| no
 
  +
|
 
  +
==Quick Facts==
|
 
  +
{{OXPLevel|0}}{{IconOXP
|-valign="top" bgcolor="#e7e7ff"
 
  +
|ooVersion = "1.77"
| raw
 
  +
|oxpCPU = "Average"
| headerless 16Bit DWVW
 
  +
|oxpMEM = "Average"
| no
 
  +
|oxpGPU = "Low"
|
 
  +
|oxpIsParent = true
|
 
  +
|oxpIsChild = true
|--valign="top"
 
  +
|oxpIsAPI =
| raw
 
  +
|oxpIsDocumented = true
| headerless 24Bit DWVW
 
  +
|oxpIsConfigurable = true
| no
 
  +
}}
|
 
  +
{{Infobox OXPb| title = Hyperradio
|
 
  +
|image = [[Image:Hyperradio.png|220px]]
|-valign="top" bgcolor="#e7e7ff"
 
  +
|version = 1.26.1
| raw
 
  +
|release = 2013-01-22
| Signed 16Bit PCM
 
  +
|license = CC-by-nc-sa-3.0
| no
 
  +
|features = Equipment, Music
|
 
  +
|category = Equipment OXPs
|
 
  +
|author = Svengali
|--valign="top"
 
  +
|download = [[#Download|See Download]]
| raw
 
  +
|feedback = [http://aegidian.org/bb/viewtopic.php?f=4&t=4067 BB-Link]
| Signed 24Bit PCM
 
  +
}}
| no
 
  +
|
 
  +
{{Required OXP|Cabal Common Library}}
|
 
  +
{{Required OXP|Snoopers}}
|-valign="top" bgcolor="#e7e7ff"
 
  +
| raw
 
  +
[[Category:Deprecated OXPs]]
| Signed 32Bit PCM
 
| no
 
|
 
|
 
|--valign="top"
 
| raw
 
| 32Bit Float
 
| no
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| raw
 
| 64Bit Float
 
| no
 
|
 
|
 
|--valign="top"
 
| wav
 
| MS Signed 16Bit PCM
 
| YES
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| wav
 
| MS ADPCM
 
| YES
 
|
 
|
 
|--valign="top"
 
| wav
 
| MS IMA ADPCM
 
| YES
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| wav
 
| MS 32Bit Float
 
| no
 
|
 
|
 
|--valign="top"
 
| wav
 
| MS 64Bit Float
 
| no
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| wav
 
| MS U-Law
 
| no
 
|
 
|
 
|--valign="top"
 
| wav
 
| MS A-Law
 
| no
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| wav
 
| MS Signed 24Bit PCM
 
| no
 
|
 
|
 
|--valign="top"
 
| wav
 
| MS Signed 32Bit PCM
 
| no
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| wav
 
| MS 32kbs G721 ADPCM
 
| no
 
|
 
|
 
|--valign="top"
 
| wav
 
| MS GSM 6.10
 
| no
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| wav
 
| NIST A-Law
 
| no
 
|
 
|
 
|--valign="top"
 
| wav
 
| NIST U-Law
 
| no
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| wav
 
| NIST Signed 16Bit PCM
 
| no
 
|
 
|
 
|--valign="top"
 
| wav
 
| NIST Signed 24Bit PCM
 
| no
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| wav
 
| NIST Signed 32Bit PCM
 
| no
 
|
 
|
 
|--valign="top"
 
| ogg
 
| Ogg-vorbis
 
| YES
 
|
 
|
 
|-valign="top" bgcolor="#e7e7ff"
 
| flac
 
| 16Bit L5
 
| no
 
|
 
|
 
|--valign="top"
 
| flac
 
| 24Bit L5
 
| no
 
|
 
|
 
|}
 

Latest revision as of 11:22, 3 June 2021

Hyperradio
Hyperradio.png
Name EQ_HYPER_RADIO
Cost 1.200
TL Availability 7

Overview

Trading goods between worlds is an extremely dangerous and hard job and a commander will need some relaxing moments. Listen to your radio station and enjoy Jazz, Folk, Rock or whatever you like. Use one station for all systems or expand it, so you will get different programs in different systems. You can even add your own music to the playlist. So rip your CDs, download songs, or install one or more of the available musicpacks. Everything is possible - and travelling will be much more fun - even 'milkruns' won't be boring business anymore. And with the capacity to be expanded by other users creating their own musicpacks it will always be the right investment.

Additionally Frame has created a nice oxp for random docking music.

Handling

Adding own songs to the main playlist of the Hyperradio is simple. Please note that only ogg-vorbis is supported by Oolite.

1. Just place your soundfiles in the OXPs Music-folder.
2. Open hyperradio.js in the Scripts-folder (you can use a simple text-editor) and add your filenames to the array.
Example:

 this.hyperradio_playListOriginal = [
   "Rage-Back_in_time.ogg",
   "Stevie_Ray_Vaughan-Voodoo_Child.ogg"
 ];

Save your additions. That's it.

3. Fire up Oolite and buy the Hyperradio license (it is not everywhere available).

  • Launch from the station and select it via priming key (Shift + N).
  • Select the station via activation key (n). You can cycle through the available stations.
  • To start playing a station press the mode key (b).

To get some more complexity it is possible to use different 'stations' with different playlists. There are a few musicpacks already available for you.

If you are using one or more of the available musicpacks the Hyperradio preselects one of them or the main list.

Documentation about creating own stations is available at the HowTo make a own station page.

Infos

OXPConfig compatible.png

The Hyperradio is your personal tool for playing music in the game. Before it was a bit tedious to run other applications (like Winamp) for this case, because these music-players are not really connected to Oolite and the user doesn't have control about it (or has to switch to this application). The Hyperradio jumps in here to play your songs and reacts on changes in Oolite.

Additionally it is compatible and configurable via OXPConfig2 and Repair Bots.

Hyperradio can be configured (OXPConfig2 or editing):

  • logging: en/disables the extended logging. Default false.
  • mergePacks: en/disables copying musicpacks in mainlist. Default true.
  • podMusic: en/disables playing a short sample when player ejects. Default true.
  • onlyMain: en/disables using only the main playlist. Default false.

Requirements

Download

For Oolite v1.76.1:

See Also

Hyperradio_Musicpacks
Hyperradio_Howto_Musicpacks
Random docking music

Quick Facts

Levelindicator0.png
0-{{{2}}}

Minimum Oolite versionCPU usage averageMemory usage averageGPU usage lowisParentisChildisDocumentedisConfigurable

Version Released License Features Category Author(s) Feedback
1.26.1 2013-01-22 CC-by-nc-sa-3.0 Equipment, Music Equipment OXPs Svengali BB-Link