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

Search:

Type: Posts; User: MadMind

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Ok Paul ! Thanks for the tips ! Can't wait for...

    Ok Paul ! Thanks for the tips ! Can't wait for trying all that new exciting stuff !
  2. I just re-installed the teensy 1.41 with the...

    I just re-installed the teensy 1.41 with the 1.8.4 version of arduino (as it didn't want to work with the 1.8.5) and I still have the same issue. The IDE does not recognised the new objects in the...
  3. Hey there, All that new objects recently...

    Hey there,

    All that new objects recently included in the audio lib doesn't work for me as they're not recognised when I compile. Yet, I just installed the last version of teensyduino, the...
  4. @john-mike : I just got back to this thread...

    @john-mike :

    I just got back to this thread and discovered your reply. Thx a lot ! I've tried and it doesn't seem to work but I just saw that everything has been implemented in the lib. So I...
  5. Hi John, Thanks a lot for this work. Your...

    Hi John,

    Thanks a lot for this work. Your crazy instrument does sound very good ! (great video btw !)

    I'd love to use all that new objects you gave us but...sorry, I'm still asking some noob...
  6. Oupss, sorry for having missed that thread !...

    Oupss, sorry for having missed that thread !
    That's a great great new indeed ! Thanks a lot Paul for that brilliant work ! can't wait for playing with it ! I also discovered the releaseNoteOn()...
  7. Is there any chance to get longer enveloppe in the next teensyduino version :) ?

    Hi there !

    Hope everyone is well. I haven't seen any topic about the enveloppe sizes so I'm making a new one to have a thread about this precious function.

    I'm currently making a FM4...
  8. Replies
    7
    Views
    2,124

    Thx a lot for your explanations ! I still...

    Thx a lot for your explanations !

    I still have weird problem : I'm using this maxsonar sensors for an audio project and when a soundfile is playing though little loudspeaker (JBL GO), the value...
  9. Replies
    7
    Views
    2,124

    I'm not sure to understand. Are you saying that...

    I'm not sure to understand. Are you saying that the Vin is a 5V alimentation which can provide current to an external sensor ? Is that working for Teensy 3.2 ?
    I'm using the maxSonar EZ sonar range...
  10. Hey there !! I've corrected the freeze !!!...

    Hey there !!

    I've corrected the freeze !!! Finally ! A big big thanks to you. I wanted to apologize to have doubted about the audio system because it just was my beginner mistake.



    You were...
  11. Update : it does the same with the exports from...

    Update : it does the same with the exports from Ableton Live...

    The solution I found is to import and batch export them from audition.
  12. It seems that the code is working fine without...

    It seems that the code is working fine without any sensor and just with random. We're wondering wether the fact of soldering sensor on long USB cable can affect the power level needed by teensy to...
  13. I will try it tonight or tomorrow morning and let...

    I will try it tonight or tomorrow morning and let you know asap ! I still didn't understand what is uint32_t and when use it. Even with the arduino documentation and forum...
    Thx for your precious...
  14. Could it come from this random no repeat function...

    Could it come from this random no repeat function that I can call some times and with differents values of nbtotfile ?



    int index_tab = 0; // nombre de samples deja jouées;
    int...
  15. Sorry, didn't have time to check it out as I had...

    Sorry, didn't have time to check it out as I had other problems to solve.

    What I can say is that I finally cut the microphone each time a sound is played, which is not ideal at all but does the...
  16. Is it possible that the problem could come from a...

    Is it possible that the problem could come from a limitation about size of soundfiles / libraries ?

    We did some tests the past night and one teensy + audio adaptor + sensors managed to run for 12...
  17. Sorry I edited the post and deleting the previous...

    Sorry I edited the post and deleting the previous one...

    I said it's not that shorter but it's important you get everything. I added random instead of sensors and translated comments.
    The main...
  18. Sure ! you can see this files here : ...

    Sure ! you can see this files here :

    https://www.dropbox.com/sh/pm9h80kdp1o43hb/AAAtx2-rX-BC7EFrShrz0Qpga?dl=0

    Let me know what are you finding :)

    PS if you need shorter sounds, here it is...
  19. Ok I found the problem, and sorry about this...

    Ok I found the problem, and sorry about this pretty useless thread...

    It still could help some people in the future because I realised that the ProTools wav bounces can't be played by the teensy...
  20. Yeah Paul that's I'm gonna trying to do in a...

    Yeah Paul that's I'm gonna trying to do in a couple of minutes after resolving other little problems.. I definitly keep you updated asap !!! Thanks a lot for your reply !!! It's warming me up cause I...
  21. No sound when SD soundfiles are playing (synthesis is ok)

    Hi there,

    It seems that one of my teensy can't play the sound of a soundfile from an SD card.

    Tested :

    - The code and sounds is working with another teensy + Audio Adaptor. --> So it's not...
  22. I simplified the code at his maximum and it's...

    I simplified the code at his maximum and it's still freezing, even with a 10 ms delay for letting the library to read the wav information.
    It's just playing sound files from micro SD with a...
  23. It seems that the new code without using 2 SD...

    It seems that the new code without using 2 SD players at the same time is still freezing after new tests...the code just stop after 30min or one hour...especially when the time of retrig sample are...
  24. Ok, I just updated the code with this last...

    Ok,
    I just updated the code with this last settings. The microphone is at about 15cm from the speaker.
    I execute the code 6 times and I got this result :
    0.63
    0.88
    0.88
    0.91
    0.66
    0.88
  25. Sure mate, Here it is : PS : I used this...

    Sure mate,

    Here it is :

    PS : I used this 2 values in my main code, then used the derivative of the microphone corrected signal in order to see the peaks.



    #include <Audio.h>
    #include...
  26. Hey there, I just tried your code again by...

    Hey there,

    I just tried your code again by increasing the delay to 200 and it always send me back the same value whatever the position. I still tried to use this delay and gain compensation but...
  27. Hey Paul, I've just tried to uncomment the...

    Hey Paul,

    I've just tried to uncomment the line you told me and now the audio files sounds glitched when they're played. So I couldn't use this method. Would you have another idea ?

    Thx a lot.
  28. Just to be 100% sure , is that this line to...

    Just to be 100% sure , is that this line to uncomment : #define USE_TEENSY3_OPTIMIZED_CODE ?
  29. Sorry, I misunderstood ! I'll try it in a...

    Sorry, I misunderstood !
    I'll try it in a couple of days and I'll definitly let you know here.
    Thanks !
  30. Hey Paul, Thanks for your quick reply and all...

    Hey Paul,

    Thanks for your quick reply and all your work !

    I only have teensy 3.2, so I guess the uncommented line won't have any effect, will it ?
  31. Might it be possible that the freeze come from...

    Might it be possible that the freeze come from the fact that there are 2 samples called from the SD card ? I know there are some restrictions about playing more than 1 sample at the same time but...
  32. Hey mate ! Sorry for this late reply but I...

    Hey mate !

    Sorry for this late reply but I was in holiday !

    Just tried what you suggested. It seems to get a more consistent value as it stays stable after 3 tests...BUT...it also returned...
  33. Thank you for your explanation ! It seems...

    Thank you for your explanation !

    It seems that it doesn't solve the problem anyway as it's still freezing...

    Is it possible that the problem is about a conflict between both players ? It...
  34. After making a new set of tests I realised that...

    After making a new set of tests I realised that the problem would probably come from the second players called "// Loop tremblement" in the code.

    As more than one parameter is changing at the...
  35. Code is freezing after playing a sample from SD card

    Hi everyone,

    I'm writing to the community because I've made a code which is working fine until it gets frozen after a various amount of time...

    FINAL EDIT : Problem has been finally solved by...
  36. I've tried from about 1 cm until about 1 meter. ...

    I've tried from about 1 cm until about 1 meter.

    I just tried to increase to 512 iterations (already did until 256).
    Here are the values I'm getting after 6 tests where the microphone stay at 15...
  37. Yeah, that was the key, 50 is a correct value to...

    Yeah, that was the key, 50 is a correct value to avoid freezing. But now, there is 1 or 2 glitch which appear, even in increasing or decreasing the value before it freezes...

    Also, introducing the...
  38. Ok ! I just did the manipulation but now the...

    Ok !

    I just did the manipulation but now the program is freezing after 9, 10 or 11 iterations... don't understand why it's doing this wheareas it's perfectly working in the simulation code, even...
  39. I guess I have to replace the "sweep_busy"...

    I guess I have to replace the "sweep_busy" boolean by !tonesweep1.isPlaying() but I don't know which are the right variables to replace
    "block", "data" and "bp". Also, the "allocate()" and the...
  40. Ok ! I see. But...I don't understand how do you...

    Ok ! I see. But...I don't understand how do you send the 0 stream right after the tonesweep's end.

    Do you do that thanks to this part ? :


    for(i = 0;i < AUDIO_BLOCK_SAMPLES;i++) {
    ...
  41. Hi mate ! Thank you for your explanations ! ...

    Hi mate !

    Thank you for your explanations !

    I did the little arrangements for selecting the right delay and measure the gain compensation. It works very well on the simulation code :

    ...
  42. OK, so I tested your code. The simulation is...

    OK, so I tested your code. The simulation is working and it also seems to work with the micro !!! It finds a value like 0.204 ms which looks like something coherent.

    Again, thanks a lot for your...
  43. Hey mates ! Very sorry to reply as much late...

    Hey mates !

    Very sorry to reply as much late but I wanted to be sure that the other parts of my code work. Now it's done I can focus on that problem and I will try to understand everything you...
  44. Hello Mate, First of all, big big thanks for...

    Hello Mate,

    First of all, big big thanks for the time you involved in helping me and writing this code. I'm really grateful.

    Your approach is very interesting and I didn't think to multiply...
  45. The speaker will be separated from the microphone...

    The speaker will be separated from the microphone of about 10 or 20 cm.
    So what would be your suggestion in order to measure the delay between both signals without using an Rms block ?
  46. Thanks for your reply ! No, nothing is moving...

    Thanks for your reply !
    No, nothing is moving so when I have the gain and delay value, everything is fine :).

    I'm already doing the pulse technique by sending a short noise signal every 500ms...
  47. Hello, Sorry, I thought it would have been...

    Hello,

    Sorry, I thought it would have been easier to understand with that picture but it seemed that it totally failed...
    I'm trying to explain it better with words then :

    I want to create a...
  48. Replies
    4
    Views
    943

    Ok I better got your point with the fades. ...

    Ok I better got your point with the fades.
    Perfect mate, thx a lot !
  49. Source separation on a microphone recording and a know generated signal

    Hi everyone,

    It's been 3 days that I'm fighting with a signal problem and as I'm pretty begginer, I think I'm missing some subtilities. I'd be really grateful if someone could help me to...
  50. Replies
    4
    Views
    943

    Hi, Thx a lot for your quick reply. I'veseen...

    Hi,

    Thx a lot for your quick reply. I'veseen that the signal seemed to be more stable when I increased the delay but I didn't know the theory behind. So it helps me a lot.

    So, if I want to do...
Results 1 to 50 of 51
Page 1 of 2 1 2