Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4android > Basic4android Updates and Questions
Documentation Wiki Register Members List Windows Mobile Search Today's Posts Mark Forums Read

Basic4android Updates and Questions Updates and questions regarding Basic4android.

Can Basic4Android be used to create music-related apps?

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-24-2011, 04:15 AM
Junior Member
 
Join Date: Jan 2011
Posts: 44
Default Can Basic4Android be used to create music-related apps?

Is there a way to create music/audio apps using Basic4Android?

I create virtual instruments for windows (synthedit) and would LOVE to create some music/instrument apps using this software for Android (especially for tablets).

I have tons of samples I created. I wonder if you could use soundfont format? If not, I wonder how to map samples? Anyway, if someone could let me know if it's possible to create audio apps.

I assume sliders, buttons and knobs can be used from Knobman (which I do use).

Mike
Reply With Quote
  #2 (permalink)  
Old 01-24-2011, 05:41 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 25,859
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

I plan to add support for the JetPlayer features: JetPlayer | Android Developers
You will then be able to use the Jet Creator tool that comes with the Android SDK to create the content.
Reply With Quote
  #3 (permalink)  
Old 01-24-2011, 07:08 PM
Junior Member
 
Join Date: Jan 2011
Posts: 44
Default

Quote:
Originally Posted by Erel View Post
I plan to add support for the JetPlayer features: JetPlayer | Android Developers
You will then be able to use the Jet Creator tool that comes with the Android SDK to create the content.
Great! Any idea on the ETA?

Mike
Reply With Quote
  #4 (permalink)  
Old 01-25-2011, 05:52 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 25,859
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Several weeks I believe...
Reply With Quote
  #5 (permalink)  
Old 01-25-2011, 08:33 PM
Junior Member
 
Join Date: Jan 2011
Posts: 44
Default

Thank you very much.

As long as I can get my hands on the jet player and virtual instrument, it will be exactly what I need to create music apps.

My 1st app (once I have the swing of things) will be more of a multi-channel acid-pro like program where you can combine loops to make tunes.

My second one will revolve around synthesis/rompler instruments and allow you to play it with an on-screen keyboard.

Eventually, I want to create something similar to Nanostudio (on the iphone) for Android.

Mike
Reply With Quote
  #6 (permalink)  
Old 01-26-2011, 11:49 AM
Junior Member
 
Join Date: Jan 2011
Location: Adelaide, Australia
Posts: 45
Default

Hi Erel,

I've done some research on audio and found a very good summary here Wiseandroid.com | Intro to the three Android Audio APIs

The API that does all the raw audio is "audiotrack". The description of the API is here AudioTrack | Android Developers and it looks perfect for things like games where you want to play short audio files with the minimum latency, and also build up an audio file in an array using math to create sine/square/triangle/sawtooth and even fancy things like additive synthesis using sine waves.

Is this API something that would be hard to port to Basic4Android?

And just a general question - that Java code looks almost identical to the code you would use in Basic. Rather than wait until you port an API into Basic, is it possible to talk to the Java code directly using this method Basic4android - Reflection
Reply With Quote
  #7 (permalink)  
Old 01-26-2011, 12:36 PM
ZJP's Avatar
ZJP ZJP is offline
Knows the basics
 
Join Date: Dec 2010
Posts: 145
Default

+1 for AudioTrack. Powerfull

JP
Reply With Quote
  #8 (permalink)  
Old 01-26-2011, 12:49 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 25,859
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

Thank you for pointing this.
Quote:
Is this API something that would be hard to port to Basic4Android?
It shouldn't be difficult to port it to Basic4android.

Basic4android v1.2 which will include support for services and static code modules will probably be released next week (at least a beta version). Afterward I will look into this library.

The Reflection library is perfect for accessing some missing methods. It will not be simple to use it instead of a library. It will be easier to write the library.
Reply With Quote
  #9 (permalink)  
Old 01-26-2011, 01:31 PM
Junior Member
 
Join Date: Jan 2011
Location: Toronto, Canada
Posts: 44
Default

Quote:
Originally Posted by Erel View Post
I plan to add support for the JetPlayer features:
This is great news. JetPlayer supports MIDI files thus in combination with the existing serial support, MIDI control and sequencer type apps should be possible via Basic4Android down the road.

I am also looking forward to anyone that has suggestions or useful code snippets to help create a virtual synth type of application. In the end though, a virtual synth or sampled synth module that can be used to create various applications would be the way to go.

Bob
Reply With Quote
  #10 (permalink)  
Old 01-26-2011, 01:34 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 25,859
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
Default

So for the audio-challenged people, what are the differences between JetPlayer and AudioTrack?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Music Player with play-list mjcoon Share Your Creations 2 07-31-2012 01:02 PM
Transform apps from basic4ppc to basic4android schimanski Basic4android Updates and Questions 2 10-21-2010 12:44 PM
How to add background music? aite168 Questions (Windows Mobile) 23 05-22-2010 07:52 PM
Events for PIM (Outlook) related events dreamcove Questions (Windows Mobile) 1 02-14-2009 11:00 AM
Hardware Lib related issues Cableguy Questions (Windows Mobile) 11 03-23-2008 02:40 PM


All times are GMT. The time now is 09:59 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0