Search results

  1. MickMad

    Teensy 4.0 First Beta Test

    Hey there, I was reading at the 1060 specs, it looks like it has 3 I2S interfaces, of which one has 4 tx/rx pairs, and the other two have 1 tx/rx pair, total of 6 rx/tx pairs, and it also looks like all of the I2S modules support TDM... does it mean that it MAY be possible to implement...
  2. MickMad

    Teensy 4.0 First Beta Test

    Hi all, I just found out that I'm on the list, too :D sweet! So, how's Audio going so far? And what about USB Audio and MIDI? These are the areas of most interest for me, I only read a couple of posts about people successfully streaming WAV files from SD, and Serial stuff working, but it's 121...
  3. MickMad

    Teensy 4.0 First Beta Test

    Hey there! For some reasons, I just found out this thread! I'm thrilled by the possibilities! This is amazing :) Is there any plan on giving out more prototypes? I would very much love to test this for use in an upcoming product!
  4. MickMad

    Music Keyboard matrix scanning

    The keyboard will most probably have a Fatar pinout, check this link out for further info: http://www.doepfer.de/DIY/MKE_keyboards.htm In case it is not a Fatar pinout, it will most probably be a very, very similar one, so the schematics in the previous link should help you. A disadvantage...
  5. MickMad

    Discussion about a simple way to change the sample-rate

    https://github.com/PaulStoffregen/Audio/search?q=in%3Afile+AUDIO_SAMPLE_RATE_EXACT&unscoped_q=in%3Afile+AUDIO_SAMPLE_RATE_EXACT This query gives you all the files that contain the words AUDIO_SAMPLE_RATE_EXACT. After going thru the 3 pages list of results, these are the names of the files...
  6. MickMad

    HiFi Audio CODEC Module - AK4558 evaluation board in a square inch PCB

    This seems like the ideal solution, it would just take one line of code added to the input_i2s.h and output_i2s.h files :)
  7. MickMad

    AK4556 codec library?

    Hi there, this is the setup() of the last sketch I wrote for the AK4558: void setup() { AudioMemory(16); //while(!Serial); ak4558_1.enable(); ak4558_1.enableIn(); ak4558_1.enableOut(); i2s1.begin(); i2s2.begin(); //setup your other stuff here } you might want to uncomment the...
  8. MickMad

    Discussion about a simple way to change the sample-rate

    This is very good news :) they make clocks that are very small, in classic 4 pin SMD crystal packages, that require no more than a pullup and a 100nF cap to work reliably. As long as the I2S chip has an internal PLL, this solution could be used for jitter-free clocking.
  9. MickMad

    Discussion about a simple way to change the sample-rate

    Unfortunately, the technical datasheet (not the manual) says at page 18 that the max I2S MCLK frequency is 12.5 MHz. At page 66 it also says that the "I2S MCLK cycle time" in master mode is 40 ns, which equals to 25 MHz; I don't know if the datasheet is wrong (and indeed the MCLK can accept...
  10. MickMad

    [posted] (yet another) MIDI to CV Converter!

    I was thinking of adding a USB data lines isolator but current technology only allows for cheap USB isolation up to Full Speed rates (12 Mbps) while I would really like to be able to use the High Speed USB port on the Teensy in the future. Anyway I took a look at your schematic for clarity...
  11. MickMad

    [posted] (yet another) MIDI to CV Converter!

    This is a really nice project. I am going to implement something similar for a project I'm working on, instead using the 3.6 and the internal DACs with a split supply powered mux and a S&H circuit to have more outputs (like 8) using the 2 DACs. I was wondering though if you're having any...
  12. MickMad

    Adjusting the Teensy MIDI device name

    One thing I learned while doing the early USB Audio tests was that the device name and general USB properties are not automatically updated on an host for devices using the same name, VendorID and ProductID unless the bcdDevice field in the Device Descriptor is not updated too (usb_desc.c, line 90)
  13. MickMad

    help required for correct connection

    The I2S objects from the Audio Library need specific pins on the Teensy that are usually assigned to other functions (SPI, analog, etc). You can change the position of the conflicting SPI pins using SPI.setMOSI(7) and SPI.setSCK(14). For the Reset and DC pins you do not need to worry as they are...
  14. MickMad

    AK4556 codec library?

    It looks like the AK4556 doesn't need any code to program it, that is it does not have a serial interface for configuration of its parameters but rather an hardware interface; if you wish to configure the codec in real time using the Teensy you should wire pins DEM1, DEM0, and CSK3-0 to 6...
  15. MickMad

    MAD - Modular Audio Devices

    What I'm trying to do is a Teensy audio board on steroids and in a modular/scalable fashion. On steroids means that the sound quality will be higher than what's currently available, modular/scalable means that users can choose the features they need and scale up their projects with modules...
  16. MickMad

    Doing business

    I can't answer for a), but: b) don't put on your gerber files on the web. you may also not want to put out schematics, but even if one can copy a device from a schematic, he/she won't be able to copy the layout (unless someone reverse engineers your layout) c)I think they're resellers
  17. MickMad

    MAD - Modular Audio Devices

    Yes, there is going to be a mechanical switch to connect one TRS jack to either an opamp in differential configuration (for line levels) or to an opamp in a non inverting configuration with at least 1MOhm input impedance; I find that the simple first stage of the hi-z module I posted before...
  18. MickMad

    MAD - Modular Audio Devices

    Yes exactly. I was going for an asymmetrical gain because if I wanted to use a pot on the first stage I should have used a HUGE pot (1MOhm impedance for up to 500x gain means a 500MOhm pot). In the next revision of the CORE I will drop the dedicate gain pot for the hi-z input and I will have an...
  19. MickMad

    MAD - Modular Audio Devices

    Fully differential outputs are outputs in which there's two opamp, each driving one side of the balanced line; impedance-balanced outputs are outputs in which there's only one opamp driving one side of the balanced line, while the other line is connected to ground on the driver side through an...
  20. MickMad

    MAD - Modular Audio Devices

    So, after quite some development time it's time to go back to the drawing board... As it is right now, it makes no sense to start a kickstarter for the CORE module, because it has no added benefit with regards to the Audio Adaptor Board; apart from the higher quality codec, there's no mic...
  21. MickMad

    4 channels input and output, 24bits USB soundcard

    There's plenty of update() functions that should be double-checked for correctness too. Also, replying to this post so that I get updates, this is really interesting; this + the dynamic USB change of options that's being tested in another topic could really lead to good stuff in the near future...
  22. MickMad

    Sound leak left to right speaker with teensy 3.2 + Audio shield

    I can't say for sure (I don't have a teensy audio shield available atm) but crosstalk between the two channels should be negligible. When you say that you connected speakers to the shield you mean as in preamplified speakers? Because the line out of the Teensy Audio Shield is, well, a line out...
  23. MickMad

    Audio Sample Rate: how to change from 44100 Hz (44117.65 Hz) to 48000?

    mh, I'm trying a simple sketch where I connected an AudioSynthWaveformSine object to both USB audio outputs but all I get is empty packets. Anyway, I'll try it with I2S objects too and see if it works.
  24. MickMad

    Audio Sample Rate: how to change from 44100 Hz (44117.65 Hz) to 48000?

    are you getting data in/out using the I2S objects as well? I still have to test them and as far as I'm concerned the AudioOutputUSB object is not working yet.
  25. MickMad

    Audio Sample Rate: how to change from 44100 Hz (44117.65 Hz) to 48000?

    Silly me: if (tmp!=44100||tmp!=48000) return 0; this should be if (tmp!=44100&&tmp!=48000) return 0; :D This was also the reason why the teensy would hang for 5 seconds between any frequency change requested by the host. Latest version is in this attachment (I also conveniently modified...
  26. MickMad

    Audio Sample Rate: how to change from 44100 Hz (44117.65 Hz) to 48000?

    Maybe there's something wrong in the set feature function. Checking this right away.
  27. MickMad

    Audio Sample Rate: how to change from 44100 Hz (44117.65 Hz) to 48000?

    I guess it is already visible; the usb_audio_sampling_frequency value is defined in usb_audio.h as an extern value and declared in usb_audio.cpp so as long as the USB Audio mode is selected that should work. Oh, please note that I only modified the part relative to the Audio only USB mode in...
  28. MickMad

    Audio Sample Rate: how to change from 44100 Hz (44117.65 Hz) to 48000?

    I found another way, which takes less space; I forgot that you can say how many sampling frequency an AudioStreaming endpoint supports directly in its associated Audio Format descriptor. As in the previous post, the Teensy enumerates properly, responds properly to the requests, changes sampling...
  29. MickMad

    Teensy Audio Library create melody

    I had similar glitches using the flanger object and updating its values without a delay. The glitches become noticeable when the delay is below 100ms circa. In your previous code I see that you updated the flanger values at every loop; you might want to add a function that stores the values of...
  30. MickMad

    Audio Sample Rate: how to change from 44100 Hz (44117.65 Hz) to 48000?

    So yeah, I tackled this for the whole afternoon and it kinda works. I say "kinda" because now the Teensy shows two possible configurations (one for 44.1 and one for 48 KHz), it enumerates properly, it switches configuration properly without dying or crashing the host in the process, but I tried...
  31. MickMad

    Audio Sample Rate: how to change from 44100 Hz (44117.65 Hz) to 48000?

    Nice stuff. I was planning on doing this too. For what I remember from when I did the USB audio descriptors back in 2013, the best option would be to declare a series of different USB configuration descriptors for each sampling frequency (44.1, 48, 88.2, 96, 192); in this way the PC can "ask"...
  32. MickMad

    MAD - Modular Audio Devices

    The HI-Z module is, as the name suggests, an high impedance preamplifier with gain control; its output is connected to the IN module frontend, which is a switched differential line receiver done with an INA137 (switched because you can either use an onboard jack or an external preamp such as the...
  33. MickMad

    MAD - Modular Audio Devices

    In this latest video you can see all the prototypes I've been working on, including the IN HI-Z module, an instrument preamplifier.
  34. MickMad

    MAD - Modular Audio Devices

    So, I finally got all my prototypes working and I started making some content to showcase the CORE module as well as the others; here's the first video I put on YouTube. https://www.youtube.com/watch?v=HKmbYeUzcwQ You can see more action of the same sketch running in the youtube words, with...
  35. MickMad

    HiFi Audio CODEC Module - AK4558 evaluation board in a square inch PCB

    It looks like the AK4558 doesn't like anymore if you first configure the I2S clocks then you configure the codec through the I2C bus. The AudioOutputI2S and AudioInputI2S objects call their begin() function in the constructor; if I comment that, then call it manually AFTER having configured the...
  36. MickMad

    HiFi Audio CODEC Module - AK4558 evaluation board in a square inch PCB

    I'm working again with this CODEC and I'm facing I2C issues too; this time it looks like using an AudioOutputI2S object breaks the Wire library from working properly. Actually, it's the begin() function that is called in the AudioOutputI2S object that causes this issue. I tested my function...
  37. MickMad

    MAD - Modular Audio Devices

    I know, but good examples (read: more boards) also require money that, being fully autofinanced (by unemployment money), I don't really have. First thing that comes to my mind is open source usb audio interface, something that simply does not exist on the market, then there's a plethora of...
  38. MickMad

    MAD - Modular Audio Devices

    Hey there, I'm working on this project full time since 5 months now: https://hackaday.io/project/20982-mad-modular-audio-devices It's a set of modules aimed towards hifi audio applications with the Teensy 3.x The CORE module sports an AK4558EN from AKM and a ultra-low noise LDO for the analog...
  39. MickMad

    The ultimate Teensy 3.5/3.6 audio board: any ideas?

    Hey, I got to UP this topic a bit: I just published a draft of the project on Hackaday.io and submitted it for the Hackaday Prize 2017. For every like that I get before 1st May I might get a dollar to help funding the project so I'd be glad if anyone interested could like it there and give me a...
  40. MickMad

    DMASPI library needs some (probably breaking) changes to really support multiple SPIs

    hey there, this question may not be totally related to the topic, but I don't feel like opening a new one. is it possible to use hardware chip select on teensy 3.1/3.2 ?
  41. MickMad

    Is there a "report thread as spam" feature?

    I see from time to time random spam posts here and I wonder if there's a button in the forum interface to report those useless threads.
  42. MickMad

    Project "Seenthysizer"

    That is COOL! I want to play with it! Are you going to release the source? I'd really like to see how you handle data transfer between the PC software and the Teensy :)
  43. MickMad

    Reliability: Teensy Appropriate for Dedicated Industrial Grade USB Device?

    My two cents: the new Teensy models have USB data lines broken out on the back of the board through pads. If USB surge protection is needed in order to avoid the device to be disconnected from the host PC if somebody is fiddling with it, you can use an external USB connector with all the static...
  44. MickMad

    The ultimate Teensy 3.5/3.6 audio board: any ideas?

    Hi there, I've been thinking about this project for one month now and I already started laying out schematics and whatnots for this project, but I think that asking everyone around here for their opinion is the best way to know what is actually going to be useful and what not. So, as you can...
  45. MickMad

    Filter for on-board Teensy 3.6 DACs

    I suppose you are talking about hardware filters. Anyway, it depends on the kind of filter you want to implement. Is it a low pass only? And I would suggest using a bandpass filter on the outputs, to cut away spurious low-frequency 1/f noise and every sampling frequency harmonics. In an ideal...
  46. MickMad

    Extensive MIDI controller feasibility

    Hi there, I know what I'm going to say might sound a bit complicated for a beginner, but as someone else already mentioned, you have the option of MULTIPLEXING. That is, you can use a multiplexer to reduce the number of pins needed to control a lot of peripherals, such as buttons and...
  47. MickMad

    DJ controller, not just a midi controller

    Just interfacing all those buttons and knobs and LEDs is going to be tricky to say the least...
  48. MickMad

    Request for comments about implementation of missing SPI functionalities

    Yes, and I had it working too, by making a custom CS class to handle the CS timings, but it was slower than using the normal SPI library, because I had to use 1 word DMA transfers and the overhead imposed by calling the CS object was higher. The DMASPI library works perfectly when you need a...
  49. MickMad

    Request for comments about implementation of missing SPI functionalities

    I might not have made myself clear: I got all the delays settings working on a custom library. So it's cool if more questions arise because I'm not looking for specific answers anyway :) I'd like to investigate if these features are needed or not in the public API in the first place, and if...
  50. MickMad

    Request for comments about implementation of missing SPI functionalities

    Hi guys, I recently had to fiddle with the SPI module on the Teensy 3.6 to be able to interface it in the best possible way with precision ADCs and DACs (600KHz-ish sample rate) and I was wondering if it could be useful to add the following features on the standard Teensy SPI library for anyone...
Back
Top