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

Search:

Type: Posts; User: Revalogics

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    17
    Views
    5,166

    Hi guys, it's me again. =) I managed to find...

    Hi guys, it's me again. =)

    I managed to find the old sketch regarding this (also posted here before), and made another sketch out of it (check out the "vocoder_waveforms" folder in the Google...
  2. Contrary to what they say, and the website says,...

    Contrary to what they say, and the website says, you can use both AudioInputAnalog and analogRead().
    I posted it a long time ago but I can't find that thread.
    You can use ADC0 for audio, and ADC1...
  3. Replies
    11
    Views
    2,169

    Ooh, yes, that will do, because longer runs of...

    Ooh, yes, that will do, because longer runs of wires tend to capture noise and be fed to ADC.

    Any ideas on how you interconnect Teensies? You can just use the serial ports available.
    I tend to...
  4. Replies
    11
    Views
    2,169

    Lots of sensors or inputs? Why not try...

    Lots of sensors or inputs? Why not try multiplexing :)!
  5. Sustain is MIDI CC 64, value=0 is off, value=127...

    Sustain is MIDI CC 64, value=0 is off, value=127 is on

    sort of like this:
    usbMIDI.sendControlChange(64, 0, 1); // sust off
    usbMIDI.sendControlChange(64, 127, 1); // sust on

    MIDI note ranges...
  6. Replies
    20
    Views
    12,622

    Those are not really needed, as they are defined...

    Those are not really needed, as they are defined inside the library (Serial1 is used as default). The following should work:

    // global scope
    #include <MIDI.h>
    MIDI_CREATE_DEFAULT_INSTANCE();
    ...
  7. Replies
    1
    Views
    776

    Ooh, good read. However, redundant analog...

    Ooh, good read.

    However, redundant analog circuits can be made digital, thus effectively lowering the build cost.
    I built an analog vocoder once, and it's too expensive. Vocoders consist of lots...
  8. Replies
    20
    Views
    12,622

    As I already mentioned: By the way, PC900V and...

    As I already mentioned:

    By the way, PC900V and the pullup resistor is connected to 3.3V, not to 5V, because doing so will damage my Teensy 3.6.

    Wait, is it me or is it him? :D
  9. The easiest way out there is to use a diode (so...

    The easiest way out there is to use a diode (so only the LOW signal passes through the receiving Teensy, the cathode facing the transmitting side) and a pullup resistor powered by the receiving...
  10. Replies
    20
    Views
    12,622

    Hi, I've been using Teensy 3.6 every Sunday to...

    Hi, I've been using Teensy 3.6 every Sunday to convert MIDI to usbMIDI, and it has been working for months now, without any issues on the Teensy part.
    12009
    I followed this schematic based on this...
  11. Haywire means these error codes upon compilation:...

    Haywire means these error codes upon compilation:
    Note: I used "static void interrupt()" here




    In file included from...
  12. Thanks for the reply, I'll give it a try. What's...

    Thanks for the reply, I'll give it a try. What's with "current_object"?
    I think I have so much to learn on the coding part. Unusual code routines, structs, pointers, etc. are my weak points.
    I...
  13. Replies
    9
    Views
    1,988

    I can't recommend some starting point for this...

    I can't recommend some starting point for this because I don't have any knowledge on how do these things communicate with an FPGA or a controller (except on how to destroy them and use the ICs for...
  14. Thanks Paul for the reply, I already noted that,...

    Thanks Paul for the reply, I already noted that, I even tried changing "void interrupt()" to "static void interrupt()" also making all variables (outside the function) associated to be static, but...
  15. Replies
    9
    Views
    1,988

    Like a digitally-controlled laser beam kind of...

    Like a digitally-controlled laser beam kind of thing? That would pretty much be easier to implement than creating an image or playing a video using that device.
    I think it is feasible with your...
  16. How to "attachInterrupt" inside a library?

    Hi, I'm currently working on creating a library to read an encoder.
    Basically, it reads encoder pins and automatically debounces it.
    Also, I made it to set flags if it was rotated, and set...
  17. Replies
    9
    Views
    1,988

    I destroyed a DMD before, and touched the...

    I destroyed a DMD before, and touched the micromirrors that looks like silver powder on my finger.

    I don't think even the top of the line Teensys can control a DMD (but I maybe wrong).
    They were...
  18. Yes, you can cut that connection and connect it...

    Yes, you can cut that connection and connect it to other pins (see Audio System Design Tool, under "AUDIO_MEMORY_MEMORYBOARD").

    I don't have a memory chip in hand and I have a different I2S audio...
  19. Replies
    11
    Views
    5,363

    Hi, I found an easy hack on how to change I2S...

    Hi, I found an easy hack on how to change I2S pinout on my project that uses Teensy 3.6 in it.
    I used to edit the Audio Library to implement my own pinout, and whenever I update Teensyduino, I have...
  20. Replies
    6
    Views
    1,900

    Hi, I also used a Teensy 3.6 before to send a...

    Hi, I also used a Teensy 3.6 before to send a torrent of MIDI data from my laptop to my keyboard, particularly black MIDIs :), to test how well my keyboard responds to a total of about more than 1...
  21. Replies
    9
    Views
    2,417

    It's ok, your English is understandable. I, too,...

    It's ok, your English is understandable. I, too, am not good at speaking English, since it is not my native language, and it is far very different (accents, sentence construction, syllables, etc.).
  22. Replies
    9
    Views
    2,417

    I watched the video, the default "Blink" sketch...

    I watched the video, the default "Blink" sketch runs, indicating that your Teensy works.
    Also it blinks an orange LED, it is a genuine Teensy, I guess, by the looks of it.
    After pressing the...
  23. Replies
    9
    Views
    2,417

    Sure, I'd like to help. You can just link here...

    Sure, I'd like to help. You can just link here for everyone to see and help.
  24. Replies
    9
    Views
    2,417

    Your PC "sees" your Teensy, but the OS reports it...

    Your PC "sees" your Teensy, but the OS reports it is faulty. Maybe a real faulty Teensy, a faulty USB cable, or a counterfeit. If the LED is not orange, it is fake.
  25. Haven't used this mod anymore because I found a...

    Haven't used this mod anymore because I found a good USB Audio interface that replaces Teensy for my audio I/O needs.

    Looking at the sourcecode of bitcrusher, the...
  26. Replies
    2
    Views
    1,644

    Hi, you can just link your mp3 file here from...

    Hi, you can just link your mp3 file here from somewhere you uploaded it (like Google Drive, Facebook, etc., click the BB code below in posting permissions).

    Try increasing AudioMemory if that...
  27. Replies
    16
    Views
    3,997

    I can't understand what you're up to... at least...

    I can't understand what you're up to... at least for me haha :)

    Are you using a toggle switch or a button switch or two buttons and a toggle switch?

    Here's my guess code routine:


    // other...
  28. Replies
    4
    Views
    1,579

    Upon reading the datasheet you've linked, I saw...

    Upon reading the datasheet you've linked, I saw that this part has multiple package types and the one on Teensy is the smallest of the three (WSON with thermal pad, vs. SOT-223 and larger TO-252)....
  29. Replies
    10
    Views
    3,726

    Thanks Paul for the help, that makes sense to me....

    Thanks Paul for the help, that makes sense to me.

    However, I noticed that AudioMemoryUsageMax() (for me) retuns 255 as maximum value. I'm using Teensyduino 1.37 and Teensy 3.6 and a sketch with a...
  30. Replies
    10
    Views
    3,726

    I found this HERE...

    I found this HERE. It says this function returns the free memory between stack and heap.
    It does not compile for Teensy (Teensy 3.6, in my case). Any ideas how to measure free memory in Teensy? I'm...
  31. Replies
    10
    Views
    3,726

    Thanks Paul for the help, but I don't know how to...

    Thanks Paul for the help, but I don't know how to buy stuffs overseas (I bought my Teensy from a local electronics store that happens to be importing stuffs from Adafruit), I'm just a student :).
    ...
  32. Thanks mattbott, I certainly overlooked at that...

    Thanks mattbott, I certainly overlooked at that one, I'm using copy+paste most of the time (and modify them afterwards) haha :).
    I updated the code.

    j2sip, you should check Arduino Reference Page...
  33. Replies
    10
    Views
    3,726

    Paul, What does these do? It's in the "dspinst.h"...

    Paul, What does these do? It's in the "dspinst.h" header file.

    //get Q from PSR
    get_q_psr(void)
    //clear Q BIT in PSR
    clr_q_psr(void)
  34. Replies
    10
    Views
    3,726

    Thanks guys for the help! I found THIS...

    Thanks guys for the help!
    I found THIS (anything about ARM Cortex M4 DSP instructions and stuff). I think this is compatible with my Teensy 3.6.
    Also, I found "dspinst.h" inside Audio Library and...
  35. Replies
    10
    Views
    3,726

    How to Audio Library?

    Hi everyone! Is there any documentation on how to make an audio library object?
    I tried looking at Audio library files and I don't understand most of it, especially how audio data is processed.
    I'd...
  36. Replies
    9
    Views
    2,519

    Teensy 3.6 has another USB port, Teensy 3.5 does...

    Teensy 3.6 has another USB port, Teensy 3.5 does not.
  37. Replies
    1
    Views
    1,225

    UPDATE: I tested this code on our Church keyboard...

    UPDATE: I tested this code on our Church keyboard and moving pitchbend wheel once (and letting it go to its midpoint) creates unforgettable results: I'm playing a whole note lower than the rest of...
  38. Hi, sorry for the very late post, I've been very...

    Hi, sorry for the very late post, I've been very busy this past few days for our school thesis project.
    I wrote this code for you. Hope this works! :)
    Is it really Teensy 2.0 (the short one) or...
  39. Hi, you don't need this line. ...

    Hi, you don't need this line.

    Serial.begin(31250);

    If you're using the latest Teensyduino version (1.37, as of now), you should check my post HERE.

    Yours truly, Revalogics.
  40. Hi j2sip, you must mention first what software or...

    Hi j2sip, you must mention first what software or hardware guitar effect or whatever you want Teensy 2.0 to control, or mention what MIDI messages do you intend to create with your Teensy 2.0 to...
  41. Replies
    1
    Views
    1,225

    Updates in MIDI Library, anyone?

    I have a sketch that uses the MIDI library, and some other library. My code, as of Teensyduino 1.36 works flawlessly, as I didn't have an issue with it while running it on Teensy 3.6 + external...
  42. I replaced the LED in my Teensy 3.6 from orange...

    I replaced the LED in my Teensy 3.6 from orange to white - white has higher forward voltage than orange so it loads less to pin 13 compared to orange LED. The voltage may be ramping because of low...
  43. About pins changing states at the exact same...

    About pins changing states at the exact same moment, why don't you try using transparent latches like HEF40373 or 74HCT573 (D-type Flip-flops with Output latches)? You input your parallel data, and...
  44. LED capacitor? Never heard of that. Is that the...

    LED capacitor? Never heard of that. Is that the capacitance formed by the depletion region between the N and P junctions, or is it a physical capacitor included within the LED package?
  45. Replies
    8
    Views
    3,492

    I tried that tonton81, but I received compilation...

    I tried that tonton81, but I received compilation error about variables and function calls. I'm reverting to single sketch.
    Here's my sketch I'm trying to split: (note, it's long)


    //#define...
  46. Replies
    8
    Views
    3,492

    Will the example sketch work (its syntax), the...

    Will the example sketch work (its syntax), the split one?
  47. Replies
    8
    Views
    3,492

    I used external editor (Notepad++), that's why. I...

    I used external editor (Notepad++), that's why. I use Arduino IDE only for compiling the sketch
  48. Replies
    8
    Views
    3,492

    Split main sketch into multiple files?

    Hi guys, is it possible to split a single sketch into multiple files? I have a sketch for Teensy 3.6 that is 1,562 lines long. I tried the library approach, but most functions must change or read a...
  49. Hi, sorry guys for the late reply, I use Teensy...

    Hi, sorry guys for the late reply, I use Teensy 3.6 as stated before, I don't have a Teensy 3.2, and I am getting maximum audio memory usage of 255 on my sketches (I have not seen my codes running at...
  50. Replies
    3
    Views
    1,075

    This is also my problem before (running a laptop...

    This is also my problem before (running a laptop on Ubuntu 14.04) but I resolved it. Have you tried downloading and installing Linux udev rules (install step 2)?
Results 1 to 50 of 81
Page 1 of 2 1 2