Kara-Moon Forum
March 28, 2024, 11:17:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Python 3  (Read 20639 times)
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #15 on: February 24, 2014, 04:45:04 PM »

Put a new version this morning to fix 2 small bugs in the -G code.

Keep those bug reports coming!!
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #16 on: February 27, 2014, 09:41:10 PM »

Yet another update. I've fixed some little things in mma itself and converted the major utilities.

This seems to be coming together very nicely. Sure hope it is of benefit.
Logged

My online life: http://www.mellowood.ca
folderol
Kara-Moon Master
****
Posts: 5295

Who? Me?


WWW
« Reply #17 on: February 27, 2014, 09:45:11 PM »

Very pleased it's coming on, but afraid I can't do any bug-hunting at the moment. I'm more-or-less full time on squashing Yoshimi bugs, having got myself on the dev list{me and my big mouth}  Roll Eyes
Logged

If you have a poem, I have a tune, and we exchange these, we can both have a poem, a tune, and a song.
- Will
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #18 on: February 28, 2014, 12:05:02 AM »

Bug hunting is so much fun. If I'd had any idea of how large a project this might be ... I'd be a lot smarter than I am Smiley But, seriously, I would have written things a bit differently and included testing stubs in each section. I'm not sure that tests would cover every eventuality, but they might have made finding some things easy. On the other hand, who knows for sure, Much bigger projects than MMA have no testing base and are more obfuscated Smiley And, for the most part, seem to work.
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #19 on: March 03, 2014, 11:13:36 PM »

Another new version for ya all. Fixed an silly bug in the volume routines (gotta be very careful in python when using integer vrs fp division). Also rewrote the midi input part of MidiInc into it's own class (with the idea it might be callable for other things).

BTW, I'm now using this as my production version. Generates midi files just great.

Have fun.
Logged

My online life: http://www.mellowood.ca
alexis
Jr. Member
*
Posts: 62


« Reply #20 on: March 04, 2014, 01:55:05 PM »

I've played a bit with this dev version.
Works well with Python 3.
No issue seen so far.
Great job Smiley

Alexis
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #21 on: March 05, 2014, 04:31:05 PM »

Thanks. Do let me know if you find something.

I have some more silly tests to run from my end. Want to make sure the various command options are doing what they are supposed to do.
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #22 on: March 08, 2014, 02:15:27 AM »

Just a little heads up ... using python3 the midisplit command barfs as well as the -b/B command line option. I know where the problem is, and what it is, but have no idea just now of how to properly fix it for both py2 and 3. I'm giving it a day to percolate though my grey cells.
 
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #23 on: March 09, 2014, 12:36:48 AM »

So, got the latest set of bugs quashed. This insistence by python3 in keeping different types of data (ie, integer, string, bytes) all different really is a pain. Mind you, once it's programmed it is nice and forces things to be "right".

One of the nice things about doing this is that you can stick a bunch of 1 byte values into a string, convert it to a bytearray and then, instead of calling up ord() and chr() all the time to read individual bytes in the array, you just examine then with standard string splicing notation.

Mind you, if you do it in one spot ... you really need to do it everywhere ... otherwise the whole tower collapses and you wonder just what in *#(*$ is going on.

I'll try to post a new version to bang on tomorrow. It seems to be PERFECT here Smiley
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #24 on: March 16, 2014, 06:50:31 PM »

Yet another test version (13.12e) has been uploaded.

Fixed a number of little things with the 2/3 code. But, also managed to fix or cleanup some outstanding bugs and issues with the base code.

This is getting close to a real release Smiley
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #25 on: March 18, 2014, 05:58:24 PM »

I was playing my sax last night with, of course, MMA generated tracks. Oh, my ... one song had the most awful sounding part. Oppps .... used to work. Anyway, I buggered the fermata code when doing the 2 to 3 conversion. All fixed now, and a upload of test version "f".

Last one for now?
Logged

My online life: http://www.mellowood.ca
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.059 seconds with 20 queries.