Old 02-24-2019, 10:01 PM   #201
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by lexaproductions View Post
Yeah it does work better thanks. But if I undock it and dock it back, I think it forgets the position and goes back to the side.

Is it just me?
If it was undocked, and you dock it again, it goes to dock #1 by default. Storing to last dock ID is possible though.
mpl is offline   Reply With Quote
Old 02-24-2019, 10:21 PM   #202
lexaproductions
Human being with feelings
 
Join Date: Jan 2013
Posts: 1,126
Default

Would you mind letting me know how? Or at least where I can change the "Dock #1" value to the Dock at the bottom of the window?
lexaproductions is offline   Reply With Quote
Old 02-24-2019, 11:10 PM   #203
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by lexaproductions View Post
Would you mind letting me know how?
It require including additional variable into configuration and calling it when rising from 0 dock state.
I added this feature into 1.97 build temporary (it can be broken in some case or require click somewhere when docked to store last docked ID).

Last edited by mpl; 02-25-2019 at 05:52 AM.
mpl is offline   Reply With Quote
Old 03-05-2019, 05:53 AM   #204
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

It wold be amazing if you could add a feature to detect the pitch of a sample and set the tuning, like this tool for renoise...

https://www.renoise.com/tools/easy-tune

todd_r is offline   Reply With Quote
Old 03-05-2019, 07:39 AM   #205
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by todd_r View Post
It wold be amazing if you could add a feature to detect the pitch of a sample and set the tuning, like this tool for renoise...

https://www.renoise.com/tools/easy-tune

Although I had a research of various pitch detection techniques, it is still a complex thing to do from Reascript. The only thing I can implement is to simply use spectral peaks for analyzing (this is not a pitch detection). Not sure how good this could be and why this ever needed (ears wok better if you need to tune drums).
mpl is offline   Reply With Quote
Old 03-06-2019, 08:01 AM   #206
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 753
Default

Maybe, for drums, the best approach would probably be the way the Sitala vst does. Just showing the peaks in a frequency graph, and allowing one to move it up or down. However if this approach was taken, I'd suggest also showing the pitches at the top (opposite side of the frequencies). This way, users can visually/easily/quickly adjust the pitches themselves.

Last edited by Ozman; 03-07-2019 at 09:01 AM.
Ozman is offline   Reply With Quote
Old 03-07-2019, 04:29 PM   #207
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Quote:
Originally Posted by mpl View Post
Although I had a research of various pitch detection techniques, it is still a complex thing to do from Reascript. The only thing I can implement is to simply use spectral peaks for analyzing (this is not a pitch detection). Not sure how good this could be and why this ever needed (ears wok better if you need to tune drums).
Yeah, I was thinking more in terms of playing sounds chromatically, so more suited as a separate action than the Reasamplomatic manager
todd_r is offline   Reply With Quote
Old 03-10-2019, 09:05 AM   #208
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Hi,

I have some FR's I love RS5K manager, particulary in combination with the step sequencer. I would be happy to dontate again to any progres...

If there's any edits ade via the MIDI editor then you go back to the RS5K manager the other edits are lost, can the midi itme feedback any changes RS5K manger? And be able to use the Step sequencer on any track, including those without any instances of RS5K on?

Some (hopefully) simpler ones

Double click the swing/delay knob to set to zero

Double click pattern length to enter number manually

Split individual steps to 2 or 3

Steps light up as they are triggered to show playback progress

Thanks
todd_r is offline   Reply With Quote
Old 03-10-2019, 01:30 PM   #209
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by todd_r View Post
can the midi itme feedback any changes RS5K manger?
Patterns saving into project file individually from MIDI items so feedback is not possible. I can build an action for (trying to) parse MIDI take. This is complex since you may have various step counts + offsets for any note. It also will requre from me to introduce additional offset control parameter (like velocity).

Quote:
And be able to use the Step sequencer on any track, including those without any instances of RS5K on?
Step seqencer is hard linked to RS5k instances by design. You can edit pattern outside parent track after moving to any track though.

Quote:
Double click the swing/delay knob to set to zero
Currently resetting swing is alt+click, delay obey Menu/Mouse modifiers preference. I will probably drop doubleclick support since I`m not good at coding this clearly.

Quote:
Double click pattern length to enter number manually
See 1.98, right click

Quote:
Split individual steps to 2 or 3
Didn`t get what you mean.

Quote:
Steps light up as they are triggered to show playback progress
That probably can be complex and to much unnesessary CPU. You can light up key names in step sequencer/mixer/drumpad though if you have JSFX tracker added to track and enabled in preferences.
mpl is offline   Reply With Quote
Old 03-10-2019, 02:50 PM   #210
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Quote:
Originally Posted by mpl View Post

Currently resetting swing is alt+click...
Ah, ok

Quote:
Originally Posted by mpl View Post

See 1.98, right click
Amazing thanks

Quote:
Originally Posted by mpl View Post

Didn`t get what you mean.
So you could do stuff like this...

Attached Images
File Type: png tripl.png (31.5 KB, 1360 views)
todd_r is offline   Reply With Quote
Old 03-11-2019, 05:15 AM   #211
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by todd_r View Post
So you could do stuff like this...
Added a possibility to override auto width, see Menu/GUI options.
mpl is offline   Reply With Quote
Old 03-11-2019, 09:19 AM   #212
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Quote:
Originally Posted by mpl View Post
Added a possibility to override auto width, see Menu/GUI options.
Thanks! I'll check it out asap
todd_r is offline   Reply With Quote
Old 03-20-2019, 02:55 AM   #213
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Quote:
Originally Posted by mpl View Post
Added MIDI choke support (controlled from RS5k manager GUI). This requere RS5k manager update itself and also RS5k manager tracker JSFX update.
Nice thanks!
todd_r is offline   Reply With Quote
Old 03-20-2019, 09:24 AM   #214
todd_r
Human being with feelings
 
todd_r's Avatar
 
Join Date: Nov 2006
Posts: 855
Default

Quote:
Originally Posted by mpl View Post
Added a possibility to override auto width, see Menu/GUI options.
Not quite sure how this works. What I meant was being able to split an individual step into 2 to gets 32nd notes, or into 3 to get triplets. Maybe it would be too difficult
todd_r is offline   Reply With Quote
Old 04-23-2019, 02:15 AM   #215
Supremo
Human being with feelings
 
Join Date: Mar 2019
Posts: 34
Default

Hi Michail! Thanks for this awesome script, really helpful! Could you please explain how I can change the RS5K manager background color so that it fits better to my reaper theme? What values should I edit in the script to change the background color to r:30 g:33 and b:38?


Many thanks!
Supremo is offline   Reply With Quote
Old 06-20-2019, 11:56 AM   #216
Supremo
Human being with feelings
 
Join Date: Mar 2019
Posts: 34
Default

Quote:
Originally Posted by mpl View Post
See lines 521-531 in GUI_draw() function in /FX specific/RS5k_manager functions/mpl_RS5k_manager_GUI.lua. You have to deal with RGB innitial values (clamped to [0..1]), but you probably have to edit also a gradient increment for RGB values in X and Y direction as well as alpha channel.

Note, you`ll lost your changes on next update. Later this week I`ll force background RGBA to script configuration, so you`ll be able to edit background color from reaper.ini.
Many thanks Michail! Looking forward!
Supremo is offline   Reply With Quote
Old 06-23-2019, 11:38 AM   #217
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by Supremo View Post
Hi Michail! Thanks for this awesome script, really helpful! Could you please explain how I can change the RS5K manager background color so that it fits better to my reaper theme? What values should I edit in the script to change the background color to r:30 g:33 and b:38?
Added option to set background color (see Menu/GUI options))
mpl is offline   Reply With Quote
Old 08-08-2019, 03:46 PM   #218
Sweetfoot
Human being with feelings
 
Join Date: Feb 2017
Posts: 120
Default Amazing work

Amazing work! This script makes me see RS5K in a new light!

There's a couple features I'd love to see added:

It would be really useful to be able to select more than one pad at a time

It would be great to be able to define a group of pads (ideally by lasso selection), and have any pad played within that group send a note-off to all other pads in that group; this would be really useful for sliced samples, where you want each slice to play full length (ignoring note-offs) until another slice is played, causing the first to get cut off. This would also be an easy way to set up a hihat choke

When running the "Export selected items to RS5K instances on slected track" script it would be great to be able to define the note base with MIDI input in addition to typing in the note number (i.e. hit a pad or key on a midi controller)

Finally, it would be really convenient to be able to use a pad or key on a MIDI controller to select its corresponding pad in the manager, and/or float it's associated RS5k instance. Possibly with a modifier+MIDI input?

Thank you in advance!
Sweetfoot is online now   Reply With Quote
Old 08-08-2019, 04:03 PM   #219
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,669
Default

Quote:
"Export selected items to RS5K instances on slected track"
these actions are throwing up a message that says ~ "Must be using reaper 5.4 + for this to work" and i'm on the latest pre...
__________________
mccrabney scripts: MIDI edits from the Arrange screen ala jjos/MPC sequencer
|sis - - - anacru| isn't what we performed: pls no extra noteons in loop recording
| - - - - - anacru|sis <==this is what we actually performed.
mccrabney is offline   Reply With Quote
Old 08-11-2019, 03:19 AM   #220
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by mccrabney View Post
these actions are throwing up a message that says ~ "Must be using reaper 5.4 + for this to work" and i'm on the latest pre...
Not related to RS5K manager, but should be fixed now.
mpl is offline   Reply With Quote
Old 08-11-2019, 06:41 AM   #221
tapemelancholy
Human being with feelings
 
Join Date: Sep 2018
Posts: 92
Default Chokes

Hi!
Thanks for your work!
Now I am trying to setup drum rack for finger drumming but chokes not working. What can be wrong?

tapemelancholy is offline   Reply With Quote
Old 08-11-2019, 08:12 AM   #222
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Maybe. Chokes didn't tested well.
mpl is offline   Reply With Quote
Old 08-17-2019, 10:41 AM   #223
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 316
Default

This thing is so fantastic!!! Very nice 'n easy workflow!!! Is it possible, to add samples directly from the arrangement? Drag 'n drop somehow? There was a key combination in another context, forgot that, but I'm pretty sure....
MCCY is offline   Reply With Quote
Old 08-17-2019, 10:44 AM   #224
MCCY
Human being with feelings
 
Join Date: Apr 2009
Posts: 316
Default

YES YES YES!!!!! hold Alt & apple!!!!
MCCY is offline   Reply With Quote
Old 08-23-2019, 10:23 AM   #225
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by MCCY View Post
This thing is so fantastic!!! Very nice 'n easy workflow!!! Is it possible, to add samples directly from the arrangement? Drag 'n drop somehow? There was a key combination in another context, forgot that, but I'm pretty sure....
You can use script mpl_Export selected items to RS5k instances on selected track (use original source).lua (this works separately from RS5K manager, but manager handles stuff imported by script too)

Last edited by mpl; 08-27-2019 at 08:20 PM.
mpl is offline   Reply With Quote
Old 08-23-2019, 11:44 AM   #226
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Also added mpl_Collect and replace selected tracks RS5k instances samples into project folder.lua script, I remember someone ask here for such thing (actually when you save project, REAPER copy samples to /Samples and replace related rs5k links)
mpl is offline   Reply With Quote
Old 08-27-2019, 09:56 AM   #227
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 753
Default

