Wednesday, December 7, 2011

How to use Nokia N9 as music production tool - encoding your sequencer's tracks with Dolby Headphone using the Nokia N9

Nokia N9 has Dolby Headphone effect, which is gives pretty neat effect - makes the sound being perceived to be less inside the head. I have tried with several tracks that it can be helpful sometimes and I could even use that in my music. However, I don't have Dolby Headphone encoder in my Logic Studio (as far as I know). However, if you want to spend the time, you can use N9 for the task and here is how:

1. Record your (stereo) audio track in your audio sequencer (like Logic, Cubase, whatever). Add a loud beep or loud peaky drum sample to the beginning of the track.
2. Mount the N9 to your computer. Then copy the track to N9. I have not tried wav files, if these don't get indexed, you may have to do a detour and encode the file to lossless flac format.
2. Go to Settings application -> Applications -> Music. Turn on the switch Dolby Headphone.
3. Connect your computer audio input to the headphone output of your N9 (assuming you have the cable)
4. Start recording on sequencer (another stereo track) and go to Music player on N9, locate your track and play back the sound.
5. Now cut the track so that it starts from the loud peak in the beginning.
6. Line up the original track and the track you just recorded visually - the peaks should align exactly with each other.
7. Now you can cut the synchronization sound from your track and mute the original track and you have a track with Dolby Headphone encoding on it.

This roundtrip will add noise of course because it goes through analog domain (DA->analog head phone amp->analog input->AD-conversion) and it will also otherwise reduce the quality slightly. However, many synthesizers I use have only analog outputs and it does not prevent me to use them and I have never had trouble with noise. The added noise may be negligible.

This is not the fastest way to do Dolby Headphone encoding for your audio track in your sequencer probably and certainly is not the official way, but this is a neat effect that you can do with the built-in software of your N9 and is kinda awesome feature. And I think the quality of the audio output in the N9 is so good that I could consider using this myself like I explained above.

I have been using this kind of syncing with a peaking signal in DSLR movie making (where I have recorded the sound separately with a audio recorder (I have Zoom H4N for that)) and it works because unlike in the prehistoric times when you could not sync two tracks if they were from separate machines (as there was speed variation, e.g. if you had two drum machines from same manufacturer, set both to 120 bpm and then record both separately and then try to line up the tracks, it started going out of sync in mere seconds if these were not midi synced with each other), but with modern equipment this is not a problem. The tracks will line up nicely.


Onion said...

You could always drop to the cli and do something like this:

gst-launch filesrc location=input.wav ! decodebin ! nokiadhmmix ! wavenc ! filesink location=output.wav

nokiadhmmix is the "Dolby Headphones Mobile mixer" and also has some flags you can adjust, see "gst-inspect nokiadhmmix"

No need to do analog recordings.

Karoliina Salminen said...

Thanks for the tip!

Might be more useful for musicians if there was a UI for that, well it could be rather easy to implement.

Black music said...

Hello, Thanks for the support of the post! Its a nice post.Its great that if our default settings are giving us messy or stringy builds, this dialog can probably help.Thanks for the information.

Black music

Anonymous said...

Very good interest to read. By Regards Wholesale Printing And Variable Data Printing