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

Search:

Type: Posts; User: Moo

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    60
    Views
    1,977

    before you write an audio class, you could write...

    before you write an audio class, you could write a simple arduino sketch which takes an array and writes the gain for each sample to the serial port.

    int16_t sig[10] = { 0, 1, 2, 1, 0, -1 … }...
  2. Replies
    60
    Views
    1,977

    have a look at the source code for existing...

    have a look at the source code for existing components in the audio library and try to change them. see if you can make small changes and then try compiling them. see if you can add a parameter,...
  3. Just FYI, this is merged to main branch now.......

    Just FYI, this is merged to main branch now.... feature branch is deleted. (unit tests are passing now, but not tested on teensy yet)
  4. hey. thank you. I have implemented...

    hey. thank you.

    I have implemented positionMillis() for AudioPlaySdResmp on a feature branch https://github.com/newdigate/teensy-variable-playback/tree/feature/sd_position_millis but...
  5. Hi Andy! First off, try padding the beginning...

    Hi Andy!

    First off, try padding the beginning and end of your sample with a couple of samples of silence. I think 4 samples of silence will probably be enough. Hopefully I will fix this someday. ...
  6. I've managed to fix a few tiny issues and it...

    I've managed to fix a few tiny issues and it sounds great in stereo now. I tested on teensy 4.1 with 8 stereo voices and it sounds good.

    I merged the stereo branch and release...
  7. Interested to see how you get on... I've been...

    Interested to see how you get on...

    I've been testing stereo, but somewhere between my sample loader, polyphonic mechanism, im getting a few tiny audible pops on the lower notes...
  8. Fixed a thing or two... feature/stereo...

    Fixed a thing or two... feature/stereo branch is probably ok now, but its still not been tested much on teensy yet.
  9. stereo still needs a tiny amount work....

    stereo still needs a tiny amount work....
  10. Hey Danny I have made a branch now which...

    Hey Danny

    I have made a branch now which supports stereo (actually should work with any number of channels). https://github.com/newdigate/teensy-variable-playback/tree/feature/stereo

    I havent...
  11. Thanks. In the mean time, you can get...

    Thanks.



    In the mean time, you can get around this using two mono samples and routing one to left channel and one to right channel.
  12. It works with any 16bit mono Little endian...

    It works with any 16bit mono Little endian 44100Hz raw sample data. So it should be able to do voice. I'll make a demo....
  13. yes, the rate can be calculated pretty easily...

    yes, the rate can be calculated pretty easily given the original sample note and the desired note.



    Since the calc only happens once when you play a sample, I don't think it'll make much...
  14. Replies
    24
    Views
    2,570

    Opened a new pull request:...

    Opened a new pull request: https://github.com/PaulStoffregen/Audio/pull/399

    Let me know if theres any other improvements I should/could make. Thanks!


    Done.

    This file is not shared...
  15. Replies
    24
    Views
    2,570

    the "bitcrusher" as described above is a...

    the "bitcrusher" as described above is a different repo... https://github.com/newdigate/teensy-audio-multipressor
  16. Replies
    24
    Views
    2,570

    That is a separate component I use for...

    That is a separate component I use for side-chaining "compression" / ducking. It's not much of a compressor as it is a wave shaper. It makes a punchier kik when using the kik to suppress the bassline.
  17. Replies
    24
    Views
    2,570

    Thanks Frank! Good suggestions... I'll close...

    Thanks Frank! Good suggestions...

    I'll close the PR and re-open a new one when Im ready...
  18. Replies
    24
    Views
    2,570

    Hi Frank, I've created a PR to add this to the...

    Hi Frank, I've created a PR to add this to the audio library. https://github.com/PaulStoffregen/Audio/pull/398

    Although I have subsequently realised that it really should have updates to the...
  19. I've made a polyphonic sampler to go with the...

    I've made a polyphonic sampler to go with the variable playback rate, Here's a video https://www.youtube.com/watch?v=qDfv6R2WrX4 and code here https://github.com/newdigate/teensy-polyphony

    If you...
  20. changing pitch of audio samples - TeensyVariablePlayback library

    github.com/newdigate/teensy-variable-playback
    I started this endeavour a few years back, I needed samples played at variable playback rate.

    The initial implementation was a hack but it worked...
  21. Replies
    24
    Views
    2,570

    Yes thats a very nice example of a real...

    Yes thats a very nice example of a real compressor with bells and whistles. I absolutely love it, except for the fact that it applies a constant gain to an entire audio buffer (not so good when delta...
  22. Replies
    24
    Views
    2,570

    I think I've found the issue with my "compressor"...

    I think I've found the issue with my "compressor" distortion effect -- it was a divide by an int, causing decimation - effectively it was a bit-crusher!

    I've committed a fix for that now, but its...
  23. Replies
    24
    Views
    2,570

    ok. thanks for checking it out. appreciate the...

    ok. thanks for checking it out. appreciate the feedback.
  24. Replies
    24
    Views
    2,570

    yep theres definitely alot of noise on the...

    yep theres definitely alot of noise on the comp.mp3 signal compared to the original signal. not sure if thats a result of the effect, input noise, or output noise.
  25. Replies
    24
    Views
    2,570

    btw: no, I don't think it is a wave-folder. a...

    btw: no, I don't think it is a wave-folder. a wave folder is a subset of wave shapers, but wave shapers aren't necessarily wave-folders. a rectifier is an example of a wave folder... a wave shaper...
  26. Replies
    24
    Views
    2,570

    24564 awesome. thanks :) looks like the...

    24564

    awesome. thanks :) looks like the comp.mp3 has much smaller dynamic range - the quiet bits are amplified and the loud beats are quieter.
  27. Replies
    24
    Views
    2,570

    FYI, I've updated and deleted line 62 of...

    FYI, I've updated and deleted line 62 of effect_compressor.cpp :) but I've havent tested it....
  28. Replies
    24
    Views
    2,570

    Hey Mangu :) I was just looking at the code and...

    Hey Mangu :) I was just looking at the code and spotted something that looked very wrong... line 62 in effect_compressor.cpp

    I think if you comment that line out it will probably work -- looks...
  29. Replies
    29
    Views
    9,442

    ResamplingSdReader is a substitution class which...

    ResamplingSdReader is a substitution class which replaces the Sd file reading part of the SD raw player. It has the simple function of returning altered audio buffer. in the simple case, lets say at...
  30. more color definitions for 16bit rgb565 displays

    Clearly my OCD got the better of me when I ran out of pre-defined 16-bit (rgb-565) colours using the st-7735 display....

    ... so I wrote some javascript to scrape the hex colour values and names...
  31. I updated to latest teensyduino, and connected...

    I updated to latest teensyduino, and connected Pin 11 to Pin 12 it started working. Thank you, really appreciated...
  32. ah. that makes sense. for some reason i had...

    ah. that makes sense. for some reason i had thought i was using the latest...
    thank you for pointing that out...
  33. DMA SPI Transfer on Teensy 4.0 using KurtE's SPIDMA T4 branch

    When I run the example sketch on a teensy 4, I get some unexpected behaviour:

    Is this expected? Is there a better library to use?

    Thanks, really appreciate any insight/suggestions.
    Regards,...
  34. Replies
    157
    Views
    64,136

    iíve adapted the cs42448 circuit for teensy 4.0...

    iíve adapted the cs42448 circuit for teensy 4.0 using kicad here: though itís not fully tested yet thou.. https://github.com/newdigate/teensy-eurorack
  35. Replies
    29
    Views
    9,442

    Not sure about map function... If you want to...

    Not sure about map function...

    If you want to use variable playback rate using memory, you would need to slightly alter the source code, play_serialflash_raw.cpp in the audio library. Or better,...
  36. Replies
    29
    Views
    9,442

    Awesome, Im really glad to hear that! There is...

    Awesome, Im really glad to hear that!

    There is still a little bit of work required - when playing in reverse and the pointer reaches zero, it currently freezes. It should be fairly easy to fix,...
  37. Replies
    29
    Views
    9,442

    Oh... I didn't realise it wasn't compiling for...

    Oh... I didn't realise it wasn't compiling for teensy 3.2 - Im sure it should be able to - I'll have a look when I get a moment, thanks for letting me know...

    I got alot of satisfaction from...
  38. Replies
    29
    Views
    9,442

    Subsequently Iíve tested it between -4.0 and...

    Subsequently Iíve tested it between -4.0 and 4.0... works successfully. beyond that Iíve not tested.
  39. Replies
    157
    Views
    64,136

    An artists' impression of a cs42448 eurorack...

    An artists' impression of a cs42448 eurorack module...

    16346
  40. Replies
    157
    Views
    64,136

    daydreaming about using cs42448 with a teensy......

    daydreaming about using cs42448 with a teensy...

    16345
  41. Replies
    157
    Views
    64,136

    Thanks again. I've made the corrections you've...

    Thanks again. I've made the corrections you've suggested, although I was slightly unsure of these things:

    if the decoupling caps for VA should be before or after the ferrite bead.

    if the...
  42. Replies
    157
    Views
    64,136

    Thats great feedback! Thank you Paul - really...

    Thats great feedback! Thank you Paul - really appreciate that... I will make amendments...
  43. Replies
    157
    Views
    64,136

    I've attempted to create a schematic based on the...

    I've attempted to create a schematic based on the discussions in this thread about the cs42448 codec...
    I still need to add the CAT811T to the circuit.
    I've used 4 stereo input channels instead...
  44. Replies
    9
    Views
    2,847

    I've managed to get an automated build using...

    I've managed to get an automated build using travis for teensy 3.x projects;

    https://github.com/newdigate/teensy-blink

    https://travis-ci.org/newdigate/teensy-blink

    builds are triggered when...
  45. Replies
    9
    Views
    2,847

    No, its not quite right yet... its not actually...

    No, its not quite right yet... its not actually compiling any .ino files yet...
  46. Replies
    9
    Views
    2,847

    https://travis-ci.org/newdigate/teensy-blink ...

    https://travis-ci.org/newdigate/teensy-blink

    I've been meaning to get travis working with my teensy codes for a while. I basically copied the latest arduino travis yaml and fudged the rest of the...
  47. Replies
    3
    Views
    1,965

    Thank you Chris! Thats awesome work! Really...

    Thank you Chris! Thats awesome work! Really appreciate that...
  48. Replies
    29
    Views
    9,442

    I moved the variable playback rate feature to its...

    I moved the variable playback rate feature to its own branch here https://github.com/newdigate/Audio/tree/play-audio-sd-raw-resampled

    I've briefly tested the code, seems to be okay between -1.0...
  49. Replies
    3
    Views
    1,965

    long file names and play audio from SD card

    Has anybody managed to get the audio library to play from SD and read long filenames too?

    Im writing a file browser to display and allow users to select files and navigate directory. using 8.3...
  50. Replies
    29
    Views
    9,442

    RAW files playback speed

    I was also looking for some kind of playback speed control, and since I didn't find any solutions and quite a few people who seems to have a similar requirements, I thought I'd see if I could hack...
Results 1 to 50 of 57
Page 1 of 2 1 2