Maybe Too Hard A Question ?
-
This post is deleted! -
You'd need to convert your CSV to a json file, but I'm not familiar with the audio loop player so I don't know if your idea is possible.
-
https://www.convertcsv.com/csv-to-json.htm
So it can't parse it with the scripting ?
I can do it with Lua http://lua-users.org/wiki/LuaCsv#,Name,Start,End,Length,Color R1,,1.1.00,3.1.00,2.0.00,FF80C0 R2,A,3.1.00,5.1.00,2.0.00,E41A27 R3,A#,5.1.00,7.1.00,2.0.00,E41A27 R4,B,7.1.00,9.1.00,2.0.00,E41A27 R5,C,9.1.00,11.1.00,2.0.00,E41A27 R6,C#,11.1.00,13.1.00,2.0.00,E41A27
[ { "#": "R1", "Name": "", "Start": "1.1.00", "End": "3.1.00", "Length": "2.0.00", "Color": "FF80C0" }, { "#": "R2", "Name": "A", "Start": "3.1.00", "End": "5.1.00", "Length": "2.0.00", "Color": "E41A27" }, { "#": "R3", "Name": "A#", "Start": "5.1.00", "End": "7.1.00", "Length": "2.0.00", "Color": "E41A27" }, { "#": "R4", "Name": "B", "Start": "7.1.00", "End": "9.1.00", "Length": "2.0.00", "Color": "E41A27" }, { "#": "R5", "Name": "C", "Start": "9.1.00", "End": "11.1.00", "Length": "2.0.00", "Color": "E41A27" }, { "#": "R6", "Name": "C#", "Start": "11.1.00", "End": "13.1.00", "Length": "2.0.00", "Color": "E41A27" },
-
You could convert a CSV string to an array with scripting. If you use the file system api you could read in the text file directly, but a json file is simpler to work with.
-
HISE looks great, it should be more popular but it's seems really quiet around here and hard to get information and help. The last release was 2018.
The Reaper script request forum is very popular and helpful
https://forum.cockos.com/showthread.php?t=109934&page=64
Do you know anyone I can pay that will create a basic script I can work off or do you think I'm flogging a dead horse here ? -
@MusoCity Last release was 5 hours ago ;) I don't really understand the idea, but Lindon is the guy to ask for commissioning HISE work.
-
So Lindon is a forum user ?
This is the version I have
HISE 2.0.0
@christophhart christophhart released this on Nov 19, 2018 -
-
@MusoCity -- mention his name and he will appear!!!
-
I asked in the Reaper forum and got a lot of help and code also.
I think the users here are commercially based so it's hard to get any help, it's a shame as HISE is open source. I created the ReaTrak for Reaper with Lua scripting free for users and are always creating scripts for other users in the script request forum along with so many others doing the same so I might create a HISE thread over there and get the scripters there interested. -
@MusoCity "commercially based"? "hard to get help"? - @d-healey has over 7K of posts helping people out last time I looked, I checked me too -- I have over 2K of posts, there's a ton of other people also helping out here.... so I could go on....
Perhaps you haven't clearly defined your problem with your HISE implementation in a way we can help you?
-
Sorry, maybe it's just just a bit quiet here at the moment.
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 want the audio loop player to also follow the host tempo.
So basically the user will drop a wav into the audio loop player, the script will read the start/end time pos of the chord sections in the wav file from the csv of the same name. The bpm of the wav file will be in the filename.
Guitar, Strum, Ev8 4-4 120bpm.wav
Guitar, Strum, Ev8 4-4 120bpm.csv#,Name,Start,End,Length,Color R1,,1.1.00,3.1.00,2.0.00,FF80C0 R2,A,3.1.00,5.1.00,2.0.00,E41A27 R3,A#,5.1.00,7.1.00,2.0.00,E41A27 R4,B,7.1.00,9.1.00,2.0.00,E41A27 R5,C,9.1.00,11.1.00,2.0.00,E41A27 R6,C#,11.1.00,13.1.00,2.0.00,E41A27 R7,D,13.1.00,15.1.00,2.0.00,E41A27 R8,D#,15.1.00,17.1.00,2.0.00,E41A27 R9,E,17.1.00,19.1.00,2.0.00,E41A27
-
@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 ???