Maybe Too Hard A Question ?
-
@MusoCity said in Maybe Too Hard A Question ?:
I want the audio loop player to also follow the host tempo.
- You mean time stretching? Not available in HISE (at the moment)
@MusoCity said in Maybe Too Hard A Question ?:
If I want the audio loop player to loop a particular section of a wav file when I input midi notes 57+61+64 (A chord) and loop another section when I input 58+62+65 (A# chord).
I have no idea about the loop player(never used it) - but you can set the sample start, loop start, loop end and sample end points in the Sampler..
- so get the BPM of the DAW,
- work out (in samples the length you want i.e. 1 Bar)
- decide your start point in samples
- set the start end end points of the sample and the loop...
-
I also think that the AudioLoopPlayer is the wrong choice for this.
Why no sampler? -
-
Sampler ? can you set the chord input, can you give an example.
This is the tempo sync I mean in Audio Loop Player
4 SyncMode Syncs the looper to the host tempo -
@MusoCity The user can't load their own samples into the sampler so I don't think it will be suitable for you.
-
@MusoCity said in Maybe Too Hard A Question ?:
do you think I'm flogging a dead horse here ?
-
@MusoCity I don't know enough about the audio loop player or your use case to give an informed opinion.
-
@UD-AUDIO said in Audio Loop Player Sync Mode Not Working?:
@MikeB It does "work" for me but I have issues with changing octaves.
I need to leave a gap between any note to get it work correctly.
Got no clue why this is happening but I guess it has time stretching reasons etc.One says it doesn't work and one says it works ???
-
@MusoCity I think the tempo sync is just the playback speed of the loop, it won't do any time stretching though. Is that what you need?
-
@d-healey said in Maybe Too Hard A Question ?:
@MusoCity The user can't load their own samples into the sampler so I don't think it will be suitable for you.
I know that - but he didn't mention that users can load samples themselves.
Or did I read something over? -
So basically the user will drop a wav into the audio loop player,
-
Then I have read something over
-
Solved:
Maybe Too Hard A Question ? = Too Hard -
Here's a video of a script in Reaper that takes midi chord input then goes to that section of the wav, that was all I was looking to do.
https://www.dropbox.com/s/cclb5zq413870e4/BB-Tracks-Live-Chord-Playing.mp4?dl=0 -
@MusoCity then all you need is a script that detects the chords you care about - and a sample start modulator(a constant) that you then set to a percentage of your sample length...simple really...
-
@Lindon But the user still can't add audio to the sampler - does start mod work with the audio loop player?
-
@d-healey said in Maybe Too Hard A Question ?:
@Lindon But the user still can't add audio to the sampler - does start mod work with the audio loop player?
true, and no idea...
-
BUT, what if the code is created that "detects the chords you care about - and a sample start modulator" for this
Guitar, Strum, Ev8 4-4 120bpm
Save as XML into that folder then the user just > Open XML > Guitar, Strum, Ev8 4-4 120bpm.xml ?
You even have a Recent list for XML.
Will this loop the section same as looper ?C=48,52,55
C#=49,53,56
.....
B=59,63,66Cm=48,51,55
C#m=49,52,56
.....
Bm=59,62,66 -
@MusoCity HISE doesn't have a scriptable xml parser. The save as/open recent XML is for HISE's internal project file format.
If you (not the end user) load some samples into a sampler and set it so the whole sample is loaded into RAM, then you can start playback from any position you like. If you script a chord detector then you can link the sample start position to the played chord.
As far as I know HISE only manages a single looped section for each sample. You can change the looped section's start and end dynamically, but I don't know if this is suitable for real-time playback, you'd need to test it.
-
Yes I mean for the user to open the project file.
The java script should be faster than the time it takes to change your finger position on the guitar hopefully.
Just need a bright spark to come up with a snippet I can test.