Quote:
Originally Posted by todd_r View Post
Yeah, I was thinking more in terms of playing sounds chromatically, so more suited as a separate action than the Reasamplomatic manager
Actually, I think that having Pitch Detection algos in RS5K would be a great request for Reaper 6 or so.
When sampling for chromatic playing, pitch detection is pretty much a requirement.
A shame that most samplers do not even mess with that aspect of sampling.
They can simply allow the user to select the algorithm (and audition them),
much like one would do for choosing Timestretch algorithms.
Also, maybe, based on the transients, peaks, noise, and general spectral data,
RS5K could automatically choose a suggested pitch detection mode.

And for drum samples, Sitala's approach, dragging the tallest peak left and right,
is probably the best I've seen for drum sampling.
Maybe if one day Reaper does add pitch detection modes to RS5K,
maybe RS5K Manager can be allowed to force a default pitch detection (peak based) pitch detection mode.

There's so much that can be done in Reaper regarding sampling.
Hopefully, someday, it becomes a dev priority.
Ozman is offline   Reply With Quote
Old 08-27-2019, 09:02 PM   #228
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by Ozman View Post
Actually, I think that having Pitch Detection algos in RS5K would be a great request for Reaper 6 or so.
When sampling for chromatic playing, pitch detection is pretty much a requirement.
A shame that most samplers do not even mess with that aspect of sampling.
They can simply allow the user to select the algorithm (and audition them),
much like one would do for choosing Timestretch algorithms.
Also, maybe, based on the transients, peaks, noise, and general spectral data,
RS5K could automatically choose a suggested pitch detection mode.

And for drum samples, Sitala's approach, dragging the tallest peak left and right,
is probably the best I've seen for drum sampling.
Maybe if one day Reaper does add pitch detection modes to RS5K,
maybe RS5K Manager can be allowed to force a default pitch detection (peak based) pitch detection mode.

There's so much that can be done in Reaper regarding sampling.
Hopefully, someday, it becomes a dev priority.
Is that all somehow up to me? I can`t do anything with REAPER build-in sampler. All I can is just a front-end around existing features.

I can make a script to "fix" pitch offset of corresponding RS5k focused instance sample to have C3 as base note. Or have proper base note shifted respectively. But it is a stupid waste of time, because it is an awful workflow implementation (as RS5k manager is and RS5k in some cases specifically), wouldn`t be rewarded btw - I will just spend my time for the thing noone will use.
mpl is offline   Reply With Quote
Old 08-28-2019, 05:40 AM   #229
Ozman
Human being with feelings
 
Join Date: Feb 2015
Posts: 753
Default

Quote:
Originally Posted by mpl View Post
Is that all somehow up to me? I can`t do anything with REAPER build-in sampler.
All I can is just a front-end around existing features.

I can make a script to "fix" pitch offset of corresponding RS5k focused instance sample to have C3 as base note.
Or have proper base note shifted respectively. But it is a stupid waste of time,
because it is an awful workflow implementation (as RS5k manager is and RS5k in some cases specifically),
wouldn`t be rewarded btw - I will just spend my time for the thing noone will use.
Exactly.
That's why I really hope that RS5K gets some love from Reaper devs.
It's like the real antiquity of the whole DAW.
And if they do upgrade it some, yet do not really integrate it with the arrangement and other parts of the DAW,
then they can atleast have API methods for programmers,
like as yourself, to utilize whatever new tools they put in it.

Honestly, if it was up to me, all of 2020 would be about about rebuilding a robust native Sampler. I can go on and on.
But overall, thank you mpl, for making RS5K so much more usable.
It's definitely up to the Reaper devs, though, to bring Sampling in Reaper into 2020 vision.
Ozman is offline   Reply With Quote
Old 09-01-2019, 06:43 AM   #230
mplay
Human being with feelings
 
Join Date: Jan 2009
Location: Curaçao
Posts: 410
Default

