Transformer object problem

Hi, my first post!
I'm using a transformer-object in the environment to transpose
some incoming midi-notes in real time.
This works so far, but somehow, all the notes that are played, 'hang'
for some reason, like no 'note-off' command is been given.
Also, when a note is triggered, a second note is triggered at release and
being displayed in the matrix-editor.
Is there anyone who can help me out?
I'm stuck!

You can transpose incoming data using the playback parameters box by deselecting all regions to display the parameters for the MIDI thru and setting a transpose value. Might be less buggy.

Similar Messages

  • Transformer object- fix note problem

    Hi, my first post!
    I'm using a transformer-object in the environment to transpose
    some incoming midi-notes in real time.
    This works so far, but somehow, all the notes that are played, 'hang'
    for some reason, like no 'note-off' command is been given.
    Also, when a note is triggered, a second note is triggered at release and
    being displayed in the matrix-editor.
    Is there anyone who can help me out?
    I'm stuck!

    How I'd probably tackle it is to filter out all the note offs from the input stream first, do my processing to modify/transform whatever notes etc I needed, and add back in the necessary noteoffs when I finally pass the converted notes to the instrument - this won't in general be a problem with drum voices because they largely ignore note-offs anyway, as drum voices don't generally respond to gate time.
    That way I know I always have a matching note-off following a note, and it's easier than trying to process the note-offs separately to match your note on processing, and keep everything in sync.
    To generate note offs for a note on event, pass your modified note-on only MIDI stream to a final transformer, and the use "copy matching events" in whichever order you need, leaving the note pitch to THRU, and setting the velocity to zero, so every incoming note will pass through the transformer, followed by it's associated transformed note off.
    If you have problems setting this up, post back and I'll take a look...
    Edit: Hmm, transformers won't let you fix a note velocity to zero, at least in LP8. That's annoying.
    I know I've done stuff like this before - I need to wait until I've got some clear head time to look at this... I think I ended up converting notes into other data types before converting them back into notes, specifically to break Logic's attempt at handling notes atomically, but can't remember offhand...

  • [svn:fx-trunk] 10229: Fixes for some transform effects problems.

    Revision: 10229
    Author:   [email protected]
    Date:     2009-09-14 08:43:43 -0700 (Mon, 14 Sep 2009)
    Log Message:
    Fixes for some transform effects problems.
    - We were not animating the postLayout properties in some cases where we should have, effectively pinning the object in place. We now animate those properties whenever applyChangesPostLayout is true.
    - A copy/paste error meant that we did not animate the scaleZ property in cases where we should have.
    - A problem in the transform code means that using a null transform center is not the same as a transform center which uses the transformX/Y/Z properties of the target object. We now force the creation/use of a transform center in all cases to avoid that problem.
    QE notes: This breaks about a dozen tests in the transform effects area, but I believe the new results are correct and the tests/bitmaps should be changed.
    Doc notes: None
    Bugs: sdk-23177
    Reviewer: Hans
    Tests run: checkintests, Mustella transform effects
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/sdk-23177
    Modified Paths:
        flex/sdk/trunk/frameworks/projects/spark/src/spark/effects/AnimateTransform.as

  • MIDI Transformer Object

    Is it possible to have the transformer object in the environment combine a note and a MIDI CC value and output different notes depending on the range that the CC value falls into? I'm trying to convert the hi-hat output from my V-drums into several different notes. Hitting the hi-hat pad produces the note A#2 and moving the pedal up or down generates data on CC#4 (in order to gradually progress from open hi-hat to closed hi-hat.) Superior Drummer and other plugins support hi-hat CC data out of the box, but I want to use Addictive Drums which doesn't support this. Basically, I want to implement some simple if statements. So for example:
    - IF incoming note = A#2 and CC#4 is between 1 and 30, output note X
    - IF incoming note = A#2 and CC#4 is between 31 and 60, output note Y
    and so on...
    Is it possible to do this in Logic? If it can't be done with out of the box environment objects, is there any way to program objects for Logic, or MIDI plugins? I have plenty of programming experience but haven't been able to find much on extending Logic with MIDI plugins.

    Again, the answer is yes. Unfortunately, as far as I know, you can't do this in one operation.
    IF incoming note = A#2 and CC#4 is between 1 and 30, output note X
    IF incoming note = A#2 and CC#4 is between 31 and 60, output note Y
    Will have to be done along these lines.
    transformer 1: Status = Note: Pitch = A#2: Mode = Condition splitter(True -> top cable)
    top cable to transformer 2
    transformer 2: Status = Control: Data Byte 1 >= 30 (whichever > means less than; (it's late)): Mode = Condition splitter(True -> top cable)
    send the lower cable from transformer 2 to transformer 3
    set transformer 3 as for transformer 2 except Data Byte 1 >=60
    You could end up with quite a complex chain of transformers. Don't worry; if they are set up correctly, they will do what you want with little or no latency.
    I have used these type of commands combined with delays to create a complete arrangement for piano, synths, bass & drums from a single note. It was an interesting exercise.
    I hope this makes sense & that it helps you sort out your problem.

  • Adobe Forms Error Message 'Error when transforming object data'

    Hi,
      When i tried to save(Adobe Forms) after making changes in Layout its giving an error message 'Error when transforming object data' and takes me out of the transaction. How do i solve this ? Can anyone help me out.
    Thanks and Regards,
    Franklin.

    hi
      I have the same problem , plz help me out
    thanks

  • Transformer serialize problem

    Hello
    I have a Java application which has a little method to serialize a javax.xml.transform.Transformer into a byte[].
    Here is the method:
    Object obj = transformer; 
    ByteArrayOutputStream bos = new ByteArrayOutputStream() ; 
    ObjectOutput out = new ObjectOutputStream(bos); 
    out.writeObject(obj); 
    out.close(); 
    // Get the bytes of the serialized object 
    byte[] buf = bos.toByteArray(); 
    ...  However, I am getting the following error:
    java.io.NotSerializableException: net.sf.saxon.Controller
    at java.io.ObjectOutputStream.writeObject0(Unknown Source)
    at java.io.ObjectOutputStream.writeObject(Unknown Source)
    at .processing.transform.cache.CacheTransformers.addTransformer(CacheTransformers.java:62)
    How can I solve the problem? Is there any other way to serialize a javax.xml.transform.Transformer object?
    Thanks
    Regards

    Thanks for your reply.
    My main concern is, as you guess, the performance.
    When I create the transformer
        Transformer foTrans = tFactoryXML2FO.newTransformer(streamSource);
      where "streamSource" is a StreamSource object with my XSLT, the time taken just for this line is more or less 8 seconds (which its a lot).
    So, to try, reduce the time taken, I have tried several approaches. One of them is using Caching. For caching, I searched over the Internet and I found Apache JSC. I tried it but I got an error :
    "java.io.NotSerializableException: net.sf.saxon.Controller"
    This error happens when I try to write the Transformer object into an ObjectOutput (line ***):
           ByteArrayOutputStream bos = new ByteArrayOutputStream() ;
           ObjectOutput out = new ObjectOutputStream(bos);
           out.writeObject(transformer); (***)
           out.close();
         // Get the bytes of the serialized object
         byte[] buf = bos.toByteArray();
            cache.put(key, buf);
            ....Did you understood my problem?
    Thanks again

  • Error creating transformer object after server up for 2-3 days

    Our application performs various XSL Transformations and as such it needs to create Transformer objects to perform the transformations. All works fine for several days (usually 2-3 days) then we begin to receive this exception:
    {color:#0000ff}java.lang.ArrayIndexOutOfBoundsException: 5
    at net.sf.saxon.om.NamespaceIterator.getInScopeNamespaceCodes(NamespaceIterator.java:288)
    at net.sf.saxon.tree.ElementImpl.getInScopeNamespaceCodes(ElementImpl.java:670)
    at net.sf.saxon.style.LiteralResultElement.validate(LiteralResultElement.java:200)
    at net.sf.saxon.style.StyleElement.validateSubtree(StyleElement.java:1234)
    at net.sf.saxon.style.StyleElement.validateChildren(StyleElement.java:1263)
    at net.sf.saxon.style.StyleElement.validateSubtree(StyleElement.java:1238)
    at net.sf.saxon.style.StyleElement.validateChildren(StyleElement.java:1263)
    at net.sf.saxon.style.StyleElement.validateSubtree(StyleElement.java:1238)
    at net.sf.saxon.style.XSLStylesheet.preprocess(XSLStylesheet.java:705)
    at net.sf.saxon.PreparedStylesheet.setStylesheetDocument(PreparedStylesheet.java:331)
    at net.sf.saxon.PreparedStylesheet.prepare(PreparedStylesheet.java:163)
    at net.sf.saxon.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:139)
    at weblogic.xml.jaxp.RegistryTransformerFactory.newTemplates(RegistryTransformerFactory.java:173)
    {color:#000000}It's a very odd problem. It doesn't seem to be an issue with memory as there is memory free and some XSL transformations still work okay. There doesn't seem to be an issue with any particular style sheet, it rather random. Once a style sheet starts to fail, it doesn't ever work. If I restart the application server everything is back to normal.
    {color}
    We use Saxon9 and we use WebLogic's XML Registry to configure our XML/XSL implementing classes. Here is what that looks like:
    Name:SAXON
    Document Builder Factory:weblogic.apache.xerces.jaxp.DocumentBuilderFactoryImpl
    SAX Parser Factory:com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl
    Transformer Factory:net.sf.saxon.TransformerFactoryImpl
    When To Cache:cache-never
    Here is our WebLogic Information:
    WebLogic Version:WebLogic Server Temporary Patch for CR328282 Thu Nov 08 13:39:13 EST 2007 WebLogic Server Temporary Patch for CR345092 Wed Oct 24 10:56:58 IST 2007 WebLogic Server 9.2 MP2 Mon Jun 25 01:32:01 EDT 2007 952826
    Java Vendor:BEA Systems, Inc.
    Java Version:1.5.0_10
    OSName:Linux
    OSVersion:2.6.9-78.0.8.ELsmp
    {color:#000000}We upgraded from saxon8 to saxon9 in the hopes of resolving this issue, but we still get the same error message.
    {color}
    {color:#000000}I'm wondering if something is going on with WebLogic's XML Registry?
    I've tried to cause this problem to occurr by stress testing the application, but no such luck yet.
    Any ideas?
    Thanks!
    Paul{color}
    {color}

    We are facing a very similar issue. The ditto configuration and the same issue. This issue disappears when we recycle the weblogic.
    Can anybody give me a reply if this issue was sorted out? Any help would be appreciated. Incase if this issue was solved somewhere in threads, please give me an idea. Thank you in advance.
    Regards!!
    Jai

  • Cropping of excess transformed objects

    My problem is as follows:
    I have created a series of circles starting with a base circle then using two transform operations -- one to copy it down then another to copy the whole set across.  So that leaves me with a grid of circles.
    I have created an irregular clipping mask to restrict the circles to within the area of the clipping mask (blue sploosh)
    Everything looks fine in illustrator.  I have included a snapshot here with the clipping mask released so that you can see the objects being worked with.
    The problem comes in when I go to copy & past that artwork into photoshop.  What I get is the full spread of (clipped) circles which messes up sizing inside photoshop.  The clipping mask hid the excess circles but it did not get rid of them.  I have further tried using the pathfinder crop tool but that doesn't seem to work with transformed objects.  Does anyone have any suggestions as to how I can get rid of the spare inner circles so they are really gone and not simply hidden by the clip mask?

    @Jacob
    Thanks.  That was helpful in that it was the first time I've seen anything which was actually able to destructively get rid of the spares. The downside is that for reasons unknown the "blueness" from the sploosh underneath was removed... or more accurately, the it put a white background underneath the clipped circles.  If I turn off the circles group then the sploosh is visible underneath.  I fooled around with other options on the Object -> Flatten Transparency dialog and found I got more pleasing results by enabling Preserve Alpha Transparency but the things like the drop shadow just turned awful.  I'd be way better off to just manually drag circles around. 
    That, at least, gave me SOME Illustrator operation that had some effect on the extra circles created by Effect -> Distort & Transform -> Transform option
    As you can probably tell, I'm a photoshop guy struggling to learn Illustrator.  I find myself partly awed at some of the things it can do and greatly annoyed at silly things like this (and don't even get me started on how awful the bevel options are in Illustrator vs. photoshop LOL).
    At least for the short-term I have a working vector image.  I can pull it into photoshop, rasterize it, then get rid of the spare bits... or simply ignore them since they are invisible.

  • Is there a graphics program (such as Photoshop) that works on the iPad ? I need to warp, skew, transform objects. Any advice?

    I need to warp, skew and transform objects. Need advice .

    http://www.macstories.net/reviews/adobe-photoshop-touch/
    https://itunes.apple.com/us/app/adobe-photoshop-touch/id495716481?mt=8
     Cheers, Tom

  • Error when transforming object data HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi
    I am running on NW04s. Working on WD for ABAP Interactive forms. whenever I open the Adobe editor thru SFP or Se80,  the editor opens up and I am able to do my operations. The moement I hit back button/Save or any other action which involves coming out of the adobe editor, it throws me an Fatal error - <b>Error when transforming object data</b>. I find that in most of the threads there are similar issues which are still open. Any Help would be appreciated.
    I have installed ADLC 7.1, xACF04s.
    Murali.

    I did the same installation on another PC, and to my suprise it works fine. Looks very strange

  • How to keyframe 3D transform objects in Motion

    hello,
    i cant seem to find how to keyframe a 3d transform object in my project?
    i have a text object that id like to spin in 3d but i cant seem to find where to keyframe in the inspector or timeline...
    thanks!
    steven

    hi,
    I dont want to appear rude but have you looked in the manual under keyframes?
    If you highlight the text object ( maybe better the layer its in in case you want to add more text later),
    and hope over to the inspector you can click on the triangle next to the rotation parameter to show all three degrees of rotation. You can add keyframes by clicking the contextual manual to the right of the parameter or by turning on the big red button and manually moving the object.
    Or instead of keyframing you could add a spin behaviour to the object.
    hth
    adam

  • Transformation Mapping Problem.

    Dear BI Experts,
    In 0FIAR_O03 to 0FIAR_C03 transformation mapping between 0DOC_DATE to 0CLAMONTH getting below error.
    Rule 58 (target field: 0CALMONTH, group: Standard Group): Info Object properties 0CALMONTH
    Message no. RSTRAN525
    Diagnosis
    The properties of the Info Object selected, 0CALMONTH, do not match the properties of the available source field.
    But in 3.5 update rule we are not getting any error. How to overcome transformation problem?
    And in 0FIAP_O03 to 0FIAP_C03 transformation 0DOC_DATE to 0CLAMONTH mapping done successfully.
    Getting data also.
    Why problem in 0FIAR transformation?
    Please give any solution.
    Regards
    Ramu

    Hi
    Is there is any routine was involved in that transformation , may it was stopping  to see the actual data, or some time when you migrate from 3.x flow to bi 7.0 flow you will face the transformation ask your abap guy to dedug the transformation so that you can easily now where the exact problem lies.
    Regards
    Madan Mohan

  • Smart Objects Problem : Templates : CS3 : WIN

    Hello,
    I am trying to create some reusable templates in Photoshop CS3 using Smart
    Objects. Basically I want to layout the page with some place-holder photos
    that are smart objects and then when I need to create a page simply load the
    template PSD, right-click on the smart object layer in the layers palette
    and choose replace contents. This seems to be possible and even works
    sometimes. However, a lot of times the size of the smart object images
    change.
    For example I could set a smart object place-holder image to be 4 x 6 -
    inches at 300 dpi, replace the image with another image and the size will
    then jump to some odd size. I even had it once go to 2 x 10 inches. I
    thought the whole point of smart objects was that I could replace the
    contents and it would be sized, etc. the same. Well that is one point of
    smart objects.
    Is there a bug? Could the fact that I have layer styles and rotation and
    resize transformations applied to the smart object be creating the problem?
    Any way around this?
    This is Photoshop CS3, Windows Vista, Quad Core Processor, 4GB of RAM, 8 TB
    of hard drive space.

    Are you perhaps changing the layer order, grouping or some clipping masks? As usual I'm not working with these features a lot and probably shouldn't advise ;-), but I could imagine that this would affect rasterization and how PS may want to update info that no longer is in the place where it expects... I'd also check the "Temp" directory (Documents and Settings\Rachael\Local Settings\Temp). Perhaps it's simply full and the programs are not able to update the temporary files.
    Mylenium

  • Moving scaled objects problem

    Hey Guys, hope all are having a great Summer!!
    My problem(s)...created a simple graphic, pencil & paint brush drawing (separate, not drawn together nor grouped together) to replace the 2 letter L's in "illustrator. Completed w/no problem, placed where I wanted to use them (a business card), but when I tried to move the word(in approx. 9 pt type) or scale larger I would get this warning... "Can't move the objects. The requested transformation would make some objects fall completely off the drawing area."
    note: drawings contain a couple of simple 2 color grad., scaling using the "shift>drag" method, also tried to "option>drag" to duplicate! What am I doing or did do wrong?
    Working on a mac PPC 2.0, 2gb ram, Illy CS2
    Thanks for any input! Les
    PS art board is 8.5x11

    OldBob, Thanks for the link!!!! cleaned up stray points regardless, zoomed out like suggested- had plenty of room on scratchboard, however when I selected my design (drawings & type(outlined of course)) I seemed to also select 2 of my guides (which even though locked persisted to select & move with my drawing!) Hit ungroup and the problems went away!!! Don't know really why this happened but well.. WE got it to work!! Thanks so very much for your fast reply!! Les

  • Transform objects on (de)serialization

    Hi,
    I would like to know if it is possible in principle to transform/mutate/repack an object to another object such that it belongs to a different class.
    Scenario: I want to pass a list of groovy objects POGOs to an applet. These groovy objects however have groovy.lang.GroovyObject as its root parent and not java.lang.Object. I don't want to have the applet load the whole groovy runtime and I want to avoid an extra repack step. So the idea is that the serialization (writeObject(), readObject()) does the magic of transforming the POGOs (Groovy) to POJOs (Java). Is that possible or are there some fundamental barriers?
    Thanks
    fatzopilot

    Hi ejp,
    thanks for the hints. I use writeReplace() {return new BrokerObject) in my class (which is serialzable and has a fixed UID) on the server-side to generate a broker object that then should be passed to the client. The broker object is defined in an external jar which is in the classpath of the client (javaFX) and server (groovy/grails) project. It is marked serializable and as well has a fixed UID. However, I get an
    {code}
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
         java.io.EOFException
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:173).
    on the client side.
    What puzzles me even more:
    When I usewriteReplace() {return this.toString())
    {code}
    I can receive the resulting String without problems on the client side.
    However, when I use
    writeReplace() {return new String(this))I also get the above error.
    It seems, there is some kind of incompatibility when a new Object is created. Any ideas?
    Cheers
    fatzopilot

Maybe you are looking for

  • No longer possible to save or print PDF files from browsers

    I am suddenly having a problem saving or printing PDF files from the browser, but it extends to all browsers in OS X. I can view the PDF normally but if I try to print as PDF all it shows is two black pages. Then if I try to save as a PDF it tells me

  • [Swing ADF] add a new row based on existing one

    Hi all, I start with ADF and here is my problem: In a swing ADF application, I'd like to allow user to create new records based on a record already present in the DB. The user selects a record in the data table and then push a button that fill in som

  • PowerPoint 2007 (Windows) to DVD via Keynote?

    HI.... I recently created a 245 slide presentation in PP 2007 for Windows. I need to convert the show to DVD, but now find that my options to do that are limited and the products on the market are not that great. Is there a way to import the WIN 2007

  • Can't Connect OD Replicas to Master anymore

    I was running an OD Master with 2 Replicas fine for quite some time, all running Server 10.4.6. I needed to change the IP address on one of the Replicas, changed the ip address in the Network pane, then ran the changeip script, but the next time the

  • Query read mode-Cache mode

    Hi, Can u explain me the functionalities of the options: A-Query to read all data at once X-Query to read data during navigation H-Query to read when u navigate or expand hierarchies I am not clear of the diff. bet. the X,H options.... <b>Cache Mode: