From jmsl at music.columbia.edu Tue Oct 6 03:17:02 2009 From: jmsl at music.columbia.edu (Java Music Specification Language) Date: Tue, 6 Oct 2009 07:17:02 +0000 Subject: [jmsl] Processing Wave Data Message-ID: Hi all, This is not directly JMSL related, but I couldn't get answer from other forum. I'm posting here because this list has experts on java and sound. I have a byte[] array called tempBuffer with some wave data in it, and I'm trying to apply gain. However, it doesn't seem to work. Can someone help me please? ByteBuffer bb = ByteBuffer.wrap(tempBuffer); for (int i=0; i < tempBuffer.length; i+=2) { short val = bb.getShort(i); double dVal = ((double)val); // dVal = dVal*0.5; bb.putShort(i, ((short)dVal)); } If I uncomment the line "// dVal = dVal*0.5;" and play the tempBuffer, I get static noise. If I comment the line, I get the sorce signal as expected. Thanks in advance, Chi _________________________________________________________________ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/171222984/direct/01/ From jmsl at music.columbia.edu Sun Oct 11 18:34:18 2009 From: jmsl at music.columbia.edu (Java Music Specification Language) Date: Sun, 11 Oct 2009 18:34:18 -0400 Subject: [jmsl] zooming in maxscore Message-ID: <20F06D56-58A3-4682-8373-49D6A90E304F@jasonfreeman.net> Nick: Quick question about MaxScore, which we're currently using with some software we're making to run some research experiments. (Yes, that's the license that was purchased by Ga Tech a few weeks ago...) In JMSL, when I want to change the zoom of a score, I simply do score.getLayoutManager.setZoom (or something along those lines). But this functionality doesn't seem to exist in maxscore, at least from what I could find in the help patch. We need to do some extreme zooming-in on a score so it will be readable at a distance; in fact, we want a single measure to take up an entire laptop screen. So...any ideas on how to do that in MaxScore? I'm hoping we're missing something obvious. Thanks, --Jason From jmsl at music.columbia.edu Mon Oct 12 00:13:05 2009 From: jmsl at music.columbia.edu (Java Music Specification Language) Date: Mon, 12 Oct 2009 00:13:05 -0400 Subject: [jmsl] zooming in maxscore In-Reply-To: <20F06D56-58A3-4682-8373-49D6A90E304F@jasonfreeman.net> References: <20F06D56-58A3-4682-8373-49D6A90E304F@jasonfreeman.net> Message-ID: <4AD2ACD1.1000103@mail.rockefeller.edu> Hi Jason MaxScore supports the setZoom message which ought to work for you. When zoom=1.0 a measure of 4/4 takes up the full width of the score window Please let me know if this does indeed do what you need. Note to Georg and self: we should add setZoom to the Help patch Thanks Nick Java Music Specification Language wrote: > Nick: > > Quick question about MaxScore, which we're currently using with some > software we're making to run some research experiments. (Yes, that's > the license that was purchased by Ga Tech a few weeks ago...) > > In JMSL, when I want to change the zoom of a score, I simply do > score.getLayoutManager.setZoom (or something along those lines). But > this functionality doesn't seem to exist in maxscore, at least from > what I could find in the help patch. > > We need to do some extreme zooming-in on a score so it will be > readable at a distance; in fact, we want a single measure to take up > an entire laptop screen. > > So...any ideas on how to do that in MaxScore? I'm hoping we're missing > something obvious. > > Thanks, > --Jason > _______________________________________________ > jmsl mailing list > jmsl at music.columbia.edu > http://music.columbia.edu/mailman/listinfo/jmsl > From jmsl at music.columbia.edu Mon Oct 12 06:55:23 2009 From: jmsl at music.columbia.edu (Java Music Specification Language) Date: Mon, 12 Oct 2009 12:55:23 +0200 Subject: [jmsl] zooming in maxscore In-Reply-To: <4AD2ACD1.1000103@mail.rockefeller.edu> References: <20F06D56-58A3-4682-8373-49D6A90E304F@jasonfreeman.net> <4AD2ACD1.1000103@mail.rockefeller.edu> Message-ID: Hi Nick, Do you have the most recent version of the installer? There should be a setZoom message in the setup_score subpatch. Best, Georg On Oct 12, 2009, at 6:13 AM, Java Music Specification Language wrote: > Hi Jason > > MaxScore supports the setZoom message which ought to work for > you. When zoom=1.0 a measure of 4/4 takes up the full width of the > score > window > > Please let me know if this does indeed do what you need. > > Note to Georg and self: we should add setZoom to the Help patch > > Thanks > Nick > > Java Music Specification Language wrote: >> Nick: >> >> Quick question about MaxScore, which we're currently using with some >> software we're making to run some research experiments. (Yes, that's >> the license that was purchased by Ga Tech a few weeks ago...) >> >> In JMSL, when I want to change the zoom of a score, I simply do >> score.getLayoutManager.setZoom (or something along those lines). But >> this functionality doesn't seem to exist in maxscore, at least from >> what I could find in the help patch. >> >> We need to do some extreme zooming-in on a score so it will be >> readable at a distance; in fact, we want a single measure to take up >> an entire laptop screen. >> >> So...any ideas on how to do that in MaxScore? I'm hoping we're >> missing >> something obvious. >> >> Thanks, >> --Jason >> _______________________________________________ >> jmsl mailing list >> jmsl at music.columbia.edu >> http://music.columbia.edu/mailman/listinfo/jmsl >> > _______________________________________________ > jmsl mailing list > jmsl at music.columbia.edu > http://music.columbia.edu/mailman/listinfo/jmsl *************************************************** Phone: +49-40-428482-763 (w) +49-40-23517610 (h) +49-172-787-4214 (m) +49-40-428482-770 (f) e-mail: georg.hajdu at hfmt-hamburg.de e-mail: georghajdu at mac.com http://www.georghajdu.de/index.html http://www.quintet.net/ http://mmm.hfmt-hamburg.de **************************************************** From jmsl at music.columbia.edu Mon Oct 12 11:17:50 2009 From: jmsl at music.columbia.edu (Java Music Specification Language) Date: Mon, 12 Oct 2009 11:17:50 -0400 Subject: [jmsl] zooming in maxscore In-Reply-To: References: <20F06D56-58A3-4682-8373-49D6A90E304F@jasonfreeman.net> <4AD2ACD1.1000103@mail.rockefeller.edu> Message-ID: <399A2470-673D-41CC-AE68-F81C8BA4F7A7@jasonfreeman.net> Hmmm: I don't see setZoom in the help, and when I try it I get "com.algomusic.max.MaxScore doesn't understand setZoom". I reinstalled the latest version from your website just to be sure -- same problem. I tried to manually delete and reinstall maxscore -- I deleted jars from Cycling74/java/lib and the CYcling74/maxscorelib directory. (Not sure if there are other files elsewhere?) Reinstalled. Same problem. I'm looking in the max console, I see the version it lists is maxscore build 20081102. But the version I downloaded from the web site said March 2009. So...is there something else i need to do to purge the older version from my hard drive? Or is the wrong version up on the web site? Or am I being idiotic in some other way? Thanks, --Jason On Oct 12, 2009, at 6:55 AM, Java Music Specification Language wrote: > Hi Nick, > > Do you have the most recent version of the installer? There should be > a setZoom message in the setup_score subpatch. > > Best, > > Georg > > On Oct 12, 2009, at 6:13 AM, Java Music Specification Language wrote: > >> Hi Jason >> >> MaxScore supports the setZoom message which ought to work >> for >> you. When zoom=1.0 a measure of 4/4 takes up the full width of the >> score >> window >> >> Please let me know if this does indeed do what you need. >> >> Note to Georg and self: we should add setZoom to the Help patch >> >> Thanks >> Nick >> >> Java Music Specification Language wrote: >>> Nick: >>> >>> Quick question about MaxScore, which we're currently using with some >>> software we're making to run some research experiments. (Yes, that's >>> the license that was purchased by Ga Tech a few weeks ago...) >>> >>> In JMSL, when I want to change the zoom of a score, I simply do >>> score.getLayoutManager.setZoom (or something along those lines). But >>> this functionality doesn't seem to exist in maxscore, at least from >>> what I could find in the help patch. >>> >>> We need to do some extreme zooming-in on a score so it will be >>> readable at a distance; in fact, we want a single measure to take up >>> an entire laptop screen. >>> >>> So...any ideas on how to do that in MaxScore? I'm hoping we're >>> missing >>> something obvious. >>> >>> Thanks, >>> --Jason >>> _______________________________________________ >>> jmsl mailing list >>> jmsl at music.columbia.edu >>> http://music.columbia.edu/mailman/listinfo/jmsl >>> >> _______________________________________________ >> jmsl mailing list >> jmsl at music.columbia.edu >> http://music.columbia.edu/mailman/listinfo/jmsl > > *************************************************** > Phone: > +49-40-428482-763 (w) > +49-40-23517610 (h) > +49-172-787-4214 (m) > +49-40-428482-770 (f) > > e-mail: georg.hajdu at hfmt-hamburg.de > e-mail: georghajdu at mac.com > http://www.georghajdu.de/index.html > http://www.quintet.net/ > http://mmm.hfmt-hamburg.de > **************************************************** > > > _______________________________________________ > jmsl mailing list > jmsl at music.columbia.edu > http://music.columbia.edu/mailman/listinfo/jmsl From jmsl at music.columbia.edu Mon Oct 12 12:06:07 2009 From: jmsl at music.columbia.edu (Java Music Specification Language) Date: Mon, 12 Oct 2009 12:06:07 -0400 Subject: [jmsl] zooming in maxscore In-Reply-To: <399A2470-673D-41CC-AE68-F81C8BA4F7A7@jasonfreeman.net> References: <20F06D56-58A3-4682-8373-49D6A90E304F@jasonfreeman.net> <4AD2ACD1.1000103@mail.rockefeller.edu> <399A2470-673D-41CC-AE68-F81C8BA4F7A7@jasonfreeman.net> Message-ID: <4AD353EF.40504@mail.rockefeller.edu> Sorry for the trouble Jason. Looks like setZoom postdated official releases. I will send you a release off-list and once you verify it works, I will wrap it up and release a new one thanks Nick Java Music Specification Language wrote: > Hmmm: > > I don't see setZoom in the help, and when I try it I get > "com.algomusic.max.MaxScore doesn't understand setZoom". > > I reinstalled the latest version from your website just to be sure -- > same problem. > > I tried to manually delete and reinstall maxscore -- I deleted jars > from Cycling74/java/lib and the CYcling74/maxscorelib directory. (Not > sure if there are other files elsewhere?) Reinstalled. Same problem. > > I'm looking in the max console, I see the version it lists is maxscore > build 20081102. But the version I downloaded from the web site said > March 2009. > > So...is there something else i need to do to purge the older version > from my hard drive? Or is the wrong version up on the web site? Or am > I being idiotic in some other way? > > Thanks, > --Jason > > On Oct 12, 2009, at 6:55 AM, Java Music Specification Language wrote: > > >> Hi Nick, >> >> Do you have the most recent version of the installer? There should be >> a setZoom message in the setup_score subpatch. >> >> Best, >> >> Georg >> >> On Oct 12, 2009, at 6:13 AM, Java Music Specification Language wrote: >> >> >>> Hi Jason >>> >>> MaxScore supports the setZoom message which ought to work >>> for >>> you. When zoom=1.0 a measure of 4/4 takes up the full width of the >>> score >>> window >>> >>> Please let me know if this does indeed do what you need. >>> >>> Note to Georg and self: we should add setZoom to the Help patch >>> >>> Thanks >>> Nick >>> >>> Java Music Specification Language wrote: >>> >>>> Nick: >>>> >>>> Quick question about MaxScore, which we're currently using with some >>>> software we're making to run some research experiments. (Yes, that's >>>> the license that was purchased by Ga Tech a few weeks ago...) >>>> >>>> In JMSL, when I want to change the zoom of a score, I simply do >>>> score.getLayoutManager.setZoom (or something along those lines). But >>>> this functionality doesn't seem to exist in maxscore, at least from >>>> what I could find in the help patch. >>>> >>>> We need to do some extreme zooming-in on a score so it will be >>>> readable at a distance; in fact, we want a single measure to take up >>>> an entire laptop screen. >>>> >>>> So...any ideas on how to do that in MaxScore? I'm hoping we're >>>> missing >>>> something obvious. >>>> >>>> Thanks, >>>> --Jason >>>> _______________________________________________ >>>> jmsl mailing list >>>> jmsl at music.columbia.edu >>>> http://music.columbia.edu/mailman/listinfo/jmsl >>>> >>>> >>> _______________________________________________ >>> jmsl mailing list >>> jmsl at music.columbia.edu >>> http://music.columbia.edu/mailman/listinfo/jmsl >>> >> *************************************************** >> Phone: >> +49-40-428482-763 (w) >> +49-40-23517610 (h) >> +49-172-787-4214 (m) >> +49-40-428482-770 (f) >> >> e-mail: georg.hajdu at hfmt-hamburg.de >> e-mail: georghajdu at mac.com >> http://www.georghajdu.de/index.html >> http://www.quintet.net/ >> http://mmm.hfmt-hamburg.de >> **************************************************** >> >> >> _______________________________________________ >> jmsl mailing list >> jmsl at music.columbia.edu >> http://music.columbia.edu/mailman/listinfo/jmsl >> > > _______________________________________________ > jmsl mailing list > jmsl at music.columbia.edu > http://music.columbia.edu/mailman/listinfo/jmsl > From jmsl at music.columbia.edu Sat Oct 17 22:21:24 2009 From: jmsl at music.columbia.edu (Java Music Specification Language) Date: Sat, 17 Oct 2009 22:21:24 -0400 Subject: [jmsl] Fear Grinders, Ride! Message-ID: <4ADA7BA4.1060807@mail.rockefeller.edu> Hello JMSL'ers I've got a new double band that's premiering Sunday night Oct 18 at The Stone in NYC If you come and look closely you'll see our parts were printed directly from JMSL (without Lilypond or Finale conversion) and you'll see the beautiful Sonata font and yes, even grace notes on the printed page (two of JMSL's latest developments!) Hope you'll come if you're in the NYC area, or tell someone who is nearby. Details follow: Fear Grinders, Ride! is a new double band with Pete Buettner and Don Davis on saxes, Kevin Norton and Keith Abrams on drums, Steve Rust and Jesse Krakow on bass, and Nick Didkovsky on electric guitar. Hope to see you at The Stone (corner of 2nd St and Ave C) Sunday evening Oct 18 at 8pm! Thanks Nick Didkovsky