Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - Peter (aka Bootlebarth)

1
General Discussion / Re: Recovery after Windows10 issues
Thanks Richard. I did manage to dredge up a folder containing all the old update .exe files so starting from my CD from 2008 I have managed to work my way back to 2.75a.

I'd obvisously been more cautious than I remembered.  Memory is a fading aptitude for one advancing to the ineveitable...
2
General Discussion / Recovery after Windows10 issues
I have been a long time nwc user who lapsed for a while after jumping into Lilypond. I got as far as updating to 2.75 before my trials and tribulations with various Windows 10 OS issues.

After recent factory rebuilds I have been using nwc as an efficient way to generate scores to be titivated in Lilypond. The issue I have is that I have re-installed 2.75 from backups but there is no data to indicate I have a registered version that can be updated to 2.75a.

My records did not have the username /password for this forum but that has been restored via my email address.

I do have a record "access2004" associated with a passsword maybe this could be the missing link if so how do I reactivate my registration.

Thanks for reading this far....
3
General Discussion / Re: 2.5 update fails
Yes you are right on that one it fooled me for a while. I actually did the 1.75 to 2.0 to 2.1 to 2.5 series of upgrades on the laptop.

A transfer of the ini file from desktop (Vista Home Premium) to Laptop (XP pro) and the php files has restored my scripts.

I am 70 now and every year since I started messing with computers I say to myself record all the upgrades, mods, etc in the little red book so that you can recall what was done and where things were put and WHY!! But maybe next year........:)

I did once do so modular programming with extensive comment lines - changes and testing was a seamless operation - it works if you only do it!!
4
General Discussion / Re: 2.5 update fails
Thanks Lawrie and Rick. I will try Ricks method first. I have also lost most of my scripts I think it was a php upgrade that did the dirty but I should have some backups on my external hard drive - fingers crossed.
6
General Discussion / 2.5 update fails
I have updated to version 2.5 on my desktop but when I try the same on my laptop which reports version 2.1 I get an error message that the version is either corrupted or the files size is wrong. This is a problem since I now cannot edit files that have been saved on the desktop under version 2.5. Does anyone know how to correct this or will I have to go way back to my CD version and upgrade from there?
7
User Tools / Re: Bar Numbers
Well that worked a treat and I can add a test to only write every n bars. Thanks Rick. I will still look to see if it is possible to tweak the nwc bar numbering but fully expect to run into a cul-de-sac.
8
User Tools / Re: Bar Numbers
Many thanks Rick. I will see what I can do with the tip. As an infrequent dabbler into the wonderful world of php I usually flail around for a bit before getting things to "work".

I would love to see a detailed breakdown of nwc's variables and procedures as it is rather like shaking hands with a black box but I realise that is probably asking too much. If I had written the code I would be too busy improving it to write up a programmers manual and give away my secrets. Not a complaint just an idle wish.

NWC is great open source would make it a world beater.
9
User Tools / Bar Numbers
I have started to put several movements into one nwc file to simplify printing and save a bit of paper now that I have a printer that will print on both sides of the paper.

This means that bar numbers do not agree with printouts of individual movements and causes some debate amongst the group....

I have had a preliminary look to see how I could achieve equanimity and the barnumberdemo looks like a possible route to follow. However what I would really like to do is to reset the internal bar counter at say a double bar.

The bar number appears in a clip as a context object which seems to take a single value from the start of the clip. Is there any way that the bar count for each clip item can be retrieved and possibly re-set?

I suspect this may not be possible and would appreciate being put out of my misery at an early stage if I am barking up the wrong tree.

I continue to spread the word re NWC but it is surprising how people can be put off by the low cost prefering to pay seven or eight times as much for very (finale) little extra.
11
General Discussion / Sound Card for Vista?
I have been looking for a suitable sound card to improve the playback quality. I prepare scores for a small woodwind group and like to play along with NWC to explore the playability of the scores.

