Page 2 of 2

Posted: Sat Nov 11, 2017 2:48 am
by Nemik
sridharar wrote:
CODE button would have ring a bell if I was actually attaching Computer Program/Code.

Sri.
In code quote ypu can put anything you want and won't filter any .
Won't to any harm to post, even if you do HTML or JavaScript. :wink:

here you got example:

Code: Select all

# Python Program to find the area of triangle

a = 5
b = 6
c = 7

# Uncomment below to take inputs from the user
# a = float(input('Enter first side: '))
# b = float(input('Enter second side: '))
# c = float(input('Enter third side: '))

# calculate the semi-perimeter
s = (a + b + c) / 2

# calculate the area
area = (s*(s-a)*(s-b)*(s-c)) ** 0.5
print('The area of the triangle is %0.2f' %area)
or JavaScript:

Code: Select all

	<html>
	<head>
	<title>Multiplication Table</title>
	<script>
	var rows = prompt("How many rows for your multiplication table?");
	var cols = prompt("How many columns for your multiplication table?");
	if(rows == "" || rows == null)
	rows = 10;
	if(cols== "" || cols== null)
	cols = 10;
	createTable(rows, cols);
	function createTable(rows, cols)
	{
	var j=1;
	var output = "<table border='1' width='500' cellspacing='0' cellpadding='5'>";
	for(i=1;i<=rows;i++)
	{
	  output = output + "<tr>";
	  while(j<=cols)
	  {
	     output = output + "<td>" + i*j + "</td>";
	     j = j+1;
	  }
	  output = output + "</tr>";
	  j = 1;
	}
	output = output + "</table>";
	document.write(output);
	}
	</script>
	</head>
	<body>
	</body>
	</html>

Posted: Sat Nov 11, 2017 3:19 am
by sridharar
Nemik

I think I know all the constraints of PA600 and working only within those confines.

As I mentioned in the earlier posts, I am not trying to interface with PA600 in real time via commands over MIDI channel (including Sysex). I am trying to creating MIDI files on my Laptop that can be imported into PA600 for creating Styles. This is definitely possible. That is all I am doing and nothing more.

My questions (about Sysex, CC commands) have been only in this context.

There are also plenty of tradeoff and reasons to do things on a Laptop - rather than on board on PA600. These are subjective and probably well founded, especially after one understands the pros and cons of both.

br Sri.
P.S As a friend, I would encourage you, and I am sure everyone in this forum would as well, if you always extended best courtesies to everyone - and avoid making statements that may be perceived as condescending and/or not respectful.

If you send me a private message, I will be happy to elaborate.

Posted: Sat Nov 11, 2017 3:41 am
by Nemik
@sridharar

Just ask here anything you wanna know, we here to help.
I will answer much I can to help you find best way to make Styles.

Posted: Sat Nov 11, 2017 3:55 am
by sridharar
Nemik

Appreciate your note. You have already helped me in more ways than you know in this forum. Look forward to drawing more of yours as well as the collective wisdom on this forum.

br Sri.

Posted: Sat Nov 11, 2017 5:23 am
by Sam CA
Sri,

Unfortunately I know nothing about software programming so I can't be of any help in that area. Obviously you can just use a DAW to create the midi file and all that jazz. So ultimately your goal is to write an editor software that could prepare the .STY file?

Posted: Sat Nov 11, 2017 8:06 am
by amit
Look into My Signature for Yamaha to Korg Style Converter and Converted styles and look/search in the forums where I describe some information.
There might also be a PA PAL Software I wrote that lets you do few things.

I havent used my PA600 & styles etc for a while so a bit rusty about it.

but most cc/sysex commands are listed in the documentation

Here are a few links:
http://www.korgforums.com/forum/phpBB2/ ... hlight=pal

http://www.korgforums.com/forum/phpBB2/ ... ht=y2kmidi


Look into the generated midi files to get an idea of the markers etc.

Unfortunately there is no tool/command set to automate the process on the PA600 and the work has to be done manually.