If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Sample player with time-stretch /math tempo ?
9 posts
• Page 1 of 1
Sample player with time-stretch /math tempo ?
Anyone know of a simple sample loader , player that will stretch to tempo ?
Does not have to be fantastic quality though it would not hurt.
Does not have to be fantastic quality though it would not hurt.
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: Sample player with time-stretch /math tempo ?
Is the material you want to stretch monophonic?
How much (percent) do you need to stretch?
Depending on these criteria the task may be easy or hard.
How much (percent) do you need to stretch?
Depending on these criteria the task may be easy or hard.
-
martinvicanek - Posts: 1328
- Joined: Sat Jun 22, 2013 8:28 pm
Re: Sample player with time-stretch /math tempo ?
Mostly drums, I would think in the range from about 70 to 160 bpm and be able to load say 120 bpm and take it down to 70 or up to 160, or even the 70 to 160 .
It does not have to sound amazing and can be pitched if its simpler to do .
Mostly I just need it to fit to tempo.
It does not have to sound amazing and can be pitched if its simpler to do .
Mostly I just need it to fit to tempo.
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: Sample player with time-stretch /math tempo ?
I was tinkering with this sampler which would be perfect if I could make it follow and match the tempo.
viewtopic.php?f=2&t=16256&p=51168&hilit=sampler#p51168
Should be possible as the counter has a sample rate input , just not sure how to do it or calculate.
I can get the BPM of the loaded wave , i got that much.
Just not sure how I can calculate the difference.
Lets say there is the DAW sample rate , say 44100 . and I load a 80 bpm Loop , how can I calculate the sample rate increase it needs to play at 120 ?
Or a simpler example perhaps , Lets say daw is at 44100 . 120 BPM , I load a 120 bpm Loop and I want to increase to 121 bpm , how much of an increase is that in sample rate ?
Maybe I am brainfarting at this point but I feel like if i could calculate that I might get this to work.
Feeling pretty stupid right now , lol
viewtopic.php?f=2&t=16256&p=51168&hilit=sampler#p51168
Should be possible as the counter has a sample rate input , just not sure how to do it or calculate.
I can get the BPM of the loaded wave , i got that much.
Just not sure how I can calculate the difference.
Lets say there is the DAW sample rate , say 44100 . and I load a 80 bpm Loop , how can I calculate the sample rate increase it needs to play at 120 ?
Or a simpler example perhaps , Lets say daw is at 44100 . 120 BPM , I load a 120 bpm Loop and I want to increase to 121 bpm , how much of an increase is that in sample rate ?
Maybe I am brainfarting at this point but I feel like if i could calculate that I might get this to work.
Feeling pretty stupid right now , lol
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: Sample player with time-stretch /math tempo ?
I am thinking if I could use this to pitch/stretch the sample according to bpm.
From the sampler in the earlier post.
From the sampler in the earlier post.
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: Sample player with time-stretch /math tempo ?
lol, this was pretty simple, will post later today.
-
lalalandsynth - Posts: 600
- Joined: Sat Oct 01, 2016 12:48 pm
Re: Sample player with time-stretch /math tempo ?
lalalandsynth wrote:lol, this was pretty simple, will post later today.
Damn, well allright
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
Re: Sample player with time-stretch /math tempo ?
There is a very simple time-stretch/pitch-shift algorithm in my old SK1 sampler that you can find in this post which might be worth a look. The timestretch player consists of just two modules inside the "-> Player -> Stretch Player" module of the schematic.
It doesn't save or load samples, as it's designed to capture mono samples in real-time from an audio input, but its sample input is just a regular mem link, so it should be adaptable for loaded samples quite easily. Pitch and playback speed are independent of each other, where a setting of one is the original pitch or playback speed - dividing the desired BPM by the original BPM should give you the correct value for the playback speed. The 'window' setting determines the size of 'grains' that the sample is effectively chopped into; shorter tends to work better for percussive sounds, and longer for pitched sounds; but in any case, the quality of stretching is very basic, as ideally the grain size should be matched to the incoming pitch.
It doesn't save or load samples, as it's designed to capture mono samples in real-time from an audio input, but its sample input is just a regular mem link, so it should be adaptable for loaded samples quite easily. Pitch and playback speed are independent of each other, where a setting of one is the original pitch or playback speed - dividing the desired BPM by the original BPM should give you the correct value for the playback speed. The 'window' setting determines the size of 'grains' that the sample is effectively chopped into; shorter tends to work better for percussive sounds, and longer for pitched sounds; but in any case, the quality of stretching is very basic, as ideally the grain size should be matched to the incoming pitch.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
Don't stagnate, mutate to create!
-
trogluddite - Posts: 1730
- Joined: Fri Oct 22, 2010 12:46 am
- Location: Yorkshire, UK
Re: Sample player with time-stretch /math tempo ?
trogluddite wrote:There is a very simple time-stretch/pitch-shift algorithm in my old SK1 sampler that you can find in this post which might be worth a look. The timestretch player consists of just two modules inside the "-> Player -> Stretch Player" module of the schematic.
It doesn't save or load samples, as it's designed to capture mono samples in real-time from an audio input, but its sample input is just a regular mem link, so it should be adaptable for loaded samples quite easily. Pitch and playback speed are independent of each other, where a setting of one is the original pitch or playback speed - dividing the desired BPM by the original BPM should give you the correct value for the playback speed. The 'window' setting determines the size of 'grains' that the sample is effectively chopped into; shorter tends to work better for percussive sounds, and longer for pitched sounds; but in any case, the quality of stretching is very basic, as ideally the grain size should be matched to the incoming pitch.
You're a god of vst *bows to the vst god
-
wlangfor@uoguelph.ca - Posts: 912
- Joined: Tue Apr 03, 2018 5:50 pm
- Location: North Bay, Ontario, Canada
9 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 59 guests