Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #37960 > unrolled thread

Plotting logic

Started byJonas Thörnvall <jonas.thornvall@gmail.com>
First post2019-12-17 00:22 -0800
Last post2019-12-17 02:43 -0800
Articles 11 — 2 participants

Back to article view | Back to comp.lang.javascript


Contents

  Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 00:22 -0800
    Re: Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 00:23 -0800
    Re: Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 00:41 -0800
      Re: Plotting logic Julio Di Egidio <julio@diegidio.name> - 2019-12-17 00:54 -0800
        Re: Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 01:45 -0800
          Re: Plotting logic Julio Di Egidio <julio@diegidio.name> - 2019-12-17 01:55 -0800
            Re: Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 02:04 -0800
            Re: Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 02:08 -0800
              Re: Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 02:24 -0800
                Re: Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 02:30 -0800
            Re: Plotting logic Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-12-17 02:43 -0800

#37960 — Plotting logic

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 00:22 -0800
SubjectPlotting logic
Message-ID<f82f9fc3-ef63-4ca4-b26e-e27adc9c684a@googlegroups.com>
I write out notes on the cavas within a "freely chosen" timespann, but there is something wrong with my logic plotting them out. As long it is only the rightside expanding shrinking the notes scale accordingly.

But if i move the startpoint from 0 they suddenly start to drift left, so it is some initial value set wrong that they drift to the rightside could even be a sign error?

The bar values for selected regions work just fine so there is something like a sign or wrong value read in below. Of course i just plot values that is within the timespann on screen, but when startpoint change they start drift changing endpoint to problem they scale fine. 

https://midisequenser.000webhostapp.com/

function notePlot(){
	console.log("NOTEPLOT TRACK="+rectrack+" midiMess length="+track[rectrack].midiMess.length);
	var plotRightSide=0;var plotLeftSide=0;var x=0;var z=0;var i=0;
 	nbrOfEV = track[rectrack].midiMess.length;
	while (x<nbrOfEV){
		if (track[rectrack].midiMess[x].time>TimeSPos && track[rectrack].midiMess[x].time<TimeEPos && track[rectrack].midiMess[x].data0==NOTE_ON){ 
			distanceTotal=Mwidth-50;
			TimeTotal=TimeEPos-TimeSPos;
			TimeOnLeft=TimeSPos-(TimeSPos-track[rectrack].midiMess[x].time);
			TimePerc=TimeOnLeft/TimeTotal;
			plotLeftSide=TimePerc*distanceTotal;
			z=x+1;
			while(z<nbrOfEV){
				if(track[rectrack].midiMess[z].data1==track[rectrack].midiMess[x].data1){
					TimeOnRight=TimeEPos-(TimeEPos-track[rectrack].midiMess[z].time);
					TimePerc=TimeOnRight/TimeTotal;
					plotRightSide=TimePerc*distanceTotal;
					recLength=plotRightSide-plotLeftSide;
					keyNr=track[rectrack].midiMess[x].data1;
					if (rectrack==0){keyNr=70;}
					else {keyNr=parseInt(keyNr);}
					ctm.fillStyle = pcolor[keyNr];
					ctm.fillRect(50+plotLeftSide,(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8)),recLength,keyHeight-1);
					//Saving the values of note graphic to array to compare with mouse
					graphNotePosX[i]=50+plotLeftSide;
					graphNotePosY[i]=(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8));
					graphNoteLength[i]=recLength;
					graphNoteHeight[i]=keyHeight-1;
					graphNoteEvent[i]=x;
					i++;
					break;
				}
			z++;
			}	
		}
	x++;
   }
   nbrOfEV=0;
}

[toc] | [next] | [standalone]


