Selecting every other note
Hi folks...
Is there a way to select every other note in a midi region? I know you can select sub positions etc but that won't work because it's a totally random midi sequence. There's hundreds of notes and I need to select either notes 1/3/5/7 (etc) or 2/4/6/8 (etc). Any ideas? I'm guessing if there is a way it onvolves some trickery...
Cheers
To select manually will take ages
You don't have to do it by hand. You can do it with an AppleScript, and the shareware program MidiKit. This is the AppleScript:
tell application "MidiKit"
activate
end tell
set x to 2
repeat 100 times
tell application "System Events" to key code 51
set x to x + 1
repeat x times
tell application "System Events" to key code 125
end repeat
end repeat
To use that, there are a few things you need to do. In System Preferences > Universal Access, turn on the checkbox for "Enable access for assistive devices."
You also need to make the AppleScript Script Menu visible in your menu bar. How to do this varies by OS version, but I think on 10.5 you need to launch AppleScript Utility (in /Applications/AppleScript) and activate "Show Script Menu in menu bar."
Once the Script Menu appears (near the other Menu Extras, like Airport and Date/Time), use this command on the Script Menu: Open Scripts Folder > Open User Scripts Folder. And then use this command on the Script Menu: Open AppleScript Editor.
You now have an Untitled document open in the AppleScript Editor. Paste in the script text from above, and save that script as a document in the folder you opened. That folder is this one:
Macintosh HD/Users/YourUserName/Library/Scripts
Give your script a helpful name, like "Delete alternate events." Your script will now be available on the Script Menu.
Download, install and launch MidiKit. Export your midi from Logic and open it in Midikit. Use the buttons in the MidiKit toolbar to hide all the events that aren't notes. Select the second note. Run the script by selecting it from the Script menu. It will take a while to run, but it will work. Save the midi in MidiKit and then drag that file back into Logic.
This could almost be done in the Logic Event List, without MidiKit, but it works better with MidiKit.
In the script, where it says "repeat 100 times," you need to edit that number to reflect the number of notes you intend to delete. You don't need to know the exact number, because it's OK if the number you enter exceeds the correct number.
Similar Messages
-
Is there a way to select every other page in a multi page pdf and convert it to grayscale?
I'm going to ask this question in a few sub-forums, so if you think you've seen it, you might have.
Where I work I use a program that can print to pdf. We use it to produce mailings, usually postcards, that are addressed.
I often end up with a 500 page document that will print on 250 sheets of cover stock, which will get cut into 1,000 postcard, all pre-addressed and sorted by zip code.
Usually, the address side is all black and the front is color. The printers we use can print a black click on the address side and a color click on the other, IF the pdf is set up that way. Otherwise, both sides will be counted as color clicks.
I know I can select pages individually in a pdf and convert them to grayscale and those pages will be counted by the printer as black clicks, which are cheaper than color clicks.
The problem is, I have not figured out how to convert all the odd numbered pages to grayscale at once. As a result, I usually end up printing the color side simplex, then putting the job back in the tray and printing the black side. Of course, that only works if only one side is personalized, sometimes both sides are.
Is there a way to select every other page in a pdf and convert it to grayscale?The Acrobat SDK has sample code that shows how to convert the colors for one page (the first page of a document). This sample can easily be adjusted to process every other page. You can then use an Action that executes this JavaScript to process the document. Do you know how to create an Action? If so, you can use this script (as I said, adapted from the sample in the SDK) to convert all odd pages (1, 3, 5, ...):
// Get a color convert action
var toGray = this.getColorConvertAction();
// Set up the action for a conversion to RGB
toGray.matchAttributesAny = -1;
toGray.matchSpaceTypeAny = ~toGray.constants.spaceFlags.AlternateSpace;
toGray.matchIntent = toGray.constants.renderingIntents.Any;
toGray.convertProfile = "Gray Gamma 1.8";
toGray.convertIntent = toGray.constants.renderingIntents.Document;
toGray.embed = true;
toGray.preserveBlack = false;
toGray.useBlackPointCompensation = true;
toGray.action = toGray.constants.actions.Convert;
// Convert every other page
for (var i=0; i<this.numPages; i++) {
console.println("Processing page " + i);
if (i % 2 == 0) { // change to "if (i % 2 != 0) {" for all even numbers
console.println("in page " + i);
console.println(this.colorConvertPage(i, [toGray], []));
As I've indicated in the code, you can change this to all even numbers by changing the == to != -
Is there a way to select every other page in a pdf and convert it to grayscale?
I'm going to ask this question in a few sub-forums, so if you think you've seen it, you might have. Someone suggested it might be done with Javascript. I know nothing about Javascript.
Where I work I use a program that can print to pdf. We use it to produce mailings, usually postcards, that are addressed.
I often end up with a 500 page document that will print on 250 sheets of cover stock, which will get cut into 1,000 postcard, all pre-addressed and sorted by zip code.
Usually, the address side is all black and the front is color. The printers we use can print a black click on the address side and a color click on the other, IF the pdf is set up that way. Otherwise, both sides will be counted as color clicks.
I know I can select pages individually in a pdf and convert them to grayscale and those pages will be counted by the printer as black clicks, which are cheaper than color clicks.
The problem is, I have not figured out how to convert all the odd numbered pages to grayscale at once. As a result, I usually end up printing the color side simplex, then putting the job back in the tray and printing the black side. Of course, that only works if only one side is personalized, sometimes both sides are.
Is there a way to select every other page in a pdf and convert it to grayscale?The Acrobat SDK has sample code that shows how to convert the colors for one page (the first page of a document). This sample can easily be adjusted to process every other page. You can then use an Action that executes this JavaScript to process the document. Do you know how to create an Action? If so, you can use this script (as I said, adapted from the sample in the SDK) to convert all odd pages (1, 3, 5, ...):
// Get a color convert action
var toGray = this.getColorConvertAction();
// Set up the action for a conversion to RGB
toGray.matchAttributesAny = -1;
toGray.matchSpaceTypeAny = ~toGray.constants.spaceFlags.AlternateSpace;
toGray.matchIntent = toGray.constants.renderingIntents.Any;
toGray.convertProfile = "Gray Gamma 1.8";
toGray.convertIntent = toGray.constants.renderingIntents.Document;
toGray.embed = true;
toGray.preserveBlack = false;
toGray.useBlackPointCompensation = true;
toGray.action = toGray.constants.actions.Convert;
// Convert every other page
for (var i=0; i<this.numPages; i++) {
console.println("Processing page " + i);
if (i % 2 == 0) { // change to "if (i % 2 != 0) {" for all even numbers
console.println("in page " + i);
console.println(this.colorConvertPage(i, [toGray], []));
As I've indicated in the code, you can change this to all even numbers by changing the == to != -
I want to change my primary e-mail address that I use with Apple ID - help guide says Select Edit next to “Apple ID and Primary Email Address.” But there is no 'edit' on that section there is on every other but not that one. Can anyone help?
You can create an alias @icloud.com email address within your current account that will receive email in your current iCloud inbox (see http://help.apple.com/icloud/#/mm6b1a490a). (@me.com addresses are no longer available as new addresses.) Just be aware that you cannot use an alias address later to create a new iCloud account or move it to a different account.
Also, even if you created a new iCloud account with a new ID, your existing purchases would not be lost. They are permanently tied to the original ID you used to purchase them. You can also continue to use the existing ID for the iTunes store; it does not need to be the same as the ID you use for iCloud. -
When will there be an update to give Iphone users the options to change there themes/skins and text design ?!! Every other smartphone brand had the feature why not iPhones ? Maybe this is why people are complaining that iPhones look boring !
send your feedback to apple here http://www.apple.com/feedback/
Leroyfromgb wrote:
When will there be an update to give Iphone users the options to change there themes/skins and text design ?!! Every other smartphone brand had the feature why not iPhones ? Maybe this is why people are complaining that iPhones look boring !
What people? I have no issue with IOS 7, neither do the 30 plus people at my work, who I suggested to update to ios 7.0.4, and these are people from the ages of 20+ to 60+.... -
Pdfs display fine in every other browser and on pc, just not in ie
Can't view PDF on the web
have done EVERY single thing on this page to no avail, pdfs display fine in every other browser and on pc, just not in ie
I have acrobat pro 11 and windows 8.1
have tried every help article on the internet I can find and still nothing...am probably going to have to get used to another browser, this issue has taken hours and hours and still cannot get it to workInstall the latest update of Reader or Acrobat (done, no effect)
Adobe releases free security updates quarterly. It is important to update your version of Reader or Acrobat to the latest release. The updates often include fixes to common problems. Download the latest free update:
Note: Microsoft Windows 7 requires Adobe Reader 9.2 or later.
1. Open Reader or Acrobat.
2. Choose Help > Check for Updates. If a new update is available, it installs automatically.
3. Once installed, restart your computer.
To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
Refresh or reload the page (done, no effect)
Often, just refreshing the page allows the PDF to load fully.
Hold down the Shift key and press the Refresh or Reload button in the browser.
Try to view a different PDF (done, no effect)
Try viewing a different PDF. For example, see if this sample form<http://help.adobe.com/en_US/Acrobat/9.0/Samples/flatform.pdf> displays in your browser.(DOES NOT OPEN) If Acrobat or Reader can open the sample form, then the other PDF could be damaged or the web server could be having problems. If possible, contact the individual or company who manages the website.
1. Try to view a PDF on your hard drive . (ALL PDFS OPEN ON HARD DRIVE)
To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
Problem with the browser or its settings?
Use a different web browser (Pdf'S open in alternate browsers)
Certain conditions on your computer, such as security settings or browser cookies, can prevent you from viewing a PDF. Often, the fastest solution is to try to open the page using a different browser. Try any of the following browsers that you have not already tried:
Mozilla Firefox<http://www.mozilla.com/firefox/>
Microsoft Internet Explorer<http://www.microsoft.com/windows/internet-explorer/default.aspx>
Apple Safari<http://www.apple.com/safari/download>
For a list of compatible browsers for Reader and Acrobat X, see this list of Compatible web browsers<http://helpx.adobe.com/acrobat/kb/compatible-web-browsers-pdfmaker-applications.html>.
Switch to Compatibility View (Internet Explorer) (done, no effect)
Some websites display better in the Compatibility View of Internet Explorer. The Compatibility View displays a page as if it was an earlier version of the browser. For instructions on how to switch to this view, see one of these documents on the Microsoft website:
Internet Explorer 9: How to use Compatibility View in Internet Explorer 9<http://windows.microsoft.com/en-us/windows7/How-to-use-Compatibility-View-in-Internet-Expl orer-9>
Internet Explorer 8: Why are some web pages blank or incorrectly displayed in Internet Explorer<http://windows.microsoft.com/en-US/windows7/webpages-look-incorrect-in-Internet-Explorer>.
Restart your computer and try opening the PDF again (done, no effect)
Restart your computer, then open the web page again. Restarting clears the computer memory and memory cache. It is surprising how often simply restarting your computer resolves a display issue.
Delete temporary Internet files (Internet Explorer, Firefox, and Chrome) (done, no effect)
Clear the browser cache (sometimes called 'temporary Internet files') to ensure that you are viewing a fresh version of the page. When you open a web page, the browser saves a temporary copy so that it opens more quickly next time. You want to force the browser to load the entire page directly from the server, rather than displaying a stored copy.
Reset the Display PDF In Browser preference (done, no effect)
1. In Reader or Acrobat, right-click the document window, and select Page Display Preferences.
2. From the list at left, select Internet.
3. Deselect Display PDF In Browser, and then click OK.
4. Choose Edit > Preferences > Internet, select Display PDF In Browser, and then click OK.
5. Try to open the PDF again from the website.
View PDF in 32-bit version of Internet Explorer or Safari (done, no effect)
Acrobat and Reader are 32-bit applications on Windows. If you try to open a PDF in a 64-bit version of Internet Explorer, the PDF opens in stand-alone Acrobat or Reader, not in Internet Explorer.
Remove DreamFactory (Firefox only) (done, no effect)
If you receive the error "Cannot use Adobe Reader to view PDFs in your web browser," do the following:
1. Choose Start > Run, type appwiz.cpl in the Open text box, and then click OK to open the Add Or Remove Programs dialog box.
2. Select Change Or Remove Programs in the Add Or Remove Programs dialog box, select DreamFactory Runtime for Netscape, Mozilla and Firefox, and click Change/Remove.
3. Click OK in the Remove Programs From Your Computer dialog box.
To the top<http://helpx.adobe.com/acrobat/kb/cant-view-pdf-web.html>
Problem with Reader or Acrobat?
Remove unmatched or multiple versions of Reader or Acrobat (already did this including running a cleaner from the Adobe site) (done, no effect)
Repair Reader or Acrobat (done, no effect)
Reader or Acrobat could be damaged. Repairing the installation is a quick troubleshooting safeguard.
Repair from within Reader or Acrobat (done, no effect)
(Reader) Choose Help > Repair Adobe Reader Installation.
(Acrobat) Choose Help > Repair Acrobat Installation.
Repair using Control Panel (Windows) (done, no effect)
You can also repair your Acrobat or Reader installation using the Windows Control Panel.
Enable the Adobe PDF browser add-on (Internet Explorer) (done, no effect)
Make sure that the Adobe PDF browser add-on, AdobePDF.dll, is enabled.
Run Acrobat or Reader in a new local administrator account (done, no effect)
Optimize large PDF files (not the problem)
If the PDF file is 4 MB or larger, ask the provider to optimize the PDF file. For information about optimizing PDF files, see
Check the registry path for Acrobat or Reader (Windows) (done, no effect)
Repair the HKCR\AcroExch.Document registry key (Windows) (done, no effect) -
I have a brand new dell server 2 netwrok cards. One WAN one LAN connected, each with its respective DNS server added to the card. In OWA the sent email shows in drafts, in outlook it shows in sent items, the user NEVER gets it, internally or externally.
i get all mail from the internet, exactly as expected no problem, all tests show this is working everything checks out fine, server runs great, full blown domain controller with exchange 2013 added. ONLY problem after the 9th install, is still the same, exchange
will NOT send email, everything else works perfectly event log looks great. I do see the DNS error where a DNS server on that network card is not responding crap, which is not true, internet works, al pages everything, NO firewall Bare connect while i get
it to work. I HAVE been over the forums for the last week, tried all done all. i am an MSCE, was an MCSE instructor for 10+ years, Exchange Administrator, Exchange instructor for years, so yea, i am not some newb who has no clue, this DOES NOT WORK. it
came at the CU1 level right out of the box, so i did not install and break it myself Microsoft is now selling this broken. Where do i go what do i do here. Like i said, every other aspect is in perfect order, Just email not sent, not showing in exchange tracking
logs, and that DNS error on the event log, and YES i made the send connector, and the 3 setting it asks, not like that could be wrong, i mean seriously you put in very little info, any wrong entry would be obvious to even a child. SO walk me through what is
going worng, as soon as this server sends an email, i am done building this domain, Please Help here.Performing Outbound SMTP Test
The outbound SMTP test was successful.
Additional Details
Elapsed Time: 18739 ms.
Test Steps
Attempting reverse DNS lookup for IP address xxx.xxx.xxx.148.
The Microsoft Connectivity Analyzer successfully resolved IP address xxx.xxx.xxx.148 via reverse DNS lookup.
Additional Details
The Microsoft Connectivity Analyzer resolved IP address xxx.xxx.xxx.148 to host wsip-xxx.xxx.xxx.148.ri.ri.cox.net.
Elapsed Time: 187 ms.
Performing Real-Time Black Hole List (RBL) Test
Your IP address wasn't found on any of the block lists selected.
Additional Details
Elapsed Time: 18453 ms.
Test Steps
Checking Block List "SpamHaus Block List (SBL)"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148 wasn't found on RBL.
Elapsed Time: 1050 ms.
Checking Block List "SpamHaus Exploits Block List (XBL)"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148 wasn't found on RBL.
Elapsed Time: 27 ms.
Checking Block List "SpamHaus Policy Block List (PBL)"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148 wasn't found on RBL.
Elapsed Time: 60 ms.
Checking Block List "SpamCop Block List"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148 wasn't found on RBL.
Elapsed Time: 90 ms.
Checking Block List "NJABL.ORG Block List"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148 wasn't found on RBL.
Elapsed Time: 8161 ms.
Checking Block List "SORBS Block List"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148 wasn't found on RBL.
Elapsed Time: 119 ms.
Checking Block List "MSRBL Combined Block List"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148 wasn't found on RBL.
Elapsed Time: 61 ms.
Checking Block List "UCEPROTECT Level 1 Block List"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148 wasn't found on RBL.
Elapsed Time: 63 ms.
Checking Block List "AHBL Block List"
The address isn't on the block list.
Additional Details
IP address xxx.xxx.xxx.148wasn't found on RBL.
Elapsed Time: 8818 ms.
Performing Sender ID validation.
Sender ID validation was performed successfully.
Additional Details
Elapsed Time: 97 ms.
Test Steps
Attempting to find the SPF record using a DNS TEXT record query.
The Microsoft Connectivity Analyzer wasn't able to find the SPF record.
Additional Details
No records were found.
Elapsed Time: 97 ms. -
touch screen does not work on my ipod when playing music on itunes, but works fine on every other thing on ipod, can anyone help or what is the cause
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Unsync all music and resync
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar -
I am using Illustrator CS5. I am using a certain font and when I make a selection to use one of the letter options or a glyph, it does not take my selection; in other words, nothing changes.
What font? What system? What Glyph? What language settings? Could be anything. Either way, ask in the AI forum. You'll get quicker answers there - if you provide all the required info.
Mylenium -
Animated gif files not working in FF5 ok in every other browser
Hi .
I am having problems getting animated gifs to play in firefox 5 i am using a photo gallery script to show these files it works in every other browser i have access to (most of them on Linux and windows Xp and win7 ) if i use FF5 as a file manager and navigate to the files they run but not from a web page this is only with firefox 4 and 5 not got previous to 4 to test .Right . this looks like it may be a problem with the way FF5 is handling various methods of viewing images i use the following code .
<pre><nowiki><a class="thumbnail" href="#thumb"><img src="photos/IMG_7039 EOS-1D Mark III copy.jpg" width="100px" height="75px" border="0"><span><img src="photos/Animations/IMG_7039 EOS-1D Mark III copy.gif"></span></a></nowiki></pre>
along with css .
<pre><nowiki>(
.gallerycontainer{
position: relative;
/*Add a height attribute and set to largest image's height to prevent overlaying*/
.thumbnail img{
border: 1px solid blue;
margin: 0 5px 5px 0;
.thumbnail:hover{
background-color: transparent;
.thumbnail:hover img{
border: 1px solid blue;
.thumbnail span{ /*CSS for enlarged image*/
position: fixed;
background-color: lightyellow;
padding: 5px;
left: -600px;
border: 1px dashed gray;
visibility: hidden;
color: black;
text-decoration: none;
.thumbnail span img{ /*CSS for enlarged image displays the large image*/
border-width: 4;
padding: 12px;
.thumbnail:hover span{ /*CSS for enlarged image*/
visibility: visible;
top: 0;
left: 230px; /*position where enlarged image should offset horizontally */
z-index: 50;
)</nowiki></pre>
to create the gallery now if i navigate directly to the dir with the gif images in they work ok but if i use the gallery method they fail .
Tried safe mode no addons no change .. -
I like and use Top Sites but it has become unsuable with this constant blacking out and reloading the thumbnails. My MBP has not seen a problem at all.
I have been searching every other day for over a month trying to find a fix in Windows Safari with no joy. I want to resolve, not switch browsers. Please offer up a solution that only refreshes the Top Site thumbnails once a day or as some controlable interval. Started about two versions ago, now on ver 5.1.5. Windows 7 64bit.
Safari 5.1.5 for Win64 bit, Windows 7!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!I think I solved the wifi connection problem, just by switching off completely the router! sounds trivial, but in this case it worked!!!
the funny behaviour of the trackpad/cursor still persists. any suggestion???
thanks again -
My wife's brand new iphone4 (which was a replacement for a 4month-old iphone4 with home button issues) is not recognized by itunes. Every other ios device on the computer/Apple ID in question is recognized and syncs perfectly. Any suggestions?
If the new phone has already been setup, make sure the phone and iTunes are both set to the same account.
You might also have to authorize this computer for the new device under the store menu. -
Using Mac OSX Install Disc 1, I am not able to get any further than the Partition tab. It allows me to select my hard drive selection, but will not allow me to make any other selections such as options. Does anyone know their way around this obstacle? Am I doing anything wrong? Thanks
Hello, The Hatter, I read about the 'trick' of backing up, erasing, and restoring too, but I figured it would take longer than defragmenting the disk.
But the defragmentation process has just finished! so I'm gonna try to run Boot Camp again soon!
Thanks for your helpfulness, anyway.
And P.S. I didn't clone my system onto the external drive, I just inserted the Mac OS X Install CD, rebooted holding down the "C" key, and installed a fresh Snow Leopard system onto the predetermined partition. I will use that in cases of emergency, when my main/internal system becomes unusable. -
The title kind of says it all. Every other time that I press the shortcut for onscreen keys, the selected track is muted. By that I mean if I press cmd+k it brings up the keyboard unmuted, then press cmd+k to get rid of it and it's still fine, but the next time I press cmd+k to bring the keyboard back up, the track is muted.
Only noticed this today, and don't know what I did. Please Help!Figured it out! On the menu bar I clicked Logic Pro X > Control Surfaces > Learn Assignment for "Mute", which meant that I Mute was the last command that I had clicked on. In the (No Zone) section, there was a Learned Assignment, and I simply clicked delete and it disappeared. Now everything is just fine.
-
I can go to every other website except for facebook. I try every other browser in my computer but the only thing I can see is HTTP 500 error and 404 Not Found. I tried clearing cache history and cookies, enabling cookies, checking my modem, make sure my firewall permits me to access this web and even pt 's' in front of 'http' but it still dosent work. I can go to facebook with my dad's laptop and my handphone but not with this computer, why?
== URL of affected sites ==
http://www.facebook.comProblem Resolved!
I found out that I had 'http' instead of 'httpd' in the statement where I
registered my servlet, SqlServlet.
Now, I am having difficulty with hot deployment. The server is returning
error 404.
Maybe you are looking for
-
Cisco VPN Client and Quick VPN interaction?
I have both a Cisco VPN client for connecting to my company LAN and a QuickVPN client for connecting to my home LAN installed on my W2K laptop. Both start and run correctly, and both connect just as they should. My home LAN uses a WRV54G router to
-
Before I updated the latest version of Firefox, every time the browser shuts down in error, I would get the System Restore feature which was really nice. Now, this no longer happens and when I went to configure this ability, it does not even provide
-
I did the software update on my iPhone4s.
I did the software update to 7.0 and now I can't sync it with my iTunes. I get sync failed. Help.
-
Cannot insert duplicate key in ddm.log
Hello, I have been noticing the below on many occasions: *** IF EXISTS (select ItemKey from DiscItemAgents where ItemKey = 278482 and DiscArchKey = 5 and AgentID = 15 and AgentSite = 'auto') update DiscItemAgents set AgentTime = '07/31/2014 16:26:11'
-
Playbook and Windows XP : Media Options are not available
Hi, hoping someone can help me as two lengthy calls to RIM have yielded no results. I am running Windows XP SP3 with spec well above the min requirements for Blackberry desktop software, of which I downloaded the latest version from RIM's site today.