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

Search:

Type: Posts; User: boxxofrobots

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. OMG... all this trouble and you basically did MY...

    OMG... all this trouble and you basically did MY work for me. Yeesh. Thanks so much for this. The sketch now works great on my prototype.
  2. It's the first post in the thread. Are you...

    It's the first post in the thread. Are you clicking in to the last page?

    Here's all the packages available:
    ...
  3. By "dac" I Meant the pt8211_2. Sorry if I wasn't...

    By "dac" I Meant the pt8211_2. Sorry if I wasn't clear.

    I also eddited the output of the graphic design tool so the usb and pt8211_2 are specified right off, then the patchcords from the...
  4. back to my original sketch, it now provides usb...

    back to my original sketch, it now provides usb audio when usb and pt8211_2 is specified, but still no audio from the dac. I tried manually editing the definitions file to put audiooutput_pt8211_2...
  5. Not testing with a scope - using a simple a...

    Not testing with a scope - using a simple a speaker attached to the PT8211 board per the picture. When it doesn't work I get NO sound what so ever.

    Right, my results exactly. When it works it...
  6. Well, I tried the sketch in 85 and it works with...

    Well, I tried the sketch in 85 and it works with the change made to the cpp file. But throw in usb audio and it don't.
  7. now I'm really puzzled

    Thise sketch ran before I tried manually editing that c file. Since then I have removed the arduino environment completely from my system, rebuilt it with teensyduino 1.57b1, and it now does this...
  8. post in msg #63 indicated that you were wired for...

    post in msg #63 indicated that you were wired for pins # 7, 20, & 21

    Nonono, I didn't rewire the board. It's just that it was working with the other i2s port defined, which means those pins are...
  9. And now I have rebuilt the entire build system,...

    And now I have rebuilt the entire build system, and now when I try to compile my working sketches I get an error related to 'BUILTIN_SDCARD' was not declared in this scope. Yeesh.
  10. Out of the frying pan... I tried commenting...

    Out of the frying pan...

    I tried commenting out the reference above in output_pt8211_2.cpp, then I tried removing the i2s2 object in my code that was there just to make ti work. When I recompiled...
  11. I just installed 1.57b1 and I still get the same...

    I just installed 1.57b1 and I still get the same result when building knobby. Commenting out the references to i2s2 (leaving only usb audio and pt8211_2) causes no sound output from the 8211.

    Just...
  12. Wire2? Oh no, more stuff to learn! Right now...

    Wire2? Oh no, more stuff to learn!

    Right now I've not even enabled port1. I'm back to working on the synth engine because that's more fun than dealing with linker issues :) I have to get the...
  13. It's alive! The sound is bauhaus, not my...

    It's alive! The sound is bauhaus, not my creation, but I have since used the AudioObjectI2C workaround to get the sound working (for now). Ultimately I need 7,20 and 21 for serial, but they're ok for...
  14. I guess we're both lost then, because I don't...

    I guess we're both lost then, because I don't know from Windows. I haven't used it since I retired nearly a decade ago.

    I don't know if this is a clue, but if you build the above sketch with usb...
  15. This morning I reproduced the problem on a t420...

    This morning I reproduced the problem on a t420 thinkpad with a fresh install of ubuntu 20.04 focal fossa. I did not change any of the machine's configuration other than downloading and installing...
  16. Here's the /tmp files for the build, and the code...

    Here's the /tmp files for the build, and the code (which results in no output). Thanks again.


    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>
  17. That's the thing - it's not the 8211 chip that's...

    That's the thing - it's not the 8211 chip that's flaking out. Withouot those object declarations, there is no data output from the teensy on pin 2. Adding the 12c object enables pin 2, but also puts...
  18. Tomorrow I'll install a fresh ubuntu on my...

    Tomorrow I'll install a fresh ubuntu on my laptop, install the tools, and see how that goes. Thanks again for all your help so far.
  19. This gets even weirder. This does not work...

    This gets even weirder. This does not work either:


    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>
  20. I don't get it. Thanks for your help, this one...

    I don't get it. Thanks for your help, this one has beaten me. I still get nothing when I try your sketch, and my system is pretty much a bare teensy and a dac. I do have two 8MB ram chips installed....
  21. Problem with the 42448 is it's unobtanium and...

    Problem with the 42448 is it's unobtanium and will be likely for the next two years. The 8211 is available, inexpensive, and could be very usable if this mode is supported by the i2s_octal object. Of...
  22. Sorry, but that doesn't really help me. I'm not...

    Sorry, but that doesn't really help me. I'm not using Windows so it's kinda hard to jibe those paths, and as I mentioned I already reinstalled yesterday both the latest non-2.0 version of arduino and...
  23. As I said, engaging any of the "i2s_quad"...

    As I said, engaging any of the "i2s_quad" connection makes this work, and there are no other pins connected yet, so it does work... but only in conjunction with one or more of the other i2s ports...
  24. From another thread I found the below sketch,...

    From another thread I found the below sketch, which sort of works. If you uncomment ANY of the 12s_quad connections the whole thing "just works" as mentioned in the other thread. However, I am using...
  25. Nope, I see no warnings for competing audio...

    Nope, I see no warnings for competing audio libraries when I do this, nor do I see any adafruit files marked "audio.h." Looking into that folder, all I see are PJRC headers.

    I just put the chip...
  26. What is this "Audio-master.zip" file? Where do I...

    What is this "Audio-master.zip" file? Where do I find it? I found this thread and am having the exact same problem (nothing on pin 2) and so am anxious to fix it, but how?

    My pt8211s arrived...
  27. Replies
    9
    Views
    1,320

    Can't you just feed a straight signal into the...

    Can't you just feed a straight signal into the envelope using a dc source without having to use its ramp time parameter?

    Sure!

    I'm not sure why you're unable to modulate your filter freq with...
  28. The filters in the SGTL5000 are only going to...

    The filters in the SGTL5000 are only going to affect the audio coming from the chip. I suggest adding a filter in your audio chain and using that instead. One filter gives you up to four passband...
  29. You need to set up two flange objects and fade...

    You need to set up two flange objects and fade between them with like a 1mS ramp on each. Update one with new settings and fade to that one, back and forth. Works quite well.
  30. Replies
    9
    Views
    177

    Thanks so much, that is exactly the info I...

    Thanks so much, that is exactly the info I needed.

    I have a laptop, but no windows on it. I really need a windows 10 laptop, hoping to get it installed next week.
  31. Replies
    9
    Views
    177

    Here's my complete project. With just a teensy...

    Here's my complete project. With just a teensy 4.1 it should run fine and play some weird synth sounds through the usb audio. It will also spew out a lot of midi startup data when it's reset, which...
  32. Replies
    9
    Views
    177

    sent reported b0 bF b1 b0 b2 b1 b3 b2 ........

    sent reported
    b0 bF
    b1 b0
    b2 b1
    b3 b2
    .....
    be bd
    bf be

    As you can see, the midi monitors also recognize b0, but for some reason here it's at b1. This is very confusing to me, is this part...
  33. Replies
    9
    Views
    177

    Thanks for the quick response. y is an index to a...

    Thanks for the quick response. y is an index to a table of 2048 entries mapping channel numbers for every knob in knobby (2048). So y doesn't represent the port, it represents the knob. Like...
  34. Replies
    9
    Views
    177

    strange error in midi channels #

    I seem to be getting this strange error where the channel number reported by various midi monitor tools is off by one, for example sending b2 results in address b1, etc. What am I missing?
    ...
  35. usb audio problems possibly related to ubuntu/44117hz?

    My latest composition has so much ticking from the usb audio it sounds like a vinyl rip.

    https://youtu.be/_-lrrGwjMhA

    This is after a complete and fresh reinstall of ubuntu 20.04. I used to be...
  36. I'm giving you a bump to see if you got it...

    I'm giving you a bump to see if you got it working. I'm in the same boat and looking for a solution. Bought two displays (always buy two) off AMZN and need to get one working on my project.
  37. Replies
    14
    Views
    275

    Thanks so much, that does it! Now I need to...

    Thanks so much, that does it! Now I need to better understand what to do with the string pointer to convert it to String. c_str doesn't seem to work.
  38. Replies
    14
    Views
    275

    Here's an example of a csv i/o that's almost...

    Here's an example of a csv i/o that's almost working....


    // Function to read a text file one field at a time.
    //
    #include <SPI.h>
    #include <SD.h>
    #define CS_PIN BUILTIN_SDCARD

    File file;
  39. Replies
    14
    Views
    275

    This is also out of the examples. The change I...

    This is also out of the examples. The change I made was trying to assign the input from the file translate into output. This doesn't work and also returns long strings of numbers, which I am guessing...
  40. Replies
    14
    Views
    275

    Next foil I've encountered: How do I actually get...

    Next foil I've encountered: How do I actually get sdobject.name() into a string? I can print it directly, but assiging it to a string always returns the same integer.


    void printDirectory(File...
  41. Replies
    14
    Views
    275

    Thanks heaps. I've made it work I really...

    Thanks heaps. I've made it work

    I really appreciate your help. this thing is coming together and it's simple stuff like this that's getting in the way for me.

    Edit: I'm allowing for 16...
  42. Replies
    14
    Views
    275

    Maybe if I show someone what I'm trying to do? I...

    Maybe if I show someone what I'm trying to do? I know this seems like it should be so simple, but I'm relearning c.


    void sceneSave(){
    String _projectname = ""; //projectname is in an array of...
  43. Replies
    14
    Views
    275

    Oooh, that just leaves me with the problem of...

    Oooh, that just leaves me with the problem of converting a string to a c array? It jsut moves the compiler error.

    ex:

    String foo = "datalog.txt";
    char *bar = foo
    File dataFile = SD.open(bar);...
  44. Replies
    14
    Views
    275

    thanks so much!

    thanks so much!
  45. Replies
    14
    Views
    275

    help with super simple? SD issue

    Trying to use the SD examples, trying to learn to use SD. I have a 32GB card, had files on it, can access it with the examples as shown. However, something simple like this won't work and I don't...
  46. Replies
    46
    Views
    9,128

    Lockups

    I seem to be getting sporadic lockups of the i/o from my interface as well as the sound from the audio card, but the sound from the sound engine continues perfectly via usb without error during these...
  47. Replies
    46
    Views
    9,128

    Thanks for the assistance. I just imported your...

    Thanks for the assistance. I just imported your corrected schema and it seems to have been repaired as intended. I'm not sure how it got corrupted as I was just using the tool to import and export...
  48. Replies
    46
    Views
    9,128

    I am having problems with the gui. Wheen I...

    I am having problems with the gui. Wheen I exported this it seemed fine, but when I import it the diagram collapses to the upper left and is not able to be deleted, leaving me with an unusable gui....
  49. Replies
    46
    Views
    9,128

    https://www.youtube.com/watch?v=_H6QNMe9MTE

    https://www.youtube.com/watch?v=_H6QNMe9MTE
  50. Replies
    46
    Views
    9,128

    https://www.youtube.com/watch?v=jDnYYIKZbuQ

    https://www.youtube.com/watch?v=jDnYYIKZbuQ
Results 1 to 50 of 187
Page 1 of 4 1 2 3 4