Just an idea, to me it would be awesome if it was possible to add a swing knob which is mappable to a controller. The idea is to choose a groove file for the swing and have the swing knob control the percentage of how much the position and maybe even the velocity changes. Would love to hear if you'd be interested in adding this Mpl!
mplay is offline   Reply With Quote
Old 09-01-2019, 07:58 AM   #231
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by mplay View Post
Just an idea, to me it would be awesome if it was possible to add a swing knob which is mappable to a controller. The idea is to choose a groove file for the swing and have the swing knob control the percentage of how much the position and maybe even the velocity changes. Would love to hear if you'd be interested in adding this Mpl!
There is mpl_QuantizeTool for such cases.
mpl is offline   Reply With Quote
Old 09-16-2019, 11:54 PM   #232
skidexa
Human being with feelings
 
Join Date: Sep 2019
Posts: 2
Default

Hi Mpl, I'm experiencing this issue with RS5K manager, are you able to help?
Attached Images
File Type: png reaper.png (52.1 KB, 273 views)
skidexa is offline   Reply With Quote
Old 09-16-2019, 11:58 PM   #233
skidexa
Human being with feelings
 
Join Date: Sep 2019
Posts: 2
Default

^^^Never mind, fixed it. I had to install the various functions from Reapack. Thanks
skidexa is offline   Reply With Quote
Old 10-15-2019, 03:07 PM   #234
winbe
Human being with feelings
 
Join Date: May 2006
Posts: 1,361
Default

Hello,

I am a very happy user of MPL R5k manager, I use it everyday in every composition, it totally replaced Poised or Battery for me.

Now, I am sure there is a script to do the following, or a suite of actions, but I cannot figure it out.

I have loaded several samples, and I record a midi item on my track which has several R5K instances. It plays very nicely. Now, I would love to convert this back to audio items, instead of midi notes, to do some extra editing (fades for instance).

I have found one script that does nearly that, but it only takes the first instance of R5K and then generates the right pattern, but with only one wave file, the one from my first R5K instance. (script name is: convert RS5K Midi item into source based audio items (drum mode))

Thanks for your help !

EDIT: I am doing it by hand and realizing that with audio, sound will be slightly different because when using pitch shifting within R5K, and this is a limitation I would love to see somehow fixed in v6...
it can only do basic ptich shift, with no stretch. When doing it "by hand", I apply a "smart" pitch shift (using shift+9 of shift+0 shortcuts) which changes pitch, not speed.
__________________
Cedric Simon aka FrozenjaZz
Fresh beats - www.frozenjazz.com

Last edited by winbe; 10-15-2019 at 03:31 PM.
winbe is offline   Reply With Quote
Old 10-16-2019, 10:43 AM   #235
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by winbe View Post
I have found one script that does nearly that, but it only takes the first instance of R5K and then generates the right pattern, but with only one wave file, the one from my first R5K instance. (script name is: convert RS5K Midi item into source based audio items (drum mode))
fixed
mpl is offline   Reply With Quote
Old 10-18-2019, 07:33 AM   #236
winbe
Human being with feelings
 
Join Date: May 2006
Posts: 1,361
Default

wôt?
Thanks!! I have to test it then!
You really rule (or rock, or whatever nice word )
__________________
Cedric Simon aka FrozenjaZz
Fresh beats - www.frozenjazz.com
winbe is offline   Reply With Quote
Old 10-18-2019, 12:36 PM   #237
winbe
Human being with feelings
 
Join Date: May 2006
Posts: 1,361
Default

I tried the fix, and I could have saved so much time!
The only "bugs" that are left, are that pitch is not applied, but no big deal, I do it manually, and as the title says, it is in "drum" mode, and you have to manually adjust the length of each sample.

But the most important is there: the samples are at the right volume, and at the right position!
__________________
Cedric Simon aka FrozenjaZz
Fresh beats - www.frozenjazz.com
winbe is offline   Reply With Quote
Old 10-19-2019, 09:36 AM   #238
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Quote:
Originally Posted by winbe View Post
The only "bugs" that are left, are that pitch is not applied
here is a quick mod
Code:
-- @version 1.01
-- @author MPL
-- @website http://forum.cockos.com/member.php?u=70694
-- @description Convert RS5k MIDI item into source based audio items (drum mode)
-- @changelog
--    # obey multiple rs5k instances

  local scr_nm = 'Convert RS5k MIDI item into source based audio items (drum mode)'
  for key in pairs(reaper) do _G[key]=reaper[key]  end 
  function msg(s) ShowConsoleMsg(s) end
  ------------------------------------------------------------------------------
  function ConvertRS5kMIDI2AudioItems(item)
    if not item then return end
    take = GetActiveTake(item)
    if not take or not TakeIsMIDI(take) then return end
    
    local tr= GetMediaItem_Track( item )
    
    -- build pitch map
      p_map = {}
      for fx = 1, TrackFX_GetCount( tr ) do
        local retval, buf = TrackFX_GetParamName( tr, fx-1, 3, '' )
        if retval and buf == 'Note range start' then
          local pitch = math.floor(TrackFX_GetParam( tr, fx-1, 3 )  * 128)
          local pitch_offset = TrackFX_GetParam( tr, fx-1, 15)
          local retval2, sample_path = reaper.TrackFX_GetNamedConfigParm( tr, fx-1, 'FILE' )
          if retval2 then 
            local src =  PCM_Source_CreateFromFileEx( sample_path, false )
            local srclen = GetMediaSourceLength( src )
            if not src then return end
            p_map[pitch] = {spl = sample_path,
                            src=src,
                            srclen=srclen,
                            pitch_offset=(pitch_offset-0.5)*160}
          end
        end
      end
      
    
    
    -- collect data
      local data ={}
      for i = 1,  ({MIDI_CountEvts( take )})[2] do 
        local _, s, m, sppq, eppq, c,p, v =MIDI_GetNote( take, i-1 )
        if m then m = 1 else m = 0 end
        data[#data+1] = {mute = m,
                         pos =  MIDI_GetProjTimeFromPPQPos( take, sppq ),
                         vol = v/127,
                         pitch=p}
      end
      
    -- add audio items
      SetMediaItemInfo_Value( item, 'B_MUTE', 1 ) -- mute MIDI
      for i = 1, #data do
        local new_item = AddMediaItemToTrack( tr )
        local take = AddTakeToMediaItem( new_item )
        local p0 = data[i].pitch
        if p_map[p0] then
          local prate = 2^(p_map[p0].pitch_offset/12) 
          SetMediaItemTake_Source( take, p_map[p0].src )
          SetMediaItemInfo_Value( new_item, 'B_MUTE', data[i].mute )
          SetMediaItemInfo_Value( new_item, 'D_VOL', data[i].vol )
          SetMediaItemInfo_Value( new_item, 'D_POSITION', data[i].pos )
          SetMediaItemInfo_Value( new_item, 'D_LENGTH', p_map[p0].srclen/prate ) 
          SetMediaItemTakeInfo_Value( take, 'D_PITCH',  p_map[p0].pitch_offset )
          SetMediaItemTakeInfo_Value( take, 'D_PLAYRATE', prate)
           
        end
      end
    
    UpdateArrange()
  end
  ------------------------------------------------------------------------------
  Undo_BeginBlock2( 0 )
  item = GetSelectedMediaItem(0,0)
  ConvertRS5kMIDI2AudioItems(item)
  Undo_EndBlock2( 0, scr_nm, 0 )
mpl is offline   Reply With Quote
Old 10-19-2019, 06:26 PM   #239
akademie
Human being with feelings
 
Join Date: Mar 2007
Posts: 3,978
Default

Hi mpl,
it seems that the conversion to audio items is not correct if samples in rs5k are not starting at zero samples.
E.g. if I import audio with measure of a drumbeat and set one instance of rs5k to selection of some drumhit within that beat (let's say the second kick) and second instance with another selection from the same audio file (e.g. first snare hit), then make some beat in midi item. When converted, all new audio items will start from zero point in that imported audio file.
akademie is offline   Reply With Quote
Old 10-19-2019, 11:07 PM   #240
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

yeah it also doesn`t handle fades, pan, adsr etc
mpl is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:43 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.