Questions tagged [csound]

Csound is a sound design, audio synthesis, and signal processing system, providing facilities for music composition and performance on all major operating systems and platforms.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

CSound for Android, will not find wav files

I'm trying to figure out how to get wav recognized. A tutorial that uses a wav, which was included, won't find it. It is in the same folder as the .csd file. I have tried copying it to the Root ...
ST Music's user avatar
0 votes
1 answer
51 views

Change csound oscillator frequency while playing one note

I'm using CSound in the context of CSoundUnity to build a synthesizer with Unity. I would like to have the possibility to change the frequency of one note of quasi infinite duration during play-time. ...
Eberhard Schneider's user avatar
1 vote
0 answers
85 views

CSound breath control and soundfont

Using CSound I'm trying to change the volume of a note played by a soundfont "dynamically", i.e like if you were playing the trumpet and blowing stronger and stronger while playing the same ...
tienow's user avatar
  • 171
-1 votes
1 answer
2k views

Trying to invoke cc compiler

Very basic question here. I am just starting out with C coding using Csound. I am trying to invoke the compiler via instructions from a tutorial book. It says open console window and type this command ...
Dr. Shakamoto's user avatar
1 vote
0 answers
152 views

How to pipe Csound output to ffmpeg for conversion without an intermediate file?

On Ubuntu 20.04, Csound 6.13.0, ffmpeg 4.2.4 this plays fine: git clone https://github.com/csound/csound cd csound git checkout 92409ecce053d707360a5794f5f4f6bf5ebf5d24 csound examples/xanadu.csd and ...
Ciro Santilli OurBigBook.com's user avatar
0 votes
1 answer
62 views

Modifying Audio Files using CSound

Currently i am trying to create a game and having a radio which you must tune. I was experimenting using Csound and Frequency modulation and while it is possible using oscoil opcode however It does ...
SisterAmelia's user avatar
1 vote
0 answers
38 views

How do I figure out midi timing in Csound when exporting to a midi file?

i'm new to stack exchange so bear with me. I'm trying to export from a csound score to a midi file using either midion or midion2. The note values i'm sending to the midi file are updated at ...
Matt Laming's user avatar
2 votes
1 answer
62 views

CSound ignores 0dbfs assignment and terminates immediately

I am working through the CSound FLOSS manual and am perplexed by the results I'm getting with one particular example demonstrating the use of RMS in CSound. The example can be found on page 28 in the ...
BLUC's user avatar
  • 2,620
0 votes
2 answers
78 views

Is there any difference between `xtratim` and overriding p3?

According to reference csound manual, one should use xtratim (or opcodes that implicitly use it e.g. madsr) when writing instruments that respond to MIDI since the duration of the key/note is not know ...
Fizz's user avatar
  • 4,844
0 votes
1 answer
47 views

Is midipolyaftertouch broken in csound?

I'm not having much luck with the midipolyaftertouch opcode. Basically kPea init 0.1 midipolyaftertouch kPea, 1, 0.1, 0.9 printk2 kPea does not actually respond to polyphonic aftertouch messages. On ...
Fizz's user avatar
  • 4,844
0 votes
1 answer
45 views

Is there a way to log printk's somewhere from cabbage plugins inside DAWs?

Is there a way to log the printk's from a Cabbage plugin somewhere when it's running inside a DAW? Unlike the classic CsoundVST, with Cabbage you don't get a default log window in the plugin itself, ...
Fizz's user avatar
  • 4,844
1 vote
0 answers
18 views

2 Midi files in one project

I'm trying to play two separate midi files in one project. Bronson2 I have working fine. How should I approach bass.mid to get it to work alongside the other file. I have a feeling it's something ...
Mark Allidine's user avatar
0 votes
1 answer
138 views

I get an error message in csound and I don't know why

I don't know what is wrong with my code, and I don't know what thie error message I got means. I just started using Csound with Cabbage, and coding in general. I'm trying to ude 1 slider to set the ...
Arcanom's user avatar
1 vote
0 answers
51 views

How do you create a function in CSound?

I've read the Lazzarini book and it says you can declare an opcode like this: opcode EnvOsc, a, aaiiij amp,afr,iri, xout a2 endop but how do you declare a function? It's not in the book or ...
Richard's user avatar
  • 15.2k
-1 votes
1 answer
146 views

Can I send a sysex message using csound's midiout opcode? And how?

System Exclusive MIDI messages can be of an arbitrary length. Can csound's midiout opcode accommodate for that? Is there a workaround?
ZJR's user avatar
  • 9,404
0 votes
1 answer
21 views

Envelope From Two Tables of Arbitrary Length in CSound

I'm trying to make a pitch envelope out of two function tables. One table holds the pitch values and the other holds corresponding durations. The two tables will be equal length but that length can be ...
joehughes's user avatar
0 votes
1 answer
163 views

How render CSD File to WAV in HTML

I want record a csd File to WAV in a HTML interface. This is a codesnippet from csd File rendering to WAV, it worked in CsoundQt. instr 2 aSig monitor fout "...
Hans peter's user avatar
2 votes
1 answer
144 views

ctcsound not a valid Win32 Application

I already checked other questions for this topic but none of the solutions worked when I attempted them. As far as I can tell the rest of my code has nothing to do with this issue. I downloaded csound ...
Paulawalla120's user avatar
1 vote
0 answers
112 views

Can I use CSound in lua without knowing C?

I'm trying to learn my first computer language, lua, which will be interpreted by a musical synthesizer module running C++ code at a lower level. I'm wondering if I can use CSound without coding C++ ...
user avatar
1 vote
1 answer
340 views

getting syntax error, unexpected T_IDENT in csound trying to use faustcompile

I'm reading Computer Music Instruments by Victor Lazzarini. I'm attempting to run the first program in Appendix B, Shapes. It seems the program can't find faustcompile. When I run csound -z, it's not ...
jcaballi's user avatar
-2 votes
2 answers
74 views

Split string on one use of a word and not the other [duplicate]

fairly novice here, I'm looking for an effective way to use split() to split a string after a certain word. I'm working on a voice controlled filter using the Csound API in python, and say my input ...
Syl Morrison's user avatar
1 vote
1 answer
296 views

Embedding CSound in Common Lisp

I am working on embedding CSound in Lisp. CSound is a music synthesis (and more) open source software. It has a fairly simple (scripting) language. Quick start (10 min read) is available at the link ...
Capstone's user avatar
  • 2,264
2 votes
1 answer
2k views

Error: Audio Priority Boost

Using CSound for Android I get this (appearantly harmless) error: E/AudioTrack: did not receive expected priority boost on time What does it mean? How can I boost this Audio priority?
Beppi's's user avatar
  • 2,099
0 votes
2 answers
491 views

JavaScript in Rhino Interpreter - function returns undefined

I'm using the embedded Rhino Interpreter in Blue (a music composition environment for Csound) to generate a "score" (music notation). In blue you can do this by writing a function an then doing ...
DrumPower3004's user avatar
1 vote
1 answer
812 views

Can't import csnd6 for Csound's python API

I try to use Csound's Python API. Therefore, I try to import the 'csnd6' package: import csnd6. For some reason, the package is not installed on my machine: ImportError: No module named csnd6. This ...
dodiku's user avatar
  • 131
1 vote
1 answer
67 views

How does Csound's gen09 work?

I'm trying to understand Csound's gen09, and I tried this line: gigen ftgen 1, 0, 16384, 9, 1, 1, 0, 1, 1, 180 The way I understood how gen09 works, the second partial in this case is supposed ...
Oded V Streigold's user avatar
0 votes
2 answers
85 views

How to include durations in an instrument definition in Csound

Using the function oscil, I define an oscillator bank with given frequencies and amplitudes: instr 1 a1 oscil .3, 110 outs a1,a1 a2 oscil .2, 220 outs a2,a2 a3 oscil .1, ...
Karlo's user avatar
  • 1,650
4 votes
1 answer
3k views

Using csound from inside python

Is it possible to use Csound from inside python for live-electronic music tasks? Can anyone give a hint of how can this be done if possible?
user avatar
1 vote
1 answer
56 views

CSOUND Function Table Scaling Error

I am currently working on a multi channel audio convolver using Csound. I am creating two ftables and loading two different IR's 2048 points long into them at a sample rate of 48kHz. I am using the ...
Akshay 's user avatar
0 votes
1 answer
264 views

CSound6 and it's lack of 32 bit libraries

I'm probably missing something truly essential in my CSound6 API adventures. I've scoured the internets for answers but without luck. Also, this is my first post on stackoverflow, for it has answered ...
Yasja de Miranda's user avatar
0 votes
1 answer
103 views

Patch Storage for a CSound Instrument

My CSound instrument updates a handful of parameters via MIDI controller messages. It needs to be able to store and retrieve parameter sets (patches) and update the parameters on MIDI patch change ...
Joe Beuckman's user avatar
  • 2,264
0 votes
1 answer
134 views

Non UI examples for Csound on Android

I've looked at the examples that come with Csound for android but I want to call it without using the UI widgets that all the examples seem to be about. I know about how to load up an instrument but ...
user740360's user avatar
1 vote
1 answer
1k views

Csound 6 fails to initialize PortAudio directly, but works via file somehow

I haven't used csound in quite some years; after installing the latest non-RC version (6.03.2) on Windows 7 I was unpleasantly surprised that I get no audio from it anymore. Oddly enough I can render ...
Fizz's user avatar
  • 4,844
0 votes
1 answer
123 views

Is csound capable of pulling simple info/data from the Internet?

I am currently looking into using CSound for a project. I want to receive data from an external source that is then used to manipulate a sound. So I am wondering... Is it possible for CSound to ...
m96's user avatar
  • 199
0 votes
1 answer
407 views

python not finding previously installed packages

Hi having a bit of a problem understanding what I've done wrong. On mac osx 10.8.5 trying to find previously installed and working objects. Import csnd6 doesn't work anymore after installing ...
Crying in your Py's user avatar
2 votes
0 answers
82 views

Build latest hCsound with cabal

I'm trying to build hCsound-0.4.2 on Debian-linux machine, it seems, that since 2012 (latest version) there were some changes in csound.h file, but I'm not sure. When trying cabal install hcsound I ...
sukhmel's user avatar
  • 1,442
1 vote
1 answer
393 views

How can I apply guitar effects such as dive (pitch shift) or wah-wah (compression) to guitar audio samples played on an iOS app?

I am building an iOS app that allows the user to play guitar sounds - e.g. plucking or strumming. I'd like to allow the user to apply pitch shifting or wah-wah (compression) on the guitar sound being ...
kev's user avatar
  • 1,095
0 votes
1 answer
116 views

Generate sound with pich and duration

Is possible to generate a sound in PHP with a defined note pitch and duration? I know exists CSOUND but I don't know how to call it from PHP and if exists a CSOUND API for PHP, as I found one in ...
user avatar
0 votes
1 answer
390 views

Calling UIGestureRecognizer from UITouch object

I am trying to associate a Gesture with UITouch object because I need to pass data through a target action Method. I have something implemented but it is inefficient,it get 100% of the CPU processing,...
David Moya's user avatar
0 votes
1 answer
159 views

App is accessing iPad microphone

I'm currently working on an app that uses the Mobile Csound API to create a synthesizer. For some reason, the app accesses the iPad's microphone when running on the device, but not when running on the ...
narner's user avatar
  • 3,008
-1 votes
1 answer
113 views

will Java help me understand Processing?

It seems to me that most books are based on Java 6. I know next to nothing about Java. I'm just trying to get Csoundo to work on Processing. Csoundo is a library for Processing so that you can use ...
Michael Sparks's user avatar
5 votes
2 answers
1k views

CSound and Python communication

I am currently working on a specialization project on simulating guitar effects with Evolutionary Algorithms, and want to use Python and CSound to do this. The idea is to generate effect parameters ...
jk87's user avatar
  • 51
9 votes
1 answer
2k views

Where can I find a C++ csound tutorial? [closed]

I have just discovered csound and installed its C++ bindings. The API is documented here (after a usual installation on Linux): /usr/share/doc/libcsound64-doc/html/index.html However, what I ...
augustin's user avatar
  • 14.5k