3.9 version

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.9 version

Post by Mr. Kibernetik »

New function will be added:

NOTES_PLAYING ()
returns 1 if musical composition is playing now, otherwise returns 0.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.9 version

Post by Mr. Kibernetik »

New section in sample programs will be added:
10. Music & Sound

with new program samples:
play MIDI file.txt
synthesizer.txt

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.9 version

Post by Mr. Kibernetik »

New sections in application documentation will be added:

Music & Sound
Musical Instruments

Henko
Posts: 814
Joined: Tue Apr 09, 2013 12:23 pm
My devices: iPhone,iPad
Windows
Location: Groningen, Netherlands
Flag: Netherlands

Re: 3.9 version

Post by Henko »

Will this music thing not slow down Smart Basic? Have you considered to make it an "in app purchase" ? It's quite a package for a musician or composer.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.9 version

Post by Mr. Kibernetik »

No, it will not slow down smart BASIC performance.
No, it will not be for extra money, at least for those who already purchased smart BASIC, because music support was initially planned as a part of smart BASIC. Now it's just time to implement it.

User avatar
Dutchman
Posts: 851
Joined: Mon May 06, 2013 9:21 am
My devices: iMac, iPad Air, iPhone
Location: Netherlands
Flag: Netherlands

Re: 3.9 version

Post by Dutchman »

I think this section is a great addition for people with musical skills.
Personally I lack those skills, so I am not interested but nevertheless I am looking forward to applications.
I am quite interested in sound samples like Bang, Boom, Queerk, Clash etc. or a sound machine in which I can design these 'sounds' (not 'music') myself.
Will you add such facilities, or don't you have planned it yet?
It would make quite a difference with that other Basic ;)

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.9 version

Post by Mr. Kibernetik »

In next versions MP3 files support is planned.
Also some kind of SOUND command will be implemented, but this functionality still requires investigation.

Actually MIDI support in v3.9 also can give sound effects. Some libraries include lots of sound effects. More, in MIDI implementation each effect can be played in any tone. You will be able to estimate it using default instruments number 123, 125, 127.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.9 version

Post by Mr. Kibernetik »

New commands will be added:

OPTION IMAGE POS CENTRAL
OPTION IMAGE POS NORMAL
set coordinate mode for DRAW IMAGE command: "CENTRAL" - coordinates set image center; "NORMAL" - coordinates set image left corner. Default is NORMAL.

OPTION TEXT POS CENTRAL
OPTION TEXT POS NORMAL
set coordinate mode for DRAW TEXT command: "CENTRAL" - coordinates set text center; "NORMAL" - coordinates set text left corner. Default is NORMAL.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.9 version

Post by Mr. Kibernetik »

New function will be added:

IOS_VERSION ()
returns iOS version number.

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: 3.9 version

Post by Mr. Kibernetik »

Possibility to create custom skins for smart BASIC user interface will be added, along with following commands:

SET UI CLOUD_IN ICON n$
sets icon to enter cloud storage from file [n$].

SET UI CLOUD_OUT ICON n$
sets icon to exit from cloud storage from file [n$].

SET UI COPY ICON n$
sets icon for copy files operation from file [n$].

SET UI CUT ICON n$
sets icon for cut files operation from file [n$].

SET UI DEBUG BACK n$
sets debug window background from file [n$].

SET UI DEBUG FONT_COLOR r,g,b
sets debug table font color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

SET UI DEBUG FONT_NAME n$
sets name of debug table font to [n$].

SET UI DEBUG FONT_SIZE n
sets size of debug table font to value [n].

SET UI DEBUG TABLE_COLOR r,g,b
sets debug table color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

SET UI DEFAULT
sets user interface settings to default.

SET UI DELETE ICON n$
sets icon for delete files operation from file [n$].

SET UI EDIT ICON n$
sets icon to edit program text from file [n$].

SET UI ENTER ICON n$
sets icon to go next operation from file [n$].

SET UI EXIT ICON n$
sets icon to return back operation from file [n$].

SET UI FILE_BAR BACK n$
sets file bar background from file [n$].

SET UI FILE_BAR FONT_COLOR r,g,b
sets file bar icon titles font color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

SET UI FILE_BAR FONT_NAME n$
sets name of file bar icon titles font to [n$].

SET UI FILE_BAR FONT_SIZE n
sets size of file bar icon titles font to value [n].

SET UI FILES BACK n$
sets files list window background from file [n$].

SET UI FILES COPY_BACK n$
sets selected file to copy background from file [n$].

SET UI FILES CUT_BACK n$
sets selected file to cut background from file [n$].

SET UI FILES FONT_COLOR r,g,b
sets files list font color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

SET UI FILES FONT_NAME n$
sets name of files list font to [n$].

SET UI FILES FONT_SIZE n
sets size of files list font to value [n].

SET UI FILES ICON n$
sets icon to display files list from file [n$].

SET UI FILES SELECT_BACK n$
sets selected file background from file [n$].

SET UI FILES SELECT_COLOR r,g,b
sets selected file font color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

SET UI FORUM ICON n$
sets icon to visit Support Forum from file [n$].

SET UI GRAPHICS BACK n$
sets graphics window background from file [n$].

SET UI HELP ICON n$
sets icon to show help from file [n$].

SET UI NEW_FILE ICON n$
sets icon to create new program file from file [n$].

SET UI NEW_FOLDER ICON n$
sets icon for create new folder operation from file [n$].

SET UI PASTE ICON n$
sets icon for paste files operation from file [n$].

SET UI PAUSE ICON n$
sets icon to pause program execution from file [n$].

SET UI PREVIEW ICON n$
sets icon to preview image file from file [n$].

SET UI RENAME ICON n$
sets icon for rename file operation from file [n$].

SET UI RUN ICON n$
sets icon to run program from file [n$].

SET UI SEARCH ICON n$
sets icon to search text from file [n$].

SET UI STOP ICON n$
sets icon to stop program execution from file [n$].

SET UI TOOL_BAR BACK n$
sets tool bar background from file [n$].

SET UI TOOL_BAR FONT_COLOR r,g,b
sets tool bar font color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

SET UI TOOL_BAR FONT_NAME n$
sets name of tool bar font to [n$].

SET UI TOOL_BAR FONT_SIZE n
sets size of tool bar font to value [n].

SET UI TOOL_BAR ICONS_COLOR r,g,b
sets tool bar icons color to value with red [r], green [g] and blue components. Valid values are from 0 to 1.

Post Reply