[Csnd] silgne-shot ftable-based audio playback?
| Date | 2018-10-02 23:06 |
| From | "Jeanette C." |
| Subject | [Csnd] silgne-shot ftable-based audio playback? |
Hey hey,
for performance/triggering reasons I have sounds stored in ftables and need to
play them back. The important constraints are:
1. playback in one instrument
2. the instrument has longer p3 than the sound
3. The sound only plays once and then stops
Is there a ready made opcode to do that for me? I didn't find any, but
candidates that looked almost right. ;)
Alternatively: I could play the sounds from file, but I'd need to iterate over
a few files, kown tome beforehand by name.
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* GitHub: https://github.com/jeanette-c
* Twitter: https://twitter.com/jeanette_c_s
You know I'm one of a kind,
There'll never be another me <3
(Britney Spears)
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2018-10-02 23:21 |
| From | Rory Walsh |
| Subject | Re: [Csnd] silgne-shot ftable-based audio playback? |
oacil1? On Tue 2 Oct 2018, 23:07 Jeanette C., <julien@mail.upb.de> wrote: Hey hey, |
| Date | 2018-10-02 23:22 |
| From | Rory Walsh |
| Subject | Re: [Csnd] silgne-shot ftable-based audio playback? |
oscil1. Sorry, autocorrect, although I've no idea what an aocil1 is 🤣 On Tue 2 Oct 2018, 23:21 Rory Walsh, <rorywalsh@ear.ie> wrote:
|
| Date | 2018-10-02 23:42 |
| From | "Jeanette C." |
| Subject | Re: [Csnd] silgne-shot ftable-based audio playback? |
Oct 3 2018, Rory Walsh has written:
> oscil1. Sorry, autocorrect, although I've no idea what an aocil1 is ?
Hm, the manual says that oscil1 only returns k-rate signals. Pity, it's
another of these almost opcodes.
...
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* GitHub: https://github.com/jeanette-c
* Twitter: https://twitter.com/jeanette_c_s
You know I'm one of a kind,
There'll never be another me <3
(Britney Spears)
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2018-10-03 09:44 |
| From | Rory Walsh |
| Subject | Re: [Csnd] silgne-shot ftable-based audio playback? |
Oh, I always assumed it would have an a-rate version. You'll probably have to roll your own. ifn = 1 aSample tab linseg:a(linseg 0, (ftlen(2)/sr), 1, 1, 1), 1, 1 On Tue, 2 Oct 2018 at 23:42, Jeanette C. <julien@mail.upb.de> wrote: Oct 3 2018, Rory Walsh has written: |
| Date | 2018-10-03 10:13 |
| From | "Jeanette C." |
| Subject | Re: [Csnd] single-shot ftable-based audio playback? |
Oct 3 2018, Rory Walsh has written:
...
> ifn = 1
> aSample tab linseg:a(linseg 0, (ftlen(2)/sr), 1, 1, 1), 1, 1
...
that reads like a very neat solution! Thanks a lot!
Best wishes,
Jeanette
--
* Website: http://juliencoder.de - for summer is a state of sound
* SoundCloud: https://soundcloud.com/jeanette_c
* Youtube: https://www.youtube.com/channel/UCMS4rfGrTwz8W7jhC1Jnv7g
* GitHub: https://github.com/jeanette-c
* Twitter: https://twitter.com/jeanette_c_s
Can't you see I'm a fool in so many ways <3
(Britney Spears)
Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here |
| Date | 2018-10-03 12:54 |
| From | Rory Walsh |
| Subject | Re: [Csnd] single-shot ftable-based audio playback? |
Apart from the typos, sorry. ifn should be used with the ftlen, and the tab opcode. On Wed, 3 Oct 2018 at 10:14, Jeanette C. <julien@mail.upb.de> wrote: Oct 3 2018, Rory Walsh has written: |