#37961

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 00:23 -0800
Message-ID<d7e9a238-7c06-4339-a089-f9a93fdab4d8@googlegroups.com>
In reply to#37960
Den tisdag 17 december 2019 kl. 09:22:07 UTC+1 skrev Jonas Thörnvall:
> I write out notes on the cavas within a "freely chosen" timespann, but there is something wrong with my logic plotting them out. As long it is only the rightside expanding shrinking the notes scale accordingly.
> 
> But if i move the startpoint from 0 they suddenly start to drift left, so it is some initial value set wrong that they drift to the rightside could even be a sign error?
> 
> The bar values for selected regions work just fine so there is something like a sign or wrong value read in below. Of course i just plot values that is within the timespann on screen, but when startpoint change they start drift changing endpoint to problem they scale fine. 
> 
> https://midisequenser.000webhostapp.com/
> 
> function notePlot(){
> 	console.log("NOTEPLOT TRACK="+rectrack+" midiMess length="+track[rectrack].midiMess.length);
> 	var plotRightSide=0;var plotLeftSide=0;var x=0;var z=0;var i=0;
>  	nbrOfEV = track[rectrack].midiMess.length;
> 	while (x<nbrOfEV){
> 		if (track[rectrack].midiMess[x].time>TimeSPos && track[rectrack].midiMess[x].time<TimeEPos && track[rectrack].midiMess[x].data0==NOTE_ON){ 
> 			distanceTotal=Mwidth-50;
> 			TimeTotal=TimeEPos-TimeSPos;
> 			TimeOnLeft=TimeSPos-(TimeSPos-track[rectrack].midiMess[x].time);
> 			TimePerc=TimeOnLeft/TimeTotal;
> 			plotLeftSide=TimePerc*distanceTotal;
> 			z=x+1;
> 			while(z<nbrOfEV){
> 				if(track[rectrack].midiMess[z].data1==track[rectrack].midiMess[x].data1){
> 					TimeOnRight=TimeEPos-(TimeEPos-track[rectrack].midiMess[z].time);
> 					TimePerc=TimeOnRight/TimeTotal;
> 					plotRightSide=TimePerc*distanceTotal;
> 					recLength=plotRightSide-plotLeftSide;
> 					keyNr=track[rectrack].midiMess[x].data1;
> 					if (rectrack==0){keyNr=70;}
> 					else {keyNr=parseInt(keyNr);}
> 					ctm.fillStyle = pcolor[keyNr];
> 					ctm.fillRect(50+plotLeftSide,(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8)),recLength,keyHeight-1);
> 					//Saving the values of note graphic to array to compare with mouse
> 					graphNotePosX[i]=50+plotLeftSide;
> 					graphNotePosY[i]=(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8));
> 					graphNoteLength[i]=recLength;
> 					graphNoteHeight[i]=keyHeight-1;
> 					graphNoteEvent[i]=x;
> 					i++;
> 					break;
> 				}
> 			z++;
> 			}	
> 		}
> 	x++;
>    }
>    nbrOfEV=0;
> }

Sorry the notes drift right and out from canvas.

[toc] | [prev] | [next] | [standalone]


#37962

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 00:41 -0800
Message-ID<e48e6d3a-dc29-439f-8bcb-84c625591644@googlegroups.com>
In reply to#37960
Den tisdag 17 december 2019 kl. 09:22:07 UTC+1 skrev Jonas Thörnvall:
> I write out notes on the cavas within a "freely chosen" timespann, but there is something wrong with my logic plotting them out. As long it is only the rightside expanding shrinking the notes scale accordingly.
> 
> But if i move the startpoint from 0 they suddenly start to drift left, so it is some initial value set wrong that they drift to the rightside could even be a sign error?
> 
> The bar values for selected regions work just fine so there is something like a sign or wrong value read in below. Of course i just plot values that is within the timespann on screen, but when startpoint change they start drift changing endpoint to problem they scale fine. 
> 
> https://midisequenser.000webhostapp.com/
> 
> function notePlot(){
> 	console.log("NOTEPLOT TRACK="+rectrack+" midiMess length="+track[rectrack].midiMess.length);
> 	var plotRightSide=0;var plotLeftSide=0;var x=0;var z=0;var i=0;
>  	nbrOfEV = track[rectrack].midiMess.length;
> 	while (x<nbrOfEV){
> 		if (track[rectrack].midiMess[x].time>TimeSPos && track[rectrack].midiMess[x].time<TimeEPos && track[rectrack].midiMess[x].data0==NOTE_ON){ 
> 			distanceTotal=Mwidth-50;
> 			TimeTotal=TimeEPos-TimeSPos;
> 			TimeOnLeft=TimeSPos-(TimeSPos-track[rectrack].midiMess[x].time);
> 			TimePerc=TimeOnLeft/TimeTotal;
> 			plotLeftSide=TimePerc*distanceTotal;
> 			z=x+1;
> 			while(z<nbrOfEV){
> 				if(track[rectrack].midiMess[z].data1==track[rectrack].midiMess[x].data1){
> 					TimeOnRight=TimeEPos-(TimeEPos-track[rectrack].midiMess[z].time);
> 					TimePerc=TimeOnRight/TimeTotal;
> 					plotRightSide=TimePerc*distanceTotal;
> 					recLength=plotRightSide-plotLeftSide;
> 					keyNr=track[rectrack].midiMess[x].data1;
> 					if (rectrack==0){keyNr=70;}
> 					else {keyNr=parseInt(keyNr);}
> 					ctm.fillStyle = pcolor[keyNr];
> 					ctm.fillRect(50+plotLeftSide,(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8)),recLength,keyHeight-1);
> 					//Saving the values of note graphic to array to compare with mouse
> 					graphNotePosX[i]=50+plotLeftSide;
> 					graphNotePosY[i]=(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8));
> 					graphNoteLength[i]=recLength;
> 					graphNoteHeight[i]=keyHeight-1;
> 					graphNoteEvent[i]=x;
> 					i++;
> 					break;
> 				}
> 			z++;
> 			}	
> 		}
> 	x++;
>    }
>    nbrOfEV=0;
> }

Don't be confused by the inner loop it is just to find the end of note, rightside of rectangle.

The problem most certain somewhere here.

          distanceTotal=Mwidth-50;
                        TimeTotal=TimeEPos-TimeSPos;
                        TimeOnLeft=TimeSPos-(TimeSPos-track[rectrack].midiMess[x].time);
                        TimePerc=TimeOnLeft/TimeTotal;
                        plotLeftSide=TimePerc*distanceTotal;
                        z=x+1;

But i just don't see it.

[toc] | [prev] | [next] | [standalone]


#37963

FromJulio Di Egidio <julio@diegidio.name>
Date2019-12-17 00:54 -0800
Message-ID<c306e40f-f4fa-48a0-8108-de3aa9709685@googlegroups.com>
In reply to#37962
On Tuesday, 17 December 2019 09:41:34 UTC+1, Jonas Thörnvall  wrote:

> But i just don't see it.

And you never will: you are like a chess rookie who can't see past the first
move, but you keep doing the contrary of any sane learner, you are not even
trying to write readable code, to begin with...

Julio

[toc] | [prev] | [next] | [standalone]


#37964

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 01:45 -0800
Message-ID<c5b31f1d-79b5-43d3-a5d4-8ea640159e81@googlegroups.com>
In reply to#37963
Den tisdag 17 december 2019 kl. 09:54:12 UTC+1 skrev Julio Di Egidio:
> On Tuesday, 17 December 2019 09:41:34 UTC+1, Jonas Thörnvall  wrote:
> 
> > But i just don't see it.
> 
> And you never will: you are like a chess rookie who can't see past the first
> move, but you keep doing the contrary of any sane learner, you are not even
> trying to write readable code, to begin with...
> 
> Julio

Nah, i solve any problem just checking first if someone will have a go. Save some energy.

[toc] | [prev] | [next] | [standalone]


#37965

FromJulio Di Egidio <julio@diegidio.name>
Date2019-12-17 01:55 -0800
Message-ID<e79c7245-b356-4f54-a300-e31738efd6f2@googlegroups.com>
In reply to#37964
On Tuesday, 17 December 2019 10:45:27 UTC+1, Jonas Thörnvall  wrote:
> Den tisdag 17 december 2019 kl. 09:54:12 UTC+1 skrev Julio Di Egidio:
> > On Tuesday, 17 December 2019 09:41:34 UTC+1, Jonas Thörnvall  wrote:
> > 
> > > But i just don't see it.
> > 
> > And you never will: you are like a chess rookie who can't see past the first
> > move, but you keep doing the contrary of any sane learner, you are not even
> > trying to write readable code, to begin with...
> 
> Nah, i solve any problem just checking first if someone will have a go. Save
> some energy.

