From: joakim v. <jo...@ve...> - 2004-03-28 23:31:25
|
Hello, I've managed to draw a xml dialog in xrced and got it to load within jazz too! (ok so it's only one line of code because of Patricks nice wrapper, but anyhow...) Its still the "midi delay" dialog. To get the dialog to actually work, I need to know some things: - Where to get the current track these days - The filter - The selection - Where should the dialog caller function go? It used to live in tTrackWin, but I cant remember why, so I stuck it in tPianowin. Cheers, /Joakim |
From: Dave F. <dav...@co...> - 2004-03-29 00:27:12
|
On Sunday 28 March 2004 11:31 pm, joakim verona wrote: > Hello, > > I've managed to draw a xml dialog in xrced and got it to load within > jazz too! > (ok so it's only one line of code because of Patricks nice wrapper, but > anyhow...) > > Its still the "midi delay" dialog. > > To get the dialog to actually work, I need to know some things: > - Where to get the current track these days > - The filter > - The selection To get the current track: replace any #include "song.h" with #include "engine/Project.h". In your cpp file, put extern jppProject* gProject; at the top with all your global variables. Then use gProject, which now inherits tSong, to get tracks just like you used to out of tSong. (it was easier for me to just inherit tSong and work on overloading/adding to the interface than to build from scratch. Luckily I slept between sessions, it was so clearly obvious last night that I should just inherit tSong rather than rewrite all of it. Rewriting will come with time and need, but inheriting it got the track interface in the Project where it belongs ;) ) The filter is still as it has always been, for now. Selection is also as it has always been, but it'd be really nice if you went ahead and added selection to jppProject. I'm working on it, but it's slow going since I still don't completely understand the selection code right now, and it's pretty convoluted. Also, if you stumble across calls to the global Song object, you should go ahead and replace them with gProject. At least, you'll have to to get it to work. ;) Dave > - Where should the dialog caller function go? > It used to live in tTrackWin, but I cant remember why, so I stuck it in > tPianowin. > > > Cheers, > /Joakim > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel -- Visit my website! http://www.davefancella.com/?event=em Win98 error 005: Mouse not found. Click left mouse button on ok to continue. |
From: Patrick E. <pa...@pa...> - 2004-03-29 06:24:57
|
Check it in.. I want to see too. :) Patrick On Sunday 28 March 2004 16:31, joakim verona wrote: > Hello, > > I've managed to draw a xml dialog in xrced and got it to load > within jazz too! > (ok so it's only one line of code because of Patricks nice wrapper, > but anyhow...) > > Its still the "midi delay" dialog. > > To get the dialog to actually work, I need to know some things: > - Where to get the current track these days > - The filter > - The selection > - Where should the dialog caller function go? > It used to live in tTrackWin, but I cant remember why, so I stuck > it in tPianowin. > > > Cheers, > /Joakim > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO > of GenToo technologies. Learn everything from fundamentals to > system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >ck _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel |
From: joakim v. <jo...@ve...> - 2004-03-29 20:54:01
|
Ok, I've checked it in now. /Joakim Patrick Earl wrote: >Check it in.. I want to see too. :) > > Patrick > >On Sunday 28 March 2004 16:31, joakim verona wrote: > > >>Hello, >> >>I've managed to draw a xml dialog in xrced and got it to load >>within jazz too! >>(ok so it's only one line of code because of Patricks nice wrapper, >>but anyhow...) >> >>Its still the "midi delay" dialog. >> >>To get the dialog to actually work, I need to know some things: >>- Where to get the current track these days >>- The filter >>- The selection >>- Where should the dialog caller function go? >>It used to live in tTrackWin, but I cant remember why, so I stuck >>it in tPianowin. >> >> >>Cheers, >>/Joakim >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IBM Linux Tutorials >>Free Linux tutorial presented by Daniel Robbins, President and CEO >>of GenToo technologies. Learn everything from fundamentals to >>system >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >>ck _______________________________________________ >>jazzplusplus-devel mailing list >>jaz...@li... >>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >jazzplusplus-devel mailing list >jaz...@li... >https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > |
From: Patrick E. <pa...@pa...> - 2004-03-29 22:12:31
|
I have to leave in a minute, but I had a couple quick comments. 1. Remember what I said about that whole Attach(...,..,scale) thing? Maybe it would be better to just perform the scaling after, when the dialog is accepted. For example, in your code you could use "scale / = 100.0" in the if block. 2. Wasn't the velocity scale allowed to increase before, or was I imagining things? Anyways, could always have 400% to represent an increase in scale. 3. The sliders don't slide all the way to the right. I'm not sure what's up with that, but it's a problem I've seen before. I don't recall if it was only in Jazz or in other programs too. Patrick On Monday 29 March 2004 13:53, joakim verona wrote: > Ok, I've checked it in now. > > > > /Joakim > > Patrick Earl wrote: > >Check it in.. I want to see too. :) > > > > Patrick > > > >On Sunday 28 March 2004 16:31, joakim verona wrote: > >>Hello, > >> > >>I've managed to draw a xml dialog in xrced and got it to load > >>within jazz too! > >>(ok so it's only one line of code because of Patricks nice > >> wrapper, but anyhow...) > >> > >>Its still the "midi delay" dialog. > >> > >>To get the dialog to actually work, I need to know some things: > >>- Where to get the current track these days > >>- The filter > >>- The selection > >>- Where should the dialog caller function go? > >>It used to live in tTrackWin, but I cant remember why, so I stuck > >>it in tPianowin. > >> > >> > >>Cheers, > >>/Joakim > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: IBM Linux Tutorials > >>Free Linux tutorial presented by Daniel Robbins, President and > >> CEO of GenToo technologies. Learn everything from fundamentals > >> to system > >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=c > >>li ck _______________________________________________ > >>jazzplusplus-devel mailing list > >>jaz...@li... > >>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IBM Linux Tutorials > >Free Linux tutorial presented by Daniel Robbins, President and CEO > > of GenToo technologies. Learn everything from fundamentals to > > system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=c > >lick _______________________________________________ > >jazzplusplus-devel mailing list > >jaz...@li... > >https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO > of GenToo technologies. Learn everything from fundamentals to > system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >ck _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel |
From: Patrick E. <pa...@pa...> - 2004-03-29 22:15:16
|
Also, I like the title at the top, but maybe we should add little labels below the titles that say what the dialog is supposed to do. Though I have a guess as to what the midi delay dialog is used for, it's not fully clear. Patrick On Monday 29 March 2004 15:12, Patrick Earl wrote: > I have to leave in a minute, but I had a couple quick comments. > > 1. Remember what I said about that whole Attach(...,..,scale) > thing? Maybe it would be better to just perform the scaling after, > when the dialog is accepted. For example, in your code you could > use "scale / = 100.0" in the if block. > > 2. Wasn't the velocity scale allowed to increase before, or was I > imagining things? Anyways, could always have 400% to represent an > increase in scale. > > 3. The sliders don't slide all the way to the right. I'm not sure > what's up with that, but it's a problem I've seen before. I don't > recall if it was only in Jazz or in other programs too. > > Patrick > > On Monday 29 March 2004 13:53, joakim verona wrote: > > Ok, I've checked it in now. > > > > > > > > /Joakim > > > > Patrick Earl wrote: > > >Check it in.. I want to see too. :) > > > > > > Patrick > > > > > >On Sunday 28 March 2004 16:31, joakim verona wrote: > > >>Hello, > > >> > > >>I've managed to draw a xml dialog in xrced and got it to load > > >>within jazz too! > > >>(ok so it's only one line of code because of Patricks nice > > >> wrapper, but anyhow...) > > >> > > >>Its still the "midi delay" dialog. > > >> > > >>To get the dialog to actually work, I need to know some things: > > >>- Where to get the current track these days > > >>- The filter > > >>- The selection > > >>- Where should the dialog caller function go? > > >>It used to live in tTrackWin, but I cant remember why, so I > > >> stuck it in tPianowin. > > >> > > >> > > >>Cheers, > > >>/Joakim > > >> > > >> > > >>------------------------------------------------------- > > >>This SF.Net email is sponsored by: IBM Linux Tutorials > > >>Free Linux tutorial presented by Daniel Robbins, President and > > >> CEO of GenToo technologies. Learn everything from fundamentals > > >> to system > > >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op > > >>=c li ck _______________________________________________ > > >>jazzplusplus-devel mailing list > > >>jaz...@li... > > >>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > > > > >------------------------------------------------------- > > >This SF.Net email is sponsored by: IBM Linux Tutorials > > >Free Linux tutorial presented by Daniel Robbins, President and > > > CEO of GenToo technologies. Learn everything from fundamentals > > > to system > > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op > > >=c lick _______________________________________________ > > >jazzplusplus-devel mailing list > > >jaz...@li... > > >https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by: IBM Linux Tutorials > > Free Linux tutorial presented by Daniel Robbins, President and > > CEO of GenToo technologies. Learn everything from fundamentals to > > system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=c > >li ck _______________________________________________ > > jazzplusplus-devel mailing list > > jaz...@li... > > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO > of GenToo technologies. Learn everything from fundamentals to > system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >ck _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel |
From: joakim v. <jo...@ve...> - 2004-03-29 22:26:02
|
I made a new commit that actually connects the values to the command class, and also does the percent scaling seemingly sucessfully. Yes, it was originally possible to do fun stuff like making a "reverse echo" by using negative clocks, and an "inverse echo" by having a scaling factor greater than 1. Im thinking now of having 2 tabs, one for "sane" echos, and one for "insane" echos. With that solution it will be more immediately clear how the delay works, without leaving out any possibilities. Maybe it can work like it does in "spiralsynth". There are some modules there that have a "sliders" tab and a "numbers" tab, where you can enter numbers directly. Cheers, /Joakim Patrick Earl wrote: >Also, I like the title at the top, but maybe we should add little >labels below the titles that say what the dialog is supposed to do. >Though I have a guess as to what the midi delay dialog is used for, >it's not fully clear. > > Patrick > >On Monday 29 March 2004 15:12, Patrick Earl wrote: > > >>I have to leave in a minute, but I had a couple quick comments. >> >>1. Remember what I said about that whole Attach(...,..,scale) >>thing? Maybe it would be better to just perform the scaling after, >>when the dialog is accepted. For example, in your code you could >>use "scale / = 100.0" in the if block. >> >>2. Wasn't the velocity scale allowed to increase before, or was I >>imagining things? Anyways, could always have 400% to represent an >>increase in scale. >> >>3. The sliders don't slide all the way to the right. I'm not sure >>what's up with that, but it's a problem I've seen before. I don't >>recall if it was only in Jazz or in other programs too. >> >> Patrick >> >>On Monday 29 March 2004 13:53, joakim verona wrote: >> >> >>>Ok, I've checked it in now. >>> >>> >>> >>>/Joakim >>> >>>Patrick Earl wrote: >>> >>> >>>>Check it in.. I want to see too. :) >>>> >>>> Patrick >>>> >>>>On Sunday 28 March 2004 16:31, joakim verona wrote: >>>> >>>> >>>>>Hello, >>>>> >>>>>I've managed to draw a xml dialog in xrced and got it to load >>>>>within jazz too! >>>>>(ok so it's only one line of code because of Patricks nice >>>>>wrapper, but anyhow...) >>>>> >>>>>Its still the "midi delay" dialog. >>>>> >>>>>To get the dialog to actually work, I need to know some things: >>>>>- Where to get the current track these days >>>>>- The filter >>>>>- The selection >>>>>- Where should the dialog caller function go? >>>>>It used to live in tTrackWin, but I cant remember why, so I >>>>>stuck it in tPianowin. >>>>> >>>>> >>>>>Cheers, >>>>>/Joakim >>>>> >>>>> >>>>>------------------------------------------------------- >>>>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>>>Free Linux tutorial presented by Daniel Robbins, President and >>>>>CEO of GenToo technologies. Learn everything from fundamentals >>>>>to system >>>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op >>>>>=c li ck _______________________________________________ >>>>>jazzplusplus-devel mailing list >>>>>jaz...@li... >>>>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >>>>> >>>>> >>>>------------------------------------------------------- >>>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>>Free Linux tutorial presented by Daniel Robbins, President and >>>>CEO of GenToo technologies. Learn everything from fundamentals >>>>to system >>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op >>>>=c lick _______________________________________________ >>>>jazzplusplus-devel mailing list >>>>jaz...@li... >>>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >>>> >>>> >>>------------------------------------------------------- >>>This SF.Net email is sponsored by: IBM Linux Tutorials >>>Free Linux tutorial presented by Daniel Robbins, President and >>>CEO of GenToo technologies. Learn everything from fundamentals to >>>system >>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=c >>>li ck _______________________________________________ >>>jazzplusplus-devel mailing list >>>jaz...@li... >>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >>> >>> >>------------------------------------------------------- >>This SF.Net email is sponsored by: IBM Linux Tutorials >>Free Linux tutorial presented by Daniel Robbins, President and CEO >>of GenToo technologies. Learn everything from fundamentals to >>system >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >>ck _______________________________________________ >>jazzplusplus-devel mailing list >>jaz...@li... >>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel >> >> > > > >------------------------------------------------------- >This SF.Net email is sponsored by: IBM Linux Tutorials >Free Linux tutorial presented by Daniel Robbins, President and CEO of >GenToo technologies. Learn everything from fundamentals to system >administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click >_______________________________________________ >jazzplusplus-devel mailing list >jaz...@li... >https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > |
From: Patrick E. <pa...@pa...> - 2004-03-30 03:27:02
|
Actually, I always thought that some of the uses of sliders were a little wierd. Might want to replace some of them with spin controls, editable or not. Patrick On Monday 29 March 2004 15:25, joakim verona wrote: > I made a new commit that actually connects the values to the > command class, and also does the percent scaling seemingly > sucessfully. > > Yes, it was originally possible to do fun stuff like making a > "reverse echo" by using negative clocks, and an "inverse echo" > by having a scaling factor greater than 1. > > Im thinking now of having 2 tabs, one for "sane" echos, > and one for "insane" echos. > > With that solution it will be more immediately clear how the > delay works, without leaving out any possibilities. > > Maybe it can work like it does in "spiralsynth". There are some > modules there > that have a "sliders" tab and a "numbers" tab, where you can enter > numbers directly. > > Cheers, > /Joakim > > Patrick Earl wrote: > >Also, I like the title at the top, but maybe we should add little > >labels below the titles that say what the dialog is supposed to > > do. Though I have a guess as to what the midi delay dialog is > > used for, it's not fully clear. > > > > Patrick > > > >On Monday 29 March 2004 15:12, Patrick Earl wrote: > >>I have to leave in a minute, but I had a couple quick comments. > >> > >>1. Remember what I said about that whole Attach(...,..,scale) > >>thing? Maybe it would be better to just perform the scaling > >> after, when the dialog is accepted. For example, in your code > >> you could use "scale / = 100.0" in the if block. > >> > >>2. Wasn't the velocity scale allowed to increase before, or was > >> I imagining things? Anyways, could always have 400% to > >> represent an increase in scale. > >> > >>3. The sliders don't slide all the way to the right. I'm not > >> sure what's up with that, but it's a problem I've seen before. > >> I don't recall if it was only in Jazz or in other programs too. > >> > >> Patrick > >> > >>On Monday 29 March 2004 13:53, joakim verona wrote: > >>>Ok, I've checked it in now. > >>> > >>> > >>> > >>>/Joakim > >>> > >>>Patrick Earl wrote: > >>>>Check it in.. I want to see too. :) > >>>> > >>>> Patrick > >>>> > >>>>On Sunday 28 March 2004 16:31, joakim verona wrote: > >>>>>Hello, > >>>>> > >>>>>I've managed to draw a xml dialog in xrced and got it to load > >>>>>within jazz too! > >>>>>(ok so it's only one line of code because of Patricks nice > >>>>>wrapper, but anyhow...) > >>>>> > >>>>>Its still the "midi delay" dialog. > >>>>> > >>>>>To get the dialog to actually work, I need to know some > >>>>> things: - Where to get the current track these days > >>>>>- The filter > >>>>>- The selection > >>>>>- Where should the dialog caller function go? > >>>>>It used to live in tTrackWin, but I cant remember why, so I > >>>>>stuck it in tPianowin. > >>>>> > >>>>> > >>>>>Cheers, > >>>>>/Joakim > >>>>> > >>>>> > >>>>>------------------------------------------------------- > >>>>>This SF.Net email is sponsored by: IBM Linux Tutorials > >>>>>Free Linux tutorial presented by Daniel Robbins, President and > >>>>>CEO of GenToo technologies. Learn everything from fundamentals > >>>>>to system > >>>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&o > >>>>>p =c li ck _______________________________________________ > >>>>> jazzplusplus-devel mailing list > >>>>>jaz...@li... > >>>>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-deve > >>>>>l > >>>> > >>>>------------------------------------------------------- > >>>>This SF.Net email is sponsored by: IBM Linux Tutorials > >>>>Free Linux tutorial presented by Daniel Robbins, President and > >>>>CEO of GenToo technologies. Learn everything from fundamentals > >>>>to system > >>>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op > >>>>=c lick _______________________________________________ > >>>>jazzplusplus-devel mailing list > >>>>jaz...@li... > >>>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > >>> > >>>------------------------------------------------------- > >>>This SF.Net email is sponsored by: IBM Linux Tutorials > >>>Free Linux tutorial presented by Daniel Robbins, President and > >>>CEO of GenToo technologies. Learn everything from fundamentals > >>> to system > >>>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op= > >>>c li ck _______________________________________________ > >>>jazzplusplus-devel mailing list > >>>jaz...@li... > >>>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by: IBM Linux Tutorials > >>Free Linux tutorial presented by Daniel Robbins, President and > >> CEO of GenToo technologies. Learn everything from fundamentals > >> to system > >>administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=c > >>li ck _______________________________________________ > >>jazzplusplus-devel mailing list > >>jaz...@li... > >>https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > > >------------------------------------------------------- > >This SF.Net email is sponsored by: IBM Linux Tutorials > >Free Linux tutorial presented by Daniel Robbins, President and CEO > > of GenToo technologies. Learn everything from fundamentals to > > system > > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=c > >lick _______________________________________________ > >jazzplusplus-devel mailing list > >jaz...@li... > >https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO > of GenToo technologies. Learn everything from fundamentals to > system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=cli >ck _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel |