You are here

gpsgamelan.py is ok, but i want real music - use 12 major keys with 10 chords

Submitted by Roland on Tue, 2010-07-06 00:13

Continuing to have a great time with Python on the N900. I'll have to post later about how awesome it is to run N900 Python aka PyMaemo scripts  from a Terminal.app window on my Mac edited in Aquamacs using ange-ftp (or whatever it's called in the 21st century).

Anyhow came up with gpsgamelan.py which is a modification of the script from latlongsound.py to play gamelan (indonesian scale) music (using the code from PyGSoundTestTest_3.py from Matthew Brown, thanks!) based on the jitter from GPS Lat/Long (10 different sounds based on latitude and another 10 different gamelan sounds based on longitude)

Here's what it sounds like (short video from flickr):

Not so great sound. My next idea is to play more pleasing music

  • e.g. for each neighbourhood, pick a major key (there are twelve possible major keys in Western music AFAIK)
  • based on the latitude, play a major chord (one of 10 possible)
  • based on the longitude, play a minor chord (one of 10 possible)

My guess is this will produce more melodic and pleasing sound

Comments

Glad you're having fun with my program!

But this is funny, I didn't expect it to be used on a mobile phone mounted on a bike . . .

(  And by the way, gamelan is real music. Haha ;)  )

Very awesome post , i am really impressed with it a lot

<a href="http://www.zecrosoft.com/2014/09/Benefits-of-Ginger.html">فوائد الزنجبيل</a>  <a href="http://www.zecrosoft.com/2014/09/Pomegranate-benefits-for-diet.html">فوائد الرمان</a>  <a href="http://www.zecrosoft.com/2014/09/Benefits-of-the-ring.html">فوائد الحلبة</a>  <a href="http://www.zecrosoft.com/2014/09/Onion-benefits.html">فوائد البصل </a>  <a href="http://www.zecrosoft.com/2014/09/Benefits-thyme.html">فوائد الزعتر</a>  <a href="http://www.zecrosoft.com/2014/09/benefits-sesame-oil.html">فوائد زيت السمسم </a>  <a href="http://www.zecrosoft.com/2014/10/hemorrhoids-treatment.html">علاج البواسير</a> <a href="http://www.zecrosoft.com/2014/10/Benefits-of-anise.html">فوائد اليانسون</a>  <a href="http://www.zecrosoft.com/2014/09/turmeric-benefits-for-hair.html">فوائد الكركم</a> <a href="http://www.zecrosoft.com/2014/10/joha-stories.html">قصص جحا</a>  <a href="http://www.zecrosoft.com/2014/10/hemorrhoids-treatment.html">صور يوم الجمعه</a>  <a href="http://www.zecrosoft.com/2014/10/Signs-of-Pregnancy.html">علامات الحمل</a>  <a href="http://www.zecrosoft.com/2014/10/Definition-of-Love.html">تعريف الحب</a>  <a href="http://www.zecrosoft.com/2014/10/life-of-isthmus.html">حياة البرزخ</a>  <a href="http://www.zecrosoft.com/2014/10/Benefits-of-Raisins.html">فوائد الزبيب</a>

The clarity in your post is simply great Must confess that you present powerful steps on this blog, MrqePromoCode You definitely know what you were talking about and Your intelligence on the post could be giving us new knowledge.Pretty great post. InkPromoCode I simply stumbled upon your  weblog and wanted to say that I have really loved browsing your blog posts.Simply wish to say your article is as astonishing. The clarity in your post is simply great and i could asume you are an expert on this subject. AutoPartsPromoCode Well with your permission let me to grab your RSS feed to keep updated with forthcoming post.

thanks so much for that great blog and thanks also for accepting my links thanks<a href="http://www.zecrosoft.com/2014/11/blog-post_11.html">طريقة عمل الدونات</a> <a href="http://www.zecrosoft.com/2014/11/way-to-preapare-.html">طريقة عمل البان كيك</a>  <a href="http://www.zecrosoft.com/2014/11/how-to-prepare-kanafa.html">طريقة عمل الكنافة</a>  <a href="http://www.zecrosoft.com/2014/11/way-to-prepare-basbousa.html">طريقة عمل البسبوسة </a>  <a href="http://www.zecrosoft.com/2014/11/way-to-prepare-cake.html">طريقة عمل الكيك</a>  <a href="http://www.zecrosoft.com/2014/11/The-way-the-pizza-dough.html">طريقة عمل عجينة البيتزا</a>  <a href="http://www.zecrosoft.com/2014/11/benefits-cinnamon.html">فوائد القرفه </a> 

Add new comment