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

Search:

Type: Posts; User: Davidelvig

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    139

    I think I figured it out... With both Python...

    I think I figured it out...

    With both Python 2.7 ands 3.7 installed...
    Use pip2 install Sf2Utils
    instead of pip install Sf2Utils

    I have the decoder running!
  2. Replies
    1
    Views
    139

    Soundfont Decoder for Teensy

    I'd like to try this.
    I'm not able to get it to run after:
    - installing Python3 (3.7.3); and
    - sf2utils

    I'm on a Mac, OSX 10.14.5

    I've reviewed and followed:...
  3. Replies
    19
    Views
    1,099

    Just a thought... use small screws (bolts) and...

    Just a thought... use small screws (bolts) and nuts for my touch prototypes (see pics - for reference, the screw heads are 6.6mm wide)
    If you had a conductive paint, the heads could be painted...
  4. Replies
    19
    Views
    1,099

    Two things to try: 1 - lower MAX_FACTOR. The...

    Two things to try:

    1 - lower MAX_FACTOR. The default 1.3 factor is typical for sensing finger-to-metal light touch.

    The touch routines do sense proximity.

    Play with the touchablePin.read()...
  5. Replies
    19
    Views
    1,099

    That is a big chunk of code! Sounds like fun....

    That is a big chunk of code! Sounds like fun.
    Here's the touchablePin library I wrote based on Paul S's touchPin library in the standard Teensy code.
    Some documentation in the readme

    Place the...
  6. Replies
    19
    Views
    1,099

    I created an adaptation of the touch library for...

    I created an adaptation of the touch library for binary touch (touched or not)
    At startup (touchablePin object instantiation) I sample each pin, recording the untouched value for each pin.
    I then...
  7. @unicornpower, Thanks for this! Your first link...

    @unicornpower,
    Thanks for this!
    Your first link confirmed my findings (which was really helpful)
    ... and I had just found the second problem (unchangeable 1.2V on ADC_1), which your second link...
  8. Replies
    13
    Views
    2,565

    Thanks, @unicornpower! This work-around is...

    Thanks, @unicornpower!
    This work-around is beauteous and effective (though I wouldn't want to figure out how it works).
    Have you made a request to @pedvide to change the ADC side to make this...
  9. Replies
    242
    Views
    22,004

    I've found the topside capacitive touch pins...

    I've found the topside capacitive touch pins handy, and am using all that are spared by other protocols.
    Are Cap touch pins still in the mix? (more, less, the same?)
    How are those designated above?
  10. Thanks, @manitou. I'm familiar with Audio...

    Thanks, @manitou. I'm familiar with Audio library's competition with standard analogRead() methods.

    My sketch uses @pedvide's ADC library included with Teensyduino(#include <ADC.h>), which allows...
  11. Audio Library AudioInputAnalog conflict with ADC library?

    I recall encountering this before, but can't find the thread.

    Latest Arduino (1.8.5) and Teensyduino (1.4.2)
    Mac OSX
    Teensy 3.2
    1.2V output mic (Neutronned)
    simple blue pot
    external power in...
  12. Replies
    101
    Views
    28,962

    @natefp I'd check the frequency detection...

    @natefp

    I'd check the frequency detection ability at various block counts.
    At 8 blocks, I can get reliable pitch detection at 180Hz or more (male singling voice)
    I'll bet that fewer blocks leads...
  13. Replies
    101
    Views
    28,962

    I'd want to do a little cleanup before sharing....

    I'd want to do a little cleanup before sharing.
    Have you tried speeding up the YIN algorithm (the AudioAnalyzeNoteFrequency object in the Audio library) by changing the header file...
  14. Replies
    159
    Views
    38,503

    I'm going to cherish the few Neutronned mics I...

    I'm going to cherish the few Neutronned mics I have!
  15. My sketch will only be for a single string, and a...

    My sketch will only be for a single string, and a 150 LED string will be great fun.
    I think you'll have trouble with the OctoAdaptor (which uses many pins and ties most of the others to ground) and...
  16. Updated graphic. The signal line to the LEDs...

    Updated graphic. The signal line to the LEDs must use a Hardware Serial pin on the Teensy. I moved the yellow connector.
    13736
  17. OK, here's a simple LED project that works with...

    OK, here's a simple LED project that works with WS2812Serial and the Audio library
    My first attempt with Fritzing:
    13727
    Note there are two voltages represented in red:

    5V from the jumper into...
  18. @gavra, I'm happy to help. There a a few main...

    @gavra,
    I'm happy to help. There a a few main options that will affect your choices.
    Can you list your available parts?
    - Teensy ? version
    - LED lights - brand, technology (WS2812?), number of...
  19. WS2812Serial is much better for this...

    WS2812Serial is much better for this single-string project.
    Thanks, Paul & Michael.
    It's very easy using one LED control pin for a single string of 209 LEDs. All of the other pins are open for the...
  20. Power and Signal cable length in an LED project

    I have a project with:
    - an amplified microphone (from @Neutronned) on a bedside table next to a clock radio, along with some buttons to change LED pattern effects
    - LED's surrounding the bed's...
  21. Will do. I took the quick route and used: - a...

    Will do.
    I took the quick route and used:
    - a Teensy 3.2 with the USB power cut
    - a 5V, 8A power adaptor
    - a teensy audio shield, and the AudioInputI2S for an electret microphone
    - a teensy...
  22. Thanks! It's working!

    Thanks!
    It's working!
  23. OctoWS2811 LED Lib and Audio Lib - Freq/Amplitude driving LED color and brightness

    I'm picking up on Audio + LED strips because my 13 year old is bugging me for a cool led strip in her room... responsive to audio (amplitude and pitch). I offered this to her 2 years ago, but bailed...
  24. @oddson, the sieren/blidino...

    @oddson, the sieren/blidino parser you reference above looks like the right stuff, or related, anyway.

    I'm trying to wrap my head around the nRF52 SOC (the descendant of the vRF51 used in the Red...
  25. Replies
    43
    Views
    9,571

    I just launched an old Arduino installed from...

    I just launched an old Arduino installed from last year on my Windows 7 VM (Arduino 1.6.6, Teensyduino 1.26 on VMWare 10.1.1. on my Mac - High Sierra) and connected a USB port (screenshot), and it...
  26. Replies
    43
    Views
    9,571

    Woo Hoo! I added a new tab to my project in the...

    Woo Hoo!
    I added a new tab to my project in the Arduino IDE titled MIDI_Name.c... copied in the code, and Audacity on OSX now reports "My MIDI"
    Very cool!
  27. By the way, MIDI over BLE differs from MIDI over...

    By the way, MIDI over BLE differs from MIDI over USD in that a timecode is needed with each message using BLE. That helps the receiver to attempt to properly space received messages - even in the...
  28. I've started the journey to MIDI over BLE, using...

    I've started the journey to MIDI over BLE, using Nordic Semiconductor's nRF52... Dev Kit.
    It's daunting.
    I have a model use in a product called FreeDrum at https://www.freedrum.rocks, which...
  29. My projects - send MIDI using Teensy or serial...

    My projects
    - send MIDI using Teensy or serial
    - parse MIDI from MIDI files

    I've used the MIDI 1.0 spec from MIDI.org - https://www.midi.org/specifications/item/the-midi-1-0-specification
    I've...
  30. Thanks, Pedvide So, PDB has nothing to do with...

    Thanks, Pedvide
    So, PDB has nothing to do with the Audio Lib (unless your put both in a project), right?

    I expect I should be able to use any Audio objects with ADC_1 - except, perhaps, the audio...
  31. I've had to relearn about ADC0 and ACD1 a few...

    I've had to relearn about ADC0 and ACD1 a few times over the last couple of years.
    I still feel like I have only part of the story.
    I know the Audio lib's AudioInputAnalog object conflicts with...
  32. Replies
    7
    Views
    1,627

    I have a macro now that I will use when...

    I have a macro now that I will use when Serial.print() freezes. The macro is at the top of the code below.

    It's still hard to duplicate that problem at will with a small program, but I may have...
  33. Replies
    7
    Views
    1,627

    Right. Thanks for these steps to try. The code...

    Right. Thanks for these steps to try.
    The code is sizable and multi-faceted. This problem has only occurred when the large app is running.
    Getting the problem reproducible is challenging at times,...
  34. Replies
    7
    Views
    1,627

    Thanks, Frank. That's a good thought. I tried...

    Thanks, Frank. That's a good thought.
    I tried simplifying...
    All of the printing now is in this statement, surrounded by a couple of delays

    delay(10);
    Serial.printf("Testing...\n");...
  35. Replies
    7
    Views
    1,627

    Serial.print() stops

    I cannot make this fail on a small program...
    With my large project, Serial.Print() (or printf() or println()) stop working after a few seconds.
    It has done this on and off as the program has...
  36. Replies
    30
    Views
    6,165

    Right, @artag, I've seen those boards, but not a...

    Right, @artag, I've seen those boards, but not a simple US supplier of the synth chips (like Adafruit, DigiKey, Sparkfun).

    I've spent some time looking. They have a manufacturer's rep in the US...
  37. Replies
    30
    Views
    6,165

    @artag, I'm short on boards, though I'll be...

    @artag, I'm short on boards, though I'll be building more.

    I played the synth though a powered speaker and recorded a video of the Serial monitor output (with iPhone mic listening), arriving at...
  38. Replies
    30
    Views
    6,165

    OK, I'm ready to ship some boards and...

    OK,

    I'm ready to ship some boards and libraries to Paul and @Neutronned (I'll send you one of this version).
    Any others interested in using and/or learning MIDI?
    If so, I'm happy to assemble a...
  39. Hmmm, I imagine the Teensy 3.6 would be better...

    Hmmm,

    I imagine the Teensy 3.6 would be better suited.
    I also assume from your post that simply calling available() for each FFT one at a time would not solve the problem.
    Is the problem that an...
  40. Replies
    30
    Views
    6,165

    The boards work well. Since I've not gotten...

    The boards work well.
    Since I've not gotten feedback from any acclaimed MIDI mavens, I've assumed I need to encapsulate the MIDI pretty well into libraries, so users can get right to the matter of...
  41. Replies
    7
    Views
    1,849

    I think there's a lot that you'll like about the...

    I think there's a lot that you'll like about the Teensy line, especially the 3.6. Lots of power and ports, and lots of standard Arduino compatibility... and lots of extra value in the Teensyduino...
  42. Replies
    30
    Views
    6,165

    OK. I just have never seen I2C into the Audio...

    OK. I just have never seen I2C into the Audio library.
  43. Replies
    101
    Views
    28,962

    Ok. Let me know if I can help further. Itís...

    Ok.
    Let me know if I can help further.
    Itís been good to exercise my FFTFreq library with a different use.

    With a Teensy 3.2 or higher, and a mic from NEUTRONNED, you could run a continuous...
  44. Replies
    101
    Views
    28,962

    Similar results: FE55L.wav ( 200ms) 347...

    Similar results:


    FE55L.wav ( 200ms) 347 Hz o___________o___________o___________o______
    FE55L.wav ( 232ms) 322 Hz o___________o___________o___________o___
    FE55L.wav ( 290ms) 319...
  45. Replies
    101
    Views
    28,962

    OK, I put the recognition "floor' at 300Hz, and...

    OK, I put the recognition "floor' at 300Hz, and now the plot looks like this.


    **************************************************
    FE55M.wav ( 269ms) 331...
  46. Replies
    7
    Views
    1,849

    If you’re using the Arduino SD functions in your...

    If you’re using the Arduino SD functions in your code
    https://www.arduino.cc/en/Reference/SD
    Then I expect the data logging functionality would work.
    Can you post your Arduino sketch that you’re...
  47. Could this TDM input be used to capture 6 guitar...

    Could this TDM input be used to capture 6 guitar pickups, and send them each to their own FFT1024 object in the Audio Library?
    @graydetroit might be able to use that.
  48. Replies
    30
    Views
    6,165

    A question, @graydetroit, The ADC chip you noted...

    A question, @graydetroit,
    The ADC chip you noted delivers I2C outputs.
    The Audio Library has the very different I2S inputs... and only through the Audio Shield, I think.
    Did you have a way to get...
  49. Replies
    101
    Views
    28,962

    Let me run the files again and increase the gain...

    Let me run the files again and increase the gain on the quieter file.
    I’ll also send the results in a narrower format that fits the forum’s margins.
    So, what is the frequency range that I should be...
  50. Replies
    101
    Views
    28,962

    @Wicky21 I've run your 2 wave files through my...

    @Wicky21
    I've run your 2 wave files through my FFTFreq object with the sketch file as follows:

    #include <Audio.h>
    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>...
Results 1 to 50 of 235
Page 1 of 5 1 2 3 4