Entra:     


Forum: General Discussion

Topic: Script School - Page: 18.65

Questa parte dell'argomento è obsoleta e potrebbe contenere informazioni obsolete o errate

appears so.
 

list looks to visually change, order seem to match but this is only visual and temporary
nothing is done, even using the mouse
exiting the bank and enter the bank again restore initial order
easy to see using sampler pad, no name change

this only moves slot position on screen, but do not move sample from slot to another
nothing save
 

Ultimately, I want to play one beat and then scratch back one beat. However, scratch_dna does not allow us to take our hand off the platter and play it.
 

@twaga I understand even less now, wanting a script and talking about hand on platter are opposites.
 

Not sure about that either
maybe a button to back scratch one beat ?

touchwheel_touch on & param_multiply -60000 `get_bpm & param_1_x` & param_cast ms & scratch & repeat_start ws 1 & repeat_stop ws & touchwheel_touch off
 

Nicotux wrote :
list looks to visually change, order seem to match but this is only visual and temporary
nothing is done, even using the mouse
exiting the bank and enter the bank again restore initial order
easy to see using sampler pad, no name change

this only moves slot position on screen, but do not move sample from slot to another
nothing save

ok thanks!

hi at all, is there a way to add samples with focus in browser_window ‘songs’ to sideview ‘sampler’ (in one sampler bank)? because if focus is in sideview ‘sampler’ with script browser_remove i can remove a sample from sample bank..but i haven’t see a script for add a sample, is there? thanks!!

 

Nicotux wrote :
Not sure about that either
maybe a button to back scratch one beat ?

touchwheel_touch on & param_multiply -60000 `get_bpm & param_1_x` & param_cast ms & scratch & repeat_start ws 1 & repeat_stop ws & touchwheel_touch off



Thank you very much.
It's a complicated script for me, but could you please tell me the meaning of "ws"?




Ultimately, I would like to make a scratch like this video with VDJscript or scratch_dna.

https://www.youtube.com/watch?v=wRALDF5-jBU


 

There is no special meaning at all, it's the name I gave to the "wait for scratch to end" pseudo loop ;)
(repeat_start needs a name, duration is in parameter (same as scratch duration)
wait delay is needed because "scratch" returns imediately and does not work when jog is not touched
 

hi, why button script:
get_browsed_folder & param_contains ‘Recordings’ ? loaded ? unload : load : nothing

that if focus is in browser_window ‘songs’ would load in a deck only samples in Recordings Sampler Folder doesn’t work? in a deck i read “no file detected” and under i read “Recordings”…..what is wrong? 🤔
 

hi, i’m trying to map 2 buttons that make sequencer like Rekordbox (i have Pioneer Ddj-Rzx)…for button play i have solved, but for button record i have this problem: i would that pushed rec button, ‘sampler’ rec be ready to rec, but rec when i push e sampler pad and not instantanealy…is there a script help me? thanks!
 

you're calling the sample with a script event, so just make that the moment when you call record too.
 

locodog wrote :
you're calling the sample with a script event, so just make that the moment when you call record too.

yes i have solved mapping button Record: sample_rec ? sampler_rec_stop : toggle ‘record’
and 8 sample pads: var ‘record’ 1 ? set ‘record’ 0 & sampler_rec_start & sample_pad 1-8 : sample_pad 1-8

 

…pushing button ‘RECORD’ can i mapping a countdown (4secons) and see in DDJ-RZX screens 4-3-2-1 start
?? thanks!!
 

is there a correct script for sampler_position ‘get_browsed_song’ ? because if i set generic script sampler_position i can’t see position about sample played in browser_window ‘songs’ :( i can see always 0
 

Needs a number or will return for only the default/selected sample
 

locodog wrote :
Needs a number or will return for only the default/selected sample

yes infact if i have sample title ‘pippo’ and i have script: sampler_position ‘pippo’
it works…but when i scroll samples in browser_window ‘songs’ how can i put sample title inside ‘’?
sampler_position ‘’
i will have different title inside ‘’
 

this was get_browsed_song 'Pos' but look like it was removed
 

get_browsed_song 0 'columnname'
should still work. I don't think 'pos' was ever a thing.
 

yes Pos was a thing in browser and sampler getting the position playing in track or sample
"Pos" b S - -
not to confound with position which is the index in the display list (sorted)
"Position" b _ K P
not to confound with order which is the index in the display list (as it should be played - but is currently not)

I have (was having) a grid with columns -(121 entries from album to Year including alias) and place they are (were) available - (most are unusable now) browser, sampler, karaoke, search, askthedj, automix&sidelist, history
 

Ah sorry, you mean the sampler column. That one indeed still exists, but is indeed not available from script (and I don't think ever has)

But to see the position of the sample playing in the browser, the easiest would be to just use the Pos column?
 

38%