Many folks recommend the Creative Extreme Gamer card but many also caution against attempting to install it in a Vista system.

I have a Dell Dimension C521 with AMD Athlon 64 X2 DCP 4200+ 2.2GHz with 2 GB memory running 32 bit Vista Home Premium.

Since these cards are not cheap and compatibility issues abound can anyone recommend where I should go (steady on there) from practical experience.

I have played with a Garritan software trial which was incredible but way beyond my budget sadly.
12
User Tools / Re: adp_GlobalMod.php and accidentals
I have moved up to blundering amateur grade 1. The following script works for me. To adjust parts to within the compass of my amateur flautists. Slight mod $t=$m is tidier...sigh
Code: [Select · Download]
<?php
/*******************************************************************************
pjgFluteRange.php Version 1.00 based on nwsw_VarDump 1.5

This script will lower/raise notes by an octave until within a defined range
for the amateur flautists this is middle c to four leger lines above the treble clef

HISTORY:
================================================================================
[2010-03-11] Version 1.00: Write new values back to nwc2 taking account of all note
             attributes
*******************************************************************************/

require_once("lib/nwc2clips.inc");
$final_exit_value = NWC2RC_SUCCESS ;
$clip = new NWC2Clip('php://stdin');

echo $clip->GetClipHeader()."\n";

foreach ($clip->Items as $item) {
$o = new NWC2ClipItem($item,true);
if ($o->GetObjType() == "Note" && ($t =& $o->GetTaggedOpt("Pos"))) {
        // parse the pos option string
if (preg_match('/^([\#bnxv]{0,1})(\-{0,1}[0-9]+)([oxXz]{0,1})(\^{0,1})(\!{0,1}[0-9]{0,1})/',$t,$m)) {
//modify the note positions
while ($m[2]>13) {
$m[2]=$m[2]-7;  //reduce by 7s until crtieria reached
}
while ($m[2]<-6) {
$m[2]=$m[2]+7;  //increase by 7s until crtieria reached
}
}  // end or pregmatch
          $t=$m;
          }
          echo $o->ReconstructClipText()."\n";        
          unset($o);
         }
 echo NWC2_ENDCLIP."\n";
exit ($final_exit_value) ;
?>
13
User Tools / Re: adp_GlobalMod.php and accidentals
The slur can be treated as the accidental see the slightly tidied up clunky code bits
Code: [Select · Download]
			$optVal = rtrim($optVal) ;
$ModOptVal=$optVal;   \\new variable to hold stripped optVal
// is there a colour if so strip the colour code
   $pgiend = strpos($optVal,'!');
   if ($pgiend>0) $ModOptVal = substr($ModOptVal,0,$pgiend);
  // is there a slur if so strip the slur code
  $pgiend = strpos($optVal,'^');
                  if ($pgiend>0) $ModOptVal = substr($ModOptVal,0,$pgiend);
  // is there an accidental if so remove the accidental
$pgacclist = '\#bnxv';
if (strpbrk($pgacclist,substr($ModOptVal,0,1))) $ModOptVal = substr($ModOptVal,1);
\\ now check for a valid modification using the stripped optVal
switch ($comp)
{
case "<=" : if (!($ModOptVal <= $this->comparesTo[$opt])) return FALSE ; break ;
case "<"  : if (!($ModOptVal  < $this->comparesTo[$opt])) return FALSE ; break ;
case "==" : if (!($ModOptVal == $this->comparesTo[$opt])) return FALSE ; break ;
case ">=" : if (!($ModOptVal >= $this->comparesTo[$opt])) return FALSE ; break ;
case ">"  : if (!($ModOptVal  > $this->comparesTo[$opt])) return FALSE ; break ;
case "!=" : if (!($ModOptVal != $this->comparesTo[$opt])) return FALSE ; break ;
}
}
// well, it didn't disqualify itself, so I'd better return TRUE
return TRUE ;
.................
lines skipped
........................
switch ($this->GetAction())
{
case GM_DELETE: break ; // do nothing, as the action is to NOT PRINT
case GM_MOD:
$opts = gm_getTaggedOpt($this->ActionTarget,$o) ;
if ($opts === FALSE && !(in_array($this->ActionMod, array("+=", "-=")))) // if value doesn't exist, can't modify
{
inform("Couldn't perform ".$this->ActionTarget.$this->ActionMod.$this->ActionValue." in " . $o->ReconstructClipText()."\n");
break ;
}
if ($opts == FALSE) $opts = 0; // but we make an exception for += and -=, since 0 is often a default value for these

//is there a colour if so strip the colour code
                                $pgcolour = '';
                           $pgbcolour = FALSE;        
   $pgiend = strpos($opts,'!');
   if ($pgiend>0) 
   {
       $pgcolour = substr($opts,$pgiend+1);
           $opts = substr($opts,0,$pgiend);
           $pgbcolour = TRUE;
       }
  //is there a slur if so strip the slur code
                                $pgslur = '';
                                $pgbslur = FALSE;        
   $pgiend = strpos($opts,'^');
          if ($pgiend>0) 
        {
          $pgslur = substr($opts,$pgiend+1);
           $opts = substr($opts,0,$pgiend);
           $pgbslur = TRUE;
        }
        //is there an accidental if so remove the accidental
$pgacclist = '\#bnxv';
$pgbacc = FALSE;
$pgacc = '';
if (strpbrk($pgacclist,substr($opts,0,1)))
{
$pgacc = substr($opts,0,1);
$pgbacc = TRUE;
$opts = substr($opts,1);
}
          switch ($this->ActionMod) // now we can do the action
{
case "+=" : $opts += $this->ActionValue ; break ;
case "-=" : $opts -= $this->ActionValue ; break ;
case "*=" : $opts *= $this->ActionValue ; break ;
case "/=" : $opts /= $this->ActionValue ; break ;
}
$opts = (string) round($opts) ; // convert numbers back to string for correct interpretation by ReconstructClipText
if ($pgbacc) $opts = $pgacc.$opts;
if ($pgbcolour) $opts = $opts."!".$pgcolour;
if ($pgbslur) $opts= $opts."^";

gm_setTaggedOpt($this->ActionTarget,$o,$opts) ;
break ;
case GM_SET:
gm_setTaggedOpt($this->ActionTarget,$o,$this->ActionValue) ;
break ;
14
User Tools / adp_GlobalMod.php and accidentals
When trying to alter the pitch of notes (say outside a range) adp_GlobalMod behaves oddly when the note has an accidental. Instaed of lowering the pitch by say -7 it sets the Pos to -7.

Has anyone found a solution. I am struggling to learn php and understand how GlodalMod works if I find a solution before my brain fails I will post it.
16
Tips & Tricks / Re: Multiple measure rests
I think you misunderstood my query. I think I should keep my muliple rest bars but hide then when I insert a muli bar rest. I've never tried that before. I have a piece with several occurences of twenty bars rest in one part. I want to have a single muli bar rest in that part but have the bar numbers matching the other parts.
18
General Discussion / VSTSynthFont.dll
I have been using this plugin for a while - recently AVG has decided it is infected with SHeur2.YFN but that trojan horse is not in the AVG catalogue.

Is it a false positive or a real infection?

Now that AVG has cleaned this file up I cannot download it from www.synthfont.com as it no longer exists there.

but i can attempt to download from http://tinyurl.com/2rq3rh/VSTSynthFont.dll

but AVG cleans it up and refuses to let me save it, arghh.

I would value some guidance maybe update Lawrie Pardy's Help file??
20
General Discussion / MIDI import has key and time signatures in every bar
I have looked for this topic and hope it hasn't been raised before. I have imported from MID to nwc but am rather baulking at the effort of deleting the key and time sigs from each bar. Can I use a user script to do this or is there another way to manage the MID file import?
22
Tips & Tricks / Re: A VERY quick intro for getting started with VST - for dummies...
For what its worth I can get the thing to work if and only if
a) both VSTSynth and NWC2 are run in XP compatibility mode or
b) UAC is turned off.

The sound quality for reeds and flute (in available free fonts) is no better and arguably worse  than the standard MIDI instruments so its not worth the effort.
25
Tips & Tricks / Re: A VERY quick intro for getting started with VST - for dummies...
Yup just what I thought but the problem is the greyed out APPLY button. I just do not know what is actually "applied" and it works just fine at present. I suspect that the output is not actually selected (ie no feedback currently). I seem to be connected to the VSTHost via a piece of very frayed string!

Thanks for your assistance. There must be some issue with my Vista OS I have VSTHost running in XP compatibility mode with admin privs and currently UAC off. I have also upgraded the sigmatel driver.

26
Tips & Tricks / Re: A VERY quick intro for getting started with VST - for dummies...
Hi again

One small point worth noting in your notes is that in nwc ignore the intsrument menu and select the staff playback channel to be the one you want from your VSTSynth setup.

Yes I followed all as written with a wave device enabled. The results seem a tad random for instance I have once had sound from the VST Keyboard as expected for the font but when switched to nwc I get MIDI feedback. Switching back no more sound form the VST keyboard.

However now for no known reason it is working. With the following

nwc MIDI playback option - output to MIDI Yoke 1
staff prop out to MIDI Yoke 1
VST wave device Output MME Microsoft Sound Mapper
VST MIDI device - Input from MIDI yoke 1 - Output to MIDI Yoke 1
but all these VST MIDI windows have a greyed out APPLY button so it is far from clear what has been "applied"

I fear that on next start up sound will have vanished agin.
27
Tips & Tricks / Re: A VERY quick intro for getting started with VST - for dummies...
Hi Lawrie

Yes I'm learning slowly all these refs to synth and font etc without the background is somewhat confusing. As I am begining to grasp. The VSTHost application is code that together with a DLL in this case VSTSynth.dll can intrepret individual instrument font data in font files in this case sf2 files and pass the resulting output to a MIDI output device.

I am not sure of the format of sf2 files yet can you for instance input more than one into a synth.
Some confusion arises from the VSTHOST Plugin and Devices menus and the VSTSynth menu (mid row extreme right icon)for instance as regards MIDI data.

It is not clear to me what is selected, is it the highlighted item and which menu has preference or are they both windows on the same data.[glow=red,2,300]The Apply button is greyed out this may be a clue>[/glow]

I did once mange to get the blinking red light in the tiny tiny VSTSynth window (mid row extreme right mini icon) to dance but still no sound from nwc even though all MIDI refs were to MIDI Yoke 1. However today no dancing red light.

Where does the output from MIDI yoke 1 get sent to the sound device, sigmatel in my case?

I hope leading me by the nose through this will assist other MIDI virgins who use nwc to compose and print scores but would like better sound to persist to sucess.....or not....:)
28
Tips & Tricks / Re: A VERY quick intro for getting started with VST - for dummies...
Thanks for the new hint. I appreciate it and never mind going over things as many times as it takes.  However still no joy and at last count the little windows inside the main VST window has vanished.

I will try and put together more info and post it on a web site probably tomorrow now. Thanks again.
29
Tips & Tricks / Re: A VERY quick intro for getting started with VST - for dummies...
Lawrie

I have now completed all the steps, VSTHost is running but the only sounds I can get are using Microsoft GS Wavetable Synth.
I am still using the instrument selecetd from the predefined instrument list (clarinet). I suspect that I do not undestand something important in this MIDI application.
32
Tips & Tricks / Re: A VERY quick intro for getting started with VST - for dummies...
Lawrie

This looks like good information but when I try to install MidiYoke on Vista Home Premium via the add hardware control panel icon the installation fails after the oem.inf stage with a file not found message - oem.inf is found OK and the NT driver name appears but does not install. Can you offer any advice please?