Hello everyone,
I have two files:
1x Horn.wav and 1x Horn.vdjsample.
"Horn.wav" is located in "VirtualDJ/Sampler/Sounds/Horn.wav"
"Horn.vdjsample" is located in "VirtualDJ/Sampler/Audio/Horn.vdjsample"
On my old Windows laptop I could map them,
(sampler "Sounds\Horn.wav" play while_pressed)
or
(sampler "Audio\Horn" play while_pressed)
always without brackets
but it doesn't work with my MBP M5
How can I map them directly to a key (using "while_pressed") on my MacBook Pro M5, without having to use the PadPage Sampler from VirtualDJ or a controller? For example, the keyboard keys "B" and "N".
``` Because the main folder is no longer located in "My Documents" (or "My Documents"),
(on my MBP the path is:
"Macintosh HD/User:innen/Max/Library/Application Support/VirtualDJ/Sampler/")
I tried both:
"Macintosh HD/User:innen/Max/Library/Application Support/VirtualDJ/Sampler/Audio/Horn.wav"
and
"Macintosh HD/User:innen/Max/Library/Application Support/VirtualDJ/Sampler/Sounds/Horn.vdjsample"
(Where "Max" is, that's my username...)
I tried all variations with "/" and "\"...
Somehow it's not working anymore, can someone please help me...
(I wrote everything with Google Translate, I hope it's understandable).
I have two files:
1x Horn.wav and 1x Horn.vdjsample.
"Horn.wav" is located in "VirtualDJ/Sampler/Sounds/Horn.wav"
"Horn.vdjsample" is located in "VirtualDJ/Sampler/Audio/Horn.vdjsample"
On my old Windows laptop I could map them,
(sampler "Sounds\Horn.wav" play while_pressed)
or
(sampler "Audio\Horn" play while_pressed)
always without brackets
but it doesn't work with my MBP M5
How can I map them directly to a key (using "while_pressed") on my MacBook Pro M5, without having to use the PadPage Sampler from VirtualDJ or a controller? For example, the keyboard keys "B" and "N".
``` Because the main folder is no longer located in "My Documents" (or "My Documents"),
(on my MBP the path is:
"Macintosh HD/User:innen/Max/Library/Application Support/VirtualDJ/Sampler/")
I tried both:
"Macintosh HD/User:innen/Max/Library/Application Support/VirtualDJ/Sampler/Audio/Horn.wav"
and
"Macintosh HD/User:innen/Max/Library/Application Support/VirtualDJ/Sampler/Sounds/Horn.vdjsample"
(Where "Max" is, that's my username...)
I tried all variations with "/" and "\"...
Somehow it's not working anymore, can someone please help me...
(I wrote everything with Google Translate, I hope it's understandable).
Posted yesterday @ 10:05 am
You're using, v7 script syntax, use the v8 syntax
sampler_play "FILEPATH" while_pressed
sampler_play "FILEPATH" while_pressed
Posted yesterday @ 11:07 am
locoDog wrote :
You're using, v7 script syntax, use the v8 syntax
sampler_play "FILEPATH" while_pressed
sampler_play "FILEPATH" while_pressed
First of all, thank you so much, LOGODOG.
The `sampler_play "FILEPATH" while_pressed` command didn't quite work.
The sample played, but `while_pressed` didn't work. Stopping it didn't work either.
Then I used `sampler_play_stop "FILEPATH"`. That worked.
Thanks again for the tip.
Where can I find the complete syntax for v8? Is it somewhere in the forum?
Posted 6 hours ago
Basic outline and the verb dictionary
https://virtualdj.com/wiki/VDJscript.html
https://virtualdj.com/wiki/VDJscript_verbs_v8.html
In depth verb by verb syntax analysis [see 2026 tutorial links at bottom of first post]
https://virtualdj.com/forums/223743/General_Discussion/Script_School.html?page=1
https://virtualdj.com/wiki/VDJscript.html
https://virtualdj.com/wiki/VDJscript_verbs_v8.html
In depth verb by verb syntax analysis [see 2026 tutorial links at bottom of first post]
https://virtualdj.com/forums/223743/General_Discussion/Script_School.html?page=1
Posted 6 hours ago
locoDog wrote :
Basic outline and the verb dictionary
https://virtualdj.com/wiki/VDJscript.html
https://virtualdj.com/wiki/VDJscript_verbs_v8.html
In depth verb by verb syntax analysis [see 2026 tutorial links at bottom of first post]
https://virtualdj.com/forums/223743/General_Discussion/Script_School.html?page=1
https://virtualdj.com/wiki/VDJscript.html
https://virtualdj.com/wiki/VDJscript_verbs_v8.html
In depth verb by verb syntax analysis [see 2026 tutorial links at bottom of first post]
https://virtualdj.com/forums/223743/General_Discussion/Script_School.html?page=1
Thank you so much
Posted an hour ago





