Theremin player from Google doodle

377 views
Skip to first unread message

Scott Ferguson

unread,
Mar 13, 2016, 10:05:28 AM3/13/16
to app-inventor-de...@googlegroups.com
This project uses midi 'voice' instrument files and a Google doodle background to simulate playing a Theremin.
You can touch or drag to change notes, but all of the other features of the original doodle are not implemented.

Shows that midi files work with MITAI.



Theremin.aia
blocks.PNG
Screenshot_2016-03-13-08-58-33.png

Abraham Getzler

unread,
Mar 13, 2016, 2:12:07 PM3/13/16
to app-inventor-de...@googlegroups.com
I didn't see where to touch.  my first stab got some sound, but overflowed the list ...

Runtime Error
Select list item: Attempt to get item number 14.0 of a list of length 13: (cn5.mid cs5.mid dn5.mid ds5.mid en5.mid fn5.mid fs5.mid gn5.mid gs5.mid an5.mid as5.mid bn5.mid cn6.mid)
Note: You will not see another error reported for 5 seconds.

It's nice to know that .mid files can be played, though.
If their interiors are text, that opens up some possibilities 
 
ABG


ABG
(Personal emails from boards are auto-spam deleted)


--
(you have received this message from the App Inventor Developers Library)
---
You received this message because you are subscribed to the Google Groups "App Inventor Developers Library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-develope...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Abraham Getzler

unread,
Mar 13, 2016, 2:18:09 PM3/13/16
to app-inventor-de...@googlegroups.com
I was wrong on .MID being text.  But the Web component and my hexify wrapper should be able to generate the necessary code sequences, ready to be wrapped in value procedures and written to a .mid file usinf the File block.

ABG




ABG
(Personal emails from boards are auto-spam deleted)


hexify.png

Scott Ferguson

unread,
Mar 13, 2016, 4:45:40 PM3/13/16
to App Inventor Developers Library
I had to load the project into Companion a couple of times to get the error to go away and play the midi files properly.
This may be related to the issue with assets not being loaded properly the first time the Companion app is run whenever there is a change in the Media folder assets.
This is a known issue.
And being that the project uses the sound component rather than the player component it may be necessary to preload the sources for each midi file as we used to have to do.
I haven't used the sound component for ages, tho.
---
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-developers-library+unsubscribe@googlegroups.com.

Scott Ferguson

unread,
Mar 13, 2016, 4:50:33 PM3/13/16
to app-inventor-de...@googlegroups.com
There are midi file 'decoders' but if your method works without having to use them that would be great.
From what I remember when reading about their contents, their structure is fairly complex.
---
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-developers-library+unsubscribe@googlegroups.com.

girish vinjam

unread,
Mar 25, 2016, 11:57:58 PM3/25/16
to app-inventor-de...@googlegroups.com
i have an idea about android app, 
connecting the multiple Bluetooth speakers in single app
by using this app we can play same song in multiple speakers

On 14 March 2016 at 02:20, Scott Ferguson <scottfr...@gmail.com> wrote:
There are midi file 'decoders' but if your method works without having to use them that would be grayt.
---
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-develope...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
(you have received this message from the App Inventor Developers Library)
---
You received this message because you are subscribed to the Google Groups "App Inventor Developers Library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-develope...@googlegroups.com.

Scott Ferguson

unread,
Mar 26, 2016, 7:23:49 AM3/26/16
to App Inventor Developers Library
Try it and let us know if it works.
---
---
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-developers-library+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
(you have received this message from the App Inventor Developers Library)
---
You received this message because you are subscribed to the Google Groups "App Inventor Developers Library" group.
To unsubscribe from this group and stop receiving emails from it, send an email to app-inventor-developers-library+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages