↓ Skip to main content

VR live music

·577 words·3 mins· loading

One of many lockdown projects… Anyway, this was just an idea – it wasn’t until a couple of months later I figured out this may actually be a whole lot more possible than I thought…

Featured on BBC Radio Lincolnshire!

Demo3

Demo 3: The Virtual Music Venue
#

Introducing – β€˜Demo 3’ (working title), a virtual music venue, nightclub and meeting place. Designed with Google Cardboard in mind (the Β£7/approx VR headset you put your phone into.)

I’d like to give a shoutout to Welton King, who has done an absolutely fantastic job at teaching people how to make things within Unity and C#– This project would probably not of gotten anywhere near as good in as little time without his youtube course on making a multiplayer FPS in Unity.

Within two to three weeks, I had managed to create the β€˜map’ using a couple of asset packs and texture resources available from the Unity Asset Store, created all the menus and loading screens needed for basic operation, and successfully got the project up and running on a real-world server so that other people could connect in, see each other moving, hear the music and even communicate via a built-in VoIP (voice over IP) server. This is what it looked like –

Booth

At the time of writing, the venue is made up of two floors, and one outdoor balcony style space. The above picture is one of many β€˜booths’ players can sit in at the back of the live area. In future updates, I would like to add abilities to get virtual food and drinks, little token items etc. Pictured below is the upper balcony, overlooking the stage and dancefloor. Currently, there are several couches and some arcade games.

Please note these are in-development renders – they probably will not be the final texture quality!

Floor

Pictured below is the outdoor area. I chose to make most of the back wall glass so that the moving disco lights can shine through onto the trees to make a really nice atmosphere.

Outdoor

The project is made in Unity, C# and PHP. My goal is to eventually port this to Google Cardboard using Google’s VR API so that people can join the world using their smartphones and VR headsets, which, did I mention can be purchased for as little as around Β£7? 😱 If I were to make this public as well, I would ensure it can be accessed in a standard 3D environment (like a normal game) on Windows and preferably Mac platforms as well.

The music is sourced in real-time from a DJ style show in collaboration with Brayford Radio, and is streamed directly from a dedicated Icecast address on one of Brayford Radio’s servers. By utilizing Unity’s 3D Audio Engine, which can automatically pan, level the volume and even add a Doppler effect depending on your location within the virtual world, a very immersive audio environment can be created.

Multiplayer is achieved through the β€˜Photon Engine’ (specifically using Photon PUN and PUN VOICE 2) and the VR Game/app itself runs within the Unity Engine. (the same engine β€˜Life of Strange’ and β€˜The Forest’ uses, to my knowledge.)

For now, this is just a concept project – and since lock down is now easing, I wouldn’t expect it to go too far, however, if you’re interested and think this is a good idea please let me know! I’m also open to any feature suggestions/ideas as per all my posts πŸ™‚