Whose energy, you stupid fuck??  You are just wasting everybody's breathable air.

Calling you a spammer is a compliment...

*Plonk*

Julio

[toc] | [prev] | [next] | [standalone]


#37966

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 02:04 -0800
Message-ID<f2b09cbf-2642-42d4-a26c-8a812b4ebfa1@googlegroups.com>
In reply to#37965
Den tisdag 17 december 2019 kl. 10:55:32 UTC+1 skrev Julio Di Egidio:
> On Tuesday, 17 December 2019 10:45:27 UTC+1, Jonas Thörnvall  wrote:
> > Den tisdag 17 december 2019 kl. 09:54:12 UTC+1 skrev Julio Di Egidio:
> > > On Tuesday, 17 December 2019 09:41:34 UTC+1, Jonas Thörnvall  wrote:
> > > 
> > > > But i just don't see it.
> > > 
> > > And you never will: you are like a chess rookie who can't see past the first
> > > move, but you keep doing the contrary of any sane learner, you are not even
> > > trying to write readable code, to begin with...
> > 
> > Nah, i solve any problem just checking first if someone will have a go. Save
> > some energy.
> 
> Whose energy, you stupid fuck??  You are just wasting everybody's breathable air.
> 
> Calling you a spammer is a compliment...
> 
> *Plonk*
> 
> Julio

Lol your petifull

[toc] | [prev] | [next] | [standalone]


#37967

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 02:08 -0800
Message-ID<c8c6a915-ef87-4e42-8eb6-ab71c6a25469@googlegroups.com>
In reply to#37965
Den tisdag 17 december 2019 kl. 10:55:32 UTC+1 skrev Julio Di Egidio:
> On Tuesday, 17 December 2019 10:45:27 UTC+1, Jonas Thörnvall  wrote:
> > Den tisdag 17 december 2019 kl. 09:54:12 UTC+1 skrev Julio Di Egidio:
> > > On Tuesday, 17 December 2019 09:41:34 UTC+1, Jonas Thörnvall  wrote:
> > > 
> > > > But i just don't see it.
> > > 
> > > And you never will: you are like a chess rookie who can't see past the first
> > > move, but you keep doing the contrary of any sane learner, you are not even
> > > trying to write readable code, to begin with...
> > 
> > Nah, i solve any problem just checking first if someone will have a go. Save
> > some energy.
> 
> Whose energy, you stupid fuck??  You are just wasting everybody's breathable air.
> 
> Calling you a spammer is a compliment...
> 
> *Plonk*
> 
> Julio

Why such a long face, i am almost there LoL

	distanceTotal=Mwidth-50;
			TimeTotal=TimeEPos-TimeSPos;
			TimeOnLeft=track[rectrack].midiMess[x].time-TimeSPos;
			TimePerc=TimeOnLeft/TimeTotal;
			plotLeftSide=TimePerc*distanceTotal;
			z=x+1;

[toc] | [prev] | [next] | [standalone]


#37968

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 02:24 -0800
Message-ID<8bb99172-8908-41f1-8536-6eea41508db0@googlegroups.com>
In reply to#37967
Den tisdag 17 december 2019 kl. 11:08:18 UTC+1 skrev Jonas Thörnvall:
> Den tisdag 17 december 2019 kl. 10:55:32 UTC+1 skrev Julio Di Egidio:
> > On Tuesday, 17 December 2019 10:45:27 UTC+1, Jonas Thörnvall  wrote:
> > > Den tisdag 17 december 2019 kl. 09:54:12 UTC+1 skrev Julio Di Egidio:
> > > > On Tuesday, 17 December 2019 09:41:34 UTC+1, Jonas Thörnvall  wrote:
> > > > 
> > > > > But i just don't see it.
> > > > 
> > > > And you never will: you are like a chess rookie who can't see past the first
> > > > move, but you keep doing the contrary of any sane learner, you are not even
> > > > trying to write readable code, to begin with...
> > > 
> > > Nah, i solve any problem just checking first if someone will have a go. Save
> > > some energy.
> > 
> > Whose energy, you stupid fuck??  You are just wasting everybody's breathable air.
> > 
> > Calling you a spammer is a compliment...
> > 
> > *Plonk*
> > 
> > Julio
> 
> Why such a long face, i am almost there LoL
> 
> 	distanceTotal=Mwidth-50;
> 			TimeTotal=TimeEPos-TimeSPos;
> 			TimeOnLeft=track[rectrack].midiMess[x].time-TimeSPos;
> 			TimePerc=TimeOnLeft/TimeTotal;
> 			plotLeftSide=TimePerc*distanceTotal;
> 			z=x+1;

Oops, once you look at it its easy ;)

// DRAWOUT NOTE ON MAIN CANVAS
function notePlot(){
	console.log("NOTEPLOT TRACK="+rectrack+" midiMess length="+track[rectrack].midiMess.length);
	var plotRightSide=0;var plotLeftSide=0;var x=0;var z=0;var i=0;
 	nbrOfEV = track[rectrack].midiMess.length;
	while (x<nbrOfEV){
		if (track[rectrack].midiMess[x].time>TimeSPos && track[rectrack].midiMess[x].time<TimeEPos && track[rectrack].midiMess[x].data0==NOTE_ON){ 
			distanceTotal=Mwidth-50;
			TimeTotal=TimeEPos-TimeSPos;
			TimeOnLeft=track[rectrack].midiMess[x].time-TimeSPos;
			TimePerc=TimeOnLeft/TimeTotal;
			plotLeftSide=TimePerc*distanceTotal;
			z=x+1;
			while(z<nbrOfEV){
				if(track[rectrack].midiMess[z].data1==track[rectrack].midiMess[x].data1){
					TimeOnRight=TimeTotal-(TimeEPos-track[rectrack].midiMess[z].time);
					TimePerc=TimeOnRight/TimeTotal;
					plotRightSide=TimePerc*distanceTotal;
					recLength=plotRightSide-plotLeftSide;
					keyNr=track[rectrack].midiMess[x].data1;
					if (rectrack==0){keyNr=70;}
					else {keyNr=parseInt(keyNr);}
					ctm.fillStyle = pcolor[keyNr];
					ctm.fillRect(50+plotLeftSide,(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8)),recLength,keyHeight-1);
					//Saving the values of note graphic to array to compare with mouse
					graphNotePosX[i]=50+plotLeftSide;
					graphNotePosY[i]=(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8));
					graphNoteLength[i]=recLength;
					graphNoteHeight[i]=keyHeight-1;
					graphNoteEvent[i]=x;
					i++;
					break;
				}
			z++;
			}	
		}
	x++;
   }
   nbrOfEV=0;
}

[toc] | [prev] | [next] | [standalone]


#37969

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 02:30 -0800
Message-ID<2e0b09ab-8013-4f50-88d4-6872ae05e249@googlegroups.com>
In reply to#37968
Den tisdag 17 december 2019 kl. 11:24:26 UTC+1 skrev Jonas Thörnvall:
> Den tisdag 17 december 2019 kl. 11:08:18 UTC+1 skrev Jonas Thörnvall:
> > Den tisdag 17 december 2019 kl. 10:55:32 UTC+1 skrev Julio Di Egidio:
> > > On Tuesday, 17 December 2019 10:45:27 UTC+1, Jonas Thörnvall  wrote:
> > > > Den tisdag 17 december 2019 kl. 09:54:12 UTC+1 skrev Julio Di Egidio:
> > > > > On Tuesday, 17 December 2019 09:41:34 UTC+1, Jonas Thörnvall  wrote:
> > > > > 
> > > > > > But i just don't see it.
> > > > > 
> > > > > And you never will: you are like a chess rookie who can't see past the first
> > > > > move, but you keep doing the contrary of any sane learner, you are not even
> > > > > trying to write readable code, to begin with...
> > > > 
> > > > Nah, i solve any problem just checking first if someone will have a go. Save
> > > > some energy.
> > > 
> > > Whose energy, you stupid fuck??  You are just wasting everybody's breathable air.
> > > 
> > > Calling you a spammer is a compliment...
> > > 
> > > *Plonk*
> > > 
> > > Julio
> > 
> > Why such a long face, i am almost there LoL
> > 
> > 	distanceTotal=Mwidth-50;
> > 			TimeTotal=TimeEPos-TimeSPos;
> > 			TimeOnLeft=track[rectrack].midiMess[x].time-TimeSPos;
> > 			TimePerc=TimeOnLeft/TimeTotal;
> > 			plotLeftSide=TimePerc*distanceTotal;
> > 			z=x+1;
> 
> Oops, once you look at it its easy ;)
> 
> // DRAWOUT NOTE ON MAIN CANVAS
> function notePlot(){
> 	console.log("NOTEPLOT TRACK="+rectrack+" midiMess length="+track[rectrack].midiMess.length);
> 	var plotRightSide=0;var plotLeftSide=0;var x=0;var z=0;var i=0;
>  	nbrOfEV = track[rectrack].midiMess.length;
> 	while (x<nbrOfEV){
> 		if (track[rectrack].midiMess[x].time>TimeSPos && track[rectrack].midiMess[x].time<TimeEPos && track[rectrack].midiMess[x].data0==NOTE_ON){ 
> 			distanceTotal=Mwidth-50;
> 			TimeTotal=TimeEPos-TimeSPos;
> 			TimeOnLeft=track[rectrack].midiMess[x].time-TimeSPos;
> 			TimePerc=TimeOnLeft/TimeTotal;
> 			plotLeftSide=TimePerc*distanceTotal;
> 			z=x+1;
> 			while(z<nbrOfEV){
> 				if(track[rectrack].midiMess[z].data1==track[rectrack].midiMess[x].data1){
> 					TimeOnRight=TimeTotal-(TimeEPos-track[rectrack].midiMess[z].time);
> 					TimePerc=TimeOnRight/TimeTotal;
> 					plotRightSide=TimePerc*distanceTotal;
> 					recLength=plotRightSide-plotLeftSide;
> 					keyNr=track[rectrack].midiMess[x].data1;
> 					if (rectrack==0){keyNr=70;}
> 					else {keyNr=parseInt(keyNr);}
> 					ctm.fillStyle = pcolor[keyNr];
> 					ctm.fillRect(50+plotLeftSide,(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8)),recLength,keyHeight-1);
> 					//Saving the values of note graphic to array to compare with mouse
> 					graphNotePosX[i]=50+plotLeftSide;
> 					graphNotePosY[i]=(PistartX+keyHeight*88)-(keyHeight*(track[rectrack].midiMess[x].data1-8));
> 					graphNoteLength[i]=recLength;
> 					graphNoteHeight[i]=keyHeight-1;
> 					graphNoteEvent[i]=x;
> 					i++;
> 					break;
> 				}
> 			z++;
> 			}	
> 		}
> 	x++;
>    }
>    nbrOfEV=0;
> }

Yeah fixing that was 5 minutes of my energy i never get back LoL
Better have Julio spend and hour on it LoL

https://midisequenser.000webhostapp.com/

[toc] | [prev] | [next] | [standalone]


#37970

FromJonas Thörnvall <jonas.thornvall@gmail.com>
Date2019-12-17 02:43 -0800
Message-ID<3fe4551c-79aa-497a-aa29-1ef063f1fe2d@googlegroups.com>
In reply to#37965
Den tisdag 17 december 2019 kl. 10:55:32 UTC+1 skrev Julio Di Egidio:
> On Tuesday, 17 December 2019 10:45:27 UTC+1, Jonas Thörnvall  wrote:
> > Den tisdag 17 december 2019 kl. 09:54:12 UTC+1 skrev Julio Di Egidio:
> > > On Tuesday, 17 December 2019 09:41:34 UTC+1, Jonas Thörnvall  wrote:
> > > 
> > > > But i just don't see it.
> > > 
> > > And you never will: you are like a chess rookie who can't see past the first
> > > move, but you keep doing the contrary of any sane learner, you are not even
> > > trying to write readable code, to begin with...
> > 
> > Nah, i solve any problem just checking first if someone will have a go. Save
> > some energy.
> 
> Whose energy, you stupid fuck??  You are just wasting everybody's breathable air.
> 
> Calling you a spammer is a compliment...
> 
> *Plonk*
> 
> Julio
https://www.youtube.com/watch?v=9LZ35Ar3r2k

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web