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

Search:

Type: Posts; User: drjohn

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    17
    Views
    2,409

    Great project! Is this obligatory 3.6 or could I...

    Great project! Is this obligatory 3.6 or could I squeak by with a 3.5, perhaps with overclocking?
  2. Replies
    6
    Views
    299

    The slide pot IS the divider: at the middle...

    The slide pot IS the divider: at the middle there'd be 5K above and below the wiper.

    Having the pull-up on would add a third resistor and make it less than linear. that might be desirable in...
  3. Replies
    6
    Views
    249

    Having tried to make pinball machine flippers...

    Having tried to make pinball machine flippers with many speeds and torques of servo and failing, I feel a solenoid is likely the right path for percussion. They offer impressive speed and power, and...
  4. Replies
    3
    Views
    252

    Good points, Oddson. Additionally...Although I...

    Good points, Oddson. Additionally...Although I didn't try too many cards, speed is dependent on type of card...in the words of Paul, from https://forum.pjrc.com/threads/25557-polyphonic-audio-sampler
  5. Replies
    3
    Views
    252

    This may be pedantic, but...I'd use the SD card...

    This may be pedantic, but...I'd use the SD card slot on the 2.5 rather than the one on the audio shield because it has a wider/faster interface to the SD card, decreasing latency and increasing...
  6. Thread: Midi

    by drjohn
    Replies
    3
    Views
    390

    Since you have a Teensy 3.6, it can act as host. ...

    Since you have a Teensy 3.6, it can act as host. You might need a cable: https://www.pjrc.com/store/cable_usb_host_t36.html and the pins.

    This example code may help: ...
  7. Since you hit AudioMemoryUsageMax = 4 on the...

    Since you hit AudioMemoryUsageMax = 4 on the second screenshot, I'd up the allocation, since there's ample memory:

    // Always allocate memory for the audio shield!
    AudioMemory(8);

    Since you...
  8. Replies
    12
    Views
    1,547

    http://www.hobbytronics.co.uk/usb-host-mini is...

    http://www.hobbytronics.co.uk/usb-host-mini is another; mentioning it as a cheaper, smaller, and more plug-and-play option than the above shield.
  9. Replies
    8
    Views
    1,057

    By my recollection the Teensy 3.2 could play 3-4...

    By my recollection the Teensy 3.2 could play 3-4 samples from an SD card simultaneously before getting crackly about three years ago (caveats include very dependent on type of card, not using the...
  10. Replies
    30
    Views
    6,242

    David- I'd be interested to know more about...

    David-

    I'd be interested to know more about it. Are the general MIDI instruments from a chip like the VS1053 or SAM2195? Do you have any details on the synthesis engine? I'm all in favor of...
  11. Replies
    17
    Views
    5,350

    Sparx: Not sure if it's a quite a Vox, but the...

    Sparx: Not sure if it's a quite a Vox, but the "Transistor Orgel" part of the PropString build at the same site sounds pretty funky.

    http://bolltone.de/Projekte/PropString/PropStringUS.html
    ...
  12. Replies
    24
    Views
    6,187

    Explodey- I'm not an Ableton guy at all, but if...

    Explodey- I'm not an Ableton guy at all, but if you are having trouble with your note off messages you should be aware that there are two kinds: The official note off message and the sneaky "same...
  13. Replies
    1
    Views
    1,569

    Swiss Army Synth Audio Board?

    The stand alone audio board and the prop shield are great, but...I'd love it if there was a board that had support infrastructure for all manner of audio projects, whether they be CV based, stomp...
  14. Replies
    84
    Views
    47,299

    Sticky: Video of Audio Library and board course, with...

    Video of Audio Library and board course, with materials: https://forum.pjrc.com/threads/31591-Audio-Library-Tutorial
  15. Replies
    4
    Views
    2,129

    Very slick, pretty comprehensive, and demystified...

    Very slick, pretty comprehensive, and demystified a lot of things for me. Thanks!
  16. Replies
    62
    Views
    18,900

    For those wanting more examples of granular...

    For those wanting more examples of granular synthesis in a finished (and IMHO rad) product:

    http://www.bastl-instruments.com/instruments/microgranny/

    Oh look, there is well commented code! Not...
  17. Replies
    101
    Views
    31,268

    Can't wait to play with this! Eight seconds or...

    Can't wait to play with this! Eight seconds or so of sound to repeat/modulate is going to be great.

    I can infer what the six identical chips are. Is there a parts list somewhere indicating what...
  18. Replies
    26
    Views
    5,278

    OK, having gotten that out of the way...these are...

    OK, having gotten that out of the way...these are the steps I would take.

    For the USB in...you are going to need a little hardware to handle that MIDI in, for example: ...
  19. Replies
    26
    Views
    5,278

    Hi. If you are trying to make a 5 pin ("DIN")...

    Hi. If you are trying to make a 5 pin ("DIN") synth talk to the iPad, I honestly don't know why you are not at least trying one of these, even with the varied successes reported with iOS in the...
  20. Replies
    15
    Views
    3,289

    There is general concern about loops of wire...

    There is general concern about loops of wire having induced currents from the ever changing magnetic field. It's also a pretty heavy RF environment. You can't help the loops that are on the PCB, but...
  21. Replies
    8
    Views
    3,449

    It sounds like a fun project, but...It's still a...

    It sounds like a fun project, but...It's still a little unclear what you want to do.

    Are trying to make a recording of a whole drumming performance for playback? (combine them into one wav file)...
  22. Replies
    16
    Views
    5,052

    Well, if you don't want to DIY or wait for Mayhew...

    Well, if you don't want to DIY or wait for Mayhew to get them in stock, you can pick up these Cadillac models for $30 or so: ALPS Fader motorized RSAON11M9 touch sensitive 10K linear slide...
  23. Replies
    9
    Views
    3,819

    You are right, that page does not mention clock. ...

    You are right, that page does not mention clock. It can be a little confusing with THREE official arduino MIDI library versions, all kinds of hacked versions out there, and USB thrown in the mix.
    ...
  24. Replies
    9
    Views
    3,819

    OK you are in the right place, BUT have to...

    OK you are in the right place, BUT have to clarify a bit your exact layout and what you want it to do if you want specific help. Also at least give us a little source code (see message IN RED...
  25. Replies
    5
    Views
    2,444

    The "it depends" answer: it depends on what...

    The "it depends" answer: it depends on what effects you want to use and how many tracks you will be treating. Mono/stereo/bitrate play some role, too. SD card quality is an annoying confounder.
    ...
  26. Replies
    50
    Views
    22,535

    If you are going to go through all the effort to...

    If you are going to go through all the effort to start audio events with precision timing, you would be revered if you added hooks for sending MIDI events as well. It's not a lot of data: you have...
  27. Replies
    7
    Views
    2,952

    Sounds like....victory.

    A heartfelt thanks for the corrections, Nantonos! The residual skeletons from the "everything" version are now mostly exorcised. I have revised the code in the initial message to an actual working...
  28. Thread: Audio Library

    by drjohn
    Replies
    1,286
    Views
    474,792

    Never found them. I would throw arbitrary files...

    Never found them. I would throw arbitrary files names in there, but my head infers short with the S suffix'd one and medium length with the M.
  29. Replies
    7
    Views
    2,952

    partial victory

    One change was needed to get it to make a peep:


    if (SD.begin(10)) {
    waves[6]->play("A3.wav"); // there was no waves [7]
    waves[5]->play("C3.wav"); // single sounds can be...
  30. Thread: Audio Library

    by drjohn
    Replies
    1,286
    Views
    474,792

    There are the two files referenced in the...

    There are the two files referenced in the sd_speed_test.ino example that I can't seem to find...but maybe I'm not looking hard enough?:

    File f1 = SD.open("01_16S.WAV");
    File f2 =...
  31. Replies
    7
    Views
    2,952

    Teensytron (Audio Library Mellotron project)

    I'm building a sample player, mostly for classic Mellotron samples ( http://en.wikipedia.org/wiki/Mellotron ). USB (and eventually serial) MIDI note on and note off messages play (and stop playing)...
  32. Replies
    6
    Views
    3,966

    If you can modify the code using the regular...

    If you can modify the code using the regular softwareserial library to work (as detailed here: https://www.atlas-scientific.com/_files/code/Arduino-sample-code-EZ-COM.pdf ) I am not sure what else...
  33. Thread: Dead Link

    by drjohn
    Replies
    2
    Views
    1,463

    http://forum.pjrc.com/threads/24537-Footsy-Teensy-...

    http://forum.pjrc.com/threads/24537-Footsy-Teensy-2-based-MIDI-foot-pedal-controller

    says he mostly used Cunningham's code from Github

    wha-bam: https://github.com/unsymbol/teensy-midi
  34. Replies
    110
    Views
    53,743

    Disclaimer: I am only familiar with the site in...

    Disclaimer: I am only familiar with the site in relation to sound generation, but noted some discussion of Arduino servo library shortcomings and some higher level PPM and timer discussions. Being...
  35. Thread: Led fur coat

    by drjohn
    Replies
    36
    Views
    13,139

    I'm not versed in OctoWS2811-fu, but since (as...

    I'm not versed in OctoWS2811-fu, but since (as stated at the bidoulle link) the pattern repeats every 12 pi seconds, it seems that computing 12 pi seconds worth of frames out on your computer of...
  36. Instead of reinventing the keyboard, interposing...

    Instead of reinventing the keyboard, interposing a teensy between a keyboard and the computer as a PS2 Dvorak to USB keyboard translator might be easier, particularly if you get a keyboard with...
  37. Yes, the serial LCD should be compatible. The...

    Yes, the serial LCD should be compatible. The Adafruit serial LCD at the same size and price point has an RGB backlight, so you might want to check that out.

    I think the silence about the RGB...
  38. Replies
    3
    Views
    4,089

    For the switch reads, you could get away with...

    For the switch reads, you could get away with using elapsedmillis.

    Since you want to pump the clocks out at an accurate 24 pulses per quarter note no matter what, you could use the IntervalTimer...
  39. Replies
    6
    Views
    2,704

    Sounds like you are doing a hand-centric...

    Sounds like you are doing a hand-centric approach. Just the hand, or individual fingers?

    Alternately stated: how many notes, triggered how?

    There's a lot of interest in doing hand tracking...
  40. I'm not dissing PICs because that's what I...

    I'm not dissing PICs because that's what I started on, but there's a bit of a learning curve. I am sure you have your reasons. Back in the day it seemed you did get more for your buck in...
  41. Replies
    6
    Views
    3,192

    There is a library mentioned at the bottom of...

    There is a library mentioned at the bottom of this page that might be a starting point:
    http://playground.arduino.cc/ComponentLib/Ps2mouse

    "It can be used to act as a mouse or a keyboard."
    ...
  42. Since you mentioned Zeners, these guys seem to be...

    Since you mentioned Zeners, these guys seem to be doing their signal conditioning with just a single 1Mohm resistor and a 5.1V Zener to keep things from exceeding 5.1V: ...
  43. *** if you are triggering when you take your...

    *** if you are triggering when you take your finger off then you need to flip your piezo leads (or the piezo, if easier) and test things a bit more before you read on or try anything else. You could...
  44. I think what you have there is dang ol' pointers....

    I think what you have there is dang ol' pointers.

    http://arduino.cc/en/Reference/Pointer

    I steer clear of them unless they are (as in this case) coded by someone else...though everyone seems...
  45. I'm kinda sad don't know the tools you are...

    I'm kinda sad don't know the tools you are talking about, but on the Teensy side you might want to check out a similar project to bypass some of that trial and terror. Also: perhaps peruse the...
  46. OK, first things first--if you can borrow an...

    OK, first things first--if you can borrow an oscilloscope or make one of the sound card o-scopes, your life will be much easier doing any piezo work.

    You may find out:
    - that your problems are...
  47. no help; some links

    Needing $USBthing1 and $USBthing2 is a recurring thing. I would love to see a program with a radio button menu to add / subtract what peripherals you want the Teensy to have (perhaps with name...
  48. Replies
    7
    Views
    3,537

    For the LED: Pretty sure Ableton can send a MIDI...

    For the LED: Pretty sure Ableton can send a MIDI Note On back to the Teensy which you could use to turn on or off an LED (using the note velocity 0 for OFF, 1-127 for ON). Heck you could painlessly...
  49. Replies
    5
    Views
    4,853

    I understand them not coming with pin headers for...

    I understand them not coming with pin headers for the breadboard, but if it "...provides easy access to all Teensy 3.0 pins, including the less-accessible ones." does it include the somewhat unusual...
  50. Replies
    2
    Views
    6,114

    kudos

    Impressive work! I have been hoping that the Teensy 3.0 will make a fine brain for a small sound module and had been eyeing the preenfm code--though I'm not that big a fan of the clangy FM sound,...
Results 1 to 50 of 52
Page 1 of 2 1 2