Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: adrian

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Have a look at posts 14 to 16 in this thread:...

    Have a look at posts 14 to 16 in this thread: https://forum.pjrc.com/threads/34697-Midi-usb-raw-input-question-and-possible-bug-in-usb_midi-h
  2. I'm not quite sure what uniform-partitioned means...

    I'm not quite sure what uniform-partitioned means but the idea of operating on a single 128 block at a time seems like a much better idea than filling the buffer with 4 blocks. I guess shortening...
  3. Hmm... that's an 11 milisecond impulse...

    Hmm... that's an 11 milisecond impulse 513/44100???? I use redwire impulses (and kefir 2 vst) for all of my recording .... I'll have a look how long the impulses are... I had in my mind that they...
  4. awesome. congratulations! I will test when I...

    awesome. congratulations! I will test when I have time. I am guessing that the .wav file has to be exactly the right length for this to work?
  5. Hi midi serial to midi usb requires...

    Hi

    midi serial to midi usb requires repackaging, transcoding if you like. here is a thread with working code etc etc. for a 2 x 2 interface post 14 / 16
  6. Thread: lambdas

    by adrian
    Replies
    8
    Views
    1,534

    Thanks ...very interesting ... I will have to...

    Thanks ...very interesting ... I will have to digest. Thanks for the compiler flag help. very much appreciated. I'm not sure that virtual functions are flexible enough for what I am doing... I...
  7. Replies
    7
    Views
    2,035

    There you go ... no master...you need the right...

    There you go ... no master...you need the right nordic softdevice for master / central ... s120 ...certainly not impossible to put onto the feather, I am guessing, although maybe you have to use the...
  8. Replies
    7
    Views
    2,035

    I feel like a traitor .... there is an excellent...

    I feel like a traitor .... there is an excellent SAMD based solution from adafruit.... its called the feather M0 bluefruit LE or some such. Adafruit feathers and teensy's are close cousins ...Anyway...
  9. Replies
    7
    Views
    1,343

    dimitre yes you are right it always is on the...

    dimitre yes you are right it always is on the left side ... you have to factor in the front labelling versus the rear labelling difference between the pictures too .... ...I got confused... the...
  10. Replies
    4
    Views
    1,054

    elapsed millis is the way to go ... Also maybe...

    elapsed millis is the way to go ...

    Also maybe you could think about restructuring to use callbacks ...

    I guess button10.fallingEdge function returns true if there is a falling edge.

    Why...
  11. Replies
    7
    Views
    1,343

    I think it is the fact that the photograph is...

    I think it is the fact that the photograph is upside down and labelled from the front as compared to the schematic (which is looking from the back of the din socket.... positive is to the power...
  12. Thread: lambdas

    by adrian
    Replies
    8
    Views
    1,534

    Thought I'd post... you can't capture "this" in...

    Thought I'd post... you can't capture "this" in the lambda default parameter per se ... makes sense. But you can rearrange things ... I haven't tested this code, since I don't have a teensy at the...
  13. Thread: lambdas

    by adrian
    Replies
    8
    Views
    1,534

    Hey tni .... awesome help there buddy!! I...

    Hey tni .... awesome help there buddy!!

    I see what you mean about runtime vs compile time .... run time binding is what I need, to keep everything encapsulated how I want, as it turns out. ...
  14. Thread: lambdas

    by adrian
    Replies
    8
    Views
    1,534

    Thanks so much for this .... I'll digest ...I...

    Thanks so much for this .... I'll digest ...I can kind of see the difference between runtime and comiple time polymorphism, and I don't think it is anissue for my program. Thanks so much for...
  15. Thread: lambdas

    by adrian
    Replies
    8
    Views
    1,534

    thanks ....I have linked the library. When I...

    thanks ....I have linked the library. When I remove the declaration, I get "std::bad_function_call", as if the std::function is not capturing the target lambda. I can handle that exception easily...
  16. Thread: lambdas

    by adrian
    Replies
    8
    Views
    1,534

    lambdas

    Hello

    I have this strange error when compiling the following:


    #undef max
    #undef min
    #include <functional>

    bool rule0 (std::function<bool()> application = []() -> bool {return true;});
  17. Replies
    11
    Views
    2,505

    WOW! I remember hearing that chrome added midi...

    WOW! I remember hearing that chrome added midi hardware support like last year ... who knew it worked (badly)
  18. yes it is beta and not a complete implementation...

    yes it is beta and not a complete implementation of every call, according to the interweb....

    I use a rpi 2 headless, running raspberian and their lightdm display manager ... its rigged to use...
  19. it runs nice on a rpi 'desktop' environment, and...

    it runs nice on a rpi 'desktop' environment, and you can xming it over your lan from there I do that 'all the time'. I think Kurt E has done a similar thing ...chmod 755 should work?? that is...
  20. If teensyduino relies on anything in the "Linux...

    If teensyduino relies on anything in the "Linux install" that has not been nativised to a windows call by the subsystem, you will be shit out of luck. maybe that is what you are seeing? As you say...
  21. There are two separate things going on here .......

    There are two separate things going on here .... using X11's networking capability, and using a soft framebuffer and vnc.

    It seems a virtual machine would be a better option (you will have to...
  22. Replies
    14
    Views
    3,908

    This is very interesting .... thankyou for taking...

    This is very interesting .... thankyou for taking the time to look at this area of teensy programming .... is this primarily a function of fixed point maths? the teensy 3.6 is floating point I...
  23. would the Apollo AGC make a good midi controller?

    would the Apollo AGC make a good midi controller?
  24. Replies
    35
    Views
    8,703

    I reckon you would probably be alright with the...

    I reckon you would probably be alright with the LC, but you should buy an LC and a 3.2 .... having a spare teensy is a must, in my books, in case of accident. And that way you can test the...
  25. Replies
    124
    Views
    35,020

    you just got 3145 (in case you weren't watching...

    you just got 3145 (in case you weren't watching ....:D)
  26. Maybe you need to consider pullup resistors on...

    Maybe you need to consider pullup resistors on the i2c lines?? I think i2c on teensy requires that?
  27. You should rejoice!! those must be the keyboard...

    You should rejoice!! those must be the keyboard matrix mcus you identified earlier! I suppose you will be able to press a key and see what change in the i2c traffic occurs, maybe using an...
  28. looks like I'm the first to say ...THAT IS...

    looks like I'm the first to say ...THAT IS FREAKING AMAZING! ES INCREIBLE
  29. Replies
    124
    Views
    35,020

    @defragster .... the feeding of the 5000.

    @defragster .... the feeding of the 5000.
  30. Replies
    124
    Views
    35,020

    @MichaelMeissner I think of tee-shirts as...

    @MichaelMeissner I think of tee-shirts as clothing, and I want one.

    Give me a teensy tee-shirt now. in XL
  31. Replies
    124
    Views
    35,020

    I am going to spam until I get a tee-shirt.

    I am going to spam until I get a tee-shirt.
  32. Replies
    124
    Views
    35,020

    I want a tee-shirt now.

    I want a tee-shirt now.
  33. Replies
    124
    Views
    35,020

    give me a shirt and I will give you money

    give me a shirt and I will give you money
  34. Replies
    124
    Views
    35,020

    I want a tee-shirt

    I want a tee-shirt
  35. Replies
    33
    Views
    11,696

    Nice job !

    Nice job !
  36. Replies
    1
    Views
    838

    Stellar first post

    Stellar first post
  37. Replies
    4
    Views
    2,225

    Jimmy Hugh's method looks very stable ..it is a...

    Jimmy Hugh's method looks very stable ..it is a bit of work ... extracting pins from those header strips can be tricky, but if you get organised, it wouldn' be too hard
  38. Replies
    4
    Views
    2,225

    thanks ... will check it out edit: very cool...

    thanks ... will check it out

    edit: very cool ... perfect for breadboarding ... I guess you could use the teensy upside down to utilise those groovy underside rightangle headers, with female...
  39. Replies
    26
    Views
    10,832

    Nice ... thanks for sharing

    Nice ... thanks for sharing
  40. Replies
    12
    Views
    2,903

    Yes ... I was gently trying to get to this point!

    Yes ... I was gently trying to get to this point!
  41. Replies
    12
    Views
    2,903

    @MichaelMeissner ... the volatile keyword ... is...

    @MichaelMeissner ... the volatile keyword ... is it necessary if global variables are not used in an interrupt? I ask for my own information.

    OP
    How about this ...


    if (note < 60) {note =...
  42. Replies
    12
    Views
    2,903

    Glad you have worked it out .... be aware that...

    Glad you have worked it out .... be aware that anything but notes 67 - 60 will give an array out of bounds error and everything falls over ... the code is fragile ... funnily enough, I originally...
  43. Replies
    5
    Views
    2,017

    Hey I have a working usb_desc.h file here...

    Hey

    I have a working usb_desc.h file here for teensy 3.x
  44. Replies
    26
    Views
    10,832

    Interrupts with 'average' mechanical rotaries can...

    Interrupts with 'average' mechanical rotaries can do that. smoothing is good... ignore fast changes and only record an event if there is '4 in a row' or something like that
  45. I think this is a pretty good guess Sounds...

    I think this is a pretty good guess



    Sounds like a plan....!
  46. Yes, I didn't read it thoroughly enough

    Yes, I didn't read it thoroughly enough
  47. I am confused about the bus too ....the joys of...

    I am confused about the bus too ....the joys of reverse engineering ... I guess that it is serial!!! but even then I'm not sure! good luck!
  48. Replies
    12
    Views
    2,903

    how about something like this ..... it is...

    how about something like this ..... it is fragile, since it will only work properly if you have restricted midi input to notes 67 to 60. Note that elapsedMillis overflows after some days or...
  49. Replies
    26
    Views
    10,832

    Maybe try input pull-ups too, just to be safe......

    Maybe try input pull-ups too, just to be safe...

    And yeah the waveform of the encoder ... its the internal mechanics of the switch ...you kind of get the feel of two detents for one on some of the...
  50. Replies
    26
    Views
    10,832

    should have used my library :rolleyes:..... ...

    should have used my library :rolleyes:.....

    ... why not just Serial.println (myEnc.read()); see what you get.

    I think the encoder library just returns a count ....

    I have a 24 alps...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4