Serge's World

Blogging about software development, astronomy, genealogy and more.

Why I ditched Xamarin for Java

Earlier this year I decided to experiment with writing a Xamarin app, out of which The Musician’s Multitool was born. You can read about that here.

It was fun to be able to code in C#, which is a language I am far more comfortable in than Java. However, the fact that it was not native Android development meant that the resulting app was incredibly slow, especially in loading, and the package size was very bloated.

Another thing I wanted to try, was to integrate low-latency audio packages in the project, using C++, in order to improve some of the audio latency issues I had in the Xamarin version, which would be much harder to do in Xamarin.

Due to these factors, primarily, I decided to rewrite the application in Java, making it a native Android app.

I have recreated pretty much the exact same look and feel of the app, as well as all of the previous functionality as before, but the app runs much faster, and is more stable than before.

It actually takes far less time, at least for me, to create the same app in Java, as compared to Xamarin, so I think that moving forward, I have no reason to keep on using Xamarin.

I also renamed the app to Pocket Music Theory, which is also now the Google Play store.

As with the previous version, the following features are available in the app:

  • Interval, scale and chord finders - allow you to look up intervals, scales and chords, along with a music staff showing the relevant notes. These notes are also playable.
  • Modulations - provides a dictionary of common modulations between keys.
  • Musical instrument ranges and tunings - shows the ranges of various musical instruments and various common tunings for an array of string instruments
  • Terminology and notation dictionaries - are reference guide for reading and understanding music
  • Circle of Fifths - renders the relationships between major and minor keys.
  • Metronome - provides a fully customisable metronome.
  • Virtual Piano - covers the full range of a piano.
  • Chromatic Tuner - this tuner allows the adjustment of the reference pitch
  • Spectrum Analyzer - gives a view of the audio input as a waveform on an oscilloscope, as well as a frequency range graph.

Pocket Music Theory

Tag Cloud

Algorithms (3) Android (10) Astronomy (25) Audio (1) Audiobooks (1) Barcodes (9) C# (69) Css (1) Deep sky (6) Esoteric languages (3) Family (3) Fractals (10) Gaming (1) Genealogy (14) General (2) Geodesy (3) Google (1) Graphics (3) Hubble (2) Humour (1) Image processing (23) Java (8) Javascript (5) jQuery (3) Jupiter (3) Maths (22) Moon (5) Music (4) Pets (5) Programming (88) Saturn (1) Science (1) Spitzer (4) Sun (4) Tutorials (68) Unity (3) Web (9) Whisky (13) Windows (1) Xamarin (2)