Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Sample player issue.

For general discussion related FlowStone

Sample player issue.

Postby lalalandsynth » Tue Mar 03, 2020 7:30 pm

Getting back into FS , bit rusty must admit.

I am using a sample player and I need it to play whenever the daw is playing.

The sample player i am using (EXO drum sampler) is midi triggered via a midi to poly so I am using the "Is Playing" prim via a a trig to midi to play and stop whenever daw is playing/stopping.

this is a bit dodgy to be honest ...
It should play a drum loop and now it seems to skip the first beat when hitting play , suspect my midi trigger thingy ..?

In any event I would like to trigger the sample player without this midi trigger middleman.
I am not very familiar with the poly stream , have not really made any synths.

Can I somehow trigger the midi to poly or even the poly driven counter with a simple trigger rather then using the MIDI?

If I am not making any sense , I can try and explain better ?

Thanks everyone
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Sample player issue.

Postby tulamide » Tue Mar 03, 2020 8:52 pm

That would be interesting for me to know as well.

As far as I understand, the polystream is only active while needed. MIDI can trigger it's usage and an impulse can as well (see Analyzer prim). But how to trigger it from when the Daw starts, is a mystery to me. I'm just sure that isPlaying should be avoided, because it's green and therefore unreliable regarding timing.

I'm eager to read what the gurus have to say :)
"There lies the dog buried" (German saying translated literally)
tulamide
 
Posts: 2714
Joined: Sat Jun 21, 2014 2:48 pm
Location: Germany

Re: Sample player issue.

Postby lalalandsynth » Tue Mar 03, 2020 9:04 pm

Ah, of course , the isPlaying is green ! that might be the source of my problems ...in any event , a green will never work properly..so yeah. Also, using something i hacked together to make a midi note from a trig...green again.
This will never work, need a sample accurate start somehow ?

Wonder how you can play something and start sample accurate ?
Last edited by lalalandsynth on Tue Mar 03, 2020 10:18 pm, edited 4 times in total.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Sample player issue.

Postby MichaelBenjamin » Tue Mar 03, 2020 9:04 pm

.
Last edited by MichaelBenjamin on Mon Sep 21, 2020 10:47 am, edited 1 time in total.
MichaelBenjamin
 
Posts: 275
Joined: Tue Jul 13, 2010 1:32 pm

Re: Sample player issue.

Postby lalalandsynth » Tue Mar 03, 2020 9:08 pm

edit
Last edited by lalalandsynth on Tue Mar 03, 2020 9:51 pm, edited 1 time in total.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Sample player issue.

Postby lalalandsynth » Tue Mar 03, 2020 9:11 pm

I could test if it is the isPLaying that is messing up the first beat and the render by making a temp midi input , triggering via midi , that should be sample accurate , as opposed to using the isPLaying.

TESTED: Works when I use a midi note in Reaper to start play rather then the isPLaying...so the isPLaying is the culprit.
Which i should have known to be honest :)

Conclusion/Solutions :

1 . Trigger a MIDI note within the schematic to start the sample player from a sample accurate isPlaying ?
2. Somehow trigger the counter with something else then a midi note ?
i do not want to use an "external" midi track.
In both cases I would need a sample accurate start ? I fail to see how someone can make a midi sequencer without that , unless i am overlooking something ?



Sidenote : on the isPlaying "Outputs trigger , when transport stop event occurs" does not work.
Not in Reaper at least
Can be remedied with a bool to false on the "True if host is playing"
Last edited by lalalandsynth on Tue Mar 03, 2020 10:44 pm, edited 6 times in total.
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Sample player issue.

Postby lalalandsynth » Tue Mar 03, 2020 9:51 pm

MichaelBenjamin wrote:there's also a stream version of is_playing, aswell as a stream ppq pos.
you could make a test vst which prints out that stuff from these to see how your host handles these.


Where can i find this stream version of isPlaying ?
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Sample player issue.

Postby MichaelBenjamin » Tue Mar 03, 2020 11:36 pm

.
Last edited by MichaelBenjamin on Mon Sep 21, 2020 10:47 am, edited 1 time in total.
MichaelBenjamin
 
Posts: 275
Joined: Tue Jul 13, 2010 1:32 pm

Re: Sample player issue.

Postby lalalandsynth » Tue Mar 03, 2020 11:59 pm

Oh I see, no such thing that I can find .
User avatar
lalalandsynth
 
Posts: 600
Joined: Sat Oct 01, 2016 12:48 pm

Re: Sample player issue.

Postby trogluddite » Wed Mar 04, 2020 12:23 am

lalalandsynth wrote:Oh I see, no such thing that I can find.

I have it here in both FS 3.0.6 and the latest 64-bit Alphas, so there's something wonky with your installation or toolbox filters/tags, I would guess. Does it show up OK in this schematic?
is_playing_stream.fsm
(201 Bytes) Downloaded 847 times

(NB: If you can see it, you might need to put it inside a module to add it to your toolbox - I don't think primitives are .hom files like modules are).

To address the wider question: I don't think there is any way to make a useful poly voice without MIDI. The Analyser will let you collect samples following a trigger, but you can't mix the same poly section down to blue mono. FS won't even allow the connection of both an Analyser and a Poly-to-Mono to the same poly section (I just tried it by forcing the connection with CTRL-ALT, but nothing shows on a scope connected to the Poly-to-Mono when the Analyser is triggered with an oscillator source). AFAIK, this is because the Analyser doesn't work at sample rate, but just collects all of the samples "off-line" as fast as it will go.

The best solution would depend on how many simultaneous loops you need and whether having code always running at maximum voices would be a problem. For four loops or fewer, mono4 might be a lot easier. However you could use poly with "dummy" notes generated internally just to set how many loops to play, but a custom sample counter which doesn't use the note-ons/note-offs for timing (just a reset by the isPlaying, PPQ-sync, or whatever).
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
trogluddite
 
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Next

Return to General

Who is online

Users browsing this forum: Google [Bot] and